Git Product home page Git Product logo

Comments (6)

bsrdjan avatar bsrdjan commented on July 17, 2024 1

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.

bsrdjan avatar bsrdjan commented on July 17, 2024

Could you please post the error text you are getting ?

from pyrfc.

kamalelsaaid avatar kamalelsaaid commented on July 17, 2024

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.

kamalelsaaid avatar kamalelsaaid commented on July 17, 2024

Okay, I will follow the links and guide, hope this give me the solution.
Thank you for your quick response.

from pyrfc.

pranatishete avatar pranatishete commented on July 17, 2024

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.

bsrdjan avatar bsrdjan commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.