Skip to content

Works fine for some days #1042

@nomsw

Description

@nomsw

Describe the issue

After a view days I got this error
Logger: homeassistant.config_entries
Quelle: config_entries.py:762
Erstmals aufgetreten: 19:35:27 (1 Vorkommnis)
Zuletzt protokolliert: 19:35:27

Error setting up entry Worx - nomxxx@xxxde for landroid_cloud
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/pyworxcloud/utils/mqtt.py", line 230, in connect
connect_result = self._connection_future.result()
File "/usr/local/lib/python3.13/concurrent/futures/_base.py", line 456, in result
return self.__get_result()
~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
awscrt.exceptions.AwsCrtError: AWS_ERROR_MQTT_UNEXPECTED_HANGUP: The connection was closed unexpectedly.

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

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 762, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/landroid_cloud/init.py", line 40, in async_setup_entry
result = await _async_setup(hass, entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/landroid_cloud/init.py", line 135, in _async_setup
await hass.async_add_executor_job(cloud.connect)
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.13/site-packages/pyworxcloud/init.py", line 282, in connect
self.mqtt.connect()
~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/pyworxcloud/utils/mqtt.py", line 249, in connect
raise NoConnectionError() from exc
pyworxcloud.exceptions.NoConnectionError

What version of Home Assistant Core has the issue?

2026.1.3

What was the last working version of Home Assistant Core?

No response

What version of the Landroid Cloud integration do you have installed

6.0.0

What type of installation are you running?

Home Assistant Container

Which make and model is the mower used for this integration?

Wr167e

Diagnostics information (NOT log entries!)

home-assistant_landroid_cloud_2026-01-26T18-35-31.400Z.log

Relevant log entries

Logger: pyworxcloud.MQTT
Quelle: /usr/local/lib/python3.13/site-packages/pyworxcloud/utils/mqtt.py:248
Erstmals aufgetreten: 19:35:27 (1 Vorkommnis)
Zuletzt protokolliert: 19:35:27

Failed to connect to MQTT: AWS_ERROR_MQTT_UNEXPECTED_HANGUP: The connection was closed unexpectedly.





Logger: homeassistant.config_entries
Quelle: config_entries.py:762
Erstmals aufgetreten: 19:35:27 (1 Vorkommnis)
Zuletzt protokolliert: 19:35:27

Error setting up entry Worx - nomsw@gmx.de for landroid_cloud
Traceback (most recent call last):
  File "/usr/local/lib/python3.13/site-packages/pyworxcloud/utils/mqtt.py", line 230, in connect
    connect_result = self._connection_future.result()
  File "/usr/local/lib/python3.13/concurrent/futures/_base.py", line 456, in result
    return self.__get_result()
           ~~~~~~~~~~~~~~~~~^^
  File "/usr/local/lib/python3.13/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
awscrt.exceptions.AwsCrtError: AWS_ERROR_MQTT_UNEXPECTED_HANGUP: The connection was closed unexpectedly.

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

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 762, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/__init__.py", line 40, in async_setup_entry
    result = await _async_setup(hass, entry)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/__init__.py", line 135, in _async_setup
    await hass.async_add_executor_job(cloud.connect)
  File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.13/site-packages/pyworxcloud/__init__.py", line 282, in connect
    self.mqtt.connect()
    ~~~~~~~~~~~~~~~~~^^
  File "/usr/local/lib/python3.13/site-packages/pyworxcloud/utils/mqtt.py", line 249, in connect
    raise NoConnectionError() from exc
pyworxcloud.exceptions.NoConnectionError

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglegacyLegacy issue tracked before major refactor

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions