on 05-13-2017 1:40 AM
Hi colleagues,
I've got very strange situation on PI 7.5 SP6 with SAP ERP - PI - REST(JSON) service scenario.
If I'm using small amount of data in request - the call goes fine till the external system and back, but if I send more than ~1Kb (according to Content-Length header parameter) - request hangs and stops after time-out.
XPI Inspector shows (content skipped):
1) Successfull call:
HTTP_CLIENT : 129 REQUEST:
0000: 50 4f 53 54 20 2f 61 70 69 2f 53 65 6e 64 46 72 | POST /api/SendFr
0000: 65 65 62 65 74 20 48 54 54 50 2f 31 2e 31 0d 0a | eebet HTTP/1.1..
0010: 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 | Content-Type: ap
0020: 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 3b 63 | plication/json;c
0030: 68 61 72 73 65 74 3d 55 54 46 2d 38 0d 0a 55 73 | harset=UTF-8..Us
0040: 65 72 2d 41 67 65 6e 74 3a 20 53 41 50 20 48 74 | er-Agent: SAP Ht
0050: 74 70 43 6c 69 65 6e 74 20 76 31 2e 30 0d 0a 48 | tpClient v1.0..H
0060: 6f 73 74 3a 20 31 30 2e 31 30 30 2e 30 2e 37 38 | ost: 10.100.0.78
0070: 3a 36 32 38 38 32 0d 0a 43 6f 6e 74 65 6e 74 2d | :62882..Content-
0080: 4c 65 6e 67 74 68 3a 20 39 35 34 0d 0a 0a | Length: 954...
2) Call hangs on time-out:
HTTP_CLIENT : 130 REQUEST:
0000: 50 4f 53 54 20 2f 61 70 69 2f 53 65 6e 64 46 72 | POST /api/SendFr
0000: 65 65 62 65 74 20 48 54 54 50 2f 31 2e 31 0d 0a | eebet HTTP/1.1..
0010: 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 | Content-Type: ap
0020: 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 3b 63 | plication/json;c
0030: 68 61 72 73 65 74 3d 55 54 46 2d 38 0d 0a 55 73 | harset=UTF-8..Us
0040: 65 72 2d 41 67 65 6e 74 3a 20 53 41 50 20 48 74 | er-Agent: SAP Ht
0050: 74 70 43 6c 69 65 6e 74 20 76 31 2e 30 0d 0a 48 | tpClient v1.0..H
0060: 6f 73 74 3a 20 31 30 2e 31 30 30 2e 30 2e 37 38 | ost: 10.100.0.78
0070: 3a 36 32 38 38 32 0d 0a 43 6f 6e 74 65 6e 74 2d | :62882..Content-
0080: 4c 65 6e 67 74 68 3a 20 31 33 38 30 0d 0a 0a | Length: 1380...
I spent a lot of time changing content, timeouts - nothing.
And interesting - if I set Content-Length manually via Header tab in REST adapter settings to more than 1000 - the request hangs without taking into account real size of the request body.
Could you please advise - what is the root cause of this?
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.