Error

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

Error message (don't change this)
Anki 25.09.2 (3890e12c) (ao)
Python 3.13.5 Qt 6.9.1 PyQt 6.9.1
Platform: macOS-15.6.1-arm64-arm-64bit-Mach-O

Traceback (most recent call last):

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

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

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

  File "/Users/oleksandra/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 0x13e44eb50 state=finished raised SSLError>]


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "/Users/oleksandra/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 280, in _send_request_with_retry
    response = last_attempt.result()

  File "/Users/oleksandra/Library/Application Support/AnkiProgramFiles/python/cpython-3.13.5-macos-aarch64-none/lib/python3.13/concurrent/futures/_base.py", line 449, in result
    return self.__get_result()
           ~~~~~~~~~~~~~~~~~^^

  File "/Users/oleksandra/Library/Application Support/AnkiProgramFiles/python/cpython-3.13.5-macos-aarch64-none/lib/python3.13/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception

  File "/Users/oleksandra/Library/Application Support/Anki2/addons21/1322529746/lib/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)

  File "/Users/oleksandra/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 273, in send_with_retry
    return self.thread_local_session.get().send(request, stream=stream, timeout=timeout)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Users/oleksandra/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)

  File "/Users/oleksandra/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/requests/adapters.py", line 698, in send
    raise SSLError(e, request=request)

requests.exceptions.SSLError: HTTPSConnectionPool(host='ankihub.s3.amazonaws.com', port=443): Max retries exceeded with url: /ankihub_addon_logs_alech1999_1758145685.log?AWSAccessKeyId=AKIASSGURO7AU2A7QZOX&Signature=ceU%2B126Gh0dM%2Btxih4V2XoNKLCA%3D&Expires=1758145868 (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1028)')))


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


Traceback (most recent call last):

  File "/Users/oleksandra/Library/Application Support/AnkiProgramFiles/python/cpython-3.13.5-macos-aarch64-none/lib/python3.13/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)

  File "/Users/oleksandra/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/operations/__init__.py", line 243, in wrapped_op
    return self._op(mw.col)
           ~~~~~~~~^^^^^^^^

  File "/Users/oleksandra/Library/Application Support/Anki2/addons21/1322529746/gui/errors.py", line 104, in <lambda>
    op=lambda _: _upload_logs(key),
                 ~~~~~~~~~~~~^^^^^

  File "/Users/oleksandra/Library/Application Support/Anki2/addons21/1322529746/gui/errors.py", line 578, in _upload_logs
    client.upload_logs(
    ~~~~~~~~~~~~~~~~~~^
        file=log_file_path(),
        ^^^^^^^^^^^^^^^^^^^^^
        key=key,
        ^^^^^^^^
    )
    ^

  File "/Users/oleksandra/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/oleksandra/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 239, in _send_request
    return self._send_request_with_retry(
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        prepped,
        ^^^^^^^^
    ...<2 lines>...
        is_long_running=is_long_running,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^

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

1322529746.ankihub_client.ankihub_client.AnkiHubRequestException: AnkiHub request exception: HTTPSConnectionPool(host='ankihub.s3.amazonaws.com', port=443): Max retries exceeded with url: /ankihub_addon_logs_alech1999_1758145685.log?AWSAccessKeyId=AKIASSGURO7AU2A7QZOX&Signature=ceU%2B126Gh0dM%2Btxih4V2XoNKLCA%3D&Expires=1758145868 (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1028)')))

Sentry link (for developers)

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

Error message (don't change this)
Anki 25.09.2 (3890e12c) (ao)
Python 3.13.5 Qt 6.9.1 PyQt 6.9.1
Platform: macOS-15.6.1-arm64-arm-64bit-Mach-O

Traceback (most recent call last):

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

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

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

  File "/Users/oleksandra/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 0x12615ff50 state=finished raised SSLError>]


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "/Users/oleksandra/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 280, in _send_request_with_retry
    response = last_attempt.result()

  File "/Users/oleksandra/Library/Application Support/AnkiProgramFiles/python/cpython-3.13.5-macos-aarch64-none/lib/python3.13/concurrent/futures/_base.py", line 449, in result
    return self.__get_result()
           ~~~~~~~~~~~~~~~~~^^

  File "/Users/oleksandra/Library/Application Support/AnkiProgramFiles/python/cpython-3.13.5-macos-aarch64-none/lib/python3.13/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception

  File "/Users/oleksandra/Library/Application Support/Anki2/addons21/1322529746/lib/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)

  File "/Users/oleksandra/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 273, in send_with_retry
    return self.thread_local_session.get().send(request, stream=stream, timeout=timeout)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Users/oleksandra/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)

  File "/Users/oleksandra/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/requests/adapters.py", line 698, in send
    raise SSLError(e, request=request)

requests.exceptions.SSLError: HTTPSConnectionPool(host='ankihub.s3.amazonaws.com', port=443): Max retries exceeded with url: /ankihub_addon_logs_alech1999_1758148063.log?AWSAccessKeyId=AKIASSGURO7AU2A7QZOX&Signature=wGA4KjKAkgAIp7TYK4uCak7MsNQ%3D&Expires=1758148244 (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1028)')))


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


Traceback (most recent call last):

  File "/Users/oleksandra/Library/Application Support/AnkiProgramFiles/python/cpython-3.13.5-macos-aarch64-none/lib/python3.13/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)

  File "/Users/oleksandra/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/operations/__init__.py", line 243, in wrapped_op
    return self._op(mw.col)
           ~~~~~~~~^^^^^^^^

  File "/Users/oleksandra/Library/Application Support/Anki2/addons21/1322529746/gui/errors.py", line 104, in <lambda>
    op=lambda _: _upload_logs(key),
                 ~~~~~~~~~~~~^^^^^

  File "/Users/oleksandra/Library/Application Support/Anki2/addons21/1322529746/gui/errors.py", line 578, in _upload_logs
    client.upload_logs(
    ~~~~~~~~~~~~~~~~~~^
        file=log_file_path(),
        ^^^^^^^^^^^^^^^^^^^^^
        key=key,
        ^^^^^^^^
    )
    ^

  File "/Users/oleksandra/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/oleksandra/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 239, in _send_request
    return self._send_request_with_retry(
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        prepped,
        ^^^^^^^^
    ...<2 lines>...
        is_long_running=is_long_running,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^

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

1322529746.ankihub_client.ankihub_client.AnkiHubRequestException: AnkiHub request exception: HTTPSConnectionPool(host='ankihub.s3.amazonaws.com', port=443): Max retries exceeded with url: /ankihub_addon_logs_alech1999_1758148063.log?AWSAccessKeyId=AKIASSGURO7AU2A7QZOX&Signature=wGA4KjKAkgAIp7TYK4uCak7MsNQ%3D&Expires=1758148244 (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1028)')))

Sentry link (for developers)

This looks like a network/firewall problem. Do you have a different network you can test with to confirm the issue?