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

disconnected at startup #2869

Closed
sebm253 opened this issue Jun 6, 2021 · 7 comments · Fixed by #2892
Closed

disconnected at startup #2869

sebm253 opened this issue Jun 6, 2021 · 7 comments · Fixed by #2892
Labels
issue-report An issue reported by a user.

Comments

@sebm253
Copy link

sebm253 commented Jun 6, 2021

Describe your issue

Sometimes when launching chatterino, I'm immediately disconnected and then reconnected after a few seconds.

Screenshots

OS and Chatterino Version

Windows 10, latest nightly

@sebm253 sebm253 added the issue-report An issue reported by a user. label Jun 6, 2021
@apa420
Copy link
Collaborator

apa420 commented Jun 6, 2021

Please describe your issue more adequately.
Do you first connect and then disconnect and then reconnect?
Does it just say disconnected and then reconnected?

For me it can take up to 30s for chatterino to connect to twitch chat on arch linux where it says disconnected first and then connects while on windows it's a lot faster. (Both programs are on os ssd).

@sebm253
Copy link
Author

sebm253 commented Jun 6, 2021

sorry, could've picked better wording. when I said I'm "immediately disconnected", I meant that the client starts up already with the state of "disconnected" in chat, then reconnects

@pajlada
Copy link
Member

pajlada commented Jun 13, 2021

@caneleex What commit hash are you on?

@sebm253
Copy link
Author

sebm253 commented Jun 13, 2021

@pajlada 5512437f1

@pajlada
Copy link
Member

pajlada commented Jun 13, 2021

5512437f1

Do you generally try to write a message really quickly after starting Chatterino?

@sebm253
Copy link
Author

sebm253 commented Jun 13, 2021

5512437f1

Do you generally try to write a message really quickly after starting Chatterino?

no, I don't. I don't think this issue is happening to me anymore, but I'm sure I could reproduce it if I really wanted to by spamming reconnects by closing and then opening chatterino

@pajlada
Copy link
Member

pajlada commented Jun 13, 2021

This seems pretty random - the reason it's more noticeable now is that our minimum time to wait before a reconnect is 15 seconds. I'm working on a PR to reduce this and to ensure we back off our reconnect attempts as expected by Twitch.

PR created over here: #2892

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue-report An issue reported by a user.
Projects
None yet
3 participants