mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-11 07:42:58 +03:00
🐛 Bug Report: Can’t setup new instance, “An unknown error occurred. Please try to sign in again.” #262
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 @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
@charlesmurphyvi commented on GitHub:
@khaleddost any solve for this? getting the same issue
@gilbrotheraway commented on GitHub:
this worked for me, thanks 🙏
any idea what TRUST_PROXY need to be set?
I'm on godoxy not caddy
@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
@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.