Open mathewanil opened 6 years ago
Can you run niping
from AWS Lambda and try to reach the ABAP system via niping
? See #43
node-rfc requires native SAP libraries to be deployed. If that not possible on Lambda, the connector can't be used there. Similar question posted here: https://github.com/SAP/node-rfc/issues/35.
The feature request to enable SAP NWRFC SDK usage on AWS, in Connectivity context, can be created for:
Security Services
category of the SAP Cloud Platform – Platform Foundation
Here the feature request for node-rfc cloud connectivity. You may comment or vote or create similar request for PyRFC
https://github.com/SAP/node-rfc/issues/145#issuecomment-781209573
Hi All,
I am trying to connect our SAP system from AWS Lambda. I am getting the following error ` FC_COMMUNICATION_FAILURE (rc=1): key=RFC_COMMUNICATION_FAILURE, message= LOCATION CPIC (TCP/IP) on local host with Unicode ERROR hostname 'ip-10-34-143-151' unknown TIME Fri Sep 15 21:24:28 2017 RELEASE 721 COMPONENT NI (network interface) VERSION 40 RC -2 MODULE nixxhl.cpp LINE 193 DETAIL NiHLGetNodeAddr: hostname cached as unknown COUNTER 2 MSG: class=, type=, number=, v1-4:=;;; RFC_COMMUNICATION_FAILURE (rc=1): key=RFC_COMMUNICATION_FAILURE, message= LOCATION CPIC (TCP/IP) on local host with Unicode ERROR hostname 'ip-10-34-143-151' unknown TIME Fri Sep 15 21:24:28 2017 RELEASE 721 COMPONENT NI (network interface) VERSION 40 RC -2 MODULE nixxhl.cpp LINE 193 DETAIL NiHLGetNodeAddr: hostname cached as unknown COUNTER 2
the call stack shows
File "src/pyrfc/_pyrfc.pyx", line 164, in pyrfc._pyrfc.Connection.init File "src/pyrfc/_pyrfc.pyx", line 208, in pyrfc._pyrfc.Connection._open File "src/pyrfc/_pyrfc.pyx", line 238, in pyrfc._pyrfc.Connection._error pyrfc._exception.CommunicationError: RFC_COMMUNICATION_FAILURE (rc=1): ` ip-10-34-143-151 is the hostname that AWS gives to the instance which is running the lambda functionmy sapcfg looks like mshost=146.215.xxx.xx msserv=3611
Any help would be appreciated