Skip to content

Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble #141

@bolqr

Description

@bolqr

I install the add-on and integration. I log without problems to my eufy account but when i press the setting buton it comes with the folllowing error:

(Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble)

This error originated from a custom integration.

Logger: homeassistant
Source: custom_components/robovac/tuyalocaldiscovery.py:54
integration: Eufy Robovac (documentation, issues)
First occurred: 11:42:51 PM (98 occurrences)
Last logged: 11:46:51 PM

Error doing job: Exception in callback _SelectorDatagramTransport._read_ready() (None)
Traceback (most recent call last):
File "/config/custom_components/robovac/tuyalocaldiscovery.py", line 50, in datagram_received
padded_data = decryptor.update(data) + decryptor.finalize()
~~~~~~~~~~~~~~~~~~^^
ValueError: The length of the provided data is not a multiple of the block length.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
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/asyncio/selector_events.py", line 1244, in _read_ready
self._protocol.datagram_received(data, addr)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/config/custom_components/robovac/tuyalocaldiscovery.py", line 54, in datagram_received
data = data.decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x89 in position 0: invalid start byte

Any salution for this error?

this as well show up:

Logger: homeassistant.components.vacuum
Source: helpers/deprecation.py:257
integration: Vacuum (documentation, issues)
First occurred: 11:42:48 PM (10 occurrences)
Last logged: 11:42:48 PM

The deprecated constant STATE_CLEANING was used from robovac. It will be removed in HA Core 2026.1. Use VacuumActivity.CLEANING instead, please report it to the author of the 'robovac' custom integration
The deprecated constant STATE_DOCKED was used from robovac. It will be removed in HA Core 2026.1. Use VacuumActivity.DOCKED instead, please report it to the author of the 'robovac' custom integration
The deprecated constant STATE_ERROR was used from robovac. It will be removed in HA Core 2026.1. Use VacuumActivity.ERROR instead, please report it to the author of the 'robovac' custom integration
The deprecated constant STATE_IDLE was used from robovac. It will be removed in HA Core 2026.1. Use VacuumActivity.IDLE instead, please report it to the author of the 'robovac' custom integration
The deprecated constant STATE_RETURNING was used from robovac. It will be removed in HA Core 2026.1. Use VacuumActivity.RETURNING instead, please report it to the author of the 'robovac' custom integration

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