SAP Knowledge Base Article - Preview

3769806 - RFC client instantly receives a "connection reset by peer"

Symptom

An RFC client system (it can be an SAP system, or a third-party system using one of the communication libraries delivered by SAP: SAP RFC SDK, SAP JCo, SAP NCo) receives a "connection reset by peer" message almost instantly after having opened the connection.

A test using the "telnet" tool has the same symptom: telnet connects, but almost instantly disconnects.

One main symptom is that the "dev_rd" trace file does not log anything related to the issue.

At the RFC client end, the following (or similar) message is observed:

LOCATION    CPIC (TCP/IP) on local host [local hostname of client system] with Unicode
ERROR       connection to partner '[SAP server IP address or hostname]:33XX' broken
TIME        [date and time]
RELEASE     722
COMPONENT   NI (network interface)
VERSION     40
RC          -6
MODULE      gwxx.c
LINE        647
DETAIL      NiIRead: P=[SAP server IP address or hostname]:33XX; L=[local IP address of client system]:[local, random client port]
SYSTEM CALL GwRead
ERRNO       10054
ERRNO TEXT  WSAECONNRESET: Connection reset by peer
COUNTER     2RETURN CODE: 20


Read more...

Environment

  • ABAP Platform based product
  • SAP NetWeaver based product
  • Third-party systems using the SAP RFC SDK, SAP JCo or SAP NCo library

Product

ABAP platform all versions ; SAP NetWeaver all versions

Keywords

KBA , BC-CST-GW , Gateway/CPIC , BC-MID-CON-NCO , SAP .Net Connector , BC-NET , Obsolete - Formerly used for network tests , BC-CST , Client/Server Technology , BC-MID-RFC , RFC , BC-MID-CON-JCO , Java-Connector , 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.