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
Plex Widget API Error #656
Comments
Can you post the At 401 is unauthorized so I’m still guessing there’s an issue reaching your Plex instance, or with the token, etc. |
Hey there, it has no issues curling the page from inside the container. Output here, GitHub cutting it off: https://haste.ryann.gg/bcadfbgljd.phptemp |
You didnt use the issue form, is there anything in the logs? And thats just the index page, how about the actual API endpoints
|
My apologies, I missed that! I was tired when I made the issue. Installed through Docker, latest version. Homepage is also latest, everything is fresh installed Yesterday. homepage logs just contain a bunch of spam of the following lines: [2022-12-10T04:51:57.259Z] error: undefined I've also enabled debug logging method through the ENV variables. Library curl results:
Sessions:
Output of last request:
|
took me a sec, i think it just came down to the fact that you have 1 library which causes a runtime error. If youre interested please test out |
This appears to have fixed it, but I'm thinking there might be other parts referencing this same thing - just don't have time to look. It appears on refresh it loses count, as my movies goes back from 4 to 0 after it does its periodic refresh. On first load of the page it's correct. |
@shamoon would you like me to open a new issue? |
Hmm, I cant reproduce that (with your data). Perhaps try re-creating the container? |
Edit: I see it now, lemme investigate... |
Awesome, was just about to let you know :) |
ok, think I've got it (wasn't the same bug, youre just eagle-eyed for noticing) |
Ps. Where did you get a 401? that still doesnt make sense to me |
So, in my tiredness, I made a mistake. I had a "ping" set for the widget, but the ping was set to the incorrect domain. So I had the 401 from that, but the error for the library also at the same time and combined them. You can see this here. The error I actually had in regards to this issue was a 500 proxy error in the network console. |
Ah thanks, yea thats what threw me off initially =) |
Your latest commit to main appears to be working great now, thank you! |
Hey there, hate to be the bearer of bad news but it's still happening after some time. @shamoon |
No logs with anything relevant. I did a docker stop, a docker pull (to get latest main), and then I ran the following:
Just did it again, we shall see. |
Yeah, just happened again. Not sure :( |
I can re-create it only in docker, think I have an idea... |
Alright mate, really hoping to finally have this Its still the second issue from above, it just wasn't fixed by that change. Closed by 146326f |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. |
I've setup the plex widget, and have confirmed the token is correct. I can visit the API url in my personal browser, and from curling in the container with the token and get a response, but the widget does not work.
Just says:
API Error: The string did not match the expected pattern.
Here's my setup:
icon: plex.png
description: Movies
href: http://192.168.4.206:32400/web
ping: http://192.168.4.206:32400
widget:
type: plex
url: http://192.168.4.206:32400
key: TOKEN
The text was updated successfully, but these errors were encountered: