The request body terminated unexpectedly

Hi,

I’m one of the crashplan orphans who are trying to find a new backup solution. I found wasabi s3 to be a affordable cloud solution and I’ve been trying out Duplicati for a while. However I’m having some problems when trying to backup my files.

After the backup has been running for a while I get the error message “The request body terminated unexpectedly” and the backup fails.

Any ideas what can cause this and how to solve it?

Got the same error again. This time I found some logs.

Backup: Fatal \n\n Backup For: Photos \n\n Failed: The request body terminated unexpectedly
Details: Amazon.S3.AmazonS3Exception: The request body terminated unexpectedly ---> Amazon.Runtime.Internal.HttpErrorResponseException: The remote server returned an error: (400) Bad Request. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request.
  at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00064] in <bd46d4d4f7964dfa9beea098499ab597>:0
  at System.Net.HttpWebRequest.GetResponse () [0x0000e] in <bd46d4d4f7964dfa9beea098499ab597>:0
  at Amazon.Runtime.Internal.HttpRequest.GetResponse () [0x00000] in <803698ef18ec4ef39f2265bdc6bd210d>:0
   --- End of inner exception stack trace ---
  at Amazon.Runtime.Internal.HttpRequest.GetResponse () [0x0003a] in <803698ef18ec4ef39f2265bdc6bd210d>:0
  at Amazon.Runtime.Internal.HttpHandler`1[TRequestContent].InvokeSync (Amazon.Runtime.IExecutionContext executionContext) [0x00073] in <803698ef18ec4ef39f2265bdc6bd210d>:0
  at Amazon.Runtime.Internal.PipelineHandler.InvokeSync (Amazon.Runtime.IExecutionContext executionContext) [0x0000e] in <803698ef18ec4ef39f2265bdc6bd210d>:0
  at Amazon.Runtime.Internal.RedirectHandler.InvokeSync (Amazon.Runtime.IExecutionContext executionContext) [0x00000] in <803698ef18ec4ef39f2265bdc6bd210d>:0
  at Amazon.Runtime.Internal.PipelineHandler.InvokeSync (Amazon.Runtime.IExecutionContext executionContext) [0x0000e] in <803698ef18ec4ef39f2265bdc6bd210d>:0
  at Amazon.Runtime.Internal.Unmarshaller.InvokeSync (Amazon.Runtime.IExecutionContext executionContext) [0x00000] in <803698ef18ec4ef39f2265bdc6bd210d>:0
  at Amazon.Runtime.Internal.PipelineHandler.InvokeSync (Amazon.Runtime.IExecutionContext executionContext) [0x0000e] in <803698ef18ec4ef39f2265bdc6bd210d>:0
  at Amazon.S3.Internal.AmazonS3ResponseHandler.InvokeSync (Amazon.Runtime.IExecutionContext executionContext) [0x00000] in <8a843122fb3b44618d45032a6ec10b3d>:0
  at Amazon.Runtime.Internal.PipelineHandler.InvokeSync (Amazon.Runtime.IExecutionContext executionContext) [0x0000e] in <803698ef18ec4ef39f2265bdc6bd210d>:0
  at Amazon.Runtime.Internal.ErrorHandler.InvokeSync (Amazon.Runtime.IExecutionContext executionContext) [0x00000] in <803698ef18ec4ef39f2265bdc6bd210d>:0
   --- End of inner exception stack trace ---
  at Duplicati.Library.Main.Operation.BackupHandler.HandleFilesystemEntry (Duplicati.Library.Snapshots.ISnapshotService snapshot, Duplicati.Library.Main.BackendManager backend, System.String path, System.IO.FileAttributes attributes) [0x0000e] in <350b7aca2a3e435ba7906b395d86376f>:0
  at Duplicati.Library.Main.Operation.BackupHandler.RunMainOperation (Duplicati.Library.Snapshots.ISnapshotService snapshot, Duplicati.Library.Main.BackendManager backend) [0x0018a] in <350b7aca2a3e435ba7906b395d86376f>:0
  at Duplicati.Library.Main.Operation.BackupHandler.Run (System.String[] sources, Duplicati.Library.Utility.IFilter filter) [0x0063c] in <350b7aca2a3e435ba7906b395d86376f>:0

I have created a bug report in the UI if it might help.

I think this is a variant of the problem that @maarten discovered here:

In less technical terms: something breaks during the upload, but the problem is “hangs around” and causes it to crash at a later point.