Failed to process file

Hello everyone,

I’m using “duplicati 2.0.4.5_beta_2018-11-28” on Ubuntu 19.4 for backup Xen Domu img-files to Microsoft One Drive for Business (files so big from 50 to 200GB for one). My server hosted on Hetzner-Finland.

I had every time 3 errors with “Failed to process file”, by backup and restore. Files always different.

I guess I have a problem with the speed connection. Sometimes speed upload down to 5-7 KB/s or even up to 20 bytes/s (it’s the speed that shows duplicati), usually the upload speed to One Drive: 2-3 MB/s. I don’t why speed down (maybe MS has limited the speed). I check the connection by speedtest-cli on the moment when speed so slow and don’t have problem with speed. I changed these options:

  1. Remote volume size: 25 Mbyte;
  2. http-operation-timeout: 3 Hours.

But that didn’t help fix the errors.

Log backup.
2019-07-17 01:39:17 +02 - [Error-Duplicati.Library.Main.Operation.TestHandler-FailedToProcessFile]: Failed to process file duplicati-20190716T151724Z.dlist.zip.aes
System.Net.WebException: Cannot send a content-body with this verb-type. —> System.Net.ProtocolViolationException: Cannot send a content-body with this verb-type.
at System.Net.HttpWebRequest.MyGetRequestStreamAsync (System.Threading.CancellationToken cancellationToken) [0x00082] in :0
at System.Net.HttpWebRequest.RunWithTimeout[T] (System.Func2[T,TResult] func) [0x0000d] in <a9a08e39ba304bd0a84c49bd158dfc02>:0 at System.Net.HttpWebRequest.GetRequestStreamAsync () [0x00000] in <a9a08e39ba304bd0a84c49bd158dfc02>:0 at System.Net.HttpWebRequest.GetRequestStream () [0x00000] in <a9a08e39ba304bd0a84c49bd158dfc02>:0 --- End of inner exception stack trace --- at Duplicati.Library.Main.BackendManager.GetForTesting (System.String remotename, System.Int64 size, System.String hash) [0x00065] in <c6c6871f516b48f59d88f9d731c3ea4d>:0 at Duplicati.Library.Main.Operation.TestHandler.DoRun (System.Int64 samples, Duplicati.Library.Main.Database.LocalTestDatabase db, Duplicati.Library.Main.BackendManager backend) [0x0042f] in <c6c6871f516b48f59d88f9d731c3ea4d>:0 2019-07-17 01:41:47 +02 - [Error-Duplicati.Library.Main.Operation.TestHandler-FailedToProcessFile]: Failed to process file duplicati-if55f944a8b1a4ef3877265bb6410b4c9.dindex.zip.aes System.Net.WebException: Cannot send a content-body with this verb-type. ---> System.Net.ProtocolViolationException: Cannot send a content-body with this verb-type. at System.Net.HttpWebRequest.MyGetRequestStreamAsync (System.Threading.CancellationToken cancellationToken) [0x00082] in <a9a08e39ba304bd0a84c49bd158dfc02>:0 at System.Net.HttpWebRequest.RunWithTimeout[T] (System.Func2[T,TResult] func) [0x0000d] in :0
at System.Net.HttpWebRequest.GetRequestStreamAsync () [0x00000] in :0
at System.Net.HttpWebRequest.GetRequestStream () [0x00000] in :0
— End of inner exception stack trace —
at Duplicati.Library.Main.BackendManager.GetForTesting (System.String remotename, System.Int64 size, System.String hash) [0x00065] in :0
at Duplicati.Library.Main.Operation.TestHandler.DoRun (System.Int64 samples, Duplicati.Library.Main.Database.LocalTestDatabase db, Duplicati.Library.Main.BackendManager backend) [0x0042f] in :0
2019-07-17 01:44:51 +02 - [Error-Duplicati.Library.Main.Operation.TestHandler-FailedToProcessFile]: Failed to process file duplicati-bc89b29461ff74fe595489dbb8aad3c0b.dblock.zip.aes
System.Net.WebException: Cannot send a content-body with this verb-type. —> System.Net.ProtocolViolationException: Cannot send a content-body with this verb-type.
at System.Net.HttpWebRequest.MyGetRequestStreamAsync (System.Threading.CancellationToken cancellationToken) [0x00082] in :0
at System.Net.HttpWebRequest.RunWithTimeout[T] (System.Func`2[T,TResult] func) [0x0000d] in :0
at System.Net.HttpWebRequest.GetRequestStreamAsync () [0x00000] in :0
at System.Net.HttpWebRequest.GetRequestStream () [0x00000] in :0
— End of inner exception stack trace —
at Duplicati.Library.Main.BackendManager.GetForTesting (System.String remotename, System.Int64 size, System.String hash) [0x00065] in :0
at Duplicati.Library.Main.Operation.TestHandler.DoRun (System.Int64 samples, Duplicati.Library.Main.Database.LocalTestDatabase db, Duplicati.Library.Main.BackendManager backend) [0x0042f] in :100:

I am having the exact same problem as you. Backing up to OneDrive for Business as well. It seems to work, however there’s always those three files that throw an error while being processed. The actual error I’m getting is Cannot send a content-body with this verb-type., and it’s the same for all three files that fail.

EDIT: Didn’t realise this post was so old, but it was one of the first Google results when searching with the error as the query, and nobody seems to have replied yet, sooooo…

Also have exactly the same issue: 3 files fail with "Value": "Cannot send a content-body with this verb-type.". I’m also using OneDrive for Business. I can access the three files fine on OneDrive, and their contents seem fine when downloaded.

I don’t have known network or connection issues.

Welcome to the forum @cityoftwo

Previous reply to @a129 was below. Haven’t heard anything, but you can see if info at end helps you.

Ubuntu 16.04.6 LTS od4b Cannot send a content-body with this verb-type

There’s a comment at the top there on the “three files” situation, but you need to look at your own logs.

The other case was the usual three after backup, verifying the default of 1 sample set. If you’re having problems downloading files, this might prevent restore (have you tried?), and operations like compact.

Thank you very much for the pointers, ts678, that helps! I’ll post more in that thread.

My log is identical to the other thread.

Restore does not work.