Hello,
On sending a post request with chunked body to ATS + stream editor plugin I
get broken pipe error at the client. It looks like ATS is triggering an
error event due to undefined length.
Attaching logs. Please help.
Thanks,
Supraja
{\rtf1\ansi\ansicpg1252\cocoartf2513
\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\colortbl;\red255\green255\blue255;}
{\*\expandedcolortbl;;}
\margl1440\margr1440\vieww10800\viewh8400\viewkind0
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
\f0\fs24 \cf0 [Feb 1 02:40:41.691] Server \{0x7f0b7baf4700\} DEBUG: <HttpTunnel.cc:1176 (producer_handler)> (http_tunnel) [0] producer_handler [user agent post VC_EVENT_READ_READY]\
[Feb 1 02:40:41.691] Server \{0x7f0b7baf4700\} DEBUG: <HttpTunnel.cc:1111 (producer_handler_chunked)> (http_tunnel) [0] producer_handler_chunked [user agent post VC_EVENT_READ_READY]\
[Feb 1 02:40:41.691] Server \{0x7f0b7baf4700\} DEBUG: <HttpTunnel.cc:203 (read_size)> (http_chunk) read chunk size of 16372 bytes\
[Feb 1 02:40:41.691] Server \{0x7f0b7baf4700\} DEBUG: <HttpTunnel.cc:283 (read_chunk)> (http_chunk) read 3885 bytes of an 16372 chunk\
[Feb 1 02:40:41.691] Server \{0x7f0b7baf4700\} DEBUG: <HttpTunnel.cc:1216 (producer_handler)> (http_redirect) [HttpTunnel::producer_handler] enable_redirection: [1 0 0] event: 100\
[Feb 1 02:40:41.691] Server \{0x7f0b7b9f2700\} DEBUG: <HttpTunnel.cc:1373 (consumer_handler)> (http_tunnel) [0] consumer_handler [post transform VC_EVENT_WRITE_READY]\
[Feb 1 02:40:41.692] Server \{0x7f0b804d9700\} DEBUG: <HttpSM.cc:2679 (main_handler)> (http) [0] [HttpSM::main_handler, TRANSFORM_READ_READY]\
[Feb 1 02:40:41.692] Server \{0x7f0b804d9700\} DEBUG: <HttpSM.cc:1207 (state_request_wait_for_transform_read)> (http) [0] [&HttpSM::state_request_wait_for_transform_read, TRANSFORM_READ_READY]\
[Feb 1 02:40:41.692] Server \{0x7f0b804d9700\} DEBUG: <HttpSM.cc:1276 (state_common_wait_for_transform_read)> (http) [0] [&HttpSM::state_common_wait_for_transform_read, VC_EVENT_ERROR]\
[Feb 1 02:40:41.692] Server \{0x7f0b804d9700\} DEBUG: <Http1ClientSession.cc:300 (do_io_close)> (http_cs) [0] session closed\
[Feb 1 02:40:41.692] Server \{0x7f0b804d9700\} DEBUG: <HttpTunnel.cc:1751 (deallocate_redirect_postdata_buffers)> (http_redirect) [HttpTunnel::deallocate_postdata_copy_buffers]\
[Feb 1 02:40:41.692] Server \{0x7f0b804d9700\} DEBUG: <HttpTransact.cc:1439 (HandleApiErrorJump)> (http_trans) [0] [HttpTransact::HandleApiErrorJump]\
[Feb 1 02:40:41.692] Server \{0x7f0b804d9700\} DEBUG: <HttpTransactHeaders.cc:636 (generate_and_set_squid_codes)> (http_trans) [Squid code generation] Hit/Miss: 1, Log: 3, Hier: 2\
[Feb 1 02:40:41.692] Server \{0x7f0b804d9700\} DEBUG: <HttpTransactHeaders.cc:1020 (add_server_header_to_response)> (http_trans) Adding Server: ATS/7.1.1\
+++++++++ Proxy's Response 2 +++++++++\
-- State Machine Id: 0\
HTTP/1.1 500 INKApi Error\
Date: Mon, 01 Feb 2021 10:40:41 GMT\
Proxy-Connection: close\
Server: ATS/7.1.1}