Idk what it is

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

Error message (don't change this)
Anki 26.08.1 (39e4b0b4) (ao)
Python 3.13.13 Qt 6.11.0 PyQt 6.11.0
Platform: Windows-11-10.0.26200-SP0

Traceback (most recent call last):

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

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

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

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

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


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

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

  File "C:\Users\DELL\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 346, 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\DELL\AppData\Roaming\Anki2\addons21\1322529746\gui\errors.py", line 104, in <lambda>
    op=lambda _: _upload_logs(key),
                 ~~~~~~~~~~~~^^^^^

  File "C:\Users\DELL\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\DELL\AppData\Roaming\Anki2\addons21\1322529746\addon_ankihub_client.py", line 97, in upload_logs
    s3_url_suffix = self._presigned_url_suffix_from_key(key=key, action="upload")

  File "C:\Users\DELL\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 1072, in _presigned_url_suffix_from_key
    response = self._send_request(
        "GET",
    ...<2 lines>...
        params={"key": key, "type": action, "many": "false"},
    )

  File "C:\Users\DELL\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 312, in _send_request
    return self._send_request_with_retry(
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        prepped,
        ^^^^^^^^
    ...<2 lines>...
        is_long_running=is_long_running,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^

  File "C:\Users\DELL\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 355, 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)

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

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