-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
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
Backup download failing after 5 minutes #134715
Comments
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) backup documentation |
Hey there @home-assistant/cloud, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) cloud documentation |
The default timeout of 5 minutes needs to be increased here: core/homeassistant/components/cloud/backup.py Line 141 in a2c2d37
Side note: The whole call should move to the client library in the future. |
As a workaround, you can download it from https://account.nabucasa.com/ |
The problem
Hello and thank you so much for this amazing backup feature! I really enjoy the simplicity and the default encryption. I directly configured it to store 7 days of backups automatically on my NAS via CIFS and additionally to Home Assistant cloud.
Unfortunately there seems to be an issue when I am trying to download the saved archive from the cloud. I get a link like this:
http://homeassistant.instance.local/api/backup/download/xxxxxxx?agent_id=cloud.cloud&authSig=XXXXXXXXXXXXXX
The downloads starts as well. But after exactly 5 minutes the download stops and I only receive a 401 Unauthorized when trying to resume. I guess this is because the token is being invalidated.
I guess the download itself receives the same unauthorized error. Unfortunately my Vivaldi only describes it as a network error.
The download would normally take roughly ~8 minutes because it's 4.5GB big and I am downloading with 10MB/s.
I guess the authentication token is being invalidated too early and I can't finish the download. Would be great if you could fix that.
Btw the download worked when retrieving it from the NAS. But as this can go with 120MB/s it's finishes before this 5 minutes timeout.
What version of Home Assistant Core has the issue?
core-2025.1.0
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
backup
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: