So I did the test, I installed the latest beta.
My rclone -V gives
rclone v1.39-213-gb3f55d6bβ
- os/arch: darwin/amd64
- go version: go1.10
I modified a file locally. I added just one more character at the end of the file.Then I tried to copy it to remote (still with copycommand). And again a corrupted transfer occured on first attempt. What’s interesting to note is that it’s a 2926 vs 2925
2926 being the size of the newly modificated file, and 2925 the size of the old file.
2018/03/08 15:24:32 Unsolicited response received on idle HTTP channel starting with "HTTP/1.0 408 Request Time-out\r\nCache-Control: no-cache\r\nConnection: close\r\nContent-Type: text/html\r\n\r\n<html><body><h1>408 Request Time-out</h1>\nYour browser didn't send a complete request in time.\n</body></html>\n"; err=<nil>
2018/03/08 15:24:32 Unsolicited response received on idle HTTP channel starting with "HTTP/1.0 408 Request Time-out\r\nCache-Control: no-cache\r\nConnection: close\r\nContent-Type: text/html\r\n\r\n<html><body><h1>408 Request Time-out</h1>\nYour browser didn't send a complete request in time.\n</body></html>\n"; err=<nil>
2018/03/08 15:24:32 Unsolicited response received on idle HTTP channel starting with "HTTP/1.0 408 Request Time-out\r\nCache-Control: no-cache\r\nConnection: close\r\nContent-Type: text/html\r\n\r\n<html><body><h1>408 Request Time-out</h1>\nYour browser didn't send a complete request in time.\n</body></html>\n"; err=<nil>
2018/03/08 15:24:32 Unsolicited response received on idle HTTP channel starting with "HTTP/1.0 408 Request Time-out\r\nCache-Control: no-cache\r\nConnection: close\r\nContent-Type: text/html\r\n\r\n<html><body><h1>408 Request Time-out</h1>\nYour browser didn't send a complete request in time.\n</body></html>\n"; err=<nil>
2018/03/08 15:24:32 Unsolicited response received on idle HTTP channel starting with "HTTP/1.0 408 Request Time-out\r\nCache-Control: no-cache\r\nConnection: close\r\nContent-Type: text/html\r\n\r\n<html><body><h1>408 Request Time-out</h1>\nYour browser didn't send a complete request in time.\n</body></html>\n"; err=<nil>
2018/03/08 15:24:33 Unsolicited response received on idle HTTP channel starting with "HTTP/1.0 408 Request Time-out\r\nCache-Control: no-cache\r\nConnection: close\r\nContent-Type: text/html\r\n\r\n<html><body><h1>408 Request Time-out</h1>\nYour browser didn't send a complete request in time.\n</body></html>\n"; err=<nil>
2018/03/08 15:24:56 ERROR : notes/LubuntuMacbook.txt: corrupted on transfer: sizes differ 2926 vs 2925
2018/03/08 15:24:57 ERROR : Attempt 1/3 failed with 1 errors and: corrupted on transfer: sizes differ 2926 vs 2925
2018/03/08 15:25:08 Unsolicited response received on idle HTTP channel starting with "HTTP/1.0 408 Request Time-out\r\nCache-Control: no-cache\r\nConnection: close\r\nContent-Type: text/html\r\n\r\n<html><body><h1>408 Request Time-out</h1>\nYour browser didn't send a complete request in time.\n</body></html>\n"; err=<nil>
2018/03/08 15:25:13 ERROR : Attempt 2/3 succeeded
I added again 1 character at the end of the file (new size=2927), and I uploaded again, and got about the same kind of error :
2018/03/08 15:31:48 Unsolicited response received on idle HTTP channel starting with "HTTP/1.0 408 Request Time-out\r\nCache-Control: no-cache\r\nConnection: close\r\nContent-Type: text/html\r\n\r\n<html><body><h1>408 Request Time-out</h1>\nYour browser didn't send a complete request in time.\n</body></html>\n"; err=<nil>
2018/03/08 15:31:48 Unsolicited response received on idle HTTP channel starting with "HTTP/1.0 408 Request Time-out\r\nCache-Control: no-cache\r\nConnection: close\r\nContent-Type: text/html\r\n\r\n<html><body><h1>408 Request Time-out</h1>\nYour browser didn't send a complete request in time.\n</body></html>\n"; err=<nil>
2018/03/08 15:32:16 ERROR : notes/LubuntuMacbook.txt: corrupted on transfer: sizes differ 2927 vs 2926
2018/03/08 15:32:16 ERROR : Attempt 1/3 failed with 1 errors and: corrupted on transfer: sizes differ 2927 vs 2926
2018/03/08 15:32:27 Unsolicited response received on idle HTTP channel starting with "HTTP/1.0 408 Request Time-out\r\nCache-Control: no-cache\r\nConnection: close\r\nContent-Type: text/html\r\n\r\n<html><body><h1>408 Request Time-out</h1>\nYour browser didn't send a complete request in time.\n</body></html>\n"; err=<nil>
2018/03/08 15:33:05 ERROR : Attempt 2/3 succeeded
I did it again (size 2928), but this time, it went without ANY errors, not even the “Unsolicited response received
” errors.
I did it again (size 2929), no errors at all.
I did it again (size 2930), I received 2 “Unsolicited response received
” but not “corrupted transfer
” errors.
I did it again (size 2931), I received 3 “Unsolicited response received
” but not “corrupted transfer
” errors.
I did i’t again (size 2932à, no errors at all.
So it happens very often, but not all the time. And it seems not to be related to the “Unsolicited response received
”.