-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to connect to SAP from AWS Lambda #51
Comments
Can you run |
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: SAP-archive/node-rfc#35. |
The feature request to enable SAP NWRFC SDK usage on AWS, in Connectivity context, can be created for:
|
Here the feature request for node-rfc cloud connectivity. You may comment or vote or create similar request for PyRFC |
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 [MSG: class=, type=, number=, v1-4:=;;;]: CommunicationError
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 function
my sapcfg looks like
mshost=146.215.xxx.xx
msserv=3611
Any help would be appreciated
The text was updated successfully, but these errors were encountered: