Page 1 of 1

Plex java https

Posted: 22 Jun 2015, 14:03
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

Re: Plex java https

Posted: 22 Jun 2015, 14:08
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.

Re: Plex java https

Posted: 22 Jun 2015, 22:43
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 !!!

Re: Plex java https

Posted: 23 Jun 2015, 03:04
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

Re: Plex java https

Posted: 23 Jun 2015, 07:45
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 !!!!

Re: Plex java https

Posted: 23 Jun 2015, 08:59
by rednoah
Fixed. Do filebot -clear-cache once and then try again.

Re: Plex java https

Posted: 23 Jun 2015, 09:36
by AsCavaco
worked thanks :)