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

Parsing fails with byte type #684

Closed
pranaypratyush opened this issue Nov 21, 2019 · 1 comment
Closed

Parsing fails with byte type #684

pranaypratyush opened this issue Nov 21, 2019 · 1 comment

Comments

@pranaypratyush
Copy link

I get the following error when I try to send a byte Type through the grpc-web passing through envoy

Uncaught Error: The stream is broken @0/0. Error: invalid frame byte. With input:
1,0,0,1,214,31,139,8,0,0,0,0,0,0,3,227,218,173,165,180,73,235,255,141,255,15,24,...........,97,116,117,115,58,48,13,10,103,114,112,99,45,109,101,115,115,97,103,101,58,13,10

#561 tells me that envoy is adding the grpc-encoding: gzip header in the request and that this problem wouldn't happen without it. As I am using python for the server I have been trying to find a method to ignore it but have failed to do so. Any pointers would be highly appreciated.
Something I noticed is that this error doesn't happen when the size of the payload is smaller than 70 bytes. Quite puzzling.

@stanley-cheung
Copy link
Collaborator

There are several issues like this. I am folding this into #561.

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

2 participants