When I use the httpclient in my program, an error occurs:
< P> java .net.SocketException: Connection ResetAfter checking, I know that there is a bad reason for the website. Once
java.net.SocketException: connection reset code> comes out, it should take time to recover it. During the
and times, any request will still receivejava.net.SocketException: connection reset .
However, wrong requests in my program are inevitable.
I know there is no way to recover the connection immediately, so that it does not affect the requests. - Thank you!
Once java.net.SocketException: connection reset comes, to recover it Need time.
I want to know there is any way to recover the connection immediately
The connection has been reset. Nothing to fix next time you will get a new one if you are resetting, the website is issuing them. It can not be reset to the same connection twice
No comments:
Post a Comment