SAP Knowledge Base Article - Preview

3137010 - Connection timeout, and Proxy Error detected in integration to SCPI

Symptom

1 The following errors occurred when replicating prices and discounts from S4HANA to SAP Commerce Cloud on API service.

SCPI error logs:

com.sap.gateway.core.ip.component.odata.exception.OsciException: HTTP Request failed with error : Connection timed out (Connection timed out) (local port 57916 to address 0.0.0.0, remote port 443 to address x.y.z.t), cause: java.net.ConnectException: Connection timed out (Connection timed out) (local port 57916 to address 0.0.0.0, remote port 443 to address x.y.z.t)
           ModelStepId         = MessageFlow_70394217
           StepId              = MessageFlow_70394217
           Activities [
            {Activity=convertBodyTo[java.lang.String], StartTime=Sat Dec 25 00:25:09.068 UTC 2021, StopTime=Sat Dec 25 00:25:09.069 UTC 2021}
            {Activity=odata:CREATE_ENTRY?serviceUri=https://api.xyz-p1-public.model-t.cc.commerce.ondemand.com:443/odata2webservices/InboundPriceRow&resourcePath=RAW(PriceRows)&alias=RAW(Hybris)&authenticationType=Basic&retrieveAllPages=true&clientSidePageSize=200&oDataMethod=CREATE_ENTRY&contentType=application/json&componentContentType=xml&receiveTimeOut=60000&proxyType=default&retryOnFailure=false&allowRequestHeaders=true&setErrorResponseBody=true&serviceType=HCIOData, StartTime=Sat Dec 25 00:25:09.069 UTC 2021, StopTime=Sat Dec 25 00:27:19.547 UTC 2021}] 

API pod error logs:{"timeMillis":1640329298495,"thread":"hybrisHTTP108","level":"ERROR","loggerName":"de.hybris.platform.odata2services.odata.processor.DefaultODataProcessor","message":"RuntimeException while trying to persist an ODataEntry:","thrown":{"commonElementCount":0,"localizedMessage":"java.net.SocketException: error 110 - Connection timed out (Read failed) (local port 51486 to address 10.245.62.10 (api-xyz), remote host unknown)


2 From S4Hana, the SimulatePlaceOrder interface is synchronous and the requests go through SCPI to Storefront.

Response: Socket Timeout Exception for simulate and place order and the exception is "java.io.IOException: java.net.SocketTimeoutException: timeout:"

 


Read more...

Environment

SAP Commerce Cloud

Product

Cloud Integration all versions ; SAP Commerce Cloud all versions

Keywords

Connection time out, Proxy timeout, odata2webservices , KBA , CEC-SCC-INT-IAPI , Integration APIs , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.