Solved

K2 Connect to SAP Error: no connect of TP sapdp00 from host <hostserver> after 20 sec

  • 30 April 2018
  • 4 replies
  • 1086 views

Dear all,

 

We encountered a problem when connect to sap via K2 Connect. We configured the connection string then click the test button, but prompt error as below:

 

[Thr 23920] LOCATION    SAP-Gateway on host <hostserver> / sapgw00
[Thr 23920] ERROR       timeout during allocate
[Thr 23920] TIME        Mon Apr 30 14:50:01 2018
[Thr 23920] RELEASE     701
[Thr 23920] COMPONENT   SAP-Gateway
[Thr 23920] VERSION     2
[Thr 23920] RC          242
[Thr 23920] MODULE      gwr3cpic.c
[Thr 23920] LINE        2066
[Thr 23920] DETAIL      no connect of TP sapdp00 from host <hostserver> after 20 sec
[Thr 23920] COUNTER     469

 

Can you tell us how to fix it?

 

Thanks very much!

icon

Best answer by ThinusC 4 May 2018, 08:53

View original

4 replies

Badge +10

Hi RayFor


 


This could possibly be a network or firewall related issue where K2 Connect cannot connect to the SAP server.


 


Please see the following SAP article regarding SAP NetWeaver port numbers: https://help.sap.com/saphelp_nw73ehp1/helpdata/en/4e/c26cdc58e968b9e10000000a42189e/frameset.htm


 


From your error it can’t connect to Gateway "sapgw00" and Dispatcher "sapdp00", so from the above article it might be Ports 3300 and 3200.


 


Regards,


T

Hi ThinusC,

 

From the error message looks like firewall ports issue, but I can confirmed with SAP admin 3300 is the gw service, and even I can telnet the SAPIP:3300 from the K2 connect server. from the detailed log I can see the connection was sucessfully established.

 

Thr 23920] NiIConnectSocket: hdl 4 is connecting to 192.168.81.55:3300 (timeout=60000)
[Thr 23920] SiPeekPendConn: connection of sock 1984 established
[Thr 23920] NiICheckPendConnection: connection of hdl 4 to 192.168.81.55:3300 established

at the bottom of the log it says timeout. do you know the reason?

 

Thank you very much.

Badge +10

Hi RayFor


 


This does sound like something ouside of K2 Connect, possibly on the SAP side.


 


A quick search found the following: https://archive.sap.com/discussions/thread/1226806


 


"We had the same error. Our SAP-System doesn´t open any RFC-Connection although nothing changed. The only thing was we rebooted our server. After this this error occurred.


The solution was to reset the hostname buffer in TA sm51->GoTo->Hostname buffer"


 


Hope that helps.


 


Cheers,


T

Hi all,

 

Thanks you, I have resolved this issue, it is caused by sap couldn;t recognize IP, change the IP to host and add some entries in "services" folder, the issue resolved

Reply