Common exceptions for http connections

java.net.SocketException: Connection reset
is generally disconnected by the server, such as server restart, downtime, and no fin package to the client.
Generally, large company settings will not give clients fin packets because they occupy connections. Directly not sending fin packets in response to Connection reset can reduce the pressure of attacks to a certain extent.
This problem is generally not an application problem and requires the intervention of network engineers/server engineers.

It can be avoided by establishing a heartbeat connection.

Caused by: org.apache.http.NoHttpResponseException: 10.0.0.25:8080 failed to respond
The server is disconnected and the fin package is sent to the client.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326346555&siteId=291194637