🐛 Bug Report: Typescript Error opening pocket-id ui #617

Open
opened 2026-02-04 20:40:03 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @meerumschlungen on GitHub (Jan 19, 2026).

Reproduction steps

Navigating to the base path of my instance causes trouble since a few days:

Image

The OIDC authentication flows are generally unaffected when a session cookie is present and the server debug log does not show any unexpected messages from my point of view.

Expected behavior

It should show the admin WebUI of pocket-id.

Actual Behavior

As indicated in the browser console this seems to be a client issue. I was able to reproduce the problem on Safari "26.2 (21623.1.14.11.9)" (User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.2 Safari/605.1.15).
I also happened to see the error on an iPad but wasn't able to dig down deeper when it happened. The very same iPad currently shows the UI as expected.
The problem often occurs when using a private browser tab without an auth cookie and overriding all caches by reloading the page from origin.
I recently switched to the distroless docker image. I switched back to the default image and I can reproduce the problem in either image.

Pocket ID Version

v2.2.0

Database

SQLite

OS and Environment

Docker version 29.1.4 on Ubuntu 24.04.3 LTS served via traefik v3.6.7

Log Output

No response

Originally created by @meerumschlungen on GitHub (Jan 19, 2026). ### Reproduction steps Navigating to the base path of my instance causes trouble since a few days: <img width="1921" height="616" alt="Image" src="https://github.com/user-attachments/assets/5a2f351c-6ae6-4349-8a67-27ccf79414d4" /> The OIDC authentication flows are generally unaffected when a session cookie is present and the server debug log does not show any unexpected messages from my point of view. ### Expected behavior It should show the admin WebUI of pocket-id. ### Actual Behavior As indicated in the browser console this seems to be a client issue. I was able to reproduce the problem on Safari "26.2 (21623.1.14.11.9)" (User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.2 Safari/605.1.15). I also happened to see the error on an iPad but wasn't able to dig down deeper when it happened. The very same iPad currently shows the UI as expected. The problem often occurs when using a private browser tab without an auth cookie and overriding all caches by reloading the page from origin. I recently switched to the distroless docker image. I switched back to the default image and I can reproduce the problem in either image. ### Pocket ID Version v2.2.0 ### Database SQLite ### OS and Environment Docker version 29.1.4 on Ubuntu 24.04.3 LTS served via traefik v3.6.7 ### Log Output _No response_
Author
Owner

@meerumschlungen commented on GitHub (Jan 19, 2026):

Can this happen to be associated with the preferred language of my user? For some reason this was set to "en" in the database (following the hint in the log I changed my language to something else and changed it back to English). I'm watching if this has an effect on the problem.

@meerumschlungen commented on GitHub (Jan 19, 2026): Can this happen to be associated with the preferred language of my user? For some reason this was set to "en" in the database (following the hint in the log I changed my language to something else and changed it back to English). I'm watching if this has an effect on the problem.
Author
Owner

@meerumschlungen commented on GitHub (Jan 21, 2026):

Can this happen to be associated with the preferred language of my user? For some reason this was set to "en" in the database (following the hint in the log I changed my language to something else and changed it back to English). I'm watching if this has an effect on the problem.

This did not have any effect on the problem. The issue persists when switching the user language.

@meerumschlungen commented on GitHub (Jan 21, 2026): > Can this happen to be associated with the preferred language of my user? For some reason this was set to "en" in the database (following the hint in the log I changed my language to something else and changed it back to English). I'm watching if this has an effect on the problem. This did not have any effect on the problem. The issue persists when switching the user language.
Author
Owner

@stonith404 commented on GitHub (Jan 24, 2026):

Thanks for the detailed bug report. Unfortunately I'm unable to reproduce this but I have found this issue which might be related: https://github.com/sveltejs/kit/issues/5208

Can you try it again without any extensions enabled? And can you try it again with disabled caching on the services that sit in front like Cloudflare or a Traefik?

@stonith404 commented on GitHub (Jan 24, 2026): Thanks for the detailed bug report. Unfortunately I'm unable to reproduce this but I have found this issue which might be related: https://github.com/sveltejs/kit/issues/5208 Can you try it again without any extensions enabled? And can you try it again with disabled caching on the services that sit in front like Cloudflare or a Traefik?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id#617