Skip to Content
Dec 16, 2013 at 03:59 PM

SAPOSS connection error


Hi Experts,

I have troubleshoot the test connection for SAPOSS in SM59 few days and still yet to find any solution.

I have ensure that the user id and password is correct in SAPOSS and saprouttab is maintained correctly.

also, the port 3299 is open and able to ping

i also try to reapply the cert in saprouter and ensure that the saprouter is running on correct user.

Please advise if you have any idea.

Thank you.

The error as below:

Connection Error

Error when opening an RFC connection

ERROR: SNC processing failed: SncSessionInitiatorAK

LOCATION: SAProuter 40.4 on 'Ehbsol'

DETAIL: NiSncIInitHdlSecurity: sncrc=-4;000000000253FA80

COMPONENT: NI (network interface)


MODULE: nisnc.c

LINE: 1182




TIME: Mon Dec 16 23:41:46 2013


From dev_rout

trc file: "dev_rout", trc level: 1, release: "720"

Mon Dec 16 23:41:10 2013
SAP Network Interface Router, Version 40.4

command line arg 0: D:\usr\sap\saprouter\saprouter.exe
command line arg 1: -r
command line arg 2: -W
command line arg 3: 60000
command line arg 4: -R
command line arg 5: D:\usr\sap\saprouter\saprouttab
command line arg 6: -G
command line arg 7: D:\usr\sap\saprouter\saprouter_log.txt
command line arg 8: -K
command line arg 9: p:CN=Ehbsol, OU=0001155667, OU=SAProuter, O=SAP, C=DE
SncInit(): Initializing Secure Network Communication (SNC)
PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 8/64/64)
GetUserName()="saprouter" NetWkstaUser="saprouter"
SncInit(): Trying environment variable SNC_LIB as a
gssapi library name: "D:\usr\sap\saprouter\sapcrypto.dll".
File "D:\usr\sap\saprouter\sapcrypto.dll" dynamically loaded as GSS-API v2 library.
SECUDIR="D:\usr\sap\saprouter" (from $SECUDIR)
The internal Adapter for the loaded GSS-API mechanism identifies as:
Internal SNC-Adapter (Rev 1.0) to SAPCRYPTOLIB
Product Version = SAPCRYPTOLIB 5.5.5C pl36 (Jul 3 2013) MT,[aesni],NB
main: pid = 1572, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a saprouter)
reading routtab: 'D:\usr\sap\saprouter\saprouttab'

Mon Dec 16 23:41:46 2013
*** ERROR => SncPAcquireCred()==SNCERR_GSSAPI [sncxxall.c 1445]
GSS-API(maj): No credentials were supplied
GSS-API(min): No credentials found for this name (not logged on) (USER=saprouter)
Could't acquire INITIATING credentials for

name="p:CN=Ehbsol, OU=0001155667, OU=SAProuter, O=SAP, C=DE"
<<- SncSessionInitiatorAK()==SNCERR_GSSAPI
'target_acl_key' (addr=000000000CA9C9F4, len=86) full hexdump
0x00000 00030401 00080606 2b240301 25010000 ........ +$..%...
0x00010 00443042 310b3009 06035504 06130244 .D0B1.0. ..U....D
0x00020 45310c30 0a060355 040a1303 53415031 E1.0...U ....SAP1
0x00030 12301006 0355040b 13095341 50726f75 .0...U.. ..SAProu
0x00040 74657231 11300f06 03550403 13087361 ter1.0..
0x00050 70736572 7639 pserv9
*** ERROR => NiSncIInitHdlSecurity: SncSessionInitiatorAK failed (sncrc=-4;000000000253FA80) [nisnc.c 1185]
*** ERROR => NiSncHandleForAddr C25/-1, (rc=-17) [nirout.cpp 3275]
*** ERROR => NiRClientHandle: NiRExRouteCon for C25/-1 'EHBAPPS' failed (rc=-17) [nirout.cpp 2653]

from dev_rfc0

**** Trace file opened at 20131213 105117 Malay Peninsula Standard Time, SAP-REL 701,0,137 RFC-VER U 3 1238848 MT-SL

Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 2517

LB: Hostname or service of the message server unknown





ABAP Programm: RSRFCPIN (Transaction: SM59)

User: BT_PP (Client: 100)

Destination: SAPOSS (handle: 2, , )

Best regards,