Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

tRFC error 'Error when opening RFC connection (CPIC-CALL:

Hi All,

We are facing ine issue in daily P2P load from SRM system to BW system. Many tRFCs are getting stuck red with message "Error when opening RFC connection". In SM21; we can see below error logs:

RD                                       Q0    I   Operating system call recv failed (error no. 104 )

RD                                       Q0    R Call of function GwRead failed, RC: -006

DIA  016 100 ALEREMOTE                E0  0 New System Log File Started with Number 18

DIA  016 100 ALEREMOTE                R4  9 Communication error, CPIC return code 017, SAP return code 239

DIA  016 100 ALEREMOTE                R6  4 > CPI-C function: CMINIT(SAP)

When I checked the RFC connection from SRM to BW system. It is behaving strangely. In 3,4 connections tests. It works fine. Then fails for next two with SAP gateway communication error. The local gateway is running. But sometimes it gives same error in SM58 that Local gateway not running. Below is the gateway trace

Fri Sep  7 04:14:41 2012
***LOG Q0I=> NiIRead: P=3.156.17.106:3300; L=3.156.9.64:36425: recv (104: Connection reset by peer) [nixxi.cpp 5087]
*** ERROR => NiIRead: SiRecv failed for hdl 129/sock 59
    (SI_ECONN_BROKEN/104; I4; ST; P=3.156.17.106:3300; L=3.156.9.64:36425) [nixxi.cpp    5087]

*****************************************************************************
*
*  LOCATION    SAP-Gateway on host ushaplp923la.nbcuni.ge.com / sapgw00
*  ERROR       read from SAP gateway failed
*
*  TIME        Fri Sep  7 04:14:41 2012
*  RELEASE     720
*  COMPONENT   SAP-Gateway
*  VERSION     2
*  RC          239
*  MODULE      gwdp.c
*  LINE        4686
*  DETAIL      connection to gateway on host 3.156.17.106 / 3300 broken
*  COUNTER     8954
*
*****************************************************************************

***LOG Q0R=> GwReadFromRemGw, GwRead ( GwRead-006) [gwdp.c       4713]

The temporary behaviour of problem is strange. The RFC starts working fine always once teh load is finished. No more errors in SM21 as well.

Could you please help me on this issue.

Thank You

Varun

Former Member
replied

Hello Varun,

The entry

LOG Q0I=> NiIRead: P=3.156.17.106:3300; L=3.156.9.64:36425: recv (104: Connection reset by peer) [nixxi.cpp 5087]

*** ERROR => NiIRead: SiRecv failed for hdl 129/sock 59

    (SI_ECONN_BROKEN/104; I4; ST; P=3.156.17.106:3300; L=3.156.9.64:36425) [nixxi.cpp    5087]

seems to point to a network issue. Has the network been thoroughly checked?

SAP Note 500235 - Network Diagnosis with NIPING

regards,

Paul

2 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question