Question
When a script is executed, the following error occurred.
Please tell me when the error occurs and the items to check.
"java.net.SocketException: Connection reset by peer: socket write error."
Answer
Overview
This error is a general error that is output when communication is disconnected due to a problem on the peer.
Possible causes
This error occurred in the following situations according to past cases.
-The connection timed out due to settings on the DB side.
-A temporary communication error occurred due to a network problem.
Countermeasures
Each problem was resolved by the following countermeasures.
-The connection timed out due to settings on the DB side.
->Reviewing the settings of the peer.
-A temporary communication error occurred due to a network problem.
->Executing the operation again.
If the above does not resolve your problem, please check the following points to distinguish the cause.
Check points
-Status of the peer
Please check if the peer is not stopped or restarted.
Also, please check if it is possible to connect from other tools.
[Examples]
Stopping the service of the destination application
Maintenance of the service
Restarting the destination server
-Restrictions on the peer
Please check if there are any connection restrictions at the peer.
[Examples]
Timeout settings on the server or application
-Network restrictions
Please check if there are any connection restrictions on communication.
[Examples]
Connection restrictions on firewalls
Switching hub timeout settings
Related FAQs
"java.net.SocketTimeoutException: Read timed out" error occurred during a script execution
"javax.net.SSLException: Read timed out" error occurred during a script execution
Comments
0 comments
Article is closed for comments.