🐛 Bug Report: APP_URL Case sensitive #34

Closed
opened 2025-10-06 23:58:56 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @lordraiden on GitHub.

Reproduction steps

APP_URL variable is case sensitive, it might introduce issues in some environments where the url is build from variables, variables used for something else. Not a big issue, it took me 3 hours of troubleshooting but it doesn't make sense either to have this variable case sensitive

If proxydmz_pocketid_name2=Pocket-ID it wont' work changing it to pocket-id works....

  - APP_URL=https://${proxydmz_pocketid_name2}.${mydomain}

I use the same scheme of https://${proxydmz_pocketid_name2}.${mydomain} in several containers and never had this problem

Expected behavior

.

Actual Behavior

.

Pocket ID Version

distroless latest

Database

default

OS and Environment

docker

Log Output

I get this in the logs, probably not related but would be nice some help to troubleshoot it

{"time":"2025-09-11T18:05:20.017Z","level":"ERROR","msg":"Job failed with error","app":"pocket-id","version":"1.10.0","name":"SendHeartbeat","id":"deabacf3-f191-4a24-95ce-a8153233d6f8","error":"heartbeat request failed: request failed with status code: 429"}

Originally created by @lordraiden on GitHub. ### Reproduction steps APP_URL variable is case sensitive, it might introduce issues in some environments where the url is build from variables, variables used for something else. Not a big issue, it took me 3 hours of troubleshooting but it doesn't make sense either to have this variable case sensitive If proxydmz_pocketid_name2=Pocket-ID it wont' work changing it to pocket-id works.... - APP_URL=https://${proxydmz_pocketid_name2}.${mydomain} I use the same scheme of https://${proxydmz_pocketid_name2}.${mydomain} in several containers and never had this problem ### Expected behavior . ### Actual Behavior . ### Pocket ID Version distroless latest ### Database default ### OS and Environment docker ### Log Output I get this in the logs, probably not related but would be nice some help to troubleshoot it {"time":"2025-09-11T18:05:20.017Z","level":"ERROR","msg":"Job failed with error","app":"pocket-id","version":"1.10.0","name":"SendHeartbeat","id":"deabacf3-f191-4a24-95ce-a8153233d6f8","error":"heartbeat request failed: request failed with status code: 429"}
Author
Owner

@stonith404 commented on GitHub:

What exactly doesn't work if the app url has a different casing?

@stonith404 commented on GitHub: What exactly doesn't work if the app url has a different casing?
Author
Owner

@lordraiden commented on GitHub:

What exactly doesn't work if the app url has a different casing?

when creating a new key "unknown error occurred", fixed the url fixed issue. I a rare and stupid "bug" but maybe is easy to fix....

Probably you can reproduce the same simple changing a letter of your url to Uppercase

@lordraiden commented on GitHub: > What exactly doesn't work if the app url has a different casing? when creating a new key "unknown error occurred", fixed the url fixed issue. I a rare and stupid "bug" but maybe is easy to fix.... Probably you can reproduce the same simple changing a letter of your url to Uppercase
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id#34