H
Homarr9mo ago
#MG4K

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
Tag
Tag9mo ago
Hello, do you have any logs with errors that could help us point out the problem?
#MG4K
#MG4K9mo 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
Tag
Tag9mo 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
#MG4K
#MG4K9mo 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>
Tag
Tag9mo ago
The first text is normal, so is the xml file if you are not currently playing any media
#MG4K
#MG4K9mo ago
Ah I see, so yes. When playing a movie I get a full page of code.
Tag
Tag9mo ago
And yet nothing in the widget still
#MG4K
#MG4K9mo ago
Nope.
No description
Tag
Tag9mo 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
#MG4K
#MG4K9mo ago
Yes.
Tag
Tag9mo ago
Is the error still the same? Line 42 seem a bit strange when playing only one media
#MG4K
#MG4K9mo ago
Yes, if I restart the container, the error starts if the widget is enabled.
Tag
Tag9mo 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?
#MG4K
#MG4K9mo ago
This how the addresses are.
No description
#MG4K
#MG4K9mo ago
I mean if anything is wrong here, I won't get green ping right?
Tag
Tag9mo ago
Don't input anything after the port in the internal address Just http://ip:port
#MG4K
#MG4K9mo ago
Ok. Ok now the ping became red. I get the green one if it's set as per my screenshot.
Tag
Tag9mo 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
#MG4K
#MG4K9mo 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.
#MG4K
#MG4K9mo ago
Thank you @Tag once again.
Tag
Tag9mo ago
No problem, glad we got it in the end