H
Homarr9mo ago
Wil

Plex Integration Help

I can't understand what I am doing wrong here. I have my internal address set correctly, https://ip:32400
I added 401 to the status codes Integration: I went to my xml, extracted out the API key and pasted the key in the secret. The plex app shows online with a green status icon. My plex widget shows nothing playing even though there is.
Am I missing something painfully obvious? The only thing in my console log is Ping of app Plex returned 401 I am seeing no errors anywhere.
Solution:
If you use the IP:port combo you need to use http
Jump to solution
21 Replies
Wil
Wil9mo ago
No description
ajnart
ajnart9mo ago
Hey, can you make a GitHub issue about this @Wil ? I would like to improve the Plex widget so that it can guide you to see what’s going on
Wil
Wil9mo ago
Sure!
ajnart
ajnart9mo ago
I can’t really assist you with the setup as I’m not too familiar with it but it seems that this is causing issues with a bunch of people To me it seems that everything is configured properly. However there might be some issue with getting the actual value of the API key, can you try to enter it again and save the app, exit edit mode and see if that does anything ?
Wil
Wil9mo ago
Ill do that now. Github issue submitted Ohhhh you might be onto something
Wil
Wil9mo ago
Pastebin
_app-01905e0ff410ac10.js:132 [DEPRECATED] Use `createWithEqualityFn...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Wil
Wil9mo ago
Added that info to github issue
Tag
Tag9mo ago
Hi, Some users reported that not all plex-tokens work. To get you token, use your ip:port combo to access plex and then go further to get that token
Wil
Wil9mo ago
That is normally how I get to plex is using my ip:port combo. Im not sure what you mean by then going further to get that token but I open the XML and scroll to the end of the URL to get the token. When I input the token into the Plex App on Homarr, I get an error in the console saying Unchecked runtime.lastError: The message port closed before a response was received. I dont know what that means but its suspect
Tag
Tag9mo ago
That's what I meant, you got it. Next thing that might be wrong is if you changed some settings in plex's network settings
Wil
Wil9mo ago
Hmmmm I have plex Fully accessible outside my network and on port 32400
Tag
Tag9mo ago
One thing that people change sometimes is the "Secure connections". Being fully visible doesn't mean you haven't activated some security features that blocks homarr
Wil
Wil9mo ago
My Secure connections is set to "Preferred" Im so befuddled right now
Tag
Tag9mo ago
That is right too... Unfortunately the error doesn't give us much to work with and I thought that it meant that plex is closing the communication prematurely Oh wait, are you running https?
Solution
Tag
Tag9mo ago
If you use the IP:port combo you need to use http
Wil
Wil9mo ago
I do access plex over HTTPS Oh! Let me try that THAT WORKED Halleluja
Tag
Tag9mo ago
Always make sure you use the right protocol ;)
Wil
Wil9mo ago
You rock. Ill close the ticket in github unless you want to do it
Tag
Tag9mo ago
I'll leave it to @ajnart since it looked like it was linked to another thing he was doing related to it
Wil
Wil9mo ago
@Tag Thank you very much for your help. I searched documentation everywhere and couldn't find that as a solution. THANK YOU
Tag
Tag9mo ago
That step will be integrated as a troubleshooting list when adding an app in the next version