Skip to content
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

No Attempt is Made to Reconnect Broken WebSocket #94

Open
austinwagner opened this issue Jan 7, 2017 · 1 comment
Open

No Attempt is Made to Reconnect Broken WebSocket #94

austinwagner opened this issue Jan 7, 2017 · 1 comment
Labels

Comments

@austinwagner
Copy link

Despite having a keepalive, I'm encountering issues where the Discord WebSocket gets disconnected. The issue gets logged as a warning, but no other action is taken by the library to fix the problem.

When the connection goes down, I start seeing this message in the log at regular intervals:

WARN:discord::connection: Error sending gateway keeaplive: WebSocket(IoError(Error { repr: Os { code: 32, message: "Broken pipe" } }))

When the connection goes down and I try to send my own message to the Discord server, this message is logged:

WARN:discord::connection: Error sending gateway message: WebSocket(IoError(Error { repr: Os { code: 32, message: "Broken pipe" } }))

Since this error isn't propagated up, I can't even take action on it myself (even if that action is just letting the process die so I can restart it).

@iddm
Copy link
Contributor

iddm commented Mar 9, 2018

Any news on that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants