vsTerminus / Discord-NP

Last.FM Now Playing info in your Discord status message
MIT License
43 stars 6 forks source link

Websocket closed with Code 1009 (Message Too Big) #1

Closed vsTerminus closed 7 years ago

vsTerminus commented 8 years ago

If you are connected to any massive servers (such as the Discord API Server...) you might get this when you try to connect.

When the client sends IDENT to tell the Gateway who it is, the Gateway responds with a READY packet full of state info for all users and servers that you are connected to. Even with compression, apparently this can be took big for the Websocket to handle.

Unsure how to resolve this yet other than to leave said server.

vsTerminus commented 7 years ago

Is fixed in Gateway V5 and V6.