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