Replies: 1 comment 2 replies
-
|
There’s no middleware or Next.js image optimization blocking requests to /icons—those paths are explicitly excluded from middleware interception, and image optimization is disabled for provider icons in the app code cite. There’s also no filename-based filtering or file size limits for static assets in this path. The most likely cause is a file access issue inside the container. The Next.js server runs as a non-root user ( Check that your mounted icon files are present inside the running container at If direct URL access works outside the app but fails inside, it’s almost always a file permission or mount issue in the container. Fixing the permissions should resolve the problem. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Custom provider icon /icons/cp-admin-prod-icon.png fails to load in the app with "canceled" status and 0 response headers, while other provider icons load successfully using the same code.
Reproduction
Navigate to /providers page
View alerts table "Sources" column
Icon fails to load (0 bytes, canceled)
What Works
✅ Direct URL access: https://our-keep-domain.com/icons/cp-admin-prod-icon.png
✅ Other provider icons: sendgrid-icon.png, mysql-icon.png (identical code path)
What Fails
any custom icon we need to use, ex:
Key Detail
The request is canceled before any response headers are received, suggesting the server is blocking/rejecting it before sending a response. No console errors (CORS/CSP/etc).
Questions
Is there middleware or Next.js image optimization blocking this specific filename pattern?
Could custom icon be triggering server-side filtering?
Any file size/timeout limits that might affect this file specifically?
Request comparison and headers available if needed.
Beta Was this translation helpful? Give feedback.
All reactions