Attachment viewing only works once #10759

Closed
opened 2025-12-29 21:35:39 +01:00 by adam · 1 comment
Owner

Originally created by @binaryoverload on GitHub (Feb 11, 2025).

Deployment Type

Self-hosted - Deployed using Helm Chart

NetBox Version

v4.2.3-Docker-3.2.0

Python Version

3.12

Steps to Reproduce

  1. Upload an attachment to an object (i.e. an image to a site)
  2. Click on the attachment - observe successful first request
  3. Refresh the page
  4. Receive 404 with reference to ServerError.aspx

Expected Behavior

Attachment should be accessible when refreshing the attachment page, not just on first load

Observed Behavior

Image loads first time, but one refresh goes to 404 pointing at ServerError.aspx which doesn't exist

Debug view:

Image

Originally created by @binaryoverload on GitHub (Feb 11, 2025). ### Deployment Type Self-hosted - Deployed using Helm Chart ### NetBox Version v4.2.3-Docker-3.2.0 ### Python Version 3.12 ### Steps to Reproduce 1. Upload an attachment to an object (i.e. an image to a site) 2. Click on the attachment - observe successful first request 3. Refresh the page 4. Receive 404 with reference to ServerError.aspx ### Expected Behavior Attachment should be accessible when refreshing the attachment page, not just on first load ### Observed Behavior Image loads first time, but one refresh goes to 404 pointing at ServerError.aspx which doesn't exist Debug view: ![Image](https://github.com/user-attachments/assets/4f6e0465-af83-4fba-a510-d597a6d29061)
adam closed this issue 2025-12-29 21:35:39 +01:00
Author
Owner

@binaryoverload commented on GitHub (Feb 11, 2025):

This turned out to be an issue with a Cloudflare Worker acting on Netbox - since adding the exclusion this has been fixed

@binaryoverload commented on GitHub (Feb 11, 2025): This turned out to be an issue with a Cloudflare Worker acting on Netbox - since adding the exclusion this has been fixed
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10759