You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bot has been terminating with InternalThread.ERROR: websocket error {"e":"Unable to read from stream: stream_get_contents(): SSL: Connection reset by peer"} [] appearing in the log. Is this a bug in the bot or just unstable network? If its network instability could the bot autoreconnect without having to restart the entire server?
The text was updated successfully, but these errors were encountered:
In terms of the auto-reconnect its a bit of a shady area as to what to do, there are indeed many options like auto reconnecting but that would create problems with what to do during that gap eg if a plugin tries sending a message or is waiting on one during that gap it would never work.
Welcome to other ways to support reconnecting but it requires a lot more thought and structure into the plugin before that can be done.
JaxkDev
changed the title
Termination with InternalThread.ERROR: websocket error {"e":"Unable to read from stream: stream_get_contents(): SSL: Connection reset by peer"} []
[RFC] Supporting auto-reconnect to discord gateway
Jul 22, 2024
The bot has been terminating with
InternalThread.ERROR: websocket error {"e":"Unable to read from stream: stream_get_contents(): SSL: Connection reset by peer"} []
appearing in the log. Is this a bug in the bot or just unstable network? If its network instability could the bot autoreconnect without having to restart the entire server?The text was updated successfully, but these errors were encountered: