cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Connection reset by peer or SocketTimeoutException error in CPI

former_member60331
Participant
0 Likes
4,053

Hi,

I have scenario where i need to fetch all the employee from successfactors system and send to 3rd party system. I am using CE API for this purpose.

I am constantly getting connection reset by peer or Socket time out error in CPI when I am running my iflow for full load.

When I fetch around 12000 employee. It runs fine.
For 12k employees -
Max. Numbers of Iterations:80
Action when Max. Iterations ReachedEnd Loop: EndLoop
Page Size: 150

Time Taken: ~5 mins 30 secs


For full load around 28k employees-
Max. Numbers of Iterations:99999
Action when Max. Iterations ReachedEnd Loop: Throw Exception
Page Size: 150

Fails at around 6mins 20 secs

Timeout for CE API and Odata connection is set to 40 mins, to avoid time out issue here.

Error -
Error DetailsOutbound processing in endpoint at /emplist failed with message "SoapFault:faultstring=Problem writing SAAJ model to stream: java.io.IOException: Connection reset by peer; faultcode={http://schemas.xmlsoap.org/soap/envelope/}Client", caused by "IOException:Connection reset by peer"

Error-

Error Details Outbound processing in endpoint at /emplist failed with message "SoapFault:faultstring=Problem writing SAAJ model to stream: java.net.SocketTimeoutException; faultcode={http://schemas.xmlsoap.org/soap/envelope/}Client", caused by "SocketTimeoutException:null"


Can someone please help me with the possible causes for these error?

Iflow -

Regards,

Akash

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member31664
Discoverer
0 Likes

Hi Akash,

Due to performance limitations, SAP recommend's that you don't retrieve more than 20,000 employees per integration process run. If the number of employees to be extracted is greater than 20,000, you can limit the number of selected employees per run by using selection parameters such as company, country, pay group, or employee class.

Thank you,

Raj C

Sriprasadsbhat
Active Contributor
0 Likes

hmo akash,

Have you tried setting reuse http session and increased timeout in sfsf receiver adapter.

https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/360ef42b1d4e4b86a6867b6f0ad...

Regards,

Sriprasad shivaram bhat

former_member60331
Participant
0 Likes

Hello Sriprasad,

Thank you for the reply.

HTTP Session Reuse is set to "On Integration Flow".

Timeout of all SFSF adapters are set to 40 mins.

Regards,

Akash