SSL error with podnapisi provider
mave007 opened this issue · 1 comments
mave007 commented
Using Sub-Zero form the master
branch on Ubuntu 18.04 up to date.
Logs from the system:
==> /var/log/plex/PMS Plugin Logs/com.plexapp.agents.subzero.log <==
2021-11-02 15:43:29,651 (7f20b3a5eb38) : ERROR (logger:34) - subliminal_patch.core: Unexpected error in provider 'podnapisi': Traceback (most recent call last):
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/subliminal_patch/core.py", line 164, in list_subtitles_provider
results = self[provider].list_subtitles(video, provider_languages)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/subliminal_patch/providers/podnapisi.py", line 141, in list_subtitles
only_foreign=self.only_foreign, also_foreign=self.also_foreign)]
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/subliminal_patch/providers/podnapisi.py", line 175, in query
content = self.session.get(self.server_url + 'search/old', params=params, timeout=10).content
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/subliminal_patch/http.py", line 218, in get
return self.retry_method("get", *args, **kwargs)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/subliminal_patch/http.py", line 213, in retry_method
socket.timeout))
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/retry/api.py", line 101, in retry_call
return __retry_internal(partial(f, *args, **kwargs), exceptions, tries, delay, max_delay, backoff, jitter, logger)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/retry/api.py", line 33, in __retry_internal
return f()
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/requests/sessions.py", line 546, in get
return self.request('GET', url, **kwargs)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/subliminal_patch/http.py", line 53, in request
return super(TimeoutSession, self).request(method, url, *args, **kwargs)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/requests/adapters.py", line 514, in send
raise SSLError(e, request=request)
SSLError: HTTPSConnectionPool(host='podnapisi.net', port=443): Max retries exceeded with url: /subtitles/search/old?sK=Nine+Days&sXML=1&sY=2020&sL=es%3Aforced (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)'),)
This might be related to the DST Root CA X3 expiration announcement from Let's Encrypt
which I find weird, since the system should default to look up for CA certs in /etc/ssl/certs/
(and as that is up to date)... So, I was wondering if this might mean that either urllib3
, requests
or websocket
Libraries need to also be updated.
Thanks in advance for any suggestion,
M
contributor commented
Hi, another SSL error ([SSL: WRONG_SIGNATURE_TYPE) with podnapisi. SubZero version is Release 2.6.5.3268
2023-07-03 18:44:46,837 (7fc9547afb38) : ERROR (logger:38) - subliminal_patch.core: Unexpected error in provider 'podnapisi': Traceback (most recent call last):
File "/config/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/subliminal_patch/core.py", line 164, in list_subtitles_provider
results = self[provider].list_subtitles(video, provider_languages)
File "/config/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/subliminal_patch/providers/podnapisi.py", line 141, in list_subtitles
only_foreign=self.only_foreign, also_foreign=self.also_foreign)]
File "/config/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/subliminal_patch/providers/podnapisi.py", line 175, in query
content = self.session.get(self.server_url + 'search/old', params=params, timeout=10).content
File "/config/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/subliminal_patch/http.py", line 218, in get
return self.retry_method("get", *args, **kwargs)
File "/config/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/subliminal_patch/http.py", line 213, in retry_method
socket.timeout))
File "/config/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/retry/api.py", line 101, in retry_call
return __retry_internal(partial(f, *args, **kwargs), exceptions, tries, delay, max_delay, backoff, jitter, logger)
File "/config/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/retry/api.py", line 33, in __retry_internal
return f()
File "/config/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/requests/sessions.py", line 546, in get
return self.request('GET', url, **kwargs)
File "/config/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/subliminal_patch/http.py", line 53, in request
return super(TimeoutSession, self).request(method, url, *args, **kwargs)
File "/config/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/config/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/requests/sessions.py", line 668, in send
history = [resp for resp in gen] if allow_redirects else []
File "/config/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/requests/sessions.py", line 247, in resolve_redirects
**adapter_kwargs
File "/config/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/config/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/requests/adapters.py", line 514, in send
raise SSLError(e, request=request)
SSLError: HTTPSConnectionPool(host='www.podnapisi.net', port=443): Max retries exceeded with url: /subtitles/search/old?sTE=6&sXML=1&sL=en&sY=1989&sK=a&sTS=7 (Caused by SSLError(SSLError(1, u'[SSL: WRONG_SIGNATURE_TYPE] wrong signature type (_ssl.c:727)'),))