H
Homarr13mo 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
WilOP13mo ago
No description
Thomas
Thomas13mo 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
WilOP13mo ago
Sure!
Thomas
Thomas13mo 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
WilOP13mo ago
Ill do that now. Github issue submitted Ohhhh you might be onto something
Wil
WilOP13mo 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
WilOP13mo ago
Added that info to github issue
Serenaphic
Serenaphic13mo 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
WilOP13mo 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
Serenaphic
Serenaphic13mo 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
WilOP13mo ago
Hmmmm I have plex Fully accessible outside my network and on port 32400
Serenaphic
Serenaphic13mo 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
WilOP13mo ago
My Secure connections is set to "Preferred" Im so befuddled right now
Serenaphic
Serenaphic13mo 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
Serenaphic
Serenaphic13mo ago
If you use the IP:port combo you need to use http
Wil
WilOP13mo ago
I do access plex over HTTPS Oh! Let me try that THAT WORKED Halleluja
Serenaphic
Serenaphic13mo ago
Always make sure you use the right protocol ;)
Wil
WilOP13mo ago
You rock. Ill close the ticket in github unless you want to do it
Serenaphic
Serenaphic13mo ago
I'll leave it to @ajnart since it looked like it was linked to another thing he was doing related to it
Wil
WilOP13mo ago
@Tag Thank you very much for your help. I searched documentation everywhere and couldn't find that as a solution. THANK YOU
Serenaphic
Serenaphic13mo ago
That step will be integrated as a troubleshooting list when adding an app in the next version
Want results from more Discord servers?
Add your server