blacktwin / JBOPS

Just a Bunch Of Plex Scripts
1.64k stars 305 forks source link

Killstream.py returning "Invalid Tautulli URL" and "SSL: WRONG_VERSION_NUMBER]" errors #381

Closed WingZeroh closed 1 year ago

WingZeroh commented 1 year ago

Hello,

Does anyone happen to know what would cause this following error message and how to resolve it? I have a script configured in Tautulli Notification Agents using the killstream.py to terminate all streams that have a video resolution of 4K and transcode decision of transcode. The conditions are being detected, however the kill script seems to be erroring out due to invalid URL and SSL errors. I don't quiet know yet how to resolve it.

Tautulli request failed for cmd 'terminate_session'. Invalid Tautulli URL? Error: HTTPSConnectionPool(host='localhost', port=8888): Max retries exceeded with url: /api/v2?session_id=k13111324&message=Transcoding+streams+are+not+allowed+for+4K+content+%28Yours%3A+7566%29.&cmd=terminate_session&apikey=**************** (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1129)'))) Tautulli logs

Any suggestions are appreciated.

Thanks!

WingZeroh commented 1 year ago

Issue Fixed.

Steps to apply:

Create a self-signed certificate in Tautulli Point it to your custom HTTPS domain Reboot the web interface