I have tried everything from subscribing unsbscribing, reinstalling everything, deleting all add ons, help me man, i just bought subscription today and this is a welcome party for me?

Before the error happened, I was

doing nothing, just trying to sync with ankihub, but error keeps up popping about ankihub addon error, it has to do some[alot of] python lines if i go in error details

Error message (don't change this)
Anki 25.02.1 (234fa0c2)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.19045

Traceback (most recent call last):

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

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

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

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

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


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "C:\Users\kalee\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\kalee\AppData\Roaming\Anki2\addons21\1322529746\lib\tenacity\__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)

  File "C:\Users\kalee\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='ankihub.s3.amazonaws.com', port=443): Max retries exceeded with url: /deck_e77aedfe-a636-40e2-8169-2fce2673187e_notes.csv.gz?response-content-disposition=attachment&AWSAccessKeyId=AKIASSGURO7AU2A7QZOX&Signature=rBpXy7kGsJSuvEFv0IzEUIax9Ro%3D&Expires=1744972923 (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 "C:\Users\kalee\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py", line 173, in _download_and_install_decks_inner
    _download_and_install_single_deck(

  File "C:\Users\kalee\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py", line 202, in _download_and_install_single_deck
    notes_data: List[NoteInfo] = AnkiHubClient().download_deck(

  File "C:\Users\kalee\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 673, in download_deck
    s3_response_content = self._download_with_progress_cb(

  File "C:\Users\kalee\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 703, in _download_with_progress_cb
    with self._send_request(

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

  File "C:\Users\kalee\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='ankihub.s3.amazonaws.com', port=443): Max retries exceeded with url: /deck_e77aedfe-a636-40e2-8169-2fce2673187e_notes.csv.gz?response-content-disposition=attachment&AWSAccessKeyId=AKIASSGURO7AU2A7QZOX&Signature=rBpXy7kGsJSuvEFv0IzEUIax9Ro%3D&Expires=1744972923 (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 "aqt.taskman", line 144, in _on_closures_pending

  File "C:\Users\kalee\AppData\Roaming\Anki2\addons21\1322529746\gui\auto_sync.py", line 99, in sync_with_ankiweb
    future.result()

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

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

  File "C:\Users\kalee\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "C:\Users\kalee\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 120, in _on_new_deck_subscriptions_done
    future.result()

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

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

  File "C:\Users\kalee\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "C:\Users\kalee\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py", line 90, in _on_install_done
    import_results: List[AnkiHubImportResult] = future.result()

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

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

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

  File "C:\Users\kalee\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py", line 76, in <lambda>
    task=lambda: _download_and_install_decks_inner(

  File "C:\Users\kalee\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py", line 192, in _download_and_install_decks_inner
    raise exceptions[0]

1322529746.gui.exceptions.DeckDownloadAndInstallError: Error while downloading and installing deck e77aedfe-a636-40e2-8169-2fce2673187e: AnkiHub request exception: HTTPSConnectionPool(host='ankihub.s3.amazonaws.com', port=443): Max retries exceeded with url: /deck_e77aedfe-a636-40e2-8169-2fce2673187e_notes.csv.gz?response-content-disposition=attachment&AWSAccessKeyId=AKIASSGURO7AU2A7QZOX&Signature=rBpXy7kGsJSuvEFv0IzEUIax9Ro%3D&Expires=1744972923 (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,

This error log indicates that the AnkiHub add-on is failing due to an SSL certificate verification error (CERTIFICATE_VERIFY_FAILED). This means your computer is unable to securely verify the identity of AnkiHub’s servers when trying to sync or download data.

If you’re using a corporate or school network, a proxy or firewall might be interfering. Have you tried connecting using a different internet connection? That’s often the main cause of this type of issue.

Also, have you tried syncing through another device to see if the problem persists?

Lastly, make sure your operating system is fully up to date, as updates often include important certificate and security information.

let me try on other network, if that does not work then i will try on another computer, then i will tell you

1 Like

it worked on another device, THanks man, but if i do media check it says 18000 media missing which are mentioned in cards. How to fix that?

and also, how to enable subdecks in anking step deck, I have enabled it from deck management, but there is nothing showing except main deck

Hello :slight_smile:

A couple of things: the ‘media check’ feature won’t necessarily be reliable for a few reasons. Would take a while to explain, but the basic routine would be to look at your cards. If everything is displaying properly, you’re all set. If media in cards is not displaying properly then we go from there.

You can always push a check against your local copy if you want to make sure: Resetting Local Changes

The Step deck, unfortunately, doesn’t have subdecks anymore. They were done away with some years ago, for a few reasons. You can of course make them for yourself if you prefer to have them

Happy to walk you through how to do this if you like. :slight_smile:

1 Like

@MarcosZan

If they have a Windows PC and you see the SSL error, send this fix:

1 Like