styxit / HTPC-Manager

A fully responsive interface to manage all your favorite software on your Htpc.
http://htpc.io
MIT License
529 stars 183 forks source link

Unable to Connect to Plex - Hostname error #397

Open jenstyler opened 6 years ago

jenstyler commented 6 years ago

Hey folks,

Wasn't able to find anything similar to this issue - trying to configure plex intergration on my unraid server.

This is the log output after trying to test the connection to plex in htpc-manager:

2018-04-17 20:22:56 modules.plex ERROR Unable to contact Plex via https://192.168.250.6:32400 error hostname '192.168.250.6' doesn't match '*.04d70e2e89884751b75bae5446e4acde.plex.direct'

192.168.250.6 is my plex/unraid local IP address (actual IP of unraid, Plex is running in host mode).

I've also attached the summary docker config for both.

Any ideas?

plex-htpc config htpc manager docker config plex docker config

iancampbell33 commented 6 years ago

Did you ever figure out the issue? I'm having the same problem.

Thanks.

jaanraadik commented 6 years ago

Just had this problem myself.

The 'issue' is that you've enabled SSL. The SSL certificate used is issued to hostname *.04d70e2e89884751b75bae5446e4acde.plex.direct, however you're attempting to validate it against the hostname 192.168.250.6

Simply connect without SSL to solve this

hexum311ad commented 4 years ago

Hi, I am having this same issue. "Unable to contact Plex via http://192.168.1.161:32400 error No JSON object could be decoded" AND "Failed to get authtoken from plex 401 Client Error: Unauthorized" The HTPC manager is running on my new Pi. My PMS server is on my Windows machine at the IP and port listed above. Any suggestions? Thank you