Skip to content

❓ [Question]: Intermittent upload timeout error during backup process #23

@HolgerM1

Description

@HolgerM1

Contact details ☎️

No response
Any idea about timeout issue on backup🤔

Hi,
I have a Problem with timeout issues. The Problem is not constant. Saturday and Sunday the backup finished without Problems. Today I had (again) the following failure:

Logger: custom_components.pcloud_backup.api
Quelle: custom_components/pcloud_backup/api.py:656
Integration: pCloud Backup (Dokumentation, Probleme)
Erstmals aufgetreten: 06:22:23 (1 Vorkommnis)
Zuletzt protokolliert: 06:22:23

Upload timeout for Automatic_backup_2026.2.3_2026-03-02_04.53_36004187.tar:

Logger: custom_components.pcloud_backup.api
Quelle: custom_components/pcloud_backup/api.py:660
Integration: pCloud Backup (Dokumentation, Probleme)
Erstmals aufgetreten: 06:22:23 (1 Vorkommnis)
Zuletzt protokolliert: 06:22:23

FIFO upload failed for Automatic_backup_2026.2.3_2026-03-02_04.53_36004187.tar. Diagnostics: fifo_path=/tmp/>tmp2eu_c77y.tar.fifo, bytes_written=44206559232, chunk_count=168640, write_error=None, error=Upload timeout >for Automatic_backup_2026.2.3_2026-03-02_04.53_36004187.tar
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 539, in start
message, payload = await protocol.read() # type: ignore[union-attr]
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/streams.py", line 703, in read
await self._waiter
asyncio.exceptions.CancelledError

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

Traceback (most recent call last):
File "/config/custom_components/pcloud_backup/api.py", line 632, in _async_upload_via_fifo
async with session.post(
~~~~~~~~~~~~^
url, params=params, data=writer, headers=headers, timeout=UPLOAD_TIMEOUT
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
) as response:
^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 1510, in aenter
self._resp: _RetType = await self._coro
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 779, in _request
resp = await handler(req)
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client_middlewares.py", line 36, in single_middleware_handler
return await middleware(req, handler)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/aiohttp_client.py", line 72, in _ssrf_redirect_middleware
resp = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 757, in _connect_and_send_request
await resp.start(conn)
File "/usr/local/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 534, in start
with self._timer:
^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/helpers.py", line 713, in exit
raise asyncio.TimeoutError from exc_val
TimeoutError

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

Traceback (most recent call last):
File "/config/custom_components/pcloud_backup/api.py", line 660, in _async_upload_via_fifo
raise PCloudAPIError(f"Upload timeout for {filename}") from err
custom_components.pcloud_backup.api.PCloudAPIError: Upload timeout for >Automatic_backup_2026.2.3_2026-03-02_04.53_36004187.tar

Any ideas on that?
I appreciate any help!
Thanks!

Context 🧩

I set up a standard backup scheme with retaining 3 backups on a local share (NAS via SMB), and three at Pcloud. Installation of Pcloud worked flawless, and connection to Pcloud seems to work.

What have you tried? 🛠️

Reboot Homeassistant.

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions