gdrive icon indicating copy to clipboard operation
gdrive copied to clipboard

Sync does not recover on "connection reset by peer"

Open proligde opened this issue 8 years ago • 3 comments

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

proligde avatar Aug 12 '16 08:08 proligde

+1 I have same issue

yash-fn avatar Jul 25 '21 11:07 yash-fn

I can use --no-progress --skip --timeout 0 --path download > log/folder.log and then monitor log file to restart same command once it stalls, but this is tedious and not reliable for really massive folders because this command actually reiterates all files and checks if the file is any different. Which means if above a certain size (for me about 20GB) it resets while just checking files it already managed to download.

yash-fn avatar Jul 25 '21 11:07 yash-fn

SAME!! THIS IS FATAL! PLEASE FIX!!!!

MeechaPooch avatar Mar 09 '23 20:03 MeechaPooch