This repository was archived by the owner on May 28, 2026. It is now read-only.
Repository navigation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I am able to connect using user-id and password. But when trying to connect via SNC I get this error:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "src\pyrfc\_cyrfc.pyx", line 641, in pyrfc._cyrfc.Connection.init
File "src\pyrfc\_cyrfc.pyx", line 709, in pyrfc._cyrfc.Connection._open
File "src\pyrfc\_cyrfc.pyx", line 733, in pyrfc._cyrfc.Connection._error
pyrfc._exception.CommunicationError: 1 (rc=1): key=RFC_COMMUNICATION_FAILURE, message=
LOCATION CPIC (TCP/IP) on local host CC-jdoe with Unicode
ERROR SNCERR_UNKNOWN_MECH
SncPImportPrName() parsing error
name="p/krb5:johndoe@P.M.COM"
TIME Tue Nov 14 21:10:03 2023
RELEASE 753
COMPONENT SNC (Secure Network Communication)
VERSION 6
RC -38
MODULE D:/753_REL/src/krn/snc/sncxxall.c
LINE 2272
DETAIL SncPSetNewName
COUNTER 3
[MSG: class=, type=, number=, v1-4:=;;;]
Any guidance what should be the SNC_NAME format?
This is the code:
conn = Connection(snc_qop='8',saprouter='/H/52./S/3830',client='100', sysnr='11',ashost='sapxxx', snc_partnername='p/krb5:sapxxx@P.M.COM', SNC_MYNAME='p/krb5:johndoe@P.M.COM', SNC_LIB='C:\Program Files (x86)\SAP\SNCEncryption\x64\sapsncencryption.dll')
All reactions