Plex java https

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
User avatar
AsCavaco
Posts: 48
Joined: 05 May 2015, 17:04

Plex java https

Post by AsCavaco »

Hi red noah you must of implemented the dev script because you left the plex call https , getting these few days the ssl certificate exception and it doesnt call plex to refresh , change to http so it works to everyone


Thanks
User avatar
rednoah
The Source
Posts: 22991
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Plex java https

Post by rednoah »

Use IP instead of HOSTNAME. It'll use HTTPS if you specify a HOSTNAME. It'll use HTTP if you specify an IP.
:idea: Please read the FAQ and How to Request Help.
User avatar
AsCavaco
Posts: 48
Joined: 05 May 2015, 17:04

Re: Plex java https

Post by AsCavaco »

iv always used ip , but its not working now , i have in the script plex=192.168.X.XXX:32400 , and i get this error :

SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names matching IP address 192.168.X.XXX found

if i use hostname also doesnt work , says the same thing !!!

can u give me an example ???


checked my friends filebot , doing the same thing !!!
User avatar
rednoah
The Source
Posts: 22991
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Plex java https

Post by rednoah »

Why does everyone thing you can specify the port? You can't specify PORT.

It's plex=IP NOT plex=IP:PORT

So:

Code: Select all

--def plex=192.168.0.1
And use -script dev:amc just to make sure you have the latest revision.

@see https://github.com/filebot/scripts/blob ... groovy#L30
:idea: Please read the FAQ and How to Request Help.
User avatar
AsCavaco
Posts: 48
Joined: 05 May 2015, 17:04

Re: Plex java https

Post by AsCavaco »

sorry rednoah did exacly like you said :

i have the scritp to dev:amc , and --def plex=ip , and still gives this :

Notify Plex: 192.168.x.xxx
SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names matching IP address 192.168.x.xxx found

with hostname

Notify Plex: hostname
SSLHandshakeException: java.security.cert.CertificateException: No subject alternative DNS name matching hostname found.

no port in both like u said !!!!
User avatar
rednoah
The Source
Posts: 22991
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Plex java https

Post by rednoah »

Fixed. Do filebot -clear-cache once and then try again.
:idea: Please read the FAQ and How to Request Help.
User avatar
AsCavaco
Posts: 48
Joined: 05 May 2015, 17:04

Re: Plex java https

Post by AsCavaco »

worked thanks :)
Post Reply