-
Notifications
You must be signed in to change notification settings - Fork 776
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
ERROR Error: The stream is broken @0/0. Error: invalid frame byte. #713
Comments
Probably same issue as #561 |
Thanks, Stanley... however I did check that issue but it's for some Akka server and is focused on gzip not working. Not applicable to this scenario as not even compression level 1 is being parsed. Is there any additional config needed to be done on the client-side? |
I'm having the same issue, where enabling compression breaks grpc-web. I have an existing call that succeeds when compression is not enabled, and I receive the following response headers.
If I enable compression in my gRPC server by calling
Based on https://github.com/grpc/grpc-web/blob/master/BROWSER-FEATURES.md#compression, I would have expected a I'm also curious if the text wire format needs to be used when compressing, based on #87. Ultimately, I'm not sure how compression is even supposed to work with grpc-web. Is there specific configuration required at the proxy level? Thanks a bunch for any help or direction you can offer @stanley-cheung. |
There are several issues like this - I am folding this into #561. We will look into this soon. |
@bclinkinbeard Did you end up figuring this out? I tried adding the Content-Encoding: gzip in the Envoy proxy but I'm getting a "(failed) net::ERR_CONTENT_DECODING_FAILED" in my response. Thanks! |
I am using nodejs server and angular frontend. Things work fine without encryption. However, when I put the snippet below in the server for encrypting payload....

The size of the payload decreases (10 -> 4 kb) but...
I get this error while logging the response:

What could be the reason behind this?
The text was updated successfully, but these errors were encountered: