🐛 Bug Report: Loading module blocked because of disallowed MIME type ("") #105

Closed
opened 2025-10-07 23:53:16 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @LunkSnee on GitHub.

Reproduction steps

I've used Pocket ID for several months now, but maybe a month ago I started getting a "Something went wrong" "Internal Error" page instead of the login the first time I go to my Pocket-ID login, either directly or through a redirect.

I'm using Traefik proxy.

Expected behavior

Upon going to my Pocket ID instance directly or through a redirect, I should be given the login window and proceed as expected.

Actual Behavior

The browser console shows the following errors:

Image
Loading module from “https://[my Pocket ID URL]/_app/immutable/chunks/Bz9vYtH1.js” was blocked because of a disallowed MIME type (“”).
Loading module from “https://[my Pocket ID URL]/_app/immutable/chunks/CwGX4I-L.js” was blocked because of a disallowed MIME type (“”).
Loading module from “https://[my Pocket ID URL]/_app/immutable/chunks/DaWIRwLX.js” was blocked because of a disallowed MIME type (“”).

Upon hitting "Reload" on the browser, it then works as expected and I can login.

Version and Environment

v1.6.4 Pocket ID, docker compose

Log Output

Browser console:

Loading module from “https://[my Pocket ID URL]/_app/immutable/chunks/Bz9vYtH1.js” was blocked because of a disallowed MIME type (“”).
Loading module from “https://[my Pocket ID URL]/_app/immutable/chunks/CwGX4I-L.js” was blocked because of a disallowed MIME type (“”).
Loading module from “https://[my Pocket ID URL]/_app/immutable/chunks/DaWIRwLX.js” was blocked because of a disallowed MIME type (“”).

Pocket-ID docker log doesn't show anything unique.

Originally created by @LunkSnee on GitHub. ### Reproduction steps I've used Pocket ID for several months now, but maybe a month ago I started getting a "Something went wrong" "Internal Error" page instead of the login the first time I go to my Pocket-ID login, either directly or through a redirect. I'm using Traefik proxy. ### Expected behavior Upon going to my Pocket ID instance directly or through a redirect, I should be given the login window and proceed as expected. ### Actual Behavior The browser console shows the following errors: <img width="878" height="136" alt="Image" src="https://github.com/user-attachments/assets/49a93ccc-dc8c-4b3b-8ee0-311b919306ec" /> ``` Loading module from “https://[my Pocket ID URL]/_app/immutable/chunks/Bz9vYtH1.js” was blocked because of a disallowed MIME type (“”). Loading module from “https://[my Pocket ID URL]/_app/immutable/chunks/CwGX4I-L.js” was blocked because of a disallowed MIME type (“”). Loading module from “https://[my Pocket ID URL]/_app/immutable/chunks/DaWIRwLX.js” was blocked because of a disallowed MIME type (“”). ``` Upon hitting "Reload" on the browser, it then works as expected and I can login. ### Version and Environment v1.6.4 Pocket ID, docker compose ### Log Output Browser console: ``` Loading module from “https://[my Pocket ID URL]/_app/immutable/chunks/Bz9vYtH1.js” was blocked because of a disallowed MIME type (“”). Loading module from “https://[my Pocket ID URL]/_app/immutable/chunks/CwGX4I-L.js” was blocked because of a disallowed MIME type (“”). Loading module from “https://[my Pocket ID URL]/_app/immutable/chunks/DaWIRwLX.js” was blocked because of a disallowed MIME type (“”). ``` Pocket-ID docker log doesn't show anything unique.
Author
Owner

@ItalyPaleAle commented on GitHub:

I cannot repro this:

> GET /_app/immutable/chunks/Bz9vYtH1.js HTTP/2
> Host: ***
> User-Agent: curl/8.7.1
> Accept: */*
>
* Request completely sent off
< HTTP/2 200
< accept-ranges: bytes
< alt-svc: h3=":443"; ma=2592000
< cache-control: public, max-age=86400
< content-type: text/javascript; charset=utf-8
< date: Tue, 29 Jul 2025 17:02:41 GMT
< last-modified: Tue, 29 Jul 2025 16:18:08 GMT
< strict-transport-security: max-age=31536000; preload
< x-frame-options: SAMEORIGIN
< content-length: 829

The content-type seems set correctly.

Do you have some reverse proxy in front of Pocket ID?

@ItalyPaleAle commented on GitHub: I cannot repro this: ``` > GET /_app/immutable/chunks/Bz9vYtH1.js HTTP/2 > Host: *** > User-Agent: curl/8.7.1 > Accept: */* > * Request completely sent off < HTTP/2 200 < accept-ranges: bytes < alt-svc: h3=":443"; ma=2592000 < cache-control: public, max-age=86400 < content-type: text/javascript; charset=utf-8 < date: Tue, 29 Jul 2025 17:02:41 GMT < last-modified: Tue, 29 Jul 2025 16:18:08 GMT < strict-transport-security: max-age=31536000; preload < x-frame-options: SAMEORIGIN < content-length: 829 ``` The content-type seems set correctly. Do you have some reverse proxy in front of Pocket ID?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id-pocket-id-1#105