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

Gateway auto-reconnects without delay if it receives a 1000 status code #241

Open
TAG-Epic opened this issue May 1, 2023 · 2 comments
Open
Labels
scope/nextcore.gateway Any changes to the nextcore.gateway namespace type/bug A bug fix

Comments

@TAG-Epic
Copy link
Member

TAG-Epic commented May 1, 2023

No description provided.

@TAG-Epic TAG-Epic added scope/nextcore.gateway Any changes to the nextcore.gateway namespace type/bug A bug fix labels May 1, 2023
@EmmmaTech
Copy link

if close_code < 2000:
self._logger.info("Received close code in 1xxx range, reconnecting. This is usually due to network issues.")
await self.connect()

Isn't this intentional?

@TAG-Epic
Copy link
Member Author

It should reconnect, but with a delay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope/nextcore.gateway Any changes to the nextcore.gateway namespace type/bug A bug fix
Projects
None yet
Development

No branches or pull requests

2 participants