Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem when connecting to a system (logon to system failed)

BMEIJS
Active Participant
0 Kudos

Hi all,

I'm having no problems while connecting with several of our customers. However, there is one customer for which the connection doesn't work.

The message is " Logon to system xxx failed (Connection to system "xxx" is currently not available) "

As far as I know, the system meets all the technical requirements

  • WAS731 / 0004
  • The SICF services are correct
  • My SAP user has profile SAP_ALL and SAP_NEW
  • I don't use SNC.
  • Is it perhaps an issue of the port 3310? Because if that is the case, I can try to ask our customer to open this port.
  • (note: I don't know if it has anything to do with this problem, but the graphical screen painter also doesn't work. Maybe also because a specific port that is closed on the filewall?)

The Eclipse Log contains the following errors (I have changed the IP addresses here to protect the innocent )

Caused by: com.sap.conn.jco.JCoException: (102) JCO_ERROR_COMMUNICATION: Connect to SAP gateway failed

Connection parameters: TYPE=A DEST=adt.tmp_1395321753698 ASHOST=nn.nnn.nn.nn SYSNR=10 PCS=1

LOCATION    CPIC (TCP/IP) on local host with Unicode

ERROR       partner 'nn.nnn.nn.nn:3310' not reached

TIME        Thu Mar 20 14:24:21 2014

RELEASE     721

COMPONENT   NI (network interface)

VERSION     40

RC          -10

MODULE      nixxi.cpp

LINE        3286

DETAIL      NiPConnect2: nn.nnn.nn.nn:3310

SYSTEM CALL connect

ERRNO       10060

ERRNO TEXT  WSAETIMEDOUT: Connection timed out

COUNTER     2

Caused by: RfcException: [null]

    message: Connect to SAP gateway failed

Connection parameters: TYPE=A DEST=adt.tmp_1395321753698 ASHOST=nn.nnn.nn.nn SYSNR=10 PCS=1

LOCATION    CPIC (TCP/IP) on local host with Unicode

ERROR       partner 'nn.nnn.nn.nn:3310' not reached

TIME        Thu Mar 20 14:24:21 2014

RELEASE     721

COMPONENT   NI (network interface)

VERSION     40

RC          -10

MODULE      nixxi.cpp

LINE        3286

DETAIL      NiPConnect2: nn.nnn.nn.nn:3310

SYSTEM CALL connect

ERRNO       10060

ERRNO TEXT  WSAETIMEDOUT: Connection timed out

COUNTER     2

    Return code: RFC_FAILURE(1)

    error group: 102

    key: RFC_ERROR_COMMUNICATION

1 ACCEPTED SOLUTION

ceedee666
Active Contributor
0 Kudos

HI,

the trace looks lIke your or your customers firewall block access to IP address or the port of the system you try to connect to.

Have you tried to ping the server and connect via telnet to port 3310?

If either doesn't work you should ask to open the firewall for port 3310.

best,

Christian

10 REPLIES 10

ceedee666
Active Contributor
0 Kudos

HI,

the trace looks lIke your or your customers firewall block access to IP address or the port of the system you try to connect to.

Have you tried to ping the server and connect via telnet to port 3310?

If either doesn't work you should ask to open the firewall for port 3310.

best,

Christian

BMEIJS
Active Participant
0 Kudos

Thank you Christian. I will ask check if I can ping that port and ask the customer to open it.

0 Kudos

Hi,

1) ping to server.

2) telnet to server ports 3210 and 3310.

If you are using some VPN, maybe the customer has to open his firewall for the required ports.

BR,

Àlex

0 Kudos

Thank you Alejandro. I'm going to try this.

0 Kudos

Hello Experts!

We are facing the same problem. Do you have any solution so far?

Thx!

0 Kudos

Hi Maximilian,

have you tried to access the ports 3210 and 3310 as suggested by and me? What where the results?

Christian

0 Kudos

Hello Christian,

yes, i can connect these ports. I also activated the all the ICF Services as mentioned in the config guide. However, I do not use SNC-Connection. But i think this is not a must, right?

Are there any other necessary configuration steps?

Thx!

0 Kudos

See my answer below...

former_member186216
Active Participant
0 Kudos

Hello,

we have seen similar issues related to the resolution of host names or IP numbers.

Please try the following:

Add the IP number you are using in the system connection to profile parameter gw/alternative_hostnames of the application server you are trying to connect to.

Good luck!

Best regards,

Marco

0 Kudos

thx! I'm going to try this.

This is by the way, the error message from eclipse log, we are getting:

Gateway on host XXXX/ sapgw00

ERROR      timeout during allocate TIME        Tue Jul 29 14:31:31 2014

RELEASE    741 COMPONENT  SAP-Gateway

VERSION    2 RC          242

MODULE      /bas/741_REL/src/krn/si/gw/gwr3cpic.c LINE        2160

DETAIL      no connect of TP sapdp00 from host XXX after 20 sec COUNTER    3

Caused by: com.sap.conn.jco.JCoException: (102) JCO_ERROR_COMMUNICATION: Connect from SAP gateway to RFC server failed Connection ....