IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host

IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host…

This error is too generic. It could happen for plenty of reasons. A few things to check are:

  • Make sure you didn’t specify the Content-Length header manually in custom headers
  • Make sure the proxy you use works
1 Like