Frustrating media_failure redirects #9514

Closed
opened 2025-12-29 20:50:50 +01:00 by adam · 1 comment
Owner

Originally created by @doc-sheet on GitHub (Apr 22, 2024).

Deployment Type

Self-hosted

NetBox Version

v3.7.5

Python Version

3.11

Steps to Reproduce

  1. Block /static/ with adblock (the simplest way)
  2. Open any page

Expected Behavior

Maybe an error badge?

Such redirects always frustrated me.
Most of the time issue related not to netbox installation but my network issues.
It also usually throws on some rarely used (by me) resources like netbox-print.css

Maybe it's time to replace redirect with something more friendly?
Furthermore Netbox could operate without js just fine and css issues are noticeable enough by itself.

Observed Behavior

Static Media Failure
The following static media file failed to load: netbox-print.css

etc

Originally created by @doc-sheet on GitHub (Apr 22, 2024). ### Deployment Type Self-hosted ### NetBox Version v3.7.5 ### Python Version 3.11 ### Steps to Reproduce 1. Block /static/ with adblock (the simplest way) 2. Open any page ### Expected Behavior Maybe an error badge? [Such redirects](https://github.com/netbox-community/netbox/blob/5d95d49268c2b19ad6f4850b0207897d8aa9e604/netbox/templates/base/base.html#L63) always frustrated me. Most of the time issue related not to netbox installation but my network issues. It also usually throws on some rarely used (by me) resources like netbox-print.css Maybe it's time to replace redirect with something more friendly? Furthermore Netbox could operate without js just fine and css issues are noticeable enough by itself. ### Observed Behavior > Static Media Failure > The following static media file failed to load: netbox-print.css etc
adam closed this issue 2025-12-29 20:50:51 +01:00
Author
Owner

@jeremystretch commented on GitHub (May 3, 2024):

Maybe it's time to replace redirect with something more friendly?

The redirects are these specifically to help the user recognize and troubleshoot the issue. From your report, they appear to be working as intended, so I'm going to close this.

Most of the time issue related not to netbox installation but my network issues.

Removing the redirects would not resolve this issue for you; the application would still fail to fully load and would not be usable.

@jeremystretch commented on GitHub (May 3, 2024): > Maybe it's time to replace redirect with something more friendly? The redirects are these specifically to help the user recognize and troubleshoot the issue. From your report, they appear to be working as intended, so I'm going to close this. > Most of the time issue related not to netbox installation but my network issues. Removing the redirects would not resolve this issue for you; the application would still fail to fully load and would not be usable.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9514