sabeechen / hassio-google-drive-backup

Automatically create and sync Home Assistant backups into Google Drive
MIT License
3.2k stars 198 forks source link

Google drive Returned an Unexpected Response #1088

Open natanel80 opened 1 month ago

natanel80 commented 1 month ago

Copy the info from the previo

Description:
If you have anything else that could help explain what happened, click "Markdown" above and write it here.

Addon version: 0.112.1 Home Assistant Version: 2024.9.2 Supervisor Version: 2024.09.1 Supervisor Channel: stable Hassos Version: 13.1 Docker Version: 26.1.4 Architecture: amd64 Machine: qemux86-64 Date: 2024-09-23T19:05:02.907158+00:00 Timezone: Asia/Jerusalem Failure Time: 2024-09-23T19:02:33.109059+00:00 Last Good Sync: 2024-09-23T19:02:04.861398+00:00 Next Sync: 2024-09-23T21:02:33.109059+00:00 Next Backup: 2024-09-26T18:00:00.501755+00:00 Next Cache Warm: 2024-09-23T20:55:12.410529+00:00 Time Offset: 0.0

Exception:

  addon/backup/creds/driverequester.py:33 (request)
  addon/backup/tracing_session.py:39 (_request)
  /site-packages/aiohttp/client.py:601 (_request)
  /site-packages/aiohttp/client_reqrep.py:965 (start)
  /site-packages/aiohttp/streams.py:622 (read)
aiohttp.client_exceptions.ClientOSError: [Errno 1] [SSL: SSLV3_ALERT_BAD_RECORD_MAC] sslv3 alert bad record mac (_ssl.c:2580)
Whose handling caused:
  addon/backup/model/coordinator.py:198 (_sync)
  addon/backup/model/model.py:250 (sync)
  addon/backup/drive/drivesource.py:205 (save)
  addon/backup/drive/driverequests.py:316 (create)
  addon/backup/drive/driverequests.py:388 (retryRequest)
  addon/backup/creds/driverequester.py:74 (request)
backup.exceptions.exceptions.GoogleUnexpectedError

Backups:

 {
    "HomeAssistant": {
        "backups": 4,
        "retained": 0,
        "deletable": 4,
        "name": "HomeAssistant",
        "title": "Home Assistant",
        "latest": "2024-09-23T18:00:00Z",
        "max": 4,
        "enabled": true,
        "icon": "home-assistant",
        "ignored": 62,
        "detail": "",
        "size": "4.7 GB",
        "ignored_size": "5.7 GB",
        "free_space": "37.3 GB"
    },
    "GoogleDrive": {
        "backups": 0,
        "retained": 0,
        "deletable": 0,
        "name": "GoogleDrive",
        "title": "Google Drive",
        "latest": null,
        "max": 4,
        "enabled": true,
        "icon": "google-drive",
        "ignored": 0,
        "detail": "@gmail.com",
        "size": "0.0 B",
        "ignored_size": "0.0 B",
        "free_space": "1.6 TB"
    }
}
Config:
 {
    "Setting.SEND_ERROR_REPORTS": true
}
Addon Logs:
 09-23 22:02:06 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
09-23 22:02:06 DEBUG [backup.drive.drivesource] Uploading AutoBackup: Mon, 9:00 PM (23/09/2024) 10.54%
09-23 22:02:07 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
09-23 22:02:08 DEBUG [backup.drive.drivesource] Uploading AutoBackup: Mon, 9:00 PM (23/09/2024) 11.36%
09-23 22:02:08 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
09-23 22:02:09 DEBUG [backup.drive.drivesource] Uploading AutoBackup: Mon, 9:00 PM (23/09/2024) 12.18%
09-23 22:02:09 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
09-23 22:02:10 DEBUG [backup.drive.drivesource] Uploading AutoBackup: Mon, 9:00 PM (23/09/2024) 13.01%
09-23 22:02:10 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
09-23 22:02:11 DEBUG [backup.drive.drivesource] Uploading AutoBackup: Mon, 9:00 PM (23/09/2024) 13.83%
09-23 22:02:11 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
09-23 22:02:12 DEBUG [backup.drive.drivesource] Uploading AutoBackup: Mon, 9:00 PM (23/09/2024) 14.65%
09-23 22:02:12 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
09-23 22:02:13 DEBUG [backup.drive.drivesource] Uploading AutoBackup: Mon, 9:00 PM (23/09/2024) 15.47%
09-23 22:02:13 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
09-23 22:02:14 DEBUG [backup.drive.drivesource] Uploading AutoBackup: Mon, 9:00 PM (23/09/2024) 16.29%
09-23 22:02:14 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
09-23 22:02:15 DEBUG [backup.drive.drivesource] Uploading AutoBackup: Mon, 9:00 PM (23/09/2024) 17.12%
09-23 22:02:15 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
09-23 22:02:16 DEBUG [backup.drive.drivesource] Uploading AutoBackup: Mon, 9:00 PM (23/09/2024) 17.94%
09-23 22:02:16 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
09-23 22:02:17 DEBUG [backup.drive.drivesource] Uploading AutoBackup: Mon, 9:00 PM (23/09/2024) 18.76%
09-23 22:02:17 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
09-23 22:02:18 DEBUG [backup.drive.drivesource] Uploading AutoBackup: Mon, 9:00 PM (23/09/2024) 19.58%
09-23 22:02:18 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
09-23 22:02:19 DEBUG [backup.drive.drivesource] Uploading AutoBackup: Mon, 9:00 PM (23/09/2024) 20.40%
09-23 22:02:19 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
09-23 22:02:33 ERROR [backup.model.coordinator] Google gave an unexpected response
09-23 22:02:33 INFO [backup.model.coordinator] I'll try again in 2 hours
09-23 22:02:33 DEBUG [backup.watcher] Checking backup source for changes...
Supervisor Logs:
 2024-09-23 22:01:09.737 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup
2024-09-23 22:01:09.739 INFO (MainThread) [supervisor.api.middleware.security] /backups access from cebe7a76_hassio_google_drive_backup
2024-09-23 22:01:17.749 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup
2024-09-23 22:01:17.750 INFO (MainThread) [supervisor.api.middleware.security] /backups access from cebe7a76_hassio_google_drive_backup
2024-09-23 22:01:18.439 INFO (MainThread) [supervisor.api.middleware.security] /backups/29172f7f access from cebe7a76_hassio_google_drive_backup
2024-09-23 22:01:18.462 INFO (MainThread) [supervisor.backups.manager] Removed backup file 29172f7f
2024-09-23 22:01:18.465 INFO (MainThread) [supervisor.api.middleware.security] /backups/96092ae1 access from cebe7a76_hassio_google_drive_backup
2024-09-23 22:01:18.502 INFO (MainThread) [supervisor.backups.manager] Removed backup file 96092ae1
2024-09-23 22:01:18.505 INFO (MainThread) [supervisor.api.middleware.security] /backups/f4369d88 access from cebe7a76_hassio_google_drive_backup
2024-09-23 22:01:18.605 INFO (MainThread) [supervisor.backups.manager] Removed backup file f4369d88
2024-09-23 22:01:18.609 INFO (MainThread) [supervisor.api.middleware.security] /backups/f4fb5f9a access from cebe7a76_hassio_google_drive_backup
2024-09-23 22:01:18.645 INFO (MainThread) [supervisor.backups.manager] Removed backup file f4fb5f9a
2024-09-23 22:01:18.648 INFO (MainThread) [supervisor.api.middleware.security] /backups/380ed3b4 access from cebe7a76_hassio_google_drive_backup
2024-09-23 22:01:18.679 INFO (MainThread) [supervisor.backups.manager] Removed backup file 380ed3b4
2024-09-23 22:01:18.682 INFO (MainThread) [supervisor.api.middleware.security] /backups/8ba988e6 access from cebe7a76_hassio_google_drive_backup
2024-09-23 22:01:18.702 INFO (MainThread) [supervisor.backups.manager] Removed backup file 8ba988e6
2024-09-23 22:01:18.705 INFO (MainThread) [supervisor.api.middleware.security] /backups/d3b343c0/download access from cebe7a76_hassio_google_drive_backup
2024-09-23 22:01:18.705 INFO (MainThread) [supervisor.api.backups] Downloading backup d3b343c0
2024-09-23 22:01:28.819 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup
2024-09-23 22:01:28.821 INFO (MainThread) [supervisor.api.middleware.security] /backups access from cebe7a76_hassio_google_drive_backup
2024-09-23 22:02:04.862 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup
2024-09-23 22:02:04.863 INFO (MainThread) [supervisor.api.middleware.security] /backups access from cebe7a76_hassio_google_drive_backup
2024-09-23 22:02:05.713 INFO (MainThread) [supervisor.api.middleware.security] /backups/d3b343c0/download access from cebe7a76_hassio_google_drive_backup
2024-09-23 22:02:05.713 INFO (MainThread) [supervisor.api.backups] Downloading backup d3b343c0
2024-09-23 22:02:05.790 INFO (MainThread) [supervisor.api.middleware.security] /backups/d3b343c0/download access from cebe7a76_hassio_google_drive_backup
2024-09-23 22:02:05.790 INFO (MainThread) [supervisor.api.backups] Downloading backup d3b343c0
2024-09-23 22:02:33.613 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup
2024-09-23 22:02:33.615 INFO (MainThread) [supervisor.api.middleware.security] /backups access from cebe7a76_hassio_google_drive_backup
2024-09-23 22:05:02.909 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/logs access from cebe7a76_hassio_google_drive_backup
Home Assistant Core Logs:
 _$AI (src/async-directive.ts:366:18)
setValue (src/virtualize.ts:139:13)
dispatchEvent (src/Virtualizer.ts:816:23)
2024-09-23 21:44:28.937 WARNING (Thread-10) [pychromecast.socket_client] [Shelter speaker(192.168.100.143):8009] Heartbeat timeout, resetting connection
2024-09-23 21:44:29.467 WARNING (Thread-9) [pychromecast.socket_client] [Living room Display(192.168.100.126):8009] Heartbeat timeout, resetting connection
2024-09-23 21:52:35.176 WARNING (Thread-9) [pychromecast.socket_client] [Living room Display(192.168.100.126):8009] Heartbeat timeout, resetting connection
2024-09-23 21:52:38.071 ERROR (Thread-10) [pychromecast.socket_client] [Shelter speaker(192.168.100.143):8009] Error reading from socket.
2024-09-23 21:52:38.071 WARNING (Thread-10) [pychromecast.socket_client] [Shelter speaker(192.168.100.143):8009] Error communicating with socket, resetting connection
2024-09-23 21:54:05.830 WARNING (Thread-9) [pychromecast.socket_client] [Living room Display(192.168.100.126):8009] Heartbeat timeout, resetting connection
2024-09-23 21:54:06.862 ERROR (Thread-10) [pychromecast.socket_client] [Shelter speaker(192.168.100.143):8009] Error reading from socket.
2024-09-23 21:54:06.862 WARNING (Thread-10) [pychromecast.socket_client] [Shelter speaker(192.168.100.143):8009] Error communicating with socket, resetting connection
2024-09-23 21:57:38.098 ERROR (Thread-10) [pychromecast.socket_client] [Shelter speaker(192.168.100.143):8009] Error reading from socket.
2024-09-23 21:57:38.099 WARNING (Thread-10) [pychromecast.socket_client] [Shelter speaker(192.168.100.143):8009] Error communicating with socket, resetting connection
2024-09-23 21:57:38.472 WARNING (Thread-9) [pychromecast.socket_client] [Living room Display(192.168.100.126):8009] Heartbeat timeout, resetting connection
2024-09-23 21:57:41.201 WARNING (Thread-8) [pychromecast.socket_client] [Bedroom clock(192.168.100.108):8009] Heartbeat timeout, resetting connection
2024-09-23 21:57:58.623 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.air_con_work_room is taking over 10 seconds
2024-09-23 21:57:58.683 WARNING (Thread-9) [pychromecast.socket_client] [Living room Display(192.168.100.126):8009] Heartbeat timeout, resetting connection
2024-09-23 21:57:59.167 WARNING (Thread-10) [pychromecast.socket_client] [Shelter speaker(192.168.100.143):8009] Heartbeat timeout, resetting connection
2024-09-23 21:58:01.296 WARNING (Thread-8) [pychromecast.socket_client] [Bedroom clock(192.168.100.108):8009] Heartbeat timeout, resetting connection
2024-09-23 21:58:08.624 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.air_con_parents_room is taking over 10 seconds
2024-09-23 22:01:44.419 WARNING (Thread-9) [pychromecast.socket_client] [Living room Display(192.168.100.126):8009] Heartbeat timeout, resetting connection
2024-09-23 22:01:45.612 WARNING (Thread-10) [pychromecast.socket_client] [Shelter speaker(192.168.100.143):8009] Heartbeat timeout, resetting connection
2024-09-23 22:01:46.261 WARNING (Thread-8) [pychromecast.socket_client] [Bedroom clock(192.168.100.108):8009] Heartbeat timeout, resetting connection
2024-09-23 22:01:52.651 ERROR (MainThread) [aiounifi.interfaces.connectivity] UniFi websocket error: ''
2024-09-23 22:01:52.652 ERROR (MainThread) [homeassistant.components.unifi] Websocket disconnected
2024-09-23 22:01:58.625 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.air_con_work_room is taking over 10 seconds
2024-09-23 22:02:31.730 ERROR (Thread-10) [pychromecast.socket_client] [Shelter speaker(192.168.100.143):8009] Error reading from socket.
2024-09-23 22:02:31.730 WARNING (Thread-10) [pychromecast.socket_client] [Shelter speaker(192.168.100.143):8009] Error communicating with socket, resetting connection
2024-09-23 22:02:32.651 ERROR (MainThread) [plexwebsocket] AIOHTTP websocket error

us page here