cancel
Showing results for 
Search instead for 
Did you mean: 

ICM_HTTP_TIMEOUT - INTERNAL.CLIENT_RECEIVE_FAILED

0 Kudos

Hello,

I have set up the following scenariro:

Synchronous Communication between SAP R/3 and an external Orcale Database via ABAP-Proxy on the R/3-Side and JDBC on the Oracle-Side. The whole thing works fine as long as the requests don't get too big.

But now I have to make an initial Download from the Oracle-DB which approximately lasts about 5 hours. In this case my "Timeout-Problem" begins:

In R/3 I get the following Error in SXMB_MONI:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Eingangs-Message

-->

- <SAP:ErrorHeader xmlns:SAP="http://sap.com/exchange/MessageFormat">

<SAP:Context />

<SAP:Code p1="402" p2="ICM_HTTP_TIMEOUT" p3="" p4="">INTERNAL.CLIENT_RECEIVE_FAILED</SAP:Code>

<SAP:Text language="DE">Fehler beim Empfangen per HTTP (Fehlercode: 402, Fehlertext: ICM_HTTP_TIMEOUT)</SAP:Text>

</SAP:ErrorHeader>

In XI the following Erorr appears:

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="INTERNAL">CLIENT_RECEIVE_FAILED</SAP:Code>

<SAP:P1>402</SAP:P1>

<SAP:P2>ICM_HTTP_TIMEOUT</SAP:P2>

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText><html><head><title>SAP Web Application Server Error</title> <style type="text/css"> body { font-family: arial, sans-serif;} </style> </head> <BODY text="#172972" link="#808080" vlink="#808080" alink="#8e236b" bgcolor=white leftmargin="0" topmargin="0" marginheight="0" marginwidth="0"> <table height="61" width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td background="http://cat01135:50100/sap/public/icman/img/bluebar_tile.gif" height="30"><table> <tr> <td width=5></td> <td width=20% nowrap><font face=arial size="-1" color=white>SAP Web Application Server </font></td><td width=75% align="right" nowrap><font face=arial size="-1" color="white"><a href="http://help.sap.com/">Help </font></td><td width=5% nowrap></font></td> </tr></table> </td><td rowspan=2 width=122 height=61 valign=top><img src= "http://cat01135:50100/sap/public/icman/img/theme.jpg" width=122 height=61 border=0 alt="SAP"></td> </tr><tr><td background="http://cat01135:50100/sap/public/icman/img/graybar_tile.jpg" height="31"> &nbsp;</td></tr> </table> <br><br> <table width=800> <tr><td width=50 nowrap> </td><td> <H2>500 Connection timed out</H2><br>Connection timed out (-5) <br><hr> <table border="0"> <tr><td>Error:</td><td>-5</td></tr> <tr><td>Version:</td><td>6040</td></tr> <tr><td>Component:</td><td>ICM</td></tr> <tr><td>Date/Time:</td><td>Wed Aug 17 02:21:14 2005 </td></tr> <tr><td>Module:</td><td>icxxthr_mt.c</td></tr> <tr><td>Line:</td><td>2559</td></tr> <tr><td>Server:</td><td>cat01135_XY1_01</td></tr> <tr><td>Detail:</td><td>Connection to partner timed out</td></tr> </table> <p></p> </td></tr></table> <table><tr><td width=50 nowrap></td> <td nowrap><FONT SIZE=-1><a href="http://www.sap.com/">&copy; 2001-2003, SAP AG</a></FONT></td></tr></table></SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Fehler beim Empfangen per HTTP (Fehlercode: 402, Fehlertext: ICM_HTTP_TIMEOUT)</SAP:Stack>

<SAP:Retry>N</SAP:Retry>

</SAP:Error>

The trace in R/3 doesn't say anything important I think.

The trace in XI is only a little more interesting:

- <Trace level="1" type="B" name="CL_XMS_PLSRV_IE_ADAPTER-ENTER_PLSRV">

<Trace level="3" type="T">Channel for adapter engine: JDBC</Trace>

<Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_XMB-CALL_XMS_HTTP" />

- <!-- ************************************

-->

<Trace level="2" type="T">Get logon data for adapter engine (SAI_AE_DETAILS_GET): af.xy1.cat01135</Trace>

<Trace level="3" type="T">URL = http://cat01135:50100/MessagingSystem/receive/AFW/XI</Trace>;

<Trace level="3" type="T">User = XIISUSER</Trace>

<Trace level="3" type="T">Cached =</Trace>

<Trace level="3" type="T">Creating HTTP-client</Trace>

<Trace level="3" type="T">HTTP-client: creation finished</Trace>

<Trace level="3" type="T">Security: Basic authentication</Trace>

<Trace level="3" type="T">Serializing message object...</Trace>

<Trace level="3" type="T">HTTP-client: sending http-request...</Trace>

<Trace level="3" type="T">HTTP-client: request sent</Trace>

<Trace level="3" type="T">HTTP-client: Receiving http-response...</Trace>

<Trace level="3" type="System_Error">HTTP-Client: exception during receive: HTTP_COMMUNICATION_FAILURE</Trace>

</Trace>

</Trace>

</Trace>

- <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST">

<Trace level="3" type="T">Persisting message Status = 023</Trace>

<Trace level="3" type="T">Message version 006</Trace>

<Trace level="3" type="T">Pipeline CENTRAL</Trace>

</Trace>

</Trace>

<Trace level="1" type="T">SystemError message generated. Guid: 43010F97F29A007F020000000A180A87</Trace>

<Trace level="1" type="T">Error during execution of message : 43010594DCA300A0020000000A180A28</Trace>

<Trace level="1" type="T">ApplicationMessage was (=RefToMsgId): 43010594DCA300A0020000000A180A28</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />

- <!-- ************************************

-->

<Trace level="3" type="T">Persisting message Status = 023</Trace>

<Trace level="3" type="T">Message version 000</Trace>

<Trace level="3" type="T">Pipeline CENTRAL</Trace>

</SAP:Trace>

Has anybody an idea, which Parameter(s) can be responsible for this situation ???

I tried to lift up the TIMEOUT-PARAMETERS on both sides. Here are the Parameters in R/3:

icm/server_port_0 PROT=HTTP,PORT=1080,TIMEOUT=36000

icm/keep_alive_timeout (sec.) = 60

icm/conn_timeout (msec.) = 5000

Here are the Parameters in XI:

icm/server_port_0 = PROT=HTTP,PORT=8001,TIMEOUT=34200

icm/keep_alive_timeout (sec.) = 60

icm/conn_timeout (msec.) = 5000

The Timeout always comes after 15 min.

Would be great if anybody has an idea - Thanks a lot

Werner Knapp

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Werner,

check these links, hope they help to fix your issue

Regards

Vishnu

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi Werner,

have you tried question 8 on my XI FAQ (integration engine section)?

/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions

Regards,

michal

0 Kudos

Hello Michal,

thanks a lot for your help. Setting the HTTP_TIMOUT-Parameter in SXMB_ADM solved my problem.

Greetings from Tirol - werner knapp

MichalKrawczyk
Active Contributor
0 Kudos

glad it helped you

Regards,

micha