Skip to content

Integration error - Error doing job: Task exception was never retrieved (task: None) #45

@stuffandthat

Description

@stuffandthat

@andrewleech It looks like the integration is playing up again. It was working after the latest HA update, but after a restart it's gone back to the controls being unavailable, but the temp sensor enitites are fine.
When pressing the cog settings button in the integration I get: "Config flow could not be loaded: 500 internal server error server got itself in trouble"
Someone on reddit suggested "Looks like a compatibility issue with the boto client library and Python 3.14"

Here's my log to check out.

This error originated from a custom integration.

Logger: homeassistant
Source: custom_components/magiqtouch/vendor/mandate/aws_srp.py:232
integration: Seeley MagIQtouch (documentation, issues)
First occurred: 08:37:51 (4 occurrences)
Last logged: 08:40:51

Error doing job: Task exception was never retrieved (task: None)
Traceback (most recent call last):
  File "/config/custom_components/magiqtouch/magiqtouch.py", line 367, in full_refresh
    await self.startup()
  File "/config/custom_components/magiqtouch/magiqtouch.py", line 128, in startup
    await self.login()
  File "/config/custom_components/magiqtouch/magiqtouch.py", line 151, in login
    await asyncio.to_thread(asyncio.run, self._cognito.authenticate(self._password))
  File "/usr/local/lib/python3.14/asyncio/threads.py", line 25, in to_thread
    return await loop.run_in_executor(None, func_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.14/concurrent/futures/thread.py", line 86, in run
    result = ctx.run(self.task)
  File "/usr/local/lib/python3.14/concurrent/futures/thread.py", line 73, in run
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.14/asyncio/runners.py", line 204, in run
    return runner.run(main)
           ~~~~~~~~~~^^^^^^
  File "/usr/local/lib/python3.14/asyncio/runners.py", line 127, in run
    return self._loop.run_until_complete(task)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/usr/local/lib/python3.14/asyncio/base_events.py", line 719, in run_until_complete
    return future.result()
           ~~~~~~~~~~~~~^^
  File "/config/custom_components/magiqtouch/vendor/mandate/client.py", line 277, in authenticate
    tokens = await aws.authenticate_user()
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/magiqtouch/vendor/mandate/aws_srp.py", line 232, in authenticate_user
    async with boto_client as client:
               ^^^^^^^^^^^
  File "/usr/local/lib/python3.14/site-packages/aiobotocore/session.py", line 25, in __aenter__
    self._client = await self._coro
                   ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.14/site-packages/aiobotocore/session.py", line 228, in _create_client
    client = await client_creator.create_client(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<10 lines>...
    )
    ^
  File "/usr/local/lib/python3.14/site-packages/aiobotocore/client.py", line 82, in create_client
    client_args = self._get_client_args(
        service_model,
    ...<10 lines>...
        partition_data,
    )
  File "/usr/local/lib/python3.14/site-packages/aiobotocore/client.py", line 291, in _get_client_args
    return args_creator.get_client_args(
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        service_model,
        ^^^^^^^^^^^^^^
    ...<10 lines>...
        partition_data,
        ^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/local/lib/python3.14/site-packages/aiobotocore/args.py", line 99, in get_client_args
    ruleset_resolver = self._build_endpoint_resolver(
        endpoints_ruleset_data,
    ...<11 lines>...
        account_id_endpoint_mode,
    )
  File "/usr/local/lib/python3.14/site-packages/aiobotocore/args.py", line 169, in _build_endpoint_resolver
    resolver_builtins = self.compute_endpoint_resolver_builtin_defaults(
        region_name=eprv2_region_name,
    ...<6 lines>...
        account_id_endpoint_mode=account_id_endpoint_mode,
    )
TypeError: ClientArgsCreator.compute_endpoint_resolver_builtin_defaults() missing 1 required positional argument: 's3_disable_express_session_auth'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions