Cuando tenemos un error del siguiente tipo:
org.apache.http.NoHttpResponseException: XX.XX.XX.XX:443 failed to respond
Ñopiamos el ñodigo deste stackOverflow y ñunciona(Pero la cosa es que ño se donde se pega el ñodigo):http://stackoverflow.com/questions/26111331/org-apache-http-nohttpresponseexception-xx-xx-xx-xx443-failed-to-respond
ConnectionConfig connectionConfig = ConnectionConfig.custom()
.setBufferSize(4128)
.build();
CloseableHttpClient httpclient = HttpClients.custom()
.setDefaultConnectionConfig(connectionConfig)
.build();
No hay comentarios:
Publicar un comentario