cancel
Showing results for 
Search instead for 
Did you mean: 

ERROR: handshake with saprouter

Former Member
0 Kudos

Hi,

I run into a strange problem with .net Connector version:

SAP Connector for Microsoft .NET 3.0.16.0 for Windows 64bit (x64)

The connector should establish a connection through an SAP Router with password and returned this error message:


2015-11-23 10:38:57.526 RfcConnectionPool.GetPool threw RfcCommunicationException:

LOCATION    SAP-Gateway on host develop.sap.topimagesystems.com / sapgw00

ERROR       handshake with saprouter

            (/H/w.x.y.z/S/3299/W/x§xxxxx/H/192.168.s.t) failed

            (NIECONN_BROKEN)

TIME        Mon Nov 23 10:35:53 2015

RELEASE     742

COMPONENT   NI (network interface)

VERSION     40

RC          -6

MODULE      /bas/742_REL/src/base/ni/nixxi.cpp

LINE        5129

DETAIL      NiIRead: P=w.x.y.z:3299; L=192.168.s.t:41599

SYSTEM CALL recv

COUNTER     11

--- see log for details

The error can be reproduced with the example program from Tutorial:

I entered the destination ("2 Add Or Change Destination") as follow and the error comes up with "4 Ping Destination".

Name: test

User: myuser

Password: abc123

Client: 800

AS/MS Host: /H/w.x.y.z/S/3299/W/x§xxxxx/H/192.168.s.t

System Nr/ID: 00

Trace: 3

After playing a little bit around, I fixed the problem by replacing the '§' in SAP Router password with '$'.

The connection string /H/w.x.y.z/S/3299/W/x$xxxxx/H/192.168.s.t works fine.

The ugly thing is, SAP Logon accepted the "x§xxxxx" in password and connected without problem and Visual Basic components (wdtfuncs.ocx, SAP.Functions) work without problem with '§' in password. JCO not yet tested.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Final solution to this issue:

2290124 - Passwords for saprouter route string entries

http://service.sap.com/sap/support/notes/2290124

> Please use only ASCII characters (excluding '#') for passwords in saprouter route string entries.

Additional restriction for length:

1814643 - Route permission denied error message from SAProuter
http://service.sap.com/sap/support/notes/1814643

> There is a limit of 8 characters for the SAProuter password.

So restriction for passwords in SAP Router are

  • max. 8 characters
  • use only ASCII characters (32-126)
MarkusTolksdorf
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Tibor,

this requires a more detailed analysis. Please open a customer ticket on  BC-MID-CON-NCO.

Best regards,

Markus

Former Member
0 Kudos

Hi Markus,

ticket already open .

In the meanwhile (during creating trace file for ticket):

  • Problem seems to be related to ASCII characters > 128, same error message for '§' and 'ä'.
  • I got different error messages for different kernel versions:
    • 7.21: Permission denied
    • 7.42: handshake with saprouter

The connection string is read from the app.config, which is encoded in UTF-8.

I would not expect encoding problems at this place.

I am not so sure about the saprouttab and saplogon.ini.

Maybe NCO do it right and SAP Router, SAPGUI and OCX do it wrong in the same manner, but therefore it worked.

Best regards,

Tibor

MarkusTolksdorf
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Tibor,

there are no ASCII characters >= 128 ... Perhaps you are talking about iso-8859-1 characters in that range, but ASCII itself has only chars up to 128. Well, but if there is a ticket already, the communication should be done via the ticket and we should post only the summary here afterwards.

Best regards,

Markus