-
Notifications
You must be signed in to change notification settings - Fork 297
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
failed to WebSocket dial: unsupported permessage-deflate parameter: "server_max_window_bits=15" #351
Comments
我直接注释了这个,跑起来没问题 |
不确定以后服务器更新后,会不会导致客户端无法使用。可能现在服务端只是回复了此字段,但是没有实际使用这个内容。 |
same problem. |
seem nobody maintains this repo? |
same problem. |
@guotie Don't expect maintainers to respond this fast lol they not paid Just disable compression. Should work. |
how to disable compression |
Check on this library: https://github.com/crypto-zero/go-binance |
Disabling compression did it for me, thanks @nightwolfz! I have had the issue on client side and had to set CompressionMode in the DailOptions: conn, _, err := websocket.Dial(ctx, ADDR, &websocket.DialOptions{
CompressionMode: websocket.CompressionDisabled,
}) |
Going to just disable compression by default. |
Disabled by default in #256 |
Perhaps in regards to this specific issue, I should allow server_max_window_bits=15 and client_max_window_bits=15 as that's the default window size. |
Dev should work now with binance out of the box though. Let me know if it doesn't. v1.8.8 is soon to be released. |
Ah looks like the fix is here already: #258 |
Done with #258 |
I use this lib connect binance,2022.10.18 find this question。And then insert some code then can Bypass the problem。
dial.go ->verifyServerExtensions()
The text was updated successfully, but these errors were encountered: