cancel
Showing results for 
Search instead for 
Did you mean: 

java.net.SocketTimeoutException: Read timed out

Former Member
0 Kudos

Hi,

I am getting the following exception when for a webservice call :

"Service call exception; nested exception is: java.net.SocketTimeoutException: Read timed out"

Please help me in resolving this exception.

Regards,

Reinuka.

Accepted Solutions (0)

Answers (3)

Answers (3)

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

I don't know whether this is matching to your release and scenario, but could you please doublecheck the note:

#1416239 u2013 Timeout from Destination Templates not taken into account

Best Regards,

Ervin

Former Member
0 Kudos

Thank youervin.

I have already checked the note suggested by you but it did not resolve the problem.

I am new to webservice.

Can you help me where to write the below line of code in a webservice:

ClientSEI port = (ClientSEI) serviceui.getPort(ClientSEI.class);

HTTPControlInterface httpInterface =HTTPControlFactory.getInterface(port);

httpInterface.setHTTPProxy(#proxy#, 8080);

port.callMethod();

How will I get this particular clientSEI in my code.

Regards,

Reinuka.

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

see also the corresponding point of the note:

#1394546 - Socket and connection issues in Java Web services

(http://service.sap.com/sap/support/notes/1394546)

Best Regards,

Ervin

Former Member
0 Kudos

Hi All,

I was able to set the socketTimeout parameter to 10mins but I am still getting the same error.

Can you please suggest as what can be a possible problem.

Thanks.

Regards,

Reinuka.

Former Member
0 Kudos

Hi Reinuka,

Refer to this WIKI

http://wiki.sdn.sap.com/wiki/display/JSTSG/%28WSR%29Problems-P17

regards,

Radhika