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

fix: nginx 502 error when restarting moonraker #734

Merged
merged 1 commit into from
Jun 30, 2022

Conversation

pedrolamas
Copy link
Member

Quite a few times we've seen users reporting a 502 error, most of the times mentioning nginx, and I've finally managed to reproduce and fix it!

image

Nginx (and possibly other reverse proxies) will return 502 if they can't reach the server (moonraker), which is expected if we have just restarted the service from Fluidd (and thus a "/access/oneshot_token" call can happen)

Signed-off-by: Pedro Lamas [email protected]

@pedrolamas pedrolamas added the GH - Bug Something isn't working label Jun 30, 2022
@pedrolamas pedrolamas added this to the 1.19 milestone Jun 30, 2022
@pedrolamas pedrolamas requested a review from matmen June 30, 2022 15:36
@pedrolamas pedrolamas merged commit 62d22cc into fluidd-core:develop Jun 30, 2022
@pedrolamas pedrolamas deleted the pedrolamas/nginx-502 branch June 30, 2022 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GH - Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants