Comments (6)
The error key RFC_COMMUNICATION_FAILURE indicates a network problem, happening during opening the RFC connection. It usually happens because the RFC connection can't be established using given connection parameters.
Error keys are described in NWRFC SDK Guide and in sapnwrfc.h
include of the sapnwrfc lib.
SAP troubleshooting utility niping
can check the network connection, from the system on which the Python client is running, to ABAP backend. It works independent of pyrfc and if the niping
test is positive, the pyrfc should open the connection as well, without errors. The link to SAP Help I posted in issue #43.
from pyrfc.
Could you please post the error text you are getting ?
from pyrfc.
I have the same error
The code I write:
from pyrfc import Connection
conn = Connection(user='my_name', passwd='my_password', ashost='my_ip', sysnr='00', client='100')
and I got that error;
Traceback (most recent call last):
File "", line 1, in
File "pyrfc_pyrfc.pyx", line 150, in pyrfc._pyrfc.Connection.init (pyrfc_pyrfc.c:2281)
File "pyrfc_pyrfc.pyx", line 188, in pyrfc._pyrfc.Connection._open (pyrfc_pyrfc.c:2927)
File "pyrfc_pyrfc.pyx", line 218, in pyrfc._pyrfc.Connection._error (pyrfc_pyrfc.c:3153)
pyrfc._exception.CommunicationError: RFC_COMMUNICATION_FAILURE (rc=1): key=RFC_COMMUNICATION_FAILURE, message=
LOCATION SAP-Gateway on host ides672.arete-global.local / sapgw00
ERROR timeout during allocate
TIME Sun Apr 9 15:11:11 2017
RELEASE 742
COMPONENT SAP-Gateway
VERSION 2
RC 242
MODULE /bas/742_REL/src/krn/si/gw/gwr3cpic.c
LINE 2181
DETAIL no connect of TP sapdp00 from host
host-197.51.239.117.tedata.net after 20 sec
COUNTER 3
[MSG: class=, type=, number=, v1-4:=;;;]
is this mean that the problem related to the server or related to the installed pyrfc function ?
from pyrfc.
Okay, I will follow the links and guide, hope this give me the solution.
Thank you for your quick response.
from pyrfc.
Hi @bsrdjan can we make a RFC call from pyrfc to sap logon even if we don't have sap logon installed in our system. And in sap do we have to add the ip address from which we are going to send the request??
from pyrfc.
pyrfc call goes from client system like notebook, to ABAP system. Nothing to do with SAPLogon. No IP addr needed:
https://github.com/SAP/PyRFC#call-abap-function-modules
from pyrfc.
Related Issues (20)
- Error installing on RHEL v8.6, with NW RFC SDK v7.50 PL12 HOT 9
- pyrfc._exception.ExternalRuntimeError: 13 (rc=13): key=RFC_INVALID_HANDLE, caused due to a table parameter without column filed? HOT 3
- ImportError: cannot import name 'Connection' on Suse Linux HOT 3
- Connot establish a connection: RFC_COMMUNICATION_FAILURE & Connection refused HOT 4
- paths_fix.sh fails HOT 1
- BW Query with Parameters - ERROR: IVALID INPUT HOT 2
- [rl-license_file-2] Violation against OSS Rules of Play
- [rl-reuse_tool-2] Violation against OSS Rules of Play
- [rl-reuse_tool-4] Violation against OSS Rules of Play
- timeout halting main thread exit HOT 1
- Creation of sapuc standard filebuf failed HOT 4
- IIS: module 'pyrfc' has no attribute 'Connection' HOT 2
- Is there an equivalent to Java sapidoc3.jar HOT 2
- Cannot call Connection from the pyrfc import or any other object HOT 7
- Failed to compile under Raspberry Pi Bookworm (unrecognized command-line option ‘-minline-all-stringops’) HOT 3
- How to solve key=RFC_COMMUNICATION_FAILURE issue?! HOT 1
- Module 'pyrfc' has no attribute Connection HOT 3
- The connection works with other systems, but this system has several internal RFC destinations." HOT 1
- Enhance Query Engine
- PyRFC failing in server example server_app_thread.py
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyrfc.