Google Drive Backups Connection Timeout / Please help

Hi,

Google Drive Backups addon is not uploading anymore to Google.
It starts uploading, but then throttles the upload speed until it goes to 0 in a minute or so.

When I check DNS settings it says sometimes, that www.googleapis.com is reachable, but sometimes also not. I am confused. Is that a problem on Google`s end? What can I do to get it working again? I am not running any adblockers or VPN on my router or pi where HA is setup.

So far I have:

  • updated everything in HA incl. HACS plugins
  • restarted HA, started and stoped the Google Drive Backups Addon
  • Reauthorized Google Drive
  • Checked if there is enough space in Google Drive, and yes it is

I have not fiddled with the advanced settings in the plugin yet, and plan not to do so, otherwise someone smarter than me tells me to.

Any ideas?

Edit:

now I get a new message:

The add-on got the error below while trying to sync your backups. Some transient errors are expected (e.g. an upload could fail if the internet is down) but if this persist for more than a few minutes your backups won’t get uploaded and the information you see on this page may be stale. If you file an issue on GitHub with the link below, it could be helpful to provide the logs downloaded from the “Download Logs” link below

An unexpected error occurred: [Errno 104] Connection reset by peer
arrow_drop_down View Error Details

  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: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 104] Connection reset by peer

Details:


###### 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.4.3`
 Supervisor Version: `2024.04.0`
 Supervisor Channel: `stable`
 Hassos Version: `12.2`
 Docker Version: `25.0.5`
 Architecture: `aarch64`
 Machine: `raspberrypi4-64`
 Date: `2024-04-14T09:01:16.800216+00:00`
 Timezone: `Europe/Berlin`
 Failure Time: `2024-04-14T08:16:40.415816+00:00`
 Last Good Sync: `2024-04-14T08:07:10.682189+00:00`
 Next Sync: `2024-04-14T10:16:40.415816+00:00`
 Next Backup: `2024-04-15T02:00:00+00:00`
 Next Cache Warm: `2024-04-14T10:03:51.836771+00:00`
 Time Offset: `0.0`
 ###### Exception:

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: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 104] Connection reset by peer

Backups:

{
“HomeAssistant”: {
“backups”: 20,
“retained”: 0,
“deletable”: 20,
“name”: “HomeAssistant”,
“title”: “Home Assistant”,
“latest”: “2024-04-14T02:45:34Z”,
“max”: 50,
“enabled”: true,
“icon”: “home-assistant”,
“ignored”: 8,
“detail”: “”,
“size”: “30.0 GB”,
“ignored_size”: “63.3 MB”
},
“GoogleDrive”: {
“backups”: 0,
“retained”: 0,
“deletable”: 0,
“name”: “GoogleDrive”,
“title”: “Google Drive”,
“latest”: null,
“max”: 5,
“enabled”: true,
“icon”: “google-drive”,
“ignored”: 0,
“detail”: “[email protected]”,
“size”: “0.0 B”,
“ignored_size”: “0.0 B”,
“free_space”: “10.4 GB”
}
}

###### Config:

{
“Setting.MAX_BACKUPS_IN_HA”: 50,
“Setting.MAX_BACKUPS_IN_GOOGLE_DRIVE”: 5,
“Setting.DAYS_BETWEEN_BACKUPS”: 1.0,
“Setting.DELETE_IGNORED_AFTER_DAYS”: 30.0,
“Setting.BACKUP_TIME_OF_DAY”: “04:00”,
“Setting.SPECIFY_BACKUP_FOLDER”: true,
“Setting.BACKUP_PASSWORD”: “REDACTED”,
“Setting.GENERATIONAL_DAYS”: 14,
“Setting.GENERATIONAL_WEEKS”: 4,
“Setting.GENERATIONAL_MONTHS”: 3,
“Setting.GENERATIONAL_YEARS”: 3,
“Setting.GENERATIONAL_DELETE_EARLY”: true,
“Setting.SEND_ERROR_REPORTS”: true,
“Setting.CONFIRM_MULTIPLE_DELETES”: false,
“Setting.MAX_SYNC_INTERVAL_SECONDS”: 43200.0
}

###### Addon Logs:

04-14 10:07:11 INFO [backup.drive.drivesource] Uploading ‘Full Backup 2024-04-14 04:45:33’ to Google Drive
04-14 10:07:11 DEBUG [backup.drive.driverequests] Attempting to resume a previously failed upload where we left off
04-14 10:07:11 DEBUG [backup.drive.driverequests] Resuming upload at byte 423362560 of 1673359360
04-14 10:07:11 DEBUG [backup.drive.driverequests] Sending 256 KB to Google Drive
04-14 10:07:11 DEBUG [backup.drive.drivesource] Uploading Full Backup 2024-04-14 04:45:33 25.32%
04-14 10:07:12 DEBUG [backup.drive.driverequests] Sending 9.25 MB to Google Drive
04-14 10:07:17 DEBUG [backup.drive.drivesource] Uploading Full Backup 2024-04-14 04:45:33 25.90%
04-14 10:07:17 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
04-14 10:07:22 DEBUG [backup.drive.drivesource] Uploading Full Backup 2024-04-14 04:45:33 26.52%
04-14 10:07:22 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
04-14 10:07:28 DEBUG [backup.drive.drivesource] Uploading Full Backup 2024-04-14 04:45:33 27.15%
04-14 10:07:28 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
04-14 10:07:35 DEBUG [backup.drive.drivesource] Uploading Full Backup 2024-04-14 04:45:33 27.78%
04-14 10:07:36 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
04-14 10:07:40 DEBUG [backup.drive.drivesource] Uploading Full Backup 2024-04-14 04:45:33 28.40%
04-14 10:07:40 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
04-14 10:07:45 DEBUG [backup.drive.drivesource] Uploading Full Backup 2024-04-14 04:45:33 29.03%
04-14 10:07:45 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
04-14 10:07:49 DEBUG [backup.drive.drivesource] Uploading Full Backup 2024-04-14 04:45:33 29.66%
04-14 10:07:49 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
04-14 10:07:53 DEBUG [backup.drive.drivesource] Uploading Full Backup 2024-04-14 04:45:33 30.28%
04-14 10:07:53 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
04-14 10:07:58 DEBUG [backup.drive.drivesource] Uploading Full Backup 2024-04-14 04:45:33 30.91%
04-14 10:07:58 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
04-14 10:08:02 DEBUG [backup.drive.drivesource] Uploading Full Backup 2024-04-14 04:45:33 31.54%
04-14 10:08:02 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
04-14 10:08:06 DEBUG [backup.drive.drivesource] Uploading Full Backup 2024-04-14 04:45:33 32.16%
04-14 10:08:06 DEBUG [backup.drive.driverequests] Sending 10 MB to Google Drive
04-14 10:16:40 ERROR [backup.model.coordinator]
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: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 104] Connection reset by peer

04-14 10:16:40 INFO [backup.model.coordinator] I’ll try again in 2 hours

###### Supervisor Logs:

e[32m2024-04-14 10:08:47.169 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state runninge[0m
e[32m2024-04-14 10:08:47.170 INFO (MainThread) [supervisor.resolution.fixup] System autofix completee[0m
e[33m2024-04-14 10:10:52.679 WARNING (MainThread) [supervisor.addons.options] Option ‘loglevel’ does not exist in the schema for InfluxDB (a0d7b954_influxdb)e[0m
e[32m2024-04-14 10:11:58.069 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API tokene[0m
e[32m2024-04-14 10:11:59.612 INFO (MainThread) [supervisor.store.git] Update add-on GitHub - adamoutler/HassOSConfigurator: A set of Add-Ons to configure HassOS For various platforms and development purposes. repositorye[0m
e[32m2024-04-14 10:11:59.624 INFO (MainThread) [supervisor.store.git] Update add-on GitHub - adamoutler/HassOSArgonOneAddon: A Home Assistant Addon for Argon One Fan Control. repositorye[0m
e[32m2024-04-14 10:11:59.631 INFO (MainThread) [supervisor.store.git] Update add-on GitHub - sabeechen/hassio-google-drive-backup: Automatically create and sync Home Assistant backups into Google Drive repositorye[0m
e[32m2024-04-14 10:11:59.640 INFO (MainThread) [supervisor.store.git] Update add-on GitHub - esphome/home-assistant-addon: ESPHome Home Assistant Add-on repositorye[0m
e[32m2024-04-14 10:11:59.648 INFO (MainThread) [supervisor.store.git] Update add-on GitHub - home-assistant/addons: ➕ Docker add-ons for Home Assistant repositorye[0m
e[32m2024-04-14 10:11:59.661 INFO (MainThread) [supervisor.store.git] Update add-on GitHub - hassio-addons/repository: Home Assistant Community Add-ons repositorye[0m
e[32m2024-04-14 10:12:02.041 INFO (MainThread) [supervisor.store] Loading add-ons from store: 86 all - 0 new - 0 removee[0m
e[32m2024-04-14 10:12:02.042 INFO (MainThread) [supervisor.store] Loading add-ons from store: 86 all - 0 new - 0 removee[0m
e[33m2024-04-14 10:15:52.681 WARNING (MainThread) [supervisor.addons.options] Option ‘loglevel’ does not exist in the schema for InfluxDB (a0d7b954_influxdb)e[0m
e[33m2024-04-14 10:20:52.682 WARNING (MainThread) [supervisor.addons.options] Option ‘loglevel’ does not exist in the schema for InfluxDB (a0d7b954_influxdb)e[0m
e[33m2024-04-14 10:25:52.680 WARNING (MainThread) [supervisor.addons.options] Option ‘loglevel’ does not exist in the schema for InfluxDB (a0d7b954_influxdb)e[0m
e[33m2024-04-14 10:30:52.688 WARNING (MainThread) [supervisor.addons.options] Option ‘loglevel’ does not exist in the schema for InfluxDB (a0d7b954_influxdb)e[0m
e[33m2024-04-14 10:35:52.691 WARNING (MainThread) [supervisor.addons.options] Option ‘loglevel’ does not exist in the schema for InfluxDB (a0d7b954_influxdb)e[0m
e[32m2024-04-14 10:38:36.638 INFO (MainThread) [supervisor.host.info] Updating local host informatione[0m
e[32m2024-04-14 10:38:37.591 INFO (MainThread) [supervisor.host.services] Updating service informatione[0m
e[32m2024-04-14 10:38:37.605 INFO (MainThread) [supervisor.host.network] Updating local network informatione[0m
e[32m2024-04-14 10:38:37.897 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio informatione[0m
e[32m2024-04-14 10:38:37.909 INFO (MainThread) [supervisor.host.manager] Host information reload completede[0m
e[33m2024-04-14 10:40:52.682 WARNING (MainThread) [supervisor.addons.options] Option ‘loglevel’ does not exist in the schema for InfluxDB (a0d7b954_influxdb)e[0m
e[32m2024-04-14 10:41:58.364 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API tokene[0m
e[33m2024-04-14 10:45:52.682 WARNING (MainThread) [supervisor.addons.options] Option ‘loglevel’ does not exist in the schema for InfluxDB (a0d7b954_influxdb)e[0m
e[33m2024-04-14 10:50:52.682 WARNING (MainThread) [supervisor.addons.options] Option ‘loglevel’ does not exist in the schema for InfluxDB (a0d7b954_influxdb)e[0m
e[33m2024-04-14 10:55:52.686 WARNING (MainThread) [supervisor.addons.options] Option ‘loglevel’ does not exist in the schema for InfluxDB (a0d7b954_influxdb)e[0m
e[33m2024-04-14 11:00:52.685 WARNING (MainThread) [supervisor.addons.options] Option ‘loglevel’ does not exist in the schema for InfluxDB (a0d7b954_influxdb)e[0m
e[32m2024-04-14 11:01:16.810 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/logs access from cebe7a76_hassio_google_drive_backupe[0m

###### Home Assistant Core Logs:

e[31m2024-04-14 10:14:36.780 ERROR (MainThread) [aiohomekit.controller.coap.connection] Failed flailing attempts to resynchronize, self-destructing in 3, 2, 1…e[0m
e[31m2024-04-14 10:14:42.253 ERROR (MainThread) [aiohomekit.controller.coap.connection] Decryption failed, desynchronized? Counter=30/31e[0m
e[31m2024-04-14 10:14:42.255 ERROR (MainThread) [aiohomekit.controller.coap.connection] Failed flailing attempts to resynchronize, self-destructing in 3, 2, 1…e[0m
e[33m2024-04-14 10:15:04.478 WARNING (MainThread) [aiohomekit.controller.coap.pdu] Transaction 0 failed with error 6 (Invalid requeste[0m
e[33m2024-04-14 10:15:04.571 WARNING (MainThread) [aiohomekit.controller.coap.pdu] Transaction 0 failed with error 6 (Invalid requeste[0m
e[33m2024-04-14 10:15:19.798 WARNING (MainThread) [aiohomekit.controller.coap.pdu] Transaction 0 failed with error 6 (Invalid requeste[0m
e[33m2024-04-14 10:15:37.301 WARNING (MainThread) [aiohomekit.controller.coap.pdu] Transaction 0 failed with error 6 (Invalid requeste[0m
e[33m2024-04-14 10:15:44.771 WARNING (MainThread) [aiohomekit.controller.coap.pdu] Transaction 0 failed with error 6 (Invalid requeste[0m
e[31m2024-04-14 10:16:36.791 ERROR (MainThread) [aiohomekit.controller.coap.connection] Decryption failed, desynchronized? Counter=10/11e[0m
e[31m2024-04-14 10:16:36.792 ERROR (MainThread) [aiohomekit.controller.coap.connection] Failed flailing attempts to resynchronize, self-destructing in 3, 2, 1…e[0m
e[33m2024-04-14 10:17:37.328 WARNING (MainThread) [aiohomekit.controller.coap.pdu] Transaction 0 failed with error 6 (Invalid requeste[0m
e[31m2024-04-14 10:24:03.484 ERROR (MainThread) [aiohomekit.controller.coap.connection] Decryption failed, desynchronized? Counter=18/19e[0m
e[31m2024-04-14 10:24:03.486 ERROR (MainThread) [aiohomekit.controller.coap.connection] Failed flailing attempts to resynchronize, self-destructing in 3, 2, 1…e[0m
e[33m2024-04-14 10:25:04.173 WARNING (MainThread) [aiohomekit.controller.coap.pdu] Transaction 0 failed with error 6 (Invalid requeste[0m
e[31m2024-04-14 10:25:34.556 ERROR (MainThread) [aiohomekit.controller.coap.connection] Decryption failed, desynchronized? Counter=21/22e[0m
e[31m2024-04-14 10:25:34.557 ERROR (MainThread) [aiohomekit.controller.coap.connection] Failed flailing attempts to resynchronize, self-destructing in 3, 2, 1…e[0m
e[31m2024-04-14 10:25:36.794 ERROR (MainThread) [aiohomekit.controller.coap.connection] Decryption failed, desynchronized? Counter=17/18e[0m
e[31m2024-04-14 10:25:36.796 ERROR (MainThread) [aiohomekit.controller.coap.connection] Failed flailing attempts to resynchronize, self-destructing in 3, 2, 1…e[0m
e[33m2024-04-14 10:26:35.326 WARNING (MainThread) [aiohomekit.controller.coap.pdu] Transaction 0 failed with error 6 (Invalid requeste[0m
e[33m2024-04-14 10:26:37.390 WARNING (MainThread) [aiohomekit.controller.coap.pdu] Transaction 0 failed with error 6 (Invalid requeste[0m
e[33m2024-04-14 10:31:29.787 WARNING (MainThread) [aiohomekit.controller.coap.pdu] Transaction 0 failed with error 6 (Invalid requeste[0m
e[31m2024-04-14 10:34:29.298 ERROR (MainThread) [aiohomekit.controller.coap.connection] Decryption failed, desynchronized? Counter=12/13e[0m
e[31m2024-04-14 10:34:29.300 ERROR (MainThread) [aiohomekit.controller.coap.connection] Failed flailing attempts to resynchronize, self-destructing in 3, 2, 1…e[0m
e[33m2024-04-14 10:35:29.792 WARNING (MainThread) [aiohomekit.controller.coap.pdu] Transaction 0 failed with error 6 (Invalid requeste[0m
e[31m2024-04-14 10:43:03.499 ERROR (MainThread) [aiohomekit.controller.coap.connection] Decryption failed, desynchronized? Counter=27/28e[0m
e[31m2024-04-14 10:43:03.500 ERROR (MainThread) [aiohomekit.controller.coap.connection] Failed flailing attempts to resynchronize, self-destructing in 3, 2, 1…e[0m
e[33m2024-04-14 10:44:04.018 WARNING (MainThread) [aiohomekit.controller.coap.pdu] Transaction 0 failed with error 6 (Invalid requeste[0m
e[33m2024-04-14 10:55:29.864 WARNING (MainThread) [aiohomekit.controller.coap.pdu] Transaction 0 failed with error 6 (Invalid requeste[0m
e[33m2024-04-14 10:57:03.605 WARNING (MainThread) [aiohomekit.controller.coap.pdu] Transaction 0 failed with error 6 (Invalid requeste[0m