guru meditation Tux's lil' helper
Joined: 18 Mar 2018 Posts: 140 Location: Planet Earth
|
Posted: Fri Aug 13, 2021 8:59 am Post subject: Python-Quatch: ssl.SSLError: ('No cipher can be selected.',) |
|
|
Verschiedene Python-Programme meckern auf div. Gentoo-Maschinen (zum Beispiel bei Verwendung von youtube-dl):
ssl.SSLError: ('No cipher can be selected.',)
Hat jemand zufällig ene Lösung parat?
Liegt das vielleicht am LIbreSSL-Port? Für rein theoretisch möglich halte ich das – allerdings habe ich kein Gentoo-Installation mit OpenSSL zum Vergleich und ich halte das nur für möglich, wenn Python krampfhaft versucht eine Verschlüsselung zu wählen, die Libre nicht unterstützt. Dann wiederum unterstützt das installierte LibreSSL 3.3.3 auch TLS 1.3 (zumindest auf meinem Mailserver).
Die komplette Meldung sieht so aus:
Code: | youtube-dl "https://www.irgend.was/"
Traceback (most recent call last):
File "/usr/bin/youtube-dl", line 33, in <module>
sys.exit(load_entry_point('youtube-dl==2021.6.6', 'console_scripts', 'youtube-dl')())
File "/usr/lib/python3.9/site-packages/youtube_dl-2021.6.6-py3.9.egg/youtube_dl/__init__.py", line 475, in main
_real_main(argv)
File "/usr/lib/python3.9/site-packages/youtube_dl-2021.6.6-py3.9.egg/youtube_dl/__init__.py", line 442, in _real_main
with YoutubeDL(ydl_opts) as ydl:
File "/usr/lib/python3.9/site-packages/youtube_dl-2021.6.6-py3.9.egg/youtube_dl/YoutubeDL.py", line 422, in __init__
self._setup_opener()
File "/usr/lib/python3.9/site-packages/youtube_dl-2021.6.6-py3.9.egg/youtube_dl/YoutubeDL.py", line 2395, in _setup_opener
https_handler = make_HTTPS_handler(self.params, debuglevel=debuglevel)
File "/usr/lib/python3.9/site-packages/youtube_dl-2021.6.6-py3.9.egg/youtube_dl/utils.py", line 2297, in make_HTTPS_handler
context = ssl.create_default_context(ssl.Purpose.SERVER_AUTH)
File "/usr/lib/python3.9/ssl.py", line 737, in create_default_context
context = SSLContext(PROTOCOL_TLS)
File "/usr/lib/python3.9/ssl.py", line 483, in __new__
self = _SSLContext.__new__(cls, protocol)
ssl.SSLError: ('No cipher can be selected.',)
|
|
|