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

Random 504 error when viewing Subscriptions #144

Closed
Zero3K opened this issue Aug 31, 2018 · 14 comments
Closed

Random 504 error when viewing Subscriptions #144

Zero3K opened this issue Aug 31, 2018 · 14 comments

Comments

@Zero3K
Copy link

Zero3K commented Aug 31, 2018

I am getting a random 504 error when viewing the Subscriptions page.

@Discookie
Copy link

Encountering this a lot myself.
Sometimes it randomly clears the unseen notifications too.

Also, most of the times the bell doesn't show notifications.
But once the bell shows notifs, the 504 disappears too.

@omarroth
Copy link
Contributor

Probably time to upgrade the DB server. The reason this is happening is because it's taking too long for the server to build a list of subscriptions, so the web server just times out.

@Zero3K
Copy link
Author

Zero3K commented Aug 31, 2018

Why does it happen on video pages then?

@omarroth
Copy link
Contributor

It still needs to pull number of notifications. I'm assuming it only 504s when you're logged in? If so, then the DB is probably overloaded.

@Discookie
Copy link

Discookie commented Aug 31, 2018

To clarify, it doesn't 504 on video pages, it just doesn't show the notifs at all sometimes - it didn't show any after 12 hours but it showed me unseen videos on the feed.
Video pages are perfectly fine, for now.

@omarroth
Copy link
Contributor

omarroth commented Sep 1, 2018

Just bumped the DB by about 4x. Subscriptions now load almost instantly for me. If notifications are still not appearing, then we can continue to diagnose the problem, otherwise I'll probably consider this closed.

@omarroth
Copy link
Contributor

omarroth commented Sep 1, 2018

Also before this is closed I would like to verify that notifications are also properly delivered.

@Discookie
Copy link

They are delivered properly now, got notifications after not opening invid for 9 hours.

@GauthierPLM
Copy link
Contributor

I still encounter this issue and can't go to my subscription for few days now.

@Zero3K
Copy link
Author

Zero3K commented Sep 1, 2018

GauthierPLM: Are you getting a 504 error or something different?

@GauthierPLM
Copy link
Contributor

GauthierPLM commented Sep 1, 2018

I had a 504 error yes. I had the issue while posting my previous comment, but the issue seems solved now, and the page respond almost instantly now.

@omarroth
Copy link
Contributor

omarroth commented Sep 4, 2018

Everything appears to be working normally, I'm assuming it's working for you @Zero3K? If so, then I'll probably close this for now.

@Zero3K
Copy link
Author

Zero3K commented Sep 4, 2018

Yes, its working fine for me.

@omarroth
Copy link
Contributor

omarroth commented Sep 4, 2018

Great! Feel free to reopen this or create a new issue if it starts happening again.

@omarroth omarroth closed this as completed Sep 4, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants