Question
The following error occurred during a script execution.
"java.net.SocketTimeoutException: Read timed out"
What is the cause and how can I resolve it?
Answer
■Specification
This error occurs when there is no response from the peer within the period specified for [Connection timeout] in the connection settings.
■Past cases
The following events have been reported in the past cases.
1. Problems with [Response timeout] setting
-The [Response timeout] value was so small that the connection timed out before the peer responded.
-The [Response timeout] value was exceeded because it took time to transfer files to a server.
2. Problems with peer or network
-A failure at the peer prevented a response from being sent.
-The port was blocked by a firewall, etc., and a response from the peer could not be received.
-HULFT Square was unable to receive a response from the peer due to communication delays caused by a network problem.
■Countermeasures
If the problem is not reproduced, it might be due to a temporary communication problem.
If the problem is reproducible, please try the following countermeasures.
1. Increase [Response timeout] value
Please refer to the manual of the target connector to confirm if the [Response timeout] can be set.
2. Problems with peer or network
Please check and correct the settings of the peer or the network so that HULFT Square can receive a response from the peer.
Related FAQs
"java.net.SocketException" occured during a script execution
"javax.net.SSLException: Read timed out" error occurred during a script execution
Comments
0 comments
Article is closed for comments.