mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-06 09:13:19 +03:00
🐛 Bug Report: Something went wrong - Internal Error #361
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wh450g on GitHub.
Reproduction steps
The behavior started some days back, and it is the same on different installed instances....
Pocket 0.27.x (and 0.28) installed in Debian 12 LXC container, Docker v27.5
certificate from internal CA (but also tested from Letsencrypt) via external Caddy on the same host, also in Docker
Pocket .env with PUBLIC_APP_URL=https://<public.dns.name>
Caddyfile just the basic information:
Expected behavior
Login should be possible, and user or admin should see the admin ui.
Actual Behavior
After initial setup, when user tries to login (or admin tries to login, it doesn't matter),
the authentication dialog gets displayed, user is either using a YubiKey to authenticate or a passkey shared in Bitwarden, both are registered.
The user will get an error like this:
In the log, I can see this error:
Version and Environment
Pocket 0.27.x (and 0.28) installed in Debian 12 LXC container, Docker v27.5, Caddy running in Docker on the same host (ghcr.io/caddybuilds/caddy-cloudflare:latest)
Log Output
@wh450g commented on GitHub:
The container have full (outbound) internet access (behind a firewall, but allow all to outbound)
The error in the log is always logged when the login error occurs for the user... watching the log, you can instantly see the entries when a user provides his passkey.
@wh450g commented on GitHub:
@kmendell sure, see below, I use 2 different compose file for it in their respective folder, but the two containers are the only ones running on the LXC:
caddy compose.yml
pocket id compose.yml
@kmendell commented on GitHub:
@wh450g out of curiosity, can you try to expose the ports for pocket id, and access it via the machine ip address? to see if the same thing happens?
@kmendell commented on GitHub:
@wh450g I think the error you are seeing, Is unrelated (well maybe) i think that is just the update checker, and it cant seem to get to the repo by the looks of it. Are these air gapped containers? or do they have internet access?
@kmendell commented on GitHub:
@wh450g Can you share the docker compose file for pocket id and caddy?
@wh450g commented on GitHub:
@stonith404 & @kmendell
Thanks for your quick help. It's working again, and I can indeed see that the rate limit was the problem, as this is not shown in the log. As I'm behind a DSL with changing IP v4 addresses, maybe I got a "bad" one....
Anyway, thanks for your help and a great software!
@stonith404 commented on GitHub:
As @kmendell mentioned, Pocket ID sends a request to GitHub to check for the latest version. You're IP probably got blocked or rate limited by GitHub. In
v0.28.1the update checker will now fail silently without returning an error in the frontend.