SAP Knowledge Base Article - Public

2966373 - Error "SocketTimeoutException:connect timed out" - Master Data and Org. Assignment replication

Symptom

You are using the CPI process below to replicate Master Data and Org. Assignment data from SF EC to ERP:

  • Replicate Employee Master Data and Org. Assignments from SAP SuccessFactors Employee Central to SAP ERP or SAP S4HANA

And the process is randomly failing with an error similar to this one below:

Inbound processing in endpoint at /EC_to_ERP_Master_Data_And_Org_Query failed with message "Fault:Sequential processing failed for number 1. Exchange[...]. Caused by: [org.apache.cxf.interceptor.Fault - Could not send Message.]", caused by "SocketTimeoutException:connect timed out (local port .... to address ... (...), remote port ... to address ...)"

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

  • SAP SuccessFactors HCM Suite
  • Cloud Platform Integration (CPI)

Resolution

Decrease the page size and increase the timeout parameters of your process, this way it can process less data in more time, avoiding timeouts.

In the configuration of the process on CPI, go to "Receiver" tab and select Employee_Central receiver. Set the parameters as below:

  • Page Size = 200
  • Timeout (in min) = 10

After this, select the receiver ERP_Response and change its Timeout parameter to 600000:

This should be enough to avoid timeout errors. 

If you still face the issue even after these changes, you can try decreasing the page size and increasing the timeout a bit more and testing. You would need to tune these parameters according to your business scenario.

See Also

Introduction to Employee Master Data and Organizational Assignment Replication | SAP Help Portal

Keywords

timeout, SocketTimeoutException, timed out, time out, replication, master data, org assignment, page size, connection closed , KBA , LOD-SF-INT-CPI-ERP , Standard SF to SAP ERP or S/4HANA Integration using CPI , Problem

Product

SAP SuccessFactors HCM Suite all versions