Error: (Caused by SSLError(SSLError(1, '[SSL: UNSUPPORTED_PROTOCOL] unsupported protocol (_ssl.c:1108)')))

Hello.

I’ve been trying to install flexget script to new system (and I think new python version too) and it’s not working:

2020-05-14 21:54:11 CRITICAL plugin previous_years_all task Unable to download the RSS for task previous_years_all task (http://www.xxx.xxx/site: HTTPSConnectionPool(host=‘www.xxx.xxx’, port=443): Max retries exceeded with url: /site (Caused by SSLError(SSLError(1, ‘[SSL: UNSUPPORTED_PROTOCOL] unsupported protocol (_ssl.c:1108)’)))

This is config.yml excerpt:
tasks:
previous_years_all task:
rss: http://xxx.xxx/site
accept_all: yes
download: /home/xxx/load_torrents/

Anyone help me solve this?

You can try adding verify_ssl_certificates: no to your task.

Not working. Problem is not in SSL certificate validity. Researched a bit, the problem is with unsupported TLS1.0 protocol. Since I can’t make web server support some later supported encryption, I must make python3 work with TLS1.0, and that is hell of a task as far as I see… :frowning: Anyone still can help me?

I’m a little surprised it even works in browsers; TLS 1.0 has been deprecated for ages. You might be able to use a reverse proxy like NGINX to either upgrade the ciphersuite or convert it into HTTP, but that’s pretty gross. Ultimately the host really should upgrade their software, there’s a very good reason nothing supports TLS 1.0 anymore.

Can’t do anything with server… So is there any way that Flexget in combination with python 3 can use TLS1.0 protocol?

Doubtful. This is a very intentional choice by the developers of Python to get people off of an insecure version of the TLS protocol.