Recommended solutions based on your search

Samebug tips

Adjust the timeout barrier so that its more flexible on network delays. It is very important to consider doing that especially when your server application will run in a remote machine. Other than that, avoid whatever causes delays in network.

java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:152) at java.net.SocketInputStream.read(SocketInputStream.java:122)