SAP Knowledge Base Article - Preview

3722253 - Backend System Shows "Not Reachable" with "java.net.SocketTimeoutException: connect timed out" in SAP Cloud Connector

Symptom

  • An error occurs when communicating from BTP Integration Suite to S/4HANA or other application via SAP Cloud Connector. The error message shows:

    "org.apache.cxf.interceptor.Fault: Could not send Message., cause: org.apache.cxf.transport.http.HTTPException: HTTP response '503: Service Unavailable. There is no SAP Cloud Connector (SCC) connected to your subaccount matching the requested tunnel for subaccount 'subaccount id' and SCC location ID 'location_id'. Check the configuration on SCC and cloud side.'"

  • HTTP/HTTPS connection under the specified subaccount id above is in "not reachable" state in the SAP Cloud Connector.

  •  In the SCC UI (- SCC -> "Cloud to On-Premise" -> "Access Control" -> <select the related mapping> -> "Check availability" & "Show details", exception shows:

    "java.net.SocketTimeoutException: connect timed out (local port <port_number> to address <IP_ADDRESS_CLOUD_CONNECTOR> (source-host), remote port <port_number> to address <target_IP_address> (target_host))

  • Further in the SCC log ( ljs_trace.log (<2.17)/ scc_core.trc (>=2.17)) following entries are there: 

    #INFO#com.sap.scc.rt#AccessControl connection checker#          #SccEndpointValidator failed to establish connection to HTTPS://<Hostname>:<Port>
    java.net.SocketTimeoutException: connect timed out (local port <port_number> to address <IP_ADDRESS_CLOUD_CONNECTOR> (source-host), remote port <port_number> to address <target_IP_address> (target_host)

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


Read more...

Environment

SAP Cloud Connector release independent.

Product

CONNECTOR FRAMEWORK all versions ; SAP Connectivity service all versions

Keywords

503 service unavailable, btp integration suite, s/4hana production, cloud connector, connection timeout, SAP Cloud connector, tunnel traffic trace, scc_core.trc, debugging, replication timestamp, connectivity issue, network timeout, backend system, org.apache.cxf.interceptor.Fault, org.apache.cxf.transport.http.HTTPException, HTTP 503, no connector connected to subaccount, requested tunnel not found, cloud to on-premise access control, access control mapping, check availability, show details option, not reachable state, SccEndpointValidator, failed to establish connection, HTTPS endpoint validation failed, java.net.SocketTimeoutException, connect timed out, local port, target host unreachable, target port unreachable, TCP handshake failure, firewall port blocking, service not listening on target port, source host, target host, ljs_trace.log, scc_core.trc, endpoint validation failure, subaccount tunnel configuration, , KBA , BC-MID-SCC , SAP Cloud Connector On-Demand/On-Premise Connectivity , 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.