#181·gdrive

Sync does not recover on "connection reset by peer"

Author: proligdeCreated Aug 12, 2016Updated Mar 9, 2023

Hi there,

first of all: Thanks a lot for that great piece of software you've created!

Problem description and steps to reproduce:

  • sync upload a lot of data (for several hours or days)
  • wait for a "connection reset by peer" error. This will happen reliably after a while.

Expected behaviour:

auto-recover connection

Real behaviour:

The sync crashes fatal with a message like this:

16.8 MB/23.9 MB, Rate: 1.2 MB/sFailed to upload file: Post https://www.googleapis.com/upload/drive/v3/files?alt=json&fields=id%2Cname%2Csize%2Cmd5Checksum&uploadType=resumable&upload_id=AEnB2UrtlbEL7DYLL_XaCGpQyjwpQH7JuFqp1uaBPqkYRN0STxw8kPgkXfkALUmzgEDLARCClptAO9Q1GGJgKSwal73Qmj0NWNF-3K6XqtlIUKbUdYD0FGI: read tcp 192.168.0.205:44387->216.58.214.42:443: read: connection reset by peer