Symptom
The following errors appear repeatedly in scc_core.trc, cycling at a consistent interval that matches the firewall's configured idle TCP timeout (commonly 60–300 seconds):
-
<timestamp>#ERROR#com.sap.core.connectivity.spi.processing.OutboundConnectionErrorHandler
#tunnel-client-<N>-<M>#0x<CONN_ID>#Internal error:
java.io.IOException: error 104 - Connection reset by peer -
<timestamp>#DEBUG#com.sap.core.connectivity.spi.processing.OutboundConnectionErrorHandler
#tunnel-client-<N>-<M>#0x<CONN_ID>#Backend channel
[id: 0x<BACK_ID>, L:/<SCC_IP>:<PORT> ! R:<BACKEND_HOST>/<BACKEND_IP>:<PORT>] is closed
Key indicators that identify this specific pattern:
- The error recurs at a consistent interval (e.g. every 60–65 seconds), not randomly
- All errors target the same backend host and port
- Each event involves a single connection, not a burst of simultaneous resets
- The DEBUG line shows the ! notation between L: and R: which is SCC's indicator of an abrupt, non-graceful TCP close
- No NoChannelsAvailableException or TunnelErrorHandler errors are present in the same time window
- The backend system is reachable and otherwise functioning normally
Read more...
Environment
- SAP Business Technology Platform
- SAP Cloud Foundry Connectivity Service
Product
Keywords
error 104, errno 104, ECONNRESET, rc=104, Connection reset by peer, Connection reset, java.io.IOException error 104, IOException error 104, WSAECONNRESET, WSAECONNRESET 10054, 10054, Connection to partner broken, TCP RST, RST packet, TCP reset, connection forcibly closed, connection aborted, connection interrupted, HTTP 500, HTTP 502, HTTP 503, HTTP 504, Bad Gateway, Gateway Timeout, Service Unavailable, upstream reset, OutboundConnectionErrorHandler, com.sap.core.connectivity.spi.processing.OutboundConnectionErrorHandler, Internal error, Backend channel closed, tunnel-client, scc_core.trc, ljs_trace, ljs_trace.log, Backend channel, abrupt close, non-graceful close, SAP Cloud Connector, SCC, SAP BTP Connectivity, BTP Connectivity, Connectivity Service, SAP Integration Suite, SAP Cloud Integration, CPI, Cloud Platform Integration, SAP API Management, API Management, BC-CP-CON-CF, SAP BTP, Business Technology Platform, SAP Destination Service, SAP Cloud ALM, Edge Integration Cell, TCP idle timeout, TCP keepalive, TCP keepalive probe, tcp_keepalive_time, net.ipv4.tcp_keepalive_time, tcp_keepalive_intvl, tcp_keepalive_probes, idle connection timeout, stateful firewall, connection state table, firewall session timeout, firewall idle session timeout, TCP session expiry, firewall state table, connection pool, pooled connection, connection reuse, persistent connection, socket timeout, socket closed, socket reset, half-open connection, stale connection, dead connection, DPI, Deep Packet Inspection, TLS inspection, SSL inspection, TLS interception, NGFW, Next Generation Firewall, stateful inspection, NAT timeout, NAT session timeout, load balancer idle timeout, reverse proxy timeout, proxy timeout, network device timeout, connection tracking, Palo Alto, Fortinet, Check Point, Cisco ASA, F5 idle timeout, WAF timeout, port 445, SMB, CIFS, SMB over TCP, Windows file share, sapmnt, RFC connection, SAP RFC, port 445, HTTP backend, HTTPS backend, intermittent connection error, connection drops every 60 seconds, connection drops every minute, recurring connection error, periodic connection reset, backend unreachable, backend connection failed, Cloud Connector connection drops, Cloud Connector intermittent failures, backend timeout Cloud Connector, integration flow fails intermittently, iFlow timeout, CPI integration flow error, SAP BTP backend connection error, on-premise backend unreachable, connection reset after idle, connection reset on reuse, sysctl, sysctl keepalive, /etc/sysctl.conf, net.ipv4, Linux TCP tuning, Windows TCP keepalive, HKEY_LOCAL_MACHINE Tcpip Parameters, KeepAliveTime, KeepAliveInterval, Windows registry TCP, OS keepalive, socket keepalive, SO_KEEPALIVE, Netty, io.netty, Java socket reset, JVM connection pool, Netty channel closed, java.net.SocketException, SocketException Connection reset, tunnel reset, tunnel disconnected, tunnel channel, application tunnel, BTP tunnel, connectivity tunnel, TunnelErrorHandler , KBA , BC-CP-CON-CF , Cloud Foundry to On-premise Connectivity service , BC-MID-SCC , SAP Cloud Connector On-Demand/On-Premise Connectivity , BC-CP-CON , Cloud to On-premise Connectivity service , 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.
SAP Knowledge Base Article - Preview