H
Homarr15mo ago
#GZGA

Cannot get Plex integrations to work!

Greetings, I'm posting anew as requested. I'm having trouble displaying the media playing widget to show the currently played content, despite following the instructions and linking the token as directed. While the green ping is visible on my icon, the widget isn't showing the playback information.
Solution:
Yes! It's finally working. So removing everything after the port in the internal address was the solution and I set 401 and 403 http status codes as considered online.
Jump to solution
21 Replies
Serenaphic
Serenaphic15mo ago
Hello, do you have any logs with errors that could help us point out the problem?
#GZGA
#GZGAOP15mo ago
Oh yes, here you go: ERROR failed to communicate with media server 'Plex' (56cfb873-fcd9-456a-95d1-8e3a280dd3b4): Error: Unexpected close tag Line: 42
Serenaphic
Serenaphic15mo ago
Is there more to the error? I'm trying to search up on it Ah, it seems that the problem is from the response gotten from plex. Could you try to access this link (by replacing the ip:port and token with your own of course) and seeing if the response looks normal or if displays a straight up error too: ip:port/status/sessions?X-Plex-Token=token
#GZGA
#GZGAOP15mo ago
Trying that gives me this error: This XML file does not appear to have any style information associated with it. The document tree is shown below. <MediaContainer size="0"> </MediaContainer>
Serenaphic
Serenaphic15mo ago
The first text is normal, so is the xml file if you are not currently playing any media
#GZGA
#GZGAOP15mo ago
Ah I see, so yes. When playing a movie I get a full page of code.
Serenaphic
Serenaphic15mo ago
And yet nothing in the widget still
#GZGA
#GZGAOP15mo ago
Nope.
No description
Serenaphic
Serenaphic15mo ago
Just recaping: - ping works so communication is working - manually trying the link with token works - widget don't work with error Unexpected close tag
#GZGA
#GZGAOP15mo ago
Yes.
Serenaphic
Serenaphic15mo ago
Is the error still the same? Line 42 seem a bit strange when playing only one media
#GZGA
#GZGAOP15mo ago
Yes, if I restart the container, the error starts if the widget is enabled.
Serenaphic
Serenaphic15mo ago
As it is I don't really know what could be the issue. I'd suggest removing the app from the dashboard, clear cache in homarr, and add it again. Be mindful of setting up the internal address as http when redoing it. Saying just in case @Manicraft1001 Any idea?
#GZGA
#GZGAOP15mo ago
This how the addresses are.
No description
#GZGA
#GZGAOP15mo ago
I mean if anything is wrong here, I won't get green ping right?
Serenaphic
Serenaphic15mo ago
Don't input anything after the port in the internal address Just http://ip:port
#GZGA
#GZGAOP15mo ago
Ok. Ok now the ping became red. I get the green one if it's set as per my screenshot.
Serenaphic
Serenaphic15mo ago
If you hover the dot and it shows 401 or 403, that is normal You just need to add those codes in the network tab Now what's important is, did that fix the widget
Solution
#GZGA
#GZGA15mo ago
Yes! It's finally working. So removing everything after the port in the internal address was the solution and I set 401 and 403 http status codes as considered online.
#GZGA
#GZGAOP15mo ago
Thank you @Tag once again.
Serenaphic
Serenaphic15mo ago
No problem, glad we got it in the end
Want results from more Discord servers?
Add your server