Forum Discussion

saury20's avatar
saury20
Occasional Visitor
8 years ago

Error getting response; java.net.SocketTimeoutException:Read Timeout

While hitting SOAP request getting error: "Error getting response; java.net.SocketTimeoutException:Read timed out. 

1) Based on some help available online , tried changing : Preferences --> HTTP Settings --> Socket Timeout(ms): 0

Earlier it was blank but no luck. 

2) I am hitting this webservice on localhost:8080. 

  • 05ten's avatar
    05ten
    Contributor
    Har you tried increasing the sockettimeout aswell? Because in your post you say you set it to 0. That would mean every request will always fail I believe, because httpclient will not wait for a response at all. Set it to 120000 (two minutes) and see.