Open ffm777 opened 1 year ago
Its unfortunate to see this, I'd hoped I had resolved it in #808 as none of the users seeing it had reported back, its has been a persistent problem for some for a long time and seems to go away and come back randomly.
Do you have any additional information? Some thing that might help:
Unfortunately, I can not recall 100% when the problems started. I have used the add-on for years without any problems. It stopped working some weeks ago. I have the gut feeling that it started once I moved the backups onto my NAS. So basically when HA introduced the option to store backups on the NAS, I immediately implemented it. Since then the add-on was not working anymore. But I can't tell for sure whether it worked in the weeks before. But it could be that it was introduced back then.
It does not go away when restarting the add-on and also not when rebooting the machine. I have already tried these solutions. I have also checked that it is not a problem with my Pi-Hole. That was one of the things I thought could be the culprit. But it wasn't.
I have the same problem. I've seen this message coming and going during the last months, but now the newest successfully uploaded backup is from 19.8.2023. Also, I am using a NFS share as backup location since it was introduced in homeassistant, but I'm not too confident to blame it on that either...
HomeAssistant runs in a VM on a Proxmox Host. Restart of the VM and the host itself did not help. Manual sync fails too.
Addon version: 0.111.1
Home Assistant Version: 2023.8.2
Supervisor Version: 2023.08.1
Supervisor Channel: stable
Hassos Version: 10.2
Docker Version: 23.0.6
Architecture: amd64
Machine: qemux86-64
Date: 2023-09-04T17:51:04.854232+00:00
Timezone: Europe/Vienna
Failure Time: 2023-09-04T17:32:09.232249+00:00
Last Good Sync: 2023-09-04T17:31:46.610296+00:00
Next Sync: 2023-09-04T19:32:09.232249+00:00
Next Backup: 2023-09-05T02:00:00+00:00
Next Cache Warm: 2023-09-04T19:20:57.138493+00:00
Time Offset: 0.0
addon/backup/creds/driverequester.py:29 (request)
addon/backup/tracing_session.py:39 (_request)
/site-packages/aiohttp/client.py:560 (_request)
/site-packages/aiohttp/client_reqrep.py:899 (start)
/site-packages/aiohttp/streams.py:616 (read)
aiohttp.client_exceptions.ClientOSError: [Errno 1] [SSL: SSLV3_ALERT_BAD_RECORD_MAC] sslv3 alert bad record mac (_ssl.c:2576)
Whose handling caused:
addon/backup/model/coordinator.py:198 (_sync)
addon/backup/model/model.py:250 (sync)
addon/backup/drive/drivesource.py:202 (save)
addon/backup/drive/driverequests.py:300 (create)
addon/backup/drive/driverequests.py:372 (retryRequest)
addon/backup/creds/driverequester.py:68 (request)
backup.exceptions.exceptions.GoogleUnexpectedError
Backups:
{
"HomeAssistant": {
"backups": 8,
"retained": 0,
"deletable": 8,
"name": "HomeAssistant",
"title": "Home Assistant",
"latest": "2023-09-04T03:18:12Z",
"max": 8,
"enabled": true,
"icon": "home-assistant",
"ignored": 10,
"detail": "",
"size": "7.5 GB",
"ignored_size": "1.1 GB"
},
"GoogleDrive": {
"backups": 8,
"retained": 0,
"deletable": 8,
"name": "GoogleDrive",
"title": "Google Drive",
"latest": "2023-08-19T02:00:00Z",
"max": 8,
"enabled": true,
"icon": "google-drive",
"ignored": 0,
"detail": "redacted",
"size": "7.6 GB",
"ignored_size": "0.0 B",
"free_space": "45.8 GB"
}
}
{
"Setting.MAX_BACKUPS_IN_HA": 8,
"Setting.MAX_BACKUPS_IN_GOOGLE_DRIVE": 8,
"Setting.DAYS_BETWEEN_BACKUPS": 1.0,
"Setting.BACKUP_TIME_OF_DAY": "04:00",
"Setting.BACKUP_PASSWORD": "REDACTED",
"Setting.GENERATIONAL_DAYS": 2,
"Setting.GENERATIONAL_WEEKS": 3,
"Setting.GENERATIONAL_MONTHS": 3
}
09-04 17:30:47 DEBUG [backup.model.syncer] Sync requested by Coordinator
09-04 17:30:47 INFO [backup.model.coordinator] Syncing Backups
09-04 17:30:48 INFO [backup.drive.drivesource] Uploading 'Full Backup 2023-09-04 05:18:12' to Google Drive
09-04 17:30:48 DEBUG [backup.drive.driverequests] Attempting to resume a previously failed upload where we left off
09-04 17:30:49 DEBUG [backup.drive.driverequests] Resuming upload at byte 235143168 of 861399040
09-04 17:30:49 DEBUG [backup.drive.driverequests] Sending 262144 bytes to Google Drive
09-04 17:30:49 DEBUG [backup.drive.drivesource] Uploading Full Backup 2023-09-04 05:18:12 27.33%
09-04 17:30:49 DEBUG [backup.drive.driverequests] Sending 8388608 bytes to Google Drive
09-04 17:30:56 DEBUG [backup.drive.drivesource] Uploading Full Backup 2023-09-04 05:18:12 28.30%
09-04 17:30:56 DEBUG [backup.drive.driverequests] Sending 10485760 bytes to Google Drive
09-04 17:31:05 DEBUG [backup.drive.drivesource] Uploading Full Backup 2023-09-04 05:18:12 29.52%
09-04 17:31:05 DEBUG [backup.drive.driverequests] Sending 10485760 bytes to Google Drive
09-04 17:31:14 DEBUG [backup.drive.drivesource] Uploading Full Backup 2023-09-04 05:18:12 30.74%
09-04 17:31:14 DEBUG [backup.drive.driverequests] Sending 10485760 bytes to Google Drive
09-04 17:31:46 ERROR [backup.model.coordinator] Google gave an unexpected response
09-04 17:31:46 INFO [backup.model.coordinator] I'll try again in 2 hours
09-04 18:18:05 INFO [backup.watcher] A backup directory file was modified, we'll check for new backups soon.
09-04 18:18:15 DEBUG [backup.watcher] Checking backup source for changes...
09-04 19:28:00 DEBUG [backup.model.destinationprecache] Preemptively retrieving and caching info from the backup destination to avoid peak demand
09-04 19:28:00 DEBUG [backup.drive.driverequests] Requesting refreshed Google Drive credentials
09-04 19:31:46 DEBUG [backup.model.syncer] Sync requested by Coordinator
09-04 19:31:46 INFO [backup.model.coordinator] Syncing Backups
09-04 19:31:46 INFO [backup.drive.drivesource] Uploading 'Full Backup 2023-09-04 05:18:12' to Google Drive
09-04 19:31:46 DEBUG [backup.drive.driverequests] Attempting to resume a previously failed upload where we left off
09-04 19:31:46 DEBUG [backup.drive.driverequests] Resuming upload at byte 271581184 of 861399040
09-04 19:31:46 DEBUG [backup.drive.driverequests] Sending 262144 bytes to Google Drive
09-04 19:31:47 DEBUG [backup.drive.drivesource] Uploading Full Backup 2023-09-04 05:18:12 31.56%
09-04 19:31:47 DEBUG [backup.drive.driverequests] Sending 7864320 bytes to Google Drive
09-04 19:32:09 ERROR [backup.model.coordinator] Google gave an unexpected response
09-04 19:32:09 INFO [backup.model.coordinator] I'll try again in 2 hours
Wow, yesterdays update has been uploades successfully again. Error message still showing in the addon.
I noticed a few months ago that daily backups were uploaded successfully again. I don't know if any addon update resolved a bug or if the problem was on the server side (Google), but the upload works consistently right now. @ffm777, can you confirm?
Description:
Addon version:
0.111.1
Home Assistant Version:2023.7.2
Supervisor Version:2023.07.1
Supervisor Channel:stable
Hassos Version:10.3
Docker Version:23.0.6
Architecture:amd64
Machine:qemux86-64
Date:2023-07-16T18:27:33.222688+00:00
Timezone:Europe/Berlin
Failure Time:2023-07-16T18:27:13.003287+00:00
Last Good Sync:2023-07-16T18:26:37.495050+00:00
Next Sync:2023-07-16T20:27:13.003287+00:00
Next Backup:2023-07-19T08:58:13.682707+00:00
Next Cache Warm:2023-07-16T20:20:12.493446+00:00
Time Offset:0.0
Exception:
Backups:
Config:
Addon Logs:
Supervisor Logs:
Home Assistant Core Logs: