You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running traefik:latest, plexinc/pms-docker & tarampampam/error-pages:3.2 on Docker.
Just wanted to make a note of a finding I had, any input very welcome.
I realize this isn't a bug or anything wrong with error-pages, just couldn't find anyone with this issue.
Problem:
My Plex server requires login even on the local network.
I was receiving a 401 Unauthorized notice when using error-pages and navigating to plex.mydomain.tld.
I don't have a great understanding of HTTP & how all the headers work, but I assume Plex 1st responds with a 401 Unauthorized when you 1st enter the plex containers web gui which then forwards you to the plex website login. Using error-pages, it must see this 401 response & take over immediately, giving you the 401 page & preventing access to Plex.
Workaround:
To stop this I had to set to - traefik.http.middlewares.errorpages.errors.status=404-599, from 400 - 599 to 400,402-599.
Another solution might be to invoke the ALLOWED_NETWORKS env variable in Plex, though I haven't tried this.
If there's a better workaround let me know.
All the best.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Running traefik:latest, plexinc/pms-docker & tarampampam/error-pages:3.2 on Docker.
Just wanted to make a note of a finding I had, any input very welcome.
I realize this isn't a bug or anything wrong with error-pages, just couldn't find anyone with this issue.
Problem:
My Plex server requires login even on the local network.
I was receiving a 401 Unauthorized notice when using error-pages and navigating to plex.mydomain.tld.
I don't have a great understanding of HTTP & how all the headers work, but I assume Plex 1st responds with a 401 Unauthorized when you 1st enter the plex containers web gui which then forwards you to the plex website login. Using error-pages, it must see this 401 response & take over immediately, giving you the 401 page & preventing access to Plex.
Workaround:
To stop this I had to set to
- traefik.http.middlewares.errorpages.errors.status=404-599
, from 400 - 599 to 400,402-599.Another solution might be to invoke the ALLOWED_NETWORKS env variable in Plex, though I haven't tried this.
If there's a better workaround let me know.
All the best.
Edits: Corrections
Beta Was this translation helpful? Give feedback.
All reactions