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

'reconnection to discord' silently stops after 10 attempts #243

Open
jpapale opened this issue Sep 23, 2021 · 1 comment
Open

'reconnection to discord' silently stops after 10 attempts #243

jpapale opened this issue Sep 23, 2021 · 1 comment

Comments

@jpapale
Copy link

jpapale commented Sep 23, 2021

Hello, thanks for the hard work that has been put into this project.

If for some reason the connection is lost, and not recovered within 10 reconnection attempts, the connection is never restored.
Commenting the line 'if (consecutiveReconnectsCount == 10) getTheGateway();' seems to fix the problem.

@Paket236
Copy link

Yes, that's an old issue.

I am commenting out the content of this function:
void BaseDiscordClient::quit(bool isRestarting, bool isDisconnected) {/**/}
it helps too.

It reproduces after 5-6 minutes without an internet connection.

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

2 participants