Sync error

**Before the error happened, I was… trying to sync anking step 2 deck on my anki app

Error message (don't change this)
Anki 25.02.6 (6381f184)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-14.5-arm64-arm-64bit

Traceback (most recent call last):

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

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

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

  File "/Users/katiecox/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 0x1219761c0 state=finished raised ReadTimeout>]


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

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

  File "/Users/katiecox/Library/Application Support/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 713, in send

requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='app.ankihub.net', port=443): Read timed out. (read 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 "/Users/katiecox/Library/Application Support/Anki2/addons21/1322529746/gui/errors.py", line 112, in <lambda>
    op=lambda _: _upload_logs(key),

  File "/Users/katiecox/Library/Application Support/Anki2/addons21/1322529746/gui/errors.py", line 628, in _upload_logs
    client.upload_logs(

  File "/Users/katiecox/Library/Application Support/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 "/Users/katiecox/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 1034, in _presigned_url_suffix_from_key
    response = self._send_request(

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

  File "/Users/katiecox/Library/Application Support/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): Read timed out. (read timeout=5)

Sentry link (for developers)

Hello,

This is almost certainly just a temporary network timeout and likely won’t be a recurring issue. Please try restarting Anki and see if it happens again.

If it does, let us know so we can help you figure it out! :grin:

I’ve tried restarting Anki, restarting my computer, deleting the ankihub add-on and redownloading - none of these have worked

If you could try on a different network and see if it works, that would help identify the issue.

When did this problem start happening? Was everything working fine before?

Also, do you happen to use a VPN? You can also try disabling your firewall temporarily to see if the issue persists.