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:Jump to 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.
21 Replies
Hello, do you have any logs with errors that could help us point out the problem?
Oh yes, here you go:
ERROR failed to communicate with media server 'Plex' (56cfb873-fcd9-456a-95d1-8e3a280dd3b4): Error: Unexpected close tag
Line: 42
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
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>
The first text is normal, so is the xml file if you are not currently playing any media
Ah I see, so yes. When playing a movie I get a full page of code.
And yet nothing in the widget still
Nope.
Just recaping:
- ping works so communication is working
- manually trying the link with token works
- widget don't work with error Unexpected close tag
Yes.
Is the error still the same? Line 42 seem a bit strange when playing only one media
Yes, if I restart the container, the error starts if the widget is enabled.
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?
This how the addresses are.
![No description](https://cdn.answeroverflow.com/1161248616158076989/Set.jpg)
I mean if anything is wrong here, I won't get green ping right?