Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed download #158

Open
idscomm opened this issue Jul 17, 2024 · 2 comments
Open

Failed download #158

idscomm opened this issue Jul 17, 2024 · 2 comments

Comments

@idscomm
Copy link

idscomm commented Jul 17, 2024

  • Unifi Protect Backup version: Latest
  • Unifi Protect version: 4.0.33
  • Python version: From Latest Docker (ghcr.io/ep1cman/unifi-protect-backup:latest)
  • Operating System: Unraid Docker
  • Are you using a docker container or native?: Docker

Description

Looking at the videos, I noticed that some event were missing from my OneDrive.

What I Did

I restarted the container and looked at the log. I once in a while see this error:

2024-07-16 22:06:08 [ WARNING ] unifi_protect_backup.downloader : [668eb1ba037e5b03e400c089] Failed download attempt 4, retying in 1s
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/unifi_protect_backup/downloader.py", line 184, in _download
video = await self._protect.get_camera_video(event.camera_id, event.start, event.end)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/pyunifiprotect/api.py", line 1411, in get_camera_video
return await self.export_camera_video(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/pyunifiprotect/api.py", line 1333, in export_camera_video
return await self.api_request_raw(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/pyunifiprotect/api.py", line 239, in api_request_raw
response = await self._os.request(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/pyunifiprotect/session.py", line 378, in request
response = await req_context.aenter() # noqa: PLC2801
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/aiohttp/client.py", line 1197, in aenter
self._resp = await self._coro
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/aiohttp/client.py", line 608, in _request
await resp.start(conn)
File "/usr/lib/python3.12/site-packages/aiohttp/client_reqrep.py", line 971, in start
with self._timer:
File "/usr/lib/python3.12/site-packages/aiohttp/helpers.py", line 735, in exit
raise asyncio.TimeoutError from None
TimeoutError

I have no clue what this means, any help would be appreciated.

Thank you!

@nkiest
Copy link

nkiest commented Jul 30, 2024

I’m having the exact same problem, same errors.

@ep1cman
Copy link
Owner

ep1cman commented Jul 30, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants