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

streaming seems to quit working periodically #684

Open
musicalman opened this issue Aug 19, 2024 · 1 comment
Open

streaming seems to quit working periodically #684

musicalman opened this issue Aug 19, 2024 · 1 comment

Comments

@musicalman
Copy link

Hi,
Usually if I get mentioned on Mastodon, it shows up instantly in my mentions buffer. However, now I'm having this issue where messages are being delayed by several minutes unless I manually update, which leads me to believe that streaming is having issues. When this occurs, I'll sometimes get an announcement of 'new post in mentions/direct messages' , but I have to either update the buffer manually or wait for it to update on its own before I can read the message. Tbh, I'm kind of confused, since I never get this 'new post' announcement when streaming works. To get streaming back, I restart TWBlue and all is well again, for a little while at least.

Lately, this issue has been happening a lot more since my Internet connection flickers frequently. Every time it goes offline, streaming breaks. This can be frustrating during its crazy spells when it's going on and off every few minutes. I of course am trying to get it fixed, but yeah I'm wondering if this is exposing some TWBlue issue with restoring lost connections.

I'd love to know more, but I don't even know where to start investigating, since I know very little about Mastodon and how clients work and connect to things. My two main questions at the moment are: When streaming breaks, is there a more painless way to fix it other than restart TWBlue? And second, is there any diagnostic information I can provide to help troubleshoot?
Thanks so much for your time!

@manuelcortez
Copy link
Member

Hi, thanks for the report. Will add some code to manage streaming errors. It seems you're having some disconnections in the streaming listener class and taht's why it happens. TWBlue should be able to fix it by itself but it seems It hasn't been fully implemented yet.

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