Application Development and Automation 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: 
Read only

Proxy connection error sending big files

Former Member
0 Likes
1,256

Hello experts,

I am sending a simple proxy to PI in order to generate an XML.

When the XML that I get is less than 100MB big, it works fine and the XML gets generated.

On the other hand, when I try to generate a file anything bigger, I get the following error.

- <SAP:Error
SOAP:mustUnderstand
="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">CLIENT_SEND_FAILED</SAP:Code>
<SAP:P1>400</SAP:P1>
<SAP:P2>Bad Request</SAP:P2>
<SAP:P3>(See attachment HTMLError for details)</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack>Error while sending by HTTP (error code: 400 , error text: Bad Request)
(See attachment HTMLError for details)
</SAP:Stack>
<SAP:Retry>A</SAP:Retry>
</SAP:Error>
It seams a communication error, but the proxy is retried and we always get the same error.
Any ideas?
Thanks a lot!

Hello experts,

I am sending a simple proxy to PI in order to generate an XML.

When the XML that I get is less than 100MB big, it works fine and the XML gets generated.

On the other hand, when I try to generate a file anything bigger, I get the following error.

- <SAP:Error
SOAP:mustUnderstand
="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">CLIENT_SEND_FAILED</SAP:Code>
<SAP:P1>400</SAP:P1>
<SAP:P2>Bad Request</SAP:P2>
<SAP:P3>(See attachment HTMLError for details)</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack>Error while sending by HTTP (error code: 400 , error text: Bad Request)
(See attachment HTMLError for details)
</SAP:Stack>
<SAP:Retry>A</SAP:Retry>
</SAP:Error>
It seams a communication error, but the proxy is retried and we always get the same error.
Any ideas?
Thanks a lot!
1 REPLY 1
Read only

vadimklimov
Active Contributor
0 Likes
744

Hello Maria,

In ICM configuration, please check the value of the parameter icm/HTTP/max_request_size_KB. By default, it is 102400 - meaning that ICM will process HTTP requests of size up to 100 MB and will prevent processing larger requests. You can increase value of this parameter to a higher value depending on the size of HTTP requests that you expect to be passed to ICM. In extreme case, this limitation can be even switched off by setting value of the mentioned parameter to -1, but please take into consideration that switching off the request size limitation is not recommended from security perspective - since potentially very large requests may be sent to ICM and cause performance degradation / Denial of Service for ICM when being processed.

Regards,

Vadim