Netbox is loading too slow /sometimes throwing 504 error and csrf token issue #9331

Closed
opened 2025-12-29 20:48:38 +01:00 by adam · 0 comments
Owner

Originally created by @jatin9694 on GitHub (Mar 8, 2024).

Deployment Type

Self-hosted

NetBox Version

v3.73

Python Version

3.9

Steps to Reproduce

  1. I have few problems in netbox while loading it is giving sometimes 504 gateway erorr.
  2. sometimes it is loading too fast and while logout giving error.
  3. if i click login two three times it is throwing me the csrf token error.

Expected Behavior

it should load smoothly and quickly.

errors should not be there

Observed Behavior

Hello Colleagues,

  1. I have few problems in netbox while loading it is giving sometimes 504 gateway erorr.
  2. sometimes it is loading too fast and while logout giving error.
  3. if i click login two three times it is throwing me the csrf token error.

nginx configuration is fine

root@NC-NETBOX-P01:/opt/netbox/netbox/netbox# nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf

Screenshot 2024-03-08 at 00 37 34

kindly help me in resolving this issue.

Regards,
Jatinder kumar

Originally created by @jatin9694 on GitHub (Mar 8, 2024). ### Deployment Type Self-hosted ### NetBox Version v3.73 ### Python Version 3.9 ### Steps to Reproduce 1. I have few problems in netbox while loading it is giving sometimes 504 gateway erorr. 2. sometimes it is loading too fast and while logout giving error. 3. if i click login two three times it is throwing me the csrf token error. ### Expected Behavior it should load smoothly and quickly. errors should not be there ### Observed Behavior Hello Colleagues, 1. I have few problems in netbox while loading it is giving sometimes 504 gateway erorr. 2. sometimes it is loading too fast and while logout giving error. 3. if i click login two three times it is throwing me the csrf token error. nginx configuration is fine root@NC-NETBOX-P01:/opt/netbox/netbox/netbox# nginx -t nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf <img width="1493" alt="Screenshot 2024-03-08 at 00 37 34" src="https://github.com/netbox-community/netbox/assets/102926575/8e8bb63c-1de0-4740-8886-23d3dea5b1ca"> kindly help me in resolving this issue. Regards, Jatinder kumar
adam closed this issue 2025-12-29 20:48:38 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9331