question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

All proxy responses are getting truncated past 65335 bytes

See original GitHub issue

Heya,

We are starting to get some large payloads back through the proxy, unfortunetly it appears the proxy always truncates at 65335 bytes, leading to the proxy forwarding invalid payloads. The curl request below demonstrates the issue. The {{AUTH_TOKENS}} you can try are located here: https://paste.googleplex.com/4771580840247296 You’ll need to be on GoogleA or the VPN to talk with the service.

curl 'https://firebird.phoenix.nestlabs.com:9041/nestlabs.gateway.v2.GatewayService/Observe' -H 'Origin: null' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: en-US,en;q=0.8' -H 'Authorization: Basic {{AUTH_TOKEN}}' -H 'Content-Type: application/json' -H 'Accept: */*' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.81 Safari/537.36' -H 'Connection: keep-alive' -H 'Request-Id: 1b682f73-5c9a-4771-8f15-1f72ef8f7aca' --data-binary '[{"1":"CgIBAg=="}]' --compressed

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
stanley-cheungcommented, Apr 26, 2017

Just noticed that this is the old application/json format. Working with @develra to try to move them to use the new client which will use application/x-protobuf

0reactions
develracommented, Apr 28, 2017

This issue was due to an error by user(me). It’s resolved. Thanks so much to @fengli79 and @stanley-cheung for their awesome debugging skills, it was invaluable in helping me track down my error.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Overview of the truncating rule when DNS response size is ...
If the DNS response received by the cache is larger than 512 bytes, truncating will happen on the server-side, and a TCP connection...
Read more >
Fix list for IBM WebSphere Application Server V8.5
IBM WebSphere Application Server provides periodic fixes for the base and Network Deployment editions of release V8.5. The following is a complete listing ......
Read more >
All responses truncated to exactly 8192 bytes #26 - GitHub
I'm running into an issue where using the provided BrotliFilter with default settings will cause all responses to be truncated to a Content- ......
Read more >
python 2.7 - Server response on socket being truncated at 2K
TCP socket gives you a bi-directional stream of bytes, but at the lower level it is being realized over packet-based protocol (IP).
Read more >
Line truncated when using TRANSFER - SAP Community
When the file is written to the app server the last 331 bytes are truncated even though I specifically tell the statement the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found