cancel
Showing results for 
Search instead for 
Did you mean: 

TCP/IP port will be not closed, but tried to be reused

Former Member
0 Kudos
804

Hi Experts,

Please help me with to solve the Problem below.

We’re trying to call a 3rd party service from SAP using the ABAP class cl_http_client. The solution is basically working, but after a couple of hours we get errors.

About the environment:

  • 2 SAP application servers(central instance + dialog server)
  • We have established S2S VPN connection between the 3rd party company and the 2 servers above (SSL certs were uploaded to appl servers, ICM was restarted)
  • We also tried to reach the 3rd party suppliers public service via the internet, but we are facing the same problem

We have analyzed the logs on the servers, on the VPN tunnel and also on the firewalls.

The dropped TCP/IP packets were reusing the same source port of the SAP application servers that was successful about 1-2 minutes ago. It seems that SAP not closing the TCP/IP connection, and before creating a new one it does not check whether is the port used at the moment or not.

As I’ve mentioned, we are using the class cl_http_client and we try to close the connection after every successful call with method CLOSE.

Connection timeout on ICM is set to 300 sec.

If we restart the ICM, the process is working fine for 1-1,5 hours, but after we get the same error

We can’t tell whether we have a made somewhere programming mistake or we have a wrong setting somewhere in ICM.

Do You have any suggestions, where we should take a closer look or any idea how could we solve the problem?

Thanks a lot in advance

Norbert

Accepted Solutions (0)

Answers (0)