An established connection was aborted by the software in your host machine tomcat jackson

Eh... after hours of debugging and thinking - the answer turned out to be the most obvious one - both clients I have been using were closing the connection (probably timeout). It worked in wget and postman while using swagger and advanced rest client caused the exception to be thrown.


The reason might be connection timeout of http request. If you are using Tomcat server you can set the timeout in server.xml. -1 indicates no timeout.

<Connector connectionTimeout="-1" port="8989" protocol="HTTP/1.1" redirectPort="8443"/>

reference : https://tomcat.apache.org/tomcat-7.0-doc/config/http.html