Error

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: macOS-15.3-x86_64-i386-64bit

Traceback (most recent call last):

  File "/Users/mac/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 320, in _send_request_with_retry
    return send_with_retry()

  File "/Users/mac/Library/Application Support/Anki2/addons21/1322529746/lib/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)

  File "/Users/mac/Library/Application Support/Anki2/addons21/1322529746/lib/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)

  File "/Users/mac/Library/Application Support/Anki2/addons21/1322529746/lib/tenacity/__init__.py", line 326, in iter
    raise retry_exc from fut.exception()

tenacity.RetryError: RetryError[<Future at 0x15356a340 state=finished raised ConnectionError>]


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "/Users/mac/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 324, 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 "/Users/mac/Library/Application Support/Anki2/addons21/1322529746/lib/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)

  File "/Users/mac/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 317, 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 682, in send

requests.exceptions.ConnectionError: ('Connection aborted.', TimeoutError(60, 'Operation timed out'))


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 "/Users/mac/Library/Application Support/Anki2/addons21/1322529746/gui/errors.py", line 130, in <lambda>
    op=lambda _: _upload_logs_and_data_in_background(key),

  File "/Users/mac/Library/Application Support/Anki2/addons21/1322529746/gui/errors.py", line 158, in _upload_logs_and_data_in_background
    client.upload_logs(

  File "/Users/mac/Library/Application Support/Anki2/addons21/1322529746/addon_ankihub_client.py", line 82, in upload_logs
    s3_response = self._send_request("PUT", API.S3, s3_url_suffix, data=log_data, is_long_running=True)

  File "/Users/mac/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 283, in _send_request
    return self._send_request_with_retry(

  File "/Users/mac/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 326, in _send_request_with_retry
    raise AnkiHubRequestException(e) from e

1322529746.ankihub_client.ankihub_client.AnkiHubRequestException: AnkiHub request exception: ('Connection aborted.', TimeoutError(60, 'Operation timed out'))

Sentry link (for developers)

Hello,

This is likely just a temporary error. Please try restarting Anki and ensure you don’t have any firewall or VPN software running that might be blocking the connection to AnkiHub.

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

Let let us know if the error occurs again.

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