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

Dropping the write connection for twitch (Sending messages) #1831

Closed
apa420 opened this issue Jul 31, 2020 · 12 comments
Closed

Dropping the write connection for twitch (Sending messages) #1831

apa420 opened this issue Jul 31, 2020 · 12 comments
Labels
backlog The issue is in the scope of the project but is not being worked on yet. bug Something isn't working as intended, or works in a confusing/unintuitive way for the user Platform: Twitch

Comments

@apa420
Copy link
Collaborator

apa420 commented Jul 31, 2020

Describe the bug

Dropping connection the write connection for twitch (Sending messages).
Reading messages is fine, but randomly I can't send any messages anymore.
Restarting or reconnecting fixes this.

To reproduce

Wait for twitch to drop the connection...

Screenshots

Chatterino version

Chatterino Nightly 2.1.7 (commit 8e202c3, 21.06.2020)

Operating system

Windows 8.1 (Oops wrote win 10 before :P), pretty sure it also happens on arch

Additional information

It might be because I've been having packet loss issues with my internet.
Maybe there is a way to check if this connection dropped so we can reconnect?

@apa420 apa420 added bug Something isn't working as intended, or works in a confusing/unintuitive way for the user needs triage labels Jul 31, 2020
@apa420 apa420 changed the title Dropping connection the write connection for twitch (Sending messages) Dropping the write connection for twitch (Sending messages) Jul 31, 2020
@Mm2PL
Copy link
Collaborator

Mm2PL commented Jul 31, 2020

Sometimes happens for me too. It feels very random though.
My OS: Ubuntu Focal.

@gempir
Copy link
Contributor

gempir commented Jul 31, 2020

Can confirm I have had this happen to me multiple times aswell on Windows 10 and Ubuntu. Maybe once a week or so. Maybe less maybe more. Very random

@Felanbird
Copy link
Collaborator

Have it, friend complained as well. Both windows 10

@apa420
Copy link
Collaborator Author

apa420 commented Jul 31, 2020

Related #1500

@apa420
Copy link
Collaborator Author

apa420 commented Jul 31, 2020

Maybe it's an issue with twitch servers then? Is there some way we can hack a fix for it?

@Mm2PL
Copy link
Collaborator

Mm2PL commented Jul 31, 2020

Maybe it's an issue with twitch servers then? Is there some way we can hack a fix for it?

Reconnecting after a dropped message is out of the question, since that can happen with spam filters. What else could be done?
If it is a Twitch issue we would have to bother them to fix it pepeLaugh

@gwua
Copy link

gwua commented Jul 31, 2020

This has been happening for as long as I can remember. Last time it happened, I was downloading a file from Google Drive, which also caused a Twitch stream I was watching to stutter. OS is Windows 10.

@apa420
Copy link
Collaborator Author

apa420 commented Jul 31, 2020

I'm a bit unaware on how the connections work, but is it possible to send a PING on the write connection and see if we get a response? And if not try and reconnect? Or is this already something that exists.

@fourtf fourtf added the backlog The issue is in the scope of the project but is not being worked on yet. label Sep 26, 2020
@gempir
Copy link
Contributor

gempir commented Jan 8, 2021

This has been coming up recently a lot again. Lots of user complaints. Probably because TMI is dying a lot more, but still we could do a better job of reconnecting.

@pajlada
Copy link
Member

pajlada commented Jan 9, 2021

Looking into this further in this PR: #2347

@SEAPUNK
Copy link

SEAPUNK commented Mar 18, 2021

One thing I noticed is that it sometimes takes multiple reconnects before it "flushes" the writes - I get multiple "you're sending messages too quickly" messages upon reconnecting (typically after either the first or second time).

zneix added a commit to SevenTV/chatterino7 that referenced this issue Jun 6, 2021
Now we're on commit 2f568b8; Changes from upstream we pulled:
 - Minor: Searching for users in the viewer list now searches anywhere in the user's name. (Chatterino#2861)
 - Minor: Now shows deletions of messages like timeouts (Chatterino#1155, Chatterino#2841)
 - Minor: Added a link to accounts page in settings to "You need to be logged in to send messages" message. (Chatterino#2862)
 - Minor: Switch to Twitch v2 emote API for animated emote support. (Chatterino#2863)
 - Bugfix: Fix reconnecting when IRC write connection is lost (Chatterino#1831, Chatterino#2356, Chatterino#2850)
 - Bugfix: Fixed bit emotes not loading in some rare cases. (Chatterino#2856)
@apa420
Copy link
Collaborator Author

apa420 commented Jun 6, 2021

Fixed by #2850

@apa420 apa420 closed this as completed Jun 6, 2021
zneix added a commit to SevenTV/chatterino7 that referenced this issue Jun 25, 2021
Now we're on commit 0021290; Changes from upstream we pulled:

- Bugfix: Fix reconnecting when IRC write connection is lost (Chatterino#1831, Chatterino#2356, Chatterino#2850, Chatterino#2892)
- Bugfix: Fixed subscription emotes showing up incorrectly in the emote menu. (Chatterino#2905)

Changes added in Chatterino7 only:

- Major: Added 7tv badges. (2154981)
- Minor: Fixed potential issues preventing 7tv emotes from loading (c0b1117)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog The issue is in the scope of the project but is not being worked on yet. bug Something isn't working as intended, or works in a confusing/unintuitive way for the user Platform: Twitch
Projects
None yet
Development

No branches or pull requests

8 participants