[BUG] StreamingAPI disconnect after some time #203
Labels
No Label
a11y
Bug
Bug fix
Critical Priority
Documentation
Feature
Feature request
Held for next release cycle
High Priority
Low Priority
Medium Priority
Minor change
Translation/Locale
WIP
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma-fe#203
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have a problem with the streaming api. it seems to disconnect after some time. Therfore now new posts gets loaded until i hit refresh.
I currently run on
251e440dad
The error i get in the browser console is that it disconnects with status 1001.
See screenshot for more info.
Nothing seems to be of in akkoma-server logs.
When you disable the 'fetch posts in real time' option everything works fine
If you need more info just ping me :)
hm, which browser do you use? this could caused by client and server which is fun
oh this could ALSO be your webserver - are you proxying through nginx?
oh sory, didn't saw you replied.
i run latest firefox 107.0-1 and yeah i proxy nginx
did the nginx conig changed recently?
it shouldn't have - but you might want to see if you've got any proxy timeouts on your nginx config (or nginx errors in the log or anything)
Finally had time to check out the logs.
I don't see anything suspicious in nginx logs either.. well.. when i enable streaming api, logs like these disappear, but i think this is just the old TL pulling without the websocket:
I couldn't find any other requests regarding websockets or any specific api request.
Nothing is in nginx error logs either.
For me it looks like the websocket just dies after a few minutes and thats it.
But tbh, if i am the only person experience the problem, you can close the issue in my opinion.. i can live with the old pulling ^^