Sync not working (master thread)

I opened the anki app and clicked sync and it would not sync on my computer. Worked fine on my phone

Error message (don't change this)
Anki 2.1.65 (aa9a734f) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0
Platform: macOS-13.4.1-arm64-arm-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2024-08-25 08:46:44

Traceback (most recent call last):

  File "/Users/SeghenW/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 255, in _send_request_with_retry
    response = self._send_request_with_retry_inner(

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

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

  File "/Users/SeghenW/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 0x12542a460 state=finished raised ConnectTimeout>]


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

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

  File "/Users/SeghenW/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 276, in _send_request_with_retry_inner
    return self.thread_local_session.get().send(

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

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

requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='app.ankihub.net', port=443): Max retries exceeded with url: /api/decks/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x1301d1160>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))


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


Traceback (most recent call last):

  File "aqt.taskman", line 122, in _on_closures_pending

  File "/Users/SeghenW/Library/Application Support/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 "/Users/SeghenW/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "/Users/SeghenW/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 75, in _sync_with_ankihub_inner
    subscribed_decks = client.get_deck_subscriptions()

  File "/Users/SeghenW/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 612, in get_deck_subscriptions
    response = self._send_request("GET", API.ANKIHUB, "/decks/subscriptions/")

  File "/Users/SeghenW/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 237, in _send_request
    response = self._send_request_with_retry(

  File "/Users/SeghenW/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 265, 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/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x1301d1160>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))

Sentry link (for developers)

Before the error happened, I was…
trying to sync. No other issues seem to be prevalent. In the past however I have lost all local progress after syncing with ankihub. Not sure if related, but thought I’d mention.

Error message (don't change this)
Anki 23.12.1 (1a1d4d54)  (ao)
Python 3.9.15 Qt 6.5.3 PyQt 6.5.3
Platform: macOS-14.5-x86_64-i386-64bit

Traceback (most recent call last):

  File "/Users/mungzz/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 255, in _send_request_with_retry
    response = self._send_request_with_retry_inner(

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

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

  File "/Users/mungzz/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 0x152517190 state=finished raised ConnectTimeout>]


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

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

  File "/Users/mungzz/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 276, in _send_request_with_retry_inner
    return self.thread_local_session.get().send(

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

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

requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='app.ankihub.net', port=443): Max retries exceeded with url: /api/decks/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x15251a910>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))


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


Traceback (most recent call last):

  File "aqt.taskman", line 142, in _on_closures_pending

  File "/Users/mungzz/Library/Application Support/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 "/Users/mungzz/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "/Users/mungzz/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 75, in _sync_with_ankihub_inner
    subscribed_decks = client.get_deck_subscriptions()

  File "/Users/mungzz/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 612, in get_deck_subscriptions
    response = self._send_request("GET", API.ANKIHUB, "/decks/subscriptions/")

  File "/Users/mungzz/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 237, in _send_request
    response = self._send_request_with_retry(

  File "/Users/mungzz/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 265, 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/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x15251a910>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))

Sentry link (for developers)

1 Like

**Before the error happened, I was syncing anki.

Error message (don't change this)
Anki 23.12.1 (1a1d4d54)  (ao)
Python 3.9.15 Qt 6.6.1 PyQt 6.6.1
Platform: Windows-10-10.0.22631

Traceback (most recent call last):

  File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 255, in _send_request_with_retry
    response = self._send_request_with_retry_inner(

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

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

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

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


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

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

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

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

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

requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='app.ankihub.net', port=443): Max retries exceeded with url: /api/decks/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000002C3EB021520>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))


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


Traceback (most recent call last):

  File "aqt.taskman", line 142, in _on_closures_pending

  File "C:\Users\Admin\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\Admin\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 75, in _sync_with_ankihub_inner
    subscribed_decks = client.get_deck_subscriptions()

  File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 612, in get_deck_subscriptions
    response = self._send_request("GET", API.ANKIHUB, "/decks/subscriptions/")

  File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 237, in _send_request
    response = self._send_request_with_retry(

  File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 265, 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/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000002C3EB021520>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))

Sentry link (for developers)

Before the error happened, I was…
Syncing my anki

Error message (don't change this)
Anki 24.06.3 (d678e393)  (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\alexm\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 255, in _send_request_with_retry
    response = self._send_request_with_retry_inner(

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

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

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

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


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

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

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

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

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

requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='app.ankihub.net', port=443): Max retries exceeded with url: /api/decks/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000024EA8E7CC10>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))


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


Traceback (most recent call last):

  File "aqt.taskman", line 142, in _on_closures_pending

  File "C:\Users\alexm\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\alexm\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "C:\Users\alexm\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 75, in _sync_with_ankihub_inner
    subscribed_decks = client.get_deck_subscriptions()

  File "C:\Users\alexm\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 612, in get_deck_subscriptions
    response = self._send_request("GET", API.ANKIHUB, "/decks/subscriptions/")

  File "C:\Users\alexm\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 237, in _send_request
    response = self._send_request_with_retry(

  File "C:\Users\alexm\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 265, 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/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000024EA8E7CC10>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))

Sentry link (for developers)

1 Like

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

Error message (don't change this)
Anki 23.12.1 (1a1d4d54)  (ao)
Python 3.9.15 Qt 6.5.3 PyQt 6.5.3
Platform: macOS-15.1-arm64-arm-64bit

Traceback (most recent call last):

  File "/Users/shanpegany/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 255, in _send_request_with_retry
    response = self._send_request_with_retry_inner(

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

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

  File "/Users/shanpegany/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 0x12fe23730 state=finished raised ConnectTimeout>]


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

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

  File "/Users/shanpegany/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 276, in _send_request_with_retry_inner
    return self.thread_local_session.get().send(

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

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

requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='app.ankihub.net', port=443): Max retries exceeded with url: /api/decks/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x12fe23850>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))


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


Traceback (most recent call last):

  File "aqt.taskman", line 142, in _on_closures_pending

  File "/Users/shanpegany/Library/Application Support/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 "/Users/shanpegany/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "/Users/shanpegany/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 75, in _sync_with_ankihub_inner
    subscribed_decks = client.get_deck_subscriptions()

  File "/Users/shanpegany/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 612, in get_deck_subscriptions
    response = self._send_request("GET", API.ANKIHUB, "/decks/subscriptions/")

  File "/Users/shanpegany/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 237, in _send_request
    response = self._send_request_with_retry(

  File "/Users/shanpegany/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 265, 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/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x12fe23850>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))

Sentry link (for developers)

**Before the error happened, I was…
Logging into Anki on my laptop. It is working on my tablet.

Error message (don't change this)
Anki 23.12.1 (1a1d4d54)  (ao)
Python 3.9.15 Qt 6.6.1 PyQt 6.6.1
Platform: Windows-10-10.0.22631

Traceback (most recent call last):

  File "C:\Users\Daphe\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 255, in _send_request_with_retry
    response = self._send_request_with_retry_inner(

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

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

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

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


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

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

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

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

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

requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='app.ankihub.net', port=443): Max retries exceeded with url: /api/decks/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000002D9E826A130>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))


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


Traceback (most recent call last):

  File "aqt.taskman", line 142, in _on_closures_pending

  File "C:\Users\Daphe\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\Daphe\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "C:\Users\Daphe\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 75, in _sync_with_ankihub_inner
    subscribed_decks = client.get_deck_subscriptions()

  File "C:\Users\Daphe\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 612, in get_deck_subscriptions
    response = self._send_request("GET", API.ANKIHUB, "/decks/subscriptions/")

  File "C:\Users\Daphe\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 237, in _send_request
    response = self._send_request_with_retry(

  File "C:\Users\Daphe\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 265, 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/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000002D9E826A130>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))

Sentry link (for developers)

Before this error I pressed sync. Did some cards on my phone some time prior and had synced through iOS app.

Error message (don't change this)
Anki 24.06.3 (d678e393)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-14.6.1-arm64-arm-64bit

Traceback (most recent call last):

  File "/Users/ay_jawad/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 255, in _send_request_with_retry
    response = self._send_request_with_retry_inner(

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

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

  File "/Users/ay_jawad/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 0x3151e8e50 state=finished raised ConnectTimeout>]


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

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

  File "/Users/ay_jawad/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 276, in _send_request_with_retry_inner
    return self.thread_local_session.get().send(

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

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

requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='app.ankihub.net', port=443): Max retries exceeded with url: /api/decks/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x13bce0100>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))


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


Traceback (most recent call last):

  File "aqt.taskman", line 142, in _on_closures_pending

  File "/Users/ay_jawad/Library/Application Support/Anki2/addons21/1322529746/gui/menu.py", line 335, in on_done
    future.result()

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

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

  File "/Users/ay_jawad/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "/Users/ay_jawad/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 75, in _sync_with_ankihub_inner
    subscribed_decks = client.get_deck_subscriptions()

  File "/Users/ay_jawad/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 612, in get_deck_subscriptions
    response = self._send_request("GET", API.ANKIHUB, "/decks/subscriptions/")

  File "/Users/ay_jawad/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 237, in _send_request
    response = self._send_request_with_retry(

  File "/Users/ay_jawad/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 265, 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/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x13bce0100>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))

Sentry link (for developers)

**Before the error happened, I was trying to open the anki app and access my decks

Error message (don't change this)
Anki 24.04 (429bc9e1)  (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\vitti\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 255, in _send_request_with_retry
    response = self._send_request_with_retry_inner(

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

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

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

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


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

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

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

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

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

requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='app.ankihub.net', port=443): Max retries exceeded with url: /api/decks/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x00000117BA7D2FA0>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))


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


Traceback (most recent call last):

  File "aqt.taskman", line 142, in _on_closures_pending

  File "C:\Users\vitti\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\vitti\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "C:\Users\vitti\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 75, in _sync_with_ankihub_inner
    subscribed_decks = client.get_deck_subscriptions()

  File "C:\Users\vitti\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 612, in get_deck_subscriptions
    response = self._send_request("GET", API.ANKIHUB, "/decks/subscriptions/")

  File "C:\Users\vitti\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 237, in _send_request
    response = self._send_request_with_retry(

  File "C:\Users\vitti\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 265, 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/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x00000117BA7D2FA0>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))

Sentry link (for developers)

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

Error message (don't change this)
Anki 24.06.2 (33a92379)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-14.3-arm64-arm-64bit

Traceback (most recent call last):

  File "/Users/masonmcmullen/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 255, in _send_request_with_retry
    response = self._send_request_with_retry_inner(

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

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

  File "/Users/masonmcmullen/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 0x142752a90 state=finished raised ConnectTimeout>]


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

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

  File "/Users/masonmcmullen/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 276, in _send_request_with_retry_inner
    return self.thread_local_session.get().send(

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

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

requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='app.ankihub.net', port=443): Max retries exceeded with url: /api/decks/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x12341e790>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))


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


Traceback (most recent call last):

  File "aqt.taskman", line 142, in _on_closures_pending

  File "/Users/masonmcmullen/Library/Application Support/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 "/Users/masonmcmullen/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "/Users/masonmcmullen/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 75, in _sync_with_ankihub_inner
    subscribed_decks = client.get_deck_subscriptions()

  File "/Users/masonmcmullen/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 612, in get_deck_subscriptions
    response = self._send_request("GET", API.ANKIHUB, "/decks/subscriptions/")

  File "/Users/masonmcmullen/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 237, in _send_request
    response = self._send_request_with_retry(

  File "/Users/masonmcmullen/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 265, 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/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x12341e790>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))

Sentry link (for developers)

Before the error happened, I was…
doing cards and then pressed sync

Error message (don't change this)
Anki 24.04 (429bc9e1)  (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\Jamie\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 255, in _send_request_with_retry
    response = self._send_request_with_retry_inner(

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

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

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

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


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

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

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

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

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

requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='app.ankihub.net', port=443): Max retries exceeded with url: /api/decks/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001D24F637340>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))


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


Traceback (most recent call last):

  File "aqt.taskman", line 142, in _on_closures_pending

  File "C:\Users\Jamie\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\Jamie\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "C:\Users\Jamie\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 75, in _sync_with_ankihub_inner
    subscribed_decks = client.get_deck_subscriptions()

  File "C:\Users\Jamie\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 612, in get_deck_subscriptions
    response = self._send_request("GET", API.ANKIHUB, "/decks/subscriptions/")

  File "C:\Users\Jamie\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 237, in _send_request
    response = self._send_request_with_retry(

  File "C:\Users\Jamie\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 265, 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/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001D24F637340>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))

Sentry link (for developers)

Before the error happened, I was…
Turning my computer on so I can start up Anki and study.

Error message (don't change this)
Anki 24.04.1 (ccd9ca1a)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.22631

Traceback (most recent call last):

  File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 255, in _send_request_with_retry
    response = self._send_request_with_retry_inner(

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

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

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

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


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

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

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

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

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

requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='app.ankihub.net', port=443): Max retries exceeded with url: /api/decks/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x00000245076E2520>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))


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


Traceback (most recent call last):

  File "aqt.taskman", line 142, in _on_closures_pending

  File "C:\Users\Admin\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\Admin\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 75, in _sync_with_ankihub_inner
    subscribed_decks = client.get_deck_subscriptions()

  File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 612, in get_deck_subscriptions
    response = self._send_request("GET", API.ANKIHUB, "/decks/subscriptions/")

  File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 237, in _send_request
    response = self._send_request_with_retry(

  File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 265, 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/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x00000245076E2520>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))

Sentry link (for developers)

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

Error message (don't change this)
Anki 23.12.1 (1a1d4d54)  (ao)
Python 3.9.15 Qt 6.6.1 PyQt 6.6.1
Platform: Windows-10-10.0.22631

Traceback (most recent call last):

  File "C:\Users\Rui Pedro\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 255, in _send_request_with_retry
    response = self._send_request_with_retry_inner(

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

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

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

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


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

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

  File "C:\Users\Rui Pedro\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 276, in _send_request_with_retry_inner
    return self.thread_local_session.get().send(

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

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

requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='app.ankihub.net', port=443): Max retries exceeded with url: /api/decks/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x00000243BBA82430>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))


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


Traceback (most recent call last):

  File "aqt.taskman", line 142, in _on_closures_pending

  File "C:\Users\Rui Pedro\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\Rui Pedro\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "C:\Users\Rui Pedro\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 75, in _sync_with_ankihub_inner
    subscribed_decks = client.get_deck_subscriptions()

  File "C:\Users\Rui Pedro\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 612, in get_deck_subscriptions
    response = self._send_request("GET", API.ANKIHUB, "/decks/subscriptions/")

  File "C:\Users\Rui Pedro\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 237, in _send_request
    response = self._send_request_with_retry(

  File "C:\Users\Rui Pedro\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 265, 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/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x00000243BBA82430>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))

Sentry link (for developers)

Before the error happened, I was…
Had just restarted anki.

Error message (don't change this)
Anki 24.06.3 (d678e393)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-14.6.1-arm64-arm-64bit

Traceback (most recent call last):

  File "/Users/samhangster/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 255, in _send_request_with_retry
    response = self._send_request_with_retry_inner(

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

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

  File "/Users/samhangster/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 0x14024a670 state=finished raised ConnectTimeout>]


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

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

  File "/Users/samhangster/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 276, in _send_request_with_retry_inner
    return self.thread_local_session.get().send(

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

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

requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='app.ankihub.net', port=443): Max retries exceeded with url: /api/decks/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x13e732370>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))


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


Traceback (most recent call last):

  File "aqt.taskman", line 142, in _on_closures_pending

  File "/Users/samhangster/Library/Application Support/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 "/Users/samhangster/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "/Users/samhangster/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 75, in _sync_with_ankihub_inner
    subscribed_decks = client.get_deck_subscriptions()

  File "/Users/samhangster/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 612, in get_deck_subscriptions
    response = self._send_request("GET", API.ANKIHUB, "/decks/subscriptions/")

  File "/Users/samhangster/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 237, in _send_request
    response = self._send_request_with_retry(

  File "/Users/samhangster/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 265, 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/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x13e732370>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))

Sentry link (for developers)

Before the error happened, I was…
This time I restarted my computer and got the same error? Error message below.

Error message (don't change this)
Anki 24.04.1 (ccd9ca1a)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.22631

Traceback (most recent call last):

  File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 255, in _send_request_with_retry
    response = self._send_request_with_retry_inner(

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

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

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

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


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

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

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

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

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

requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='app.ankihub.net', port=443): Max retries exceeded with url: /api/decks/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000025E89489940>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))


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


Traceback (most recent call last):

  File "aqt.taskman", line 142, in _on_closures_pending

  File "C:\Users\Admin\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\Admin\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 75, in _sync_with_ankihub_inner
    subscribed_decks = client.get_deck_subscriptions()

  File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 612, in get_deck_subscriptions
    response = self._send_request("GET", API.ANKIHUB, "/decks/subscriptions/")

  File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 237, in _send_request
    response = self._send_request_with_retry(

  File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 265, 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/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000025E89489940>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))

Sentry link (for developers)

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

Error message (don't change this)
Anki 24.06.3 (d678e393)  (ao)
Python 3.9.18 Qt 5.15.2 PyQt 5.15.5
Platform: Windows-10-10.0.22631

Traceback (most recent call last):

  File "C:\Users\shael\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 255, in _send_request_with_retry
    response = self._send_request_with_retry_inner(

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

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

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

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


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

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

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

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

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

requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='app.ankihub.net', port=443): Max retries exceeded with url: /api/decks/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000002313268A2B0>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))


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


Traceback (most recent call last):

  File "aqt.taskman", line 142, in _on_closures_pending

  File "C:\Users\shael\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\shael\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "C:\Users\shael\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 75, in _sync_with_ankihub_inner
    subscribed_decks = client.get_deck_subscriptions()

  File "C:\Users\shael\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 612, in get_deck_subscriptions
    response = self._send_request("GET", API.ANKIHUB, "/decks/subscriptions/")

  File "C:\Users\shael\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 237, in _send_request
    response = self._send_request_with_retry(

  File "C:\Users\shael\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 265, 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/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000002313268A2B0>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))

Sentry link (for developers)

Hey all,

We’ve become aware of a syncing issue with Ankihub in the last few minutes. The developers have been informed and should be on it in short order.

Apologies for the disruption; we hope for it to be a quick fix and to have service back up and running shortly. Thank you for your patience in the interim. :slight_smile:

1 Like

**Before the error happened, I was… syncing my app.

Error message (don't change this)
Anki 23.12.1 (1a1d4d54)  (ao)
Python 3.9.15 Qt 6.5.3 PyQt 6.5.3
Platform: macOS-14.5-arm64-arm-64bit

Traceback (most recent call last):

  File "/Users/Milicadjokic/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 255, in _send_request_with_retry
    response = self._send_request_with_retry_inner(

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

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

  File "/Users/Milicadjokic/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 0x17fc818e0 state=finished raised ConnectTimeout>]


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

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

  File "/Users/Milicadjokic/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 276, in _send_request_with_retry_inner
    return self.thread_local_session.get().send(

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

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

requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='app.ankihub.net', port=443): Max retries exceeded with url: /api/decks/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x159be06a0>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))


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


Traceback (most recent call last):

  File "aqt.taskman", line 142, in _on_closures_pending

  File "/Users/Milicadjokic/Library/Application Support/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 "/Users/Milicadjokic/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "/Users/Milicadjokic/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 75, in _sync_with_ankihub_inner
    subscribed_decks = client.get_deck_subscriptions()

  File "/Users/Milicadjokic/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 612, in get_deck_subscriptions
    response = self._send_request("GET", API.ANKIHUB, "/decks/subscriptions/")

  File "/Users/Milicadjokic/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 237, in _send_request
    response = self._send_request_with_retry(

  File "/Users/Milicadjokic/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 265, 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/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x159be06a0>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))

Sentry link (for developers)

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

Error message (don't change this)
Anki 24.06.3 (d678e393)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.22631

Traceback (most recent call last):

  File "aqt.taskman", line 142, in _on_closures_pending

  File "C:\Users\book1ec\AppData\Roaming\Anki2\addons21\1322529746\gui\auto_sync.py", line 101, 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\book1ec\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 57, in sync_with_ankihub
    subscribed_decks = client.get_deck_subscriptions()

  File "C:\Users\book1ec\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 581, in get_deck_subscriptions
    raise AnkiHubHTTPError(response)

1322529746.ankihub_client.ankihub_client.AnkiHubHTTPError: AnkiHub request error: 406 Not Acceptable

Sentry link (for developers)

I’m getting this error upon startup of anki today on my iMac. It makes it so I can’t sync. I can use anki after clicking out of this error, but upon trying to sync it will just freeze and crash.

Anki 23.12.1 (1a1d4d54) (ao)
Python 3.9.15 Qt 6.5.3 PyQt 6.5.3
Platform: macOS-14.6.1-arm64-arm-64bit

Traceback (most recent call last):

File “/Users/hopewaters/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py”, line 255, in _send_request_with_retry
response = self._send_request_with_retry_inner(

File “/Users/hopewaters/Library/Application Support/Anki2/addons21/1322529746/lib/tenacity/init.py”, line 289, in wrapped_f
return self(f, *args, **kw)

File “/Users/hopewaters/Library/Application Support/Anki2/addons21/1322529746/lib/tenacity/init.py”, line 379, in call
do = self.iter(retry_state=retry_state)

File “/Users/hopewaters/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 0x137ca6580 state=finished raised ConnectTimeout>]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File “/Users/hopewaters/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py”, line 263, 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/hopewaters/Library/Application Support/Anki2/addons21/1322529746/lib/tenacity/init.py”, line 382, in call
result = fn(*args, **kwargs)

File “/Users/hopewaters/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py”, line 276, in _send_request_with_retry_inner
return self.thread_local_session.get().send(

File “requests.sessions”, line 703, in send

File “requests.adapters”, line 507, in send

requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host=‘app.ankihub.net’, port=443): Max retries exceeded with url: /api/decks/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x137ca66a0>, ‘Connection to app.ankihub.net timed out. (connect timeout=20)’))

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

Traceback (most recent call last):

File “aqt.taskman”, line 142, in _on_closures_pending

File “/Users/hopewaters/Library/Application Support/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 “/Users/hopewaters/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py”, line 39, in wrapper
return func(*args, **kwargs)

File “/Users/hopewaters/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py”, line 75, in _sync_with_ankihub_inner
subscribed_decks = client.get_deck_subscriptions()

File “/Users/hopewaters/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py”, line 612, in get_deck_subscriptions
response = self._send_request(“GET”, API.ANKIHUB, “/decks/subscriptions/”)

File “/Users/hopewaters/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py”, line 237, in _send_request
response = self._send_request_with_retry(

File “/Users/hopewaters/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py”, line 265, 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/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x137ca66a0>, ‘Connection to app.ankihub.net timed out. (connect timeout=20)’))

anki hub addon has been bugging for a while now it seriously bothering me

Error message (don't change this)
Anki 2.1.60 (76d88073) Python 3.9.15 Qt 6.3.2 PyQt 6.3.1
Platform: macOS-12.7.6-x86_64-i386-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2024-08-26 20:54:54

Traceback (most recent call last):

  File "/Users/abdulrhmanalmasry/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 255, in _send_request_with_retry
    response = self._send_request_with_retry_inner(

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

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

  File "/Users/abdulrhmanalmasry/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 0x127f5fa60 state=finished raised ConnectTimeout>]


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

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

  File "/Users/abdulrhmanalmasry/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 276, in _send_request_with_retry_inner
    return self.thread_local_session.get().send(

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

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

requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='app.ankihub.net', port=443): Max retries exceeded with url: /api/decks/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x127f5fb80>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))


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


Traceback (most recent call last):

  File "aqt.taskman", line 122, in _on_closures_pending

  File "/Users/abdulrhmanalmasry/Library/Application Support/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 "/Users/abdulrhmanalmasry/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "/Users/abdulrhmanalmasry/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 75, in _sync_with_ankihub_inner
    subscribed_decks = client.get_deck_subscriptions()

  File "/Users/abdulrhmanalmasry/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 612, in get_deck_subscriptions
    response = self._send_request("GET", API.ANKIHUB, "/decks/subscriptions/")

  File "/Users/abdulrhmanalmasry/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 237, in _send_request
    response = self._send_request_with_retry(

  File "/Users/abdulrhmanalmasry/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 265, 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/subscriptions/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x127f5fb80>, 'Connection to app.ankihub.net timed out. (connect timeout=20)'))

Sentry link (for developers)