Help please!

Before the error happened, I was…
[Replace this text.]

Error message (don't change this)
Anki 25.02.5 (29192d15)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.26100

Traceback (most recent call last):

  File "C:\Users\Lais\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 286, in _send_request_with_retry
    return send_with_retry()

  File "C:\Users\Lais\AppData\Roaming\Anki2\addons21\1322529746\lib\tenacity\__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)

  File "C:\Users\Lais\AppData\Roaming\Anki2\addons21\1322529746\lib\tenacity\__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)

  File "C:\Users\Lais\AppData\Roaming\Anki2\addons21\1322529746\lib\tenacity\__init__.py", line 326, in iter
    raise retry_exc from fut.exception()

tenacity.RetryError: RetryError[<Future at 0x1fdec191280 state=finished raised SSLError>]


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "C:\Users\Lais\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 290, in _send_request_with_retry
    response = last_attempt.result()

  File "concurrent.futures._base", line 439, in result

  File "concurrent.futures._base", line 391, in __get_result

  File "C:\Users\Lais\AppData\Roaming\Anki2\addons21\1322529746\lib\tenacity\__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)

  File "C:\Users\Lais\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 281, in send_with_retry
    return self.thread_local_session.get().send(

  File "requests.sessions", line 703, in send

  File "requests.adapters", line 698, in send

requests.exceptions.SSLError: HTTPSConnectionPool(host='app.ankihub.net', port=443): Max retries exceeded with url: /api/decks/generate-presigned-url?key=ankihub_addon_debug_info_not_signed_in_1749473965.zip&type=upload&many=false (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)')))


The above exception was the direct cause of the following exception:


Traceback (most recent call last):

  File "concurrent.futures.thread", line 58, in run

  File "aqt.operations", line 243, in wrapped_op

  File "C:\Users\Lais\AppData\Roaming\Anki2\addons21\1322529746\gui\errors.py", line 138, in <lambda>
    op=lambda _: _upload_logs_and_data_in_background(key),

  File "C:\Users\Lais\AppData\Roaming\Anki2\addons21\1322529746\gui\errors.py", line 166, in _upload_logs_and_data_in_background
    client.upload_logs(

  File "C:\Users\Lais\AppData\Roaming\Anki2\addons21\1322529746\addon_ankihub_client.py", line 83, in upload_logs
    s3_url_suffix = self._presigned_url_suffix_from_key(key=key, action="upload")

  File "C:\Users\Lais\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 1034, in _presigned_url_suffix_from_key
    response = self._send_request(

  File "C:\Users\Lais\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 243, in _send_request
    return self._send_request_with_retry(

  File "C:\Users\Lais\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 292, in _send_request_with_retry
    raise AnkiHubRequestException(e) from e

1322529746.ankihub_client.ankihub_client.AnkiHubRequestException: AnkiHub request exception: HTTPSConnectionPool(host='app.ankihub.net', port=443): Max retries exceeded with url: /api/decks/generate-presigned-url?key=ankihub_addon_debug_info_not_signed_in_1749473965.zip&type=upload&many=false (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)')))

Sentry link (for developers)

Hello,

Please try this tutorial:

Let me know if the issue persists!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.