504 Gateway Time-out while log in #2391

Closed
opened 2026-02-05 03:55:32 +03:00 by OVERLORD · 7 comments
Owner

Originally created by @dividerbeam on GitHub (Sep 13, 2021).

I am running Bookstack in proxmox VM with a connection via nginx, nginx configs was testing with nginx support, there are no errors there

https://user-images.githubusercontent.com/52495131/133124372-562b0484-fad2-4a4f-b9e3-98dd7af18cc6.mp4

Originally created by @dividerbeam on GitHub (Sep 13, 2021). I am running Bookstack in proxmox VM with a connection via nginx, nginx configs was testing with nginx support, there are no errors there https://user-images.githubusercontent.com/52495131/133124372-562b0484-fad2-4a4f-b9e3-98dd7af18cc6.mp4
OVERLORD added the 🐕 Support label 2026-02-05 03:55:32 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Sep 13, 2021):

Hi @dividerbeam,
I'm not sure how much I'd be able to help as this looks specific to your configuration and network.

From the video, it looks like the login may be working but the redirect after login is failing.
Something strange I noticed, is that the login redirect is served by a different nginx version than that which times out. I get the impression there are mulitple nginx instances involved. It'll be worth looking at the logs for both of these instances.

@ssddanbrown commented on GitHub (Sep 13, 2021): Hi @dividerbeam, I'm not sure how much I'd be able to help as this looks specific to your configuration and network. From the video, it looks like the login may be working but the redirect after login is failing. Something strange I noticed, is that the login redirect is served by a different nginx version than that which times out. I get the impression there are mulitple nginx instances involved. It'll be worth looking at the logs for both of these instances.
Author
Owner

@dividerbeam commented on GitHub (Sep 13, 2021):

Hi @dividerbeam,
I'm not sure how much I'd be able to help as this looks specific to your configuration and network.

From the video, it looks like the login may be working but the redirect after login is failing.
Something strange I noticed, is that the login redirect is served by a different nginx version than that which times out. I get the impression there are mulitple nginx instances involved. It'll be worth looking at the logs for both of these instances.

where did you see different versions of nginx? now I seem to have only 1 nginx

did bookstack have own nginx?

@dividerbeam commented on GitHub (Sep 13, 2021): > Hi @dividerbeam, > I'm not sure how much I'd be able to help as this looks specific to your configuration and network. > > From the video, it looks like the login may be working but the redirect after login is failing. > Something strange I noticed, is that the login redirect is served by a different nginx version than that which times out. I get the impression there are mulitple nginx instances involved. It'll be worth looking at the logs for both of these instances. where did you see different versions of nginx? now I seem to have only 1 nginx did bookstack have own nginx?
Author
Owner

@ssddanbrown commented on GitHub (Sep 13, 2021):

where did you see different versions of nginx? now I seem to have only 1 nginx

At about 49 seconds in the video it showss nginx 1.18.0 in the response headers then at about 1:20 the error mesasge shows nginx 1.20.1.

did bookstack have own nginx?

No, not by default, unless you've used a container or similar that has its own nginx.

@ssddanbrown commented on GitHub (Sep 13, 2021): > where did you see different versions of nginx? now I seem to have only 1 nginx At about 49 seconds in the video it showss nginx 1.18.0 in the response headers then at about 1:20 the error mesasge shows nginx 1.20.1. > did bookstack have own nginx? No, not by default, unless you've used a container or similar that has its own nginx.
Author
Owner

@dividerbeam commented on GitHub (Sep 13, 2021):

i saw, tnx

@dividerbeam commented on GitHub (Sep 13, 2021): i saw, tnx
Author
Owner

@dividerbeam commented on GitHub (Sep 14, 2021):

i use that bookstack https://hub.docker.com/r/linuxserver/bookstack, that's where this nginx 1.20.1 was found

@dividerbeam commented on GitHub (Sep 14, 2021): i use that bookstack https://hub.docker.com/r/linuxserver/bookstack, that's where this nginx 1.20.1 was found
Author
Owner

@ssddanbrown commented on GitHub (Sep 15, 2021):

Okay, So you have nginx as a reverse proxy to the linuxserver.io image. I'd imagine it's something between those two components at play here. Are you able to share the nginx reverse proxy config you're using?

@ssddanbrown commented on GitHub (Sep 15, 2021): Okay, So you have nginx as a reverse proxy to the linuxserver.io image. I'd imagine it's something between those two components at play here. Are you able to share the nginx reverse proxy config you're using?
Author
Owner

@ssddanbrown commented on GitHub (Oct 4, 2021):

Since there's been no follow-up I'm going to close this. If the issue remains and is something you still require to be fixed please open a new issue, referencing this one.

@ssddanbrown commented on GitHub (Oct 4, 2021): Since there's been no follow-up I'm going to close this. If the issue remains and is something you still require to be fixed please open a new issue, referencing this one.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2391