You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pyrfc._exception.CommunicationError: 1 (rc=1): key=RFC_COMMUNICATION_FAILURE, message=
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR partner 'some_ip:some_port' not reached
TIME Fri Mar 15 15:33:27 2024
RELEASE 753
COMPONENT NI (network interface)
VERSION 40
RC -10
MODULE /bas/753_REL/src/base/ni/nibuf.cpp
LINE 4593
DETAIL NiBufIConnect: connection pending after 60000ms
SYSTEM CALL connect
ERRNO 36
ERRNO TEXT Operation now in progress
COUNTER 2
[MSG: class=, type=, number=, v1-4:=;;;]
Thanks
The text was updated successfully, but these errors were encountered:
Setting DYLD_LIBRARY_PATH has no effect for PyRFC on MacOS because of System Integrity Runtime Protections. No need to use it. SAPNWRFC_HOME also has no effect on runtime.
The error message is about network issue, which means the RFC SDK libraries are loaded and PyRFC could not reach the ABAP system. The cause are usually wrong connection parameters or network connectivity issues.
Could you please check connection parameters and sapnwrfc.ini file location?
sapnwrfc.ini default location is current working directory. The full path to sapnwrfc.ini (including file name) can be configured using RFC_INI env variable (not SAPNWRFC_INI_FILE). Alternatively, sapnwrfc.ini directory (without file name) can be set using PyRFC function set_ini_file_directory. More info are in this comment #275 (comment)
If the issue still persist, you set the global RFC trace level and remove it from destination connection parameters, like this
DEFAULT
RFC_TRACE=3 # 'global' trace level
Then run the test and send the trace. If the trace contains sensitive info, you can create SAP customer incident for BC-MID-RFC-SDK component and post the trace there, with reference to this issue.
I met key=RFC_COMMUNICATION_FAILURE error, and study documents&git issues.
But i didn't solve this error. I ask for your help.
Environment
I installed sapnwrfc pkg. and export envs.
envs
This is my sapnwrfc.ini file.
This is my connection code from some examples.
And comes this error.
Thanks
The text was updated successfully, but these errors were encountered: