godot
godot copied to clipboard
Websocket can't deflate per message?
Tested versions
- I'm at v4.4
- Must be the same in older versions
System information
Godot v4.4.beta4 - Ubuntu 24.10 24.10 on Wayland - X11 display driver, Multi-window, 2 monitors - OpenGL 3 (Compatibility) - NVIDIA GeForce RTX 2060 (nvidia; 560.35.03) - AMD Ryzen 9 5900X 12-Core Processor (24 threads)
Issue description
Previously, I've used WebSockets in my project, and it was working 90% fine (with the exception of a previously raised issue).
But recently, the network source that I was relying on changed its settings. After that, my WebSocket couldn't even connect. The error is: "WebSocket closed with code: -1, reason . Clean: false."
Meanwhile, my Postman test and the official website are working perfectly fine.
Apparently, Godot’s built-in WebSocketPeer does not currently support decompressing messages compressed with permessage-deflate. Is this a correct statement?
If so, what can I do?
Steps to reproduce
Connect websocket to wss://data.aoe2lobby.com/ws/spectate/