All proxy responses are getting truncated past 65335 bytes
See original GitHub issueHeya,
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:
- Created 6 years ago
- Comments:8
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 useapplication/x-protobuf
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.