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

504 when using store pages #3467

Closed
popey opened this issue Mar 17, 2021 · 3 comments
Closed

504 when using store pages #3467

popey opened this issue Mar 17, 2021 · 3 comments
Assignees
Labels
🚀 Dev ready When design is happy and code is ready to be done Priority: High

Comments

@popey
Copy link
Contributor

popey commented Mar 17, 2021

Expected behaviour

Pages perform well.

Steps to reproduce the problem

Sometimes, I get a 504 error when visiting storefront pages such as https://snapcraft.io/newsflash/settings or https://snapcraft.io/newsflash/releases. Typically this continues for a while, taking ages to respond, then eventually it just "fixes itself"

I get a blank page with the big Times New Roman 504 error at the top.

Unfortunately I don't see any easy way to debug it.

Specs

@tbille
Copy link
Contributor

tbille commented Mar 17, 2021

@jkfran Theory:

  • The error message is sent by nginx, this means we can't find any logs that could help to debug
  • It's possible that we are making an API requests to dashboard, this requests is taking long not timing out
  • Gunicorn will timeout after 30 seconds and stop the session
  • nginx takes over and throws a 504

I might be wrong, the problem here is that no logs is being recorded and no sentry errors 😓

What do you think?

What we could try:

  • request some logs (at least some durations and httpstatus) from store team
  • try to deploy the docker image on microk8s and see how could we reproduce this error (slow connection, mock api etc etc)

@kz6fittycent
Copy link

kz6fittycent commented Apr 29, 2021

I can confirm @popey's issue. I am getting the same (504) error any time I visit https://snapcraft.io/snaps - releases, builds, or metrics.

OS: Pop!_OS 20.10
Browser: Brave

@jkfran jkfran added Priority: High 🚀 Dev ready When design is happy and code is ready to be done and removed Priority: Medium labels Nov 4, 2021
@jkfran
Copy link
Contributor

jkfran commented Mar 8, 2022

Hi! This issue is a duplicate of #3585. We dedicated time to it (see #3585 (comment) for all the changes).

I consider this issue to be gone but if you experience this issue again please feel free to reopen. Thank you.

@jkfran jkfran closed this as completed Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 Dev ready When design is happy and code is ready to be done Priority: High
Projects
None yet
Development

No branches or pull requests

4 participants