Skip to content

[BUG] Library fails to reconnect sometimes #1570

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

Closed
4 tasks done
Swarkin opened this issue Nov 17, 2023 · 1 comment
Closed
4 tasks done

[BUG] Library fails to reconnect sometimes #1570

Swarkin opened this issue Nov 17, 2023 · 1 comment

Comments

@Swarkin
Copy link

Swarkin commented Nov 17, 2023

Library Version

5.10.0

Describe the Bug

Library fails to reconnect to discord servers.

Steps to Reproduce

Get disconnected by a zombied connection.
See Traceback

Expected Results

I expect the library to reconnect to the discord servers.

Traceback

https://swarkin.sentry.io/share/issue/4655a819220942e29ecdfaefcf5e97a2/

Checklist

  • I have searched the open issues for duplicates.
  • I have shown the entire traceback, if possible.
  • I have removed my token from display, if visible.
  • I have attempted to debug this myself, and I believe this issue is with the library

Additional Information

No response

@AstreaTSS
Copy link
Member

AstreaTSS commented Nov 29, 2023

Reconnection bugs are... not exactly easy to fix, and may just be due to dips in internet - you should never rely on the reconnection logic working perfectly, and should have a process manager to restart the bot in the worst case scenario.

That being said, TypeError: ConnectionState.wrapped_logger() missing 1 required positional argument: 'message' is a very interesting error that suggests that something is going wrong there. With the error provided, it's impossible to say, but it's worth keeping in mind.

EDIT: found the issue for this specific error, as you can see below.

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

No branches or pull requests

3 participants