JurajNyiri / PlexMeetsHomeAssistant

Custom card which integrates plex into Home Assistant and makes it possible to launch movies or tv shows on TV with a simple click
Apache License 2.0
107 stars 8 forks source link

Network error #38

Closed PoVPoV29 closed 2 years ago

PoVPoV29 commented 2 years ago

Hello,

I can't use the car because I have the network error message. Here my config : type: custom:plex-meets-homeassistant token: XXXXXXXXXXX ip: XXXXXXXX port: '32400' libraryName: Films entity:

JurajNyiri commented 2 years ago

Hello,

you probably have invalid Plex certificate or your Plex is simply not available on https with port 32400 you have defined.

https://github.com/JurajNyiri/PlexMeetsHomeAssistant#important-notice

Also duplicate of https://github.com/JurajNyiri/PlexMeetsHomeAssistant/issues/33, https://github.com/JurajNyiri/PlexMeetsHomeAssistant/issues/31, https://github.com/JurajNyiri/PlexMeetsHomeAssistant/issues/24, https://github.com/JurajNyiri/PlexMeetsHomeAssistant/issues/11, https://github.com/JurajNyiri/PlexMeetsHomeAssistant/issues/6 and https://github.com/JurajNyiri/PlexMeetsHomeAssistant/issues/5 .

It is right at the start of readme, I do not know how to make it larger and more visible.

There is also a bug template which you should've used which would have helped you and save me time.

PoVPoV29 commented 2 years ago

No I use Https

JurajNyiri commented 2 years ago

Is your plex server available on HTTPS at port 32400 with valid certificate?

PoVPoV29 commented 2 years ago

Yes and the certificate is the default one

PoVPoV29 commented 2 years ago

CN = *.aXXXXXXXXXXXXXXd10.plex.direct

JurajNyiri commented 2 years ago

Are you using that hostname inside ip?

Please fill out bug template and provide more information, otherwise I am not able to help you.

PoVPoV29 commented 2 years ago

I had try with both IP and FQDN but it's still KO image

[ ] I am running Home Assistant on HTTP protocol [x ] I am running BOTH Home Assistant AND Plex on HTTPS protocol [x ] My Plex server is accessible through protocol, port and ip/hostname I have specified for the card. [ x] My Plex server is running on HTTPS and has a valid certificate. Is it mandatory to use a custom valide certificat instead of the default one auto-generate by plex server?

Card Version last 2.4

Plex Version last 1.24.1.4931

JurajNyiri commented 2 years ago

Stop by on discord you can share your screen and I can help you there faster.

JurajNyiri commented 2 years ago

You can also try 2.4.1. If you had protocol or trailing slashes in Plex IP Address field it would cause network errors. 2.4.1 takes care of that and cleans it up for you.