on 12-07-2020 2:13 PM
Hi,
I have an IFlow in CPI with a Request Reply that send a POST request to an external web server, the interface is working fine for small messages. Problem comes when the body is long, the server returns with 500 - Internal Server Error:
<html>
<head><title>500 Internal Server Error</title></head>
<body bgcolor="white">
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx</center>
</body>
</html>
1 error message example that I check has the Content-Length as 8559 (~9kb). But when the same payload/content is sent from Postman to the web server, the server returns 200, no error.
What could possibly wrong?
Thank you.
Hi,
I realize, the request will have this error when the server receives certain data length which is sent with header:
Transfer-Encoding: chunked
Sap-Passport: 2A5448xxxxxx
if 1 of those header is omitted, the request can be processed by the server. Is there a way to disable chunking in HTTP request?
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Looks like it is already being answered here: https://answers.sap.com/questions/13205755/http-receiver-channel-disable-chunking.html
Hello,
Could this be due to the limit mentioned in following document where they say HTTP adapter can only pass 8KB of the header parameter? (BTW: URL endpoint is also part of request header)
If thats the case then there is a hardstop and you need to split your URL into small chunk.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I realize that the request will be error if the request is sent with the Condition: Data is sent in Chunked & there is a Sap-Passport in the header.
Is there a way to disable chunking in HTTP request?
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.