-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Hello,
I am using a custom S3 endpoint to back up HA with this integration, and it works, but I regularly see this error in the logs:
2026-02-24 12:25:48.508 ERROR (MainThread) [homeassistant.components.backup] Unexpected error for bauergroup_s3compatiblebackup.01KHW6PW2EXG8NTQGNKXHXKHA4: Task <Task pending name='Task-127381' coro=<S3CompatibleBackupAgent.async_list_backups() running at /config/custom_components/bauergroup_s3compatiblebackup/backup.py:50> cb=[gather.<locals>._done_callback() at /usr/local/lib/python3.13/asyncio/tasks.py:820]> got Future <Future pending> attached to a different loop
Traceback (most recent call last):
File "/config/custom_components/bauergroup_s3compatiblebackup/backup.py", line 50, in wrapper
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/bauergroup_s3compatiblebackup/backup.py", line 317, in async_list_backups
backups = await self._list_backups()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/bauergroup_s3compatiblebackup/backup.py", line 369, in _list_backups
metadata_content = await metadata_response["Body"].read()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiobotocore/response.py", line 56, in read
chunk = await self.__wrapped__.content.read(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
amt if amt is not None else -1
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/aiohttp/streams.py", line 442, in read
block = await self.readany()
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/streams.py", line 464, in readany
await self._wait("readany")
File "/usr/local/lib/python3.13/site-packages/aiohttp/streams.py", line 371, in _wait
await waiter
RuntimeError: Task <Task pending name='Task-127381' coro=<S3CompatibleBackupAgent.async_list_backups() running at /config/custom_components/bauergroup_s3compatiblebackup/backup.py:50> cb=[gather.<locals>._done_callback() at /usr/local/lib/python3.13/asyncio/tasks.py:820]> got Future <Future pending> attached to a different loop
It is also reported in the interface:

However, the backup is completed successfully and uploaded to the custom S3.
We can also see that the backup was processed around 5 a.m. and that the errors in the log are at 12:25 p.m. (there may have been some between 5 a.m. and 12 p.m., but I don't know).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels