🐛 Bug Report: Can’t setup new instance, “An unknown error occurred. Please try to sign in again.” #262

Closed
opened 2025-10-07 23:59:56 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @khaleddost on GitHub.

Reproduction steps

I have a new instance of pocket-id running behind caddy as a reverse proxy. I am mounting an external docker volume called pocket-id and im going to auth.example.tld/login/setup but I keep getting the error

“An unknown error occurred. Please try to sign in again.”

Also all the images do not show up.

Expected behavior

Images should load. I expect to be able tot setup the initial admin account

Actual Behavior

“An unknown error occurred. Please try to sign in again.”

Version and Environment

v0.45

Log Output

No response

Originally created by @khaleddost on GitHub. ### Reproduction steps I have a new instance of pocket-id running behind caddy as a reverse proxy. I am mounting an external docker volume called pocket-id and im going to auth.example.tld/login/setup but I keep getting the error “An unknown error occurred. Please try to sign in again.” Also all the images do not show up. ### Expected behavior Images should load. I expect to be able tot setup the initial admin account ### Actual Behavior “An unknown error occurred. Please try to sign in again.” ### Version and Environment v0.45 ### Log Output _No response_
OVERLORD added the bug label 2025-10-07 23:59:56 +03:00
Author
Owner

@charlesmurphyvi commented on GitHub:

@khaleddost any solve for this? getting the same issue

@charlesmurphyvi commented on GitHub: @khaleddost any solve for this? getting the same issue
Author
Owner

@gilbrotheraway commented on GitHub:

@dddeadly18 make sure the PUBLIC_APP_URL env variable is set the the value of where you accessing pocket id. ie: https://id.example.com

this worked for me, thanks 🙏

any idea what TRUST_PROXY need to be set?
I'm on godoxy not caddy

@gilbrotheraway commented on GitHub: > [@dddeadly18](https://github.com/dddeadly18) make sure the PUBLIC_APP_URL env variable is set the the value of where you accessing pocket id. ie: https://id.example.com this worked for me, thanks 🙏 any idea what TRUST_PROXY need to be set? I'm on godoxy not caddy
Author
Owner

@kmendell commented on GitHub:

@dddeadly18 make sure the PUBLIC_APP_URL env variable is set the the value of where you accessing pocket id. ie: https://id.example.com

@kmendell commented on GitHub: @dddeadly18 make sure the PUBLIC_APP_URL env variable is set the the value of where you accessing pocket id. ie: https://id.example.com
Author
Owner

@khaleddost commented on GitHub:

I figured it out. It was a problem with my Caddyfile, I was using docker networking so "pocket-id:3000." I changed it to the machine's IP address "192.168.X.X:3000" and it worked.

@khaleddost commented on GitHub: I figured it out. It was a problem with my Caddyfile, I was using docker networking so "pocket-id:3000." I changed it to the machine's IP address "192.168.X.X:3000" and it worked.
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#262