Recently when performing B2 server side copies using rclone, we've observed various connectivity errors. The following errors have been observed quite regularly in the last while on different machines on different networks:
2020/11/17 19:09:14 ERROR : path/to/file.xyz: Failed to copy: connection pool timed out for https://f003.backblazeb2.com/b2api/v2/b2_download_file_by_id?fileId=abc (901 connection_pool_timed_out)
2020/11/17 18:47:27 ERROR : path/to/file.xyz: Failed to copy: javax.net.ssl.SSLException: Read timed out talking to https://f003.backblazeb2.com/b2api/v2/b2_download_file_by_id?fileId=abc (904 io_exception)
2020/11/17 18:58:00 ERROR : path/to/file.xyz: Failed to copy: socket timed out talking to https://f003.backblazeb2.com/b2api/v2/b2_download_file_by_id?fileId=abc (903 socket_timeout)
Has anybody else maybe seen these errors recently? Any ideas what could be causing this?
What is your rclone version (output from rclone version)
go version: go1.14.6
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Windows 10, 64 bit
Which cloud storage system are you using? (eg Google Drive)
The command you were trying to run (eg rclone copy /tmp remote:tmp)
Hi @asdffdsa, understood, but not quite so easy as I don't have control over all the machines where this is happening. But we've been using this version for a while already without seeing these errors until recently...
Yeah, the errors also looked strange to me. So in your view, the B2 API is failing internally and then returning those errors to rclone via http?
I usually set retries to 1 for server-side copies since I do not expect errors, but if rclone had retried, it may have had more success the second or third time I assume. There were 19 of those errors altogether in the first attempt though...
Hi @ncw, just as a follow up question, does the following kind of error also look like internal to B2, or does it look more like an rclone or local OS error?
2020/12/24 11:01:14 Failed to create file system for ":b2:bucket-name/path/to/folder": Post "https://api003.backblazeb2.com/b2api/v1/b2_list_file_names": dial tcp 188.8.131.52:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.