Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken in 2025.1 #30

Open
FlyAndy123 opened this issue Jan 5, 2025 · 2 comments
Open

Broken in 2025.1 #30

FlyAndy123 opened this issue Jan 5, 2025 · 2 comments

Comments

@FlyAndy123
Copy link

The integration has been working really well up until I upgraded to HA 2025.1 yesterday. Now it seems to be unable connect. It loads and doesn't throw any errors. I even deleted and reinstalled it without any improvement. Any help would be appreciated!

@andrewleech
Copy link
Owner

I'm surprised it's been working well for you at all, it's been quite broken for me for some time.

As much as I really want to get it working again I just haven't had any time to work on it.

@roelfdiedericks
Copy link

This is the output post 2025.1 upgrade.

2025-01-06 19:30:20.091 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open with args ('/usr/local/lib/python3.13/site-packages/botocore/data/cognito-idp/2016-04-18/service-2.json.gz', 'rb') inside the event loop by custom integration 'magiqtouch' at custom_components/magiqtouch/vendor/mandate/aws_srp.py, line 232: async with boto_client as client: (offender: /usr/local/lib/python3.13/gzip.py, line 194: fileobj = self.myfileobj = builtins.open(filename, mode or 'rb')), please create a bug report at https://gitlab.com/alelec/ha_magiqtouch/-/issues
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#open
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 227, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 213, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 154, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 707, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 678, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 2033, in _run_once
    handle._run()
  File "/usr/local/lib/python3.13/asyncio/events.py", line 89, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/setup.py", line 165, in async_setup_component
    result = await _async_setup_component(hass, domain, config)
  File "/usr/src/homeassistant/homeassistant/setup.py", line 461, in _async_setup_component
    await asyncio.gather(
  File "/usr/src/homeassistant/homeassistant/setup.py", line 463, in <genexpr>
    create_eager_task(
  File "/usr/src/homeassistant/homeassistant/util/async_.py", line 45, in create_eager_task
    return Task(coro, loop=loop, name=name, eager_start=True)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 788, in async_setup_locked
    await self.async_setup(hass, integration=integration)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 551, in async_setup
    await self.__async_setup_with_context(hass, integration)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 640, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/magiqtouch/__init__.py", line 64, in async_setup_entry
    await driver.login(hass)
  File "/config/custom_components/magiqtouch/magiqtouch.py", line 135, in login
    await self._cognito.authenticate(self._password)
  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:

2025-01-06 19:30:21.665 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to load_verify_locations with args (<ssl.SSLContext object at 0x7fb1cbc30050>, '/usr/local/lib/python3.13/site-packages/certifi/cacert.pem', None, None) inside the event loop by custom integration 'magiqtouch' at custom_components/magiqtouch/vendor/mandate/aws_srp.py, line 233: response = await client.initiate_auth( (offender: /usr/local/lib/python3.13/site-packages/aiobotocore/httpsession.py, line 165: ssl_context.load_verify_locations(ca_certs, None, None)), please create a bug report at https://gitlab.com/alelec/ha_magiqtouch/-/issues
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#load_verify_locations
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 227, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 213, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 154, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 707, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 678, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 2033, in _run_once
    handle._run()
  File "/usr/local/lib/python3.13/asyncio/events.py", line 89, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/setup.py", line 165, in async_setup_component
    result = await _async_setup_component(hass, domain, config)
  File "/usr/src/homeassistant/homeassistant/setup.py", line 461, in _async_setup_component
    await asyncio.gather(
  File "/usr/src/homeassistant/homeassistant/setup.py", line 463, in <genexpr>
    create_eager_task(
  File "/usr/src/homeassistant/homeassistant/util/async_.py", line 45, in create_eager_task
    return Task(coro, loop=loop, name=name, eager_start=True)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 788, in async_setup_locked
    await self.async_setup(hass, integration=integration)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 551, in async_setup
    await self.__async_setup_with_context(hass, integration)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 640, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/magiqtouch/__init__.py", line 64, in async_setup_entry
    await driver.login(hass)
  File "/config/custom_components/magiqtouch/magiqtouch.py", line 135, in login
    await self._cognito.authenticate(self._password)
  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 233, in authenticate_user
    response = await client.initiate_auth(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants