Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust error message when testing plex if possible #821

Open
austinwbest opened this issue Sep 7, 2024 · 2 comments · May be fixed by #838
Open

Adjust error message when testing plex if possible #821

austinwbest opened this issue Sep 7, 2024 · 2 comments · May be fixed by #838

Comments

@austinwbest
Copy link
Member

http://192.168.68.67:32400/ works
http://192.168.68.67:5454/ works

So both are on the same machine

The log shows

[ERROR] 2024/09/07 17:51:03 Getting Plex sessions: plex sessions: status code not 200: <html><head><title>Unauthorized</title></head><body><h1>401 Unauthorized</h1></body></html>
[INFO] 2024/09/07 16:46:46 Service Checked: Plex Server, state: Critical for 40m8s, output: 401 Unauthorized: <html><head><script>window.location = window.location.href.match(/(^.+\/)[^\/]*$/)[1] + 'web/index.html';</script><ti

and the UI shows
image

@davidnewhall
Copy link
Contributor

What did we want to change here? Make it say 401 Unauthorized instead of Bad Gateway?

@davidnewhall davidnewhall linked a pull request Oct 16, 2024 that will close this issue
@bakerboy448
Copy link
Collaborator

What did we want to change here? Make it say 401 Unauthorized instead of Bad Gateway?

yes that sounds right - show that it's invalid creds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants