Monday, October 17, 2016

java.net.SocketException: Connection reset

This exception can have many causes and tracking them down is not easy but the one I experienced was that I was trying to connect to an HTTPS port with a HTTP connection (HttpURLConnection).