Cannot download stepdeck

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

Error message (don't change this)
Anki 24.11 (87ccd24e)  (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\marta\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 276, in _send_request_with_retry
    return send_with_retry()

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

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

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

tenacity.RetryError: RetryError[<Future at 0x1c5f15c9940 state=finished raised ConnectTimeout>]


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

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

  File "C:\Users\marta\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 273, in send_with_retry
    return self.thread_local_session.get().send(request, stream=stream, timeout=timeout)

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

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

requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='app.ankihub.net', port=443): Max retries exceeded with url: /api/decks/generate-presigned-url?key=ankihub_addon_logs_martawojtano%40gmail.com_1756485887.log&type=upload&many=false (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001C5F1510A60>, 'Connection to app.ankihub.net timed out. (connect timeout=5)'))


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\marta\AppData\Roaming\Anki2\addons21\1322529746\gui\errors.py", line 104, in <lambda>
    op=lambda _: _upload_logs(key),

  File "C:\Users\marta\AppData\Roaming\Anki2\addons21\1322529746\gui\errors.py", line 578, in _upload_logs
    client.upload_logs(

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

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

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

  File "C:\Users\marta\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 282, 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_logs_martawojtano%40gmail.com_1756485887.log&type=upload&many=false (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001C5F1510A60>, 'Connection to app.ankihub.net timed out. (connect timeout=5)'))

Sentry link (for developers)

Hi,

Please try the following steps to resolve the issue:

You are not on the latest version of Anki. You can download the latest version here: https://apps.ankiweb.net/. After downloading, simply run the downloaded file to update your application.

Next, please update the AnkiHub add-on:

  1. On your Anki main screen, go to Tools > Add-ons > Check for Updates.
  2. After the update is complete, please restart Anki.

Let us know if the issue continues. :blush:

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