Error bug in anki while adding decks

Before the error happened, I was…

i just got the scholarship and wanted to add the anking deck to my anki app when i do it just shows this error it happens after i press add deck it just says please wait then the error pops us
Error message (don't change this)
Anki 26.05 (e64c6b1a) (ao)
Python 3.13.13 Qt 6.11.0 PyQt 6.11.0
Platform: Windows-10-10.0.19045-SP0

Traceback (most recent call last):

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

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

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

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

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


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "C:\Users\101\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 324, in _send_request_with_retry
    response = last_attempt.result()

  File "concurrent\futures\_base.py", line 449, in result

  File "concurrent\futures\_base.py", line 401, in __get_result

  File "C:\Users\101\AppData\Roaming\Anki2\addons21\1322529746\lib\tenacity\__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)

  File "C:\Users\101\AppData\Roaming\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 "D:\a\anki\anki\out\installer\build\anki\windows\app\src\app_packages\requests\sessions.py", line 784, in send

  File "D:\a\anki\anki\out\installer\build\anki\windows\app\src\app_packages\requests\adapters.py", line 711, in send

requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))


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


Traceback (most recent call last):

  File "concurrent\futures\thread.py", line 59, in run

  File "D:\a\anki\anki\out\installer\build\anki\windows\app\src\app_packages\aqt\operations\__init__.py", line 243, in wrapped_op

  File "C:\Users\101\AppData\Roaming\Anki2\addons21\1322529746\gui\errors.py", line 104, in <lambda>
    op=lambda _: _upload_logs(key),
                 ~~~~~~~~~~~~^^^^^

  File "C:\Users\101\AppData\Roaming\Anki2\addons21\1322529746\gui\errors.py", line 579, in _upload_logs
    client.upload_logs(
    ~~~~~~~~~~~~~~~~~~^
        file=log_file_path(),
        ^^^^^^^^^^^^^^^^^^^^^
        key=key,
        ^^^^^^^^
    )
    ^

  File "C:\Users\101\AppData\Roaming\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 "C:\Users\101\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 283, in _send_request
    return self._send_request_with_retry(
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        prepped,
        ^^^^^^^^
    ...<2 lines>...
        is_long_running=is_long_running,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^

  File "C:\Users\101\AppData\Roaming\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.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))

Sentry link (for developers)

Hello,

This is just a temporary error. Are you experiencing it repeatedly? Please restart Anki and see if the error goes away.

I tried it didnt work sadly.

Do you have a VPN or firewalls running?
Could you try a different internet connection to see if that changes anything?

Also, update your 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.