cancel
Showing results for 
Search instead for 
Did you mean: 

/MessagingSystem/receive/AFW/XI - Connection Timed Out error

suwandi_cahyadi
Contributor
0 Kudos

Dear Experts,

Suddenly we experience an intermittent error of connection timed out error in integration engine (SXMB_MONI), checking at the trace this is the trace message:

<Trace type="T" level="1">Get logon data for adapter engine (SAI_AE_DETAILS_GET): </Trace>
<Trace type="T" level="1">URL = http://server.com:port/MessagingSystem/receive/AFW/XI</Trace>;
<Trace type="T" level="1">User = secretuser</Trace>
<Trace type="T" level="1">Cached = X</Trace>
<Trace type="T" level="1">Security: Basic authentication </Trace>
<Trace type="T" level="1">Serializing message object... </Trace>
<Trace type="T" level="1">Tuning - AFW_MAXREQUESTCONTENTLENGTH 2000000000</Trace>
<Trace type="T" level="1">HTTP Multipart document length: 8059 </Trace>
<Trace type="T" level="1">Timeout: 0 </Trace>
<Trace type="T" level="1">HTTP-client: request sent</Trace>
<Trace type="System_Error" level="1">HTTP-Client: exception during receive: HTTP_COMMUNICATION_FAILURE</Trace>
</Trace><br>
...
...
<Trace type="System_Error" level="1">Error while receiving by HTTP (error code: 402 , error text: Connection to partner timed out after 600s) </Trace>

Many messages stucks in SMQ2 because of this, and suddenly after a few hours it is fixed by itself. The questions are: What is the root cause of this? What could be done to solve this issue?

Thank you.

Regards,

Suwandi C.

Accepted Solutions (0)

Answers (1)

Answers (1)

marksmyth
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Suwandi,

Most likely this is a performance issue. The error "Connection to partner timed out after 600s" is most likely related to the ICM PROCTIMEOUT parameter. You should ensure this is set sufficiently high in all systems involved in this end to end scenario e.g. backend, PI, Web Dispatcher (if involved). See the notes below:
1) 824554 ICM and SAP Web Dispatcher Timeout Parameter (for ABAP side)
2) 1848069 How to check ICM parameters in a PI AEX install

Ensure you have sufficient resources on the PI side for the adapter queues. You will find full details in note #894509 PI Performance Check.

The wiki, PI Troubleshooting Tips: How to Tune PI Synchronous Scenarios, also provides additional details on tuning the PI side, particularly for SOAP Sender synchronous interfaces.

Regards
Mark