Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solicit::http::client - RST_STREAM id=105, error=ProtocolError #38

Closed
rohitjoshi opened this issue Apr 18, 2017 · 2 comments
Closed

solicit::http::client - RST_STREAM id=105, error=ProtocolError #38

rohitjoshi opened this issue Apr 18, 2017 · 2 comments

Comments

@rohitjoshi
Copy link

rohitjoshi commented Apr 18, 2017

First of all, thanks for creating solicit. I am using this for file/batch processing using http2 protocol where the server is nginx.

Under load, I am getting following errors and it seems once it receives WINDOW_UPDATE frame received, response response is empty but http status code is still 200.

2017-04-18T11:24:12.218843-04:00 DEBUG batch_processor::batch::client - ClientId: f1f7aadb-5879-4573-9bde-84d94c5a3b4d,thread_id: ThreadId(3), Request sent with Streamid: 105, Body : xxxxx
2017-04-18T11:24:12.266707-04:00 DEBUG solicit::http::connection - Waiting for frame...
 2017-04-18T11:24:12.268877-04:00 DEBUG solicit::http::connection - WINDOW_UPDATE frame received
 2017-04-18T11:24:12.268891-04:00 DEBUG solicit::http::connection - Waiting for frame...
 2017-04-18T11:24:12.268904-04:00 DEBUG solicit::http::connection - Headers frame received
 2017-04-18T11:24:12.268909-04:00 DEBUG hpack::decoder - Decoding indexed: index = 8, consumed = 1
 2017-04-18T11:24:12.268913-04:00 DEBUG hpack::decoder - decode_string: Consumed = 1, len = 12
 2017-04-18T11:24:12.268918-04:00 DEBUG hpack::decoder - decode_string: Using the Huffman code
 2017-04-18T11:24:12.268949-04:00 DEBUG hpack - New dynamic table size 4104
 2017-04-18T11:24:12.268954-04:00 DEBUG hpack - After consolidation dynamic table size 4039
 2017-04-18T11:24:12.268958-04:00 DEBUG hpack::decoder - decode_string: Consumed = 1, len = 22
 2017-04-18T11:24:12.268962-04:00 DEBUG hpack::decoder - decode_string: Using the Huffman code
 2017-04-18T11:24:12.268995-04:00 DEBUG hpack - New dynamic table size 4104
 2017-04-18T11:24:12.268999-04:00 DEBUG hpack - After consolidation dynamic table size 4052
 2017-04-18T11:24:12.269003-04:00 DEBUG hpack::decoder - decode_string: Consumed = 1, len = 6
 2017-04-18T11:24:12.269007-04:00 DEBUG hpack::decoder - decode_string: Using the Huffman code
 2017-04-18T11:24:12.269033-04:00 DEBUG hpack - New dynamic table size 4104
 2017-04-18T11:24:12.269037-04:00 DEBUG hpack - After consolidation dynamic table size 4050
 2017-04-18T11:24:12.269041-04:00 DEBUG hpack::decoder - decode_string: Consumed = 1, len = 7
 2017-04-18T11:24:12.269045-04:00 DEBUG hpack::decoder - decode_string: Using the Huffman code
 2017-04-18T11:24:12.269073-04:00 DEBUG hpack::decoder - decode_string: Consumed = 1, len = 8
 2017-04-18T11:24:12.269077-04:00 DEBUG hpack::decoder - decode_string: Using the Huffman code
 2017-04-18T11:24:12.269105-04:00 DEBUG solicit::http::client - Headers for stream 105
 2017-04-18T11:24:12.269110-04:00 DEBUG solicit::http::connection - Waiting for frame...
 2017-04-18T11:24:12.271195-04:00 DEBUG solicit::http::connection - WINDOW_UPDATE frame received
 2017-04-18T11:24:12.271220-04:00 DEBUG solicit::http::connection - Waiting for frame...
 2017-04-18T11:24:12.271227-04:00 DEBUG solicit::http::connection - Headers frame received
 2017-04-18T11:24:12.271231-04:00 DEBUG hpack::decoder - Decoding indexed: index = 8, consumed = 1
 2017-04-18T11:24:12.271236-04:00 DEBUG hpack::decoder - decode_string: Consumed = 1, len = 12
 2017-04-18T11:24:12.271240-04:00 DEBUG hpack::decoder - decode_string: Using the Huffman code
 2017-04-18T11:24:12.271270-04:00 DEBUG hpack - New dynamic table size 4104
 2017-04-18T11:24:12.271275-04:00 DEBUG hpack - After consolidation dynamic table size 4039
 2017-04-18T11:24:12.271279-04:00 DEBUG hpack::decoder - decode_string: Consumed = 1, len = 22
 2017-04-18T11:24:12.271283-04:00 DEBUG hpack::decoder - decode_string: Using the Huffman code
 2017-04-18T11:24:12.271314-04:00 DEBUG hpack - New dynamic table size 4104
 2017-04-18T11:24:12.271318-04:00 DEBUG hpack - After consolidation dynamic table size 4052
 2017-04-18T11:24:12.271322-04:00 DEBUG hpack::decoder - decode_string: Consumed = 1, len = 6
 2017-04-18T11:24:12.271326-04:00 DEBUG hpack::decoder - decode_string: Using the Huffman code
 2017-04-18T11:24:12.271351-04:00 DEBUG hpack - New dynamic table size 4104
 2017-04-18T11:24:12.271355-04:00 DEBUG hpack - After consolidation dynamic table size 4050
 2017-04-18T11:24:12.271359-04:00 DEBUG hpack::decoder - decode_string: Consumed = 1, len = 7
 2017-04-18T11:24:12.271363-04:00 DEBUG hpack::decoder - decode_string: Using the Huffman code
 2017-04-18T11:24:12.271388-04:00 DEBUG hpack::decoder - decode_string: Consumed = 1, len = 8
 2017-04-18T11:24:12.271392-04:00 DEBUG hpack::decoder - decode_string: Using the Huffman code
 2017-04-18T11:24:12.271419-04:00 DEBUG solicit::http::client - Headers for stream 105
 2017-04-18T11:24:12.271423-04:00 DEBUG solicit::http::connection - Waiting for frame...
 2017-04-18T11:24:22.219292-04:00 DEBUG solicit::http::connection - RST_STREAM frame received
 2017-04-18T11:24:22.219325-04:00 DEBUG solicit::http::client - RST_STREAM id=105, error=ProtocolError
 2017-04-18T11:24:22.219338-04:00 DEBUG batch_processor::batch::client - ClientId: f1f7aadb-5879-4573-9bde-84d94c5a3b4d, thread_id: ThreadId(3), Streamid: 105,  Code: 200, body:
@rohitjoshi
Copy link
Author

I do not see any errors on the Server (Nginx) side. I am using Nginx 1.11.2 with --with-threads --with-stream --with-stream_ssl_module --with-http_ssl_module --with-http_v2_module

@rohitjoshi
Copy link
Author

PR from mlalic:flow-ctrl branch has fixed this issue. I applied this PR my fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant