Skip to content

v1.0.3

Choose a tag to compare

@appujet appujet released this 06 Mar 10:47
· 269 commits to master since this release

WebSocket Stability & Error Handling

  • Better WebSocket Handling: Updated the WebSocket setup so it can handle larger messages without crashing. This helps prevent random disconnects when big Discord voice messages are received.
  • Automatic Reconnect Handling: If the connection resets without a proper close handshake, the server now treats it as a temporary network issue and reconnects automatically instead of stopping.
  • Cleaner Client Experience: Reduced unnecessary warnings sent to clients. Temporary reconnects will no longer spam errors like “Node not ready”.

🛠 Technical Changes

  • Updated WebSocket connection to use connect_async_with_config for better control over limits.
  • Added handling for ResetWithoutClosingHandshake errors to detect temporary network resets.
  • Reduced message/frame limits to safer values instead of unlimited.