-
Notifications
You must be signed in to change notification settings - Fork 222
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
[permessage-deflate] Failed to perform decompression: -2 #101
Comments
This happened on my box just recently. It's possible that there is a linking problem with pkg-config. Or there could be changes in libz since version 1.2.8 that I'm sorry this took so long, but this was a real pain to figure out. Let me know if that works for you. |
Oh and for setting up a logger, see most of the examples, like client. |
First, when attaching
So, I know that the streams encounter a bad state, which I suppose might be useful. When I set What I'd like is for people to be able to clone my project and do |
I understand, but I haven't figured that one out yet myself. I would like to avoid needing to set an environment variable too. What type of system are you using? I'm on Arch Linux, and I've only seen this issue on my personal box. I'm wondering if this is really a |
My personal box is also Arch Linux. TL;DR, I'm running Arch Linux too, neat! |
This seems to be working for me, I'll reopen/investigate further if I run into this again |
I'm hitting this in ws 0.7.3. |
|
In my case the move occurs at |
This is a debug build; it may be with with optimizations enabled the bug goes away. |
I'll submit a PR. |
And I have no idea how to enable a logger! 😢
I've set up a server with
ssl
andpermessage-deflate
. This is working excellently in "production": proxied throughnginx
and set up with a DNS record + SSL certificate.However, when developing locally, sending messages to the server cause it to fail decompression, and print the above error. (Note: even if I don't use the
ssl
feature, just usingpermessage-deflate
causes the same issue)To reproduce
4147d152819a0f9de4c93b6b7e45b28f1033dad1
cargo run
then
The text was updated successfully, but these errors were encountered: