You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Robson Roberto Souza Peixoto <ro...@gmail.com> on 2016/04/28 04:16:33 UTC

Getting the error `java.net.SocketException: Connection reset`

Hi guys,
It's me again =D

Now, I'm having another problem. Please, look the code
https://gist.github.com/robsonpeixoto/f05cf2234ebaca6814d5b5efcea835f4

When I try to get the url
http://inter03.tse.jus.br/sadJudDiarioDeJusticaConsulta/diario.do?action=buscarDiarios&page=diarioPageLastList.jsp&voDiarioSearch.listState.itensPerPage=20&voDiarioSearch.tribunal=TSE&voDiarioSearch.calendario=true
I'm
getting the error Connection reset.
It start to consume, but got the error *[DEBUG] wire - http-outgoing-0 <<
"[read] I/O error: Connection reset"*

But if a run a *curl* or try to open in a browser it works like a charm.

Any ideia? I tested with java 8 and 7.

Thanks
-- 
Robson Roberto Souza Peixoto
Robinho
Master in Computer Science, University of Campinas
IRC: robsonpeixoto
Twitter: http://twitter.com/robinhopeixoto
github: https://github.com/robsonpeixoto