cancel
Showing results for 
Search instead for 
Did you mean: 

Max open outbound sockets per request error during product transport

Former Member
0 Kudos

Hello,

I am attempting to transport a product with multiple delivery units in the transport manager from a remote system via HTTPS.  Each time I try to do this transport it fails at the same place. The error in the transport web interface is that the source system is unavailable.

In looking at the XSJS logs I see the following:

12: 0x00007fb2c9f3269d in Execution::Thread::staticMain(void*)+0x39 at ThreadMain.cpp:26 (libhdbbasis.so)

[14008]{-1}[-1/-1] 2015-10-24 06:08:32.152502 e xsa:sap.hana.xs. sap.hana.xs.lm.xsts:utils.xsjslib(00694) : HTTP Request failed. ERROR: (new Error("HttpClient.request: Max open outbound sockets per request reached.", "/sap/hana/xs/lm/xsts/utils.xsjslib", 642))

[14008]{-1}[-1/-1] 2015-10-24 06:08:32.152659 e xsa:sap.hana.xs. sap.hana.xs.lm.core:TransportServiceLib.xsjslib(00136) : (new Error("HTTP request failed. The remote system QH1 is not reachable.", "/sap/hana/xs/lm/xsts/utils.xsjslib"))

[14008]{-1}[-1/-1] 2015-10-24 06:08:32.160295 e xsa:sap.hana.xs. sap.hana.xs.lm.core:TransportServiceBaseLib.xsjslib(00390) :

Stack Trace:

UserReportableException@/sap/hana/xs/lm/xsts/utils.xsjslib:42

@/sap/hana/xs/lm/core/TransportServiceBaseLib.xsjslib:67

@/sap/hana/xs/lm/core/TransportService.xsjs:14

The source system is running HANA SPS 09 Rev 96 and the target system is running SPS 10 Rev 101.

Does any one have suggestions on what could be happening here? Is this an issue with the system configuration of the target system? It seems like the transport process is making too many requests at once when fetching the DUs.

Thanks

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Hi All,


We also found out that:


It probably has something to do with the .close() method of HttpClient:

http://help.sap.com/hana/SAP_HANA_XS_JavaScript_API_Reference_en/$.net.http.Client.html

which however does not seem to be available in SP10.


But increasing max_open_sockets_per_request undocumented setting xsengine.ini: [communication] - max_open_sockets_per_request may also help.




Best,

Anton

0 Kudos

Hi!

I was getting the same error. I was making several calls inside of a for each loop to the qualtrics API. I solved it by using the .close() method of Client class after each call.

Thanks!

0 Kudos

Hi Eric,

Have you managed to fix this issue? We experience the same problem while making https requests to third party service.

Anton

DeepikaSingh
Advisor
Advisor
0 Kudos

Hi All,

please increase parameter in xsengine.ini:

xsengine.ini->communication->max_open_sockets_per_request

Default is 40.

So I recommend to set it to 60.

Let me know if the issue gets solved.

Regards,

Deepika

Former Member
0 Kudos

Thanks Deepika,

I've set those parameters and we'll try it out on the next migration this week.

Jamie

Former Member
0 Kudos

Hi Eric,

We're facing the same error.

We're running with both source and target as SPS10 rev 102.

If we figure it out I'll let you know.

Jamie