Skip to content

Roborock: Failed setup, will retry: No devices were able to successfully setup #158818

@Dibins

Description

@Dibins

The problem

Still getting failure to initialize similar to 12.2 and 12.1

What version of Home Assistant Core has the issue?

core-2025.12.3

What was the last working version of Home Assistant Core?

11.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Roborock

Link to integration documentation on our website

https://www.home-assistant.io/integrations/roborock/

Diagnostics information

home-assistant_roborock_2025-12-12T19-49-08.228Z.log

Example YAML snippet

Anything in the logs that might be useful for us?

For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#load_default_certs
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 229, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 215, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 289, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 712, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 683, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 2050, 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/local/lib/python3.13/site-packages/roborock/mqtt/roborock_session.py", line 170, in _run_connection
    async with self._mqtt_client(self._params) as client:
  File "/usr/local/lib/python3.13/contextlib.py", line 214, in __aenter__
    return await anext(self.gen)
  File "/usr/local/lib/python3.13/site-packages/roborock/mqtt/roborock_session.py", line 206, in _mqtt_client
    async with aiomqtt.Client(
  File "/usr/local/lib/python3.13/site-packages/aiomqtt/client.py", line 323, in __init__
    self._client.tls_set(
  File "/usr/local/lib/python3.13/site-packages/paho/mqtt/client.py", line 1295, in tls_set
    context.load_default_certs()

2025-12-12 13:46:01.955 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to set_default_verify_paths with args (<ssl.SSLContext object at 0x7fd618932030>,) in /usr/local/lib/python3.13/ssl.py, line 534: self.set_default_verify_paths() inside the event loop; This is causing stability issues. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#set_default_verify_paths
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 229, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 215, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 289, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 712, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 683, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 2050, 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/local/lib/python3.13/site-packages/roborock/mqtt/roborock_session.py", line 170, in _run_connection
    async with self._mqtt_client(self._params) as client:
  File "/usr/local/lib/python3.13/contextlib.py", line 214, in __aenter__
    return await anext(self.gen)
  File "/usr/local/lib/python3.13/site-packages/roborock/mqtt/roborock_session.py", line 206, in _mqtt_client
    async with aiomqtt.Client(
  File "/usr/local/lib/python3.13/site-packages/aiomqtt/client.py", line 323, in __init__
    self._client.tls_set(
  File "/usr/local/lib/python3.13/site-packages/paho/mqtt/client.py", line 1295, in tls_set
    context.load_default_certs()
  File "/usr/src/homeassistant/homeassistant/util/loop.py", line 201, in protected_loop_func
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.13/ssl.py", line 534, in load_default_certs
    self.set_default_verify_paths()

Additional information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions