I am trying to get Duplicati to upload to Backblaze B2 for the first time. The upload seems fine and files do appear inside the bucket, but duplicati produces three errors in the “Verify Files” phase:
2021-01-17 17:08:15 +01 - [Error-Duplicati.Library.Main.Operation.TestHandler-RemoteFileProcessingFailed]: Failed to process file duplicati-20210117T155036Z.dlist.zip.aes
2021-01-17 17:09:02 +01 - [Error-Duplicati.Library.Main.Operation.TestHandler-RemoteFileProcessingFailed]: Failed to process file duplicati-i4d80468ec7f24d10a7710e34f91cc7d1.dindex.zip.aes
2021-01-17 17:09:49 +01 - [Error-Duplicati.Library.Main.Operation.TestHandler-RemoteFileProcessingFailed]: Failed to process file duplicati-b3d9e8fcc80274bb68fbc151731cd6cfe.dblock.zip.aes
This happens when running a backup (in the “Verify files” phase), but also when just running “Verify files” from the UI.
I am running duplicati 2.0.5.111_canary_2020-09-26 on mono 6.12.0 as root.
As advised in other support support threads, I looked at the live log. Here are all the messages in the live log of a single verify operation with the log level set to verbose:
Jan 17, 2021 5:09 PM: The operation Test has completed
Jan 17, 2021 5:09 PM: Failed to process file duplicati-b3d9e8fcc80274bb68fbc151731cd6cfe.dblock.zip.aes
Jan 17, 2021 5:09 PM: Backend event: Get - Failed: duplicati-b3d9e8fcc80274bb68fbc151731cd6cfe.dblock.zip.aes (49.94 MB)
Jan 17, 2021 5:09 PM: Operation Get with file duplicati-b3d9e8fcc80274bb68fbc151731cd6cfe.dblock.zip.aes attempt 5 of 5 failed with message: Error: SecureChannelFailure (Authentication failed, see inner exception.)
Jan 17, 2021 5:09 PM: Backend event: Get - Started: duplicati-b3d9e8fcc80274bb68fbc151731cd6cfe.dblock.zip.aes (49.94 MB)
Jan 17, 2021 5:09 PM: Backend event: Get - Retrying: duplicati-b3d9e8fcc80274bb68fbc151731cd6cfe.dblock.zip.aes (49.94 MB)
Jan 17, 2021 5:09 PM: Operation Get with file duplicati-b3d9e8fcc80274bb68fbc151731cd6cfe.dblock.zip.aes attempt 4 of 5 failed with message: Error: SecureChannelFailure (Authentication failed, see inner exception.)
Jan 17, 2021 5:09 PM: Backend event: Get - Started: duplicati-b3d9e8fcc80274bb68fbc151731cd6cfe.dblock.zip.aes (49.94 MB)
Jan 17, 2021 5:09 PM: Backend event: Get - Retrying: duplicati-b3d9e8fcc80274bb68fbc151731cd6cfe.dblock.zip.aes (49.94 MB)
Jan 17, 2021 5:09 PM: Operation Get with file duplicati-b3d9e8fcc80274bb68fbc151731cd6cfe.dblock.zip.aes attempt 3 of 5 failed with message: Error: SecureChannelFailure (Authentication failed, see inner exception.)
Jan 17, 2021 5:09 PM: Backend event: Get - Started: duplicati-b3d9e8fcc80274bb68fbc151731cd6cfe.dblock.zip.aes (49.94 MB)
Jan 17, 2021 5:09 PM: Backend event: Get - Retrying: duplicati-b3d9e8fcc80274bb68fbc151731cd6cfe.dblock.zip.aes (49.94 MB)
Jan 17, 2021 5:09 PM: Operation Get with file duplicati-b3d9e8fcc80274bb68fbc151731cd6cfe.dblock.zip.aes attempt 2 of 5 failed with message: Error: SecureChannelFailure (Authentication failed, see inner exception.)
Jan 17, 2021 5:09 PM: Backend event: Get - Started: duplicati-b3d9e8fcc80274bb68fbc151731cd6cfe.dblock.zip.aes (49.94 MB)
Jan 17, 2021 5:09 PM: Backend event: Get - Retrying: duplicati-b3d9e8fcc80274bb68fbc151731cd6cfe.dblock.zip.aes (49.94 MB)
Jan 17, 2021 5:09 PM: Operation Get with file duplicati-b3d9e8fcc80274bb68fbc151731cd6cfe.dblock.zip.aes attempt 1 of 5 failed with message: Error: SecureChannelFailure (Authentication failed, see inner exception.)
Jan 17, 2021 5:09 PM: Backend event: Get - Started: duplicati-b3d9e8fcc80274bb68fbc151731cd6cfe.dblock.zip.aes (49.94 MB)
Jan 17, 2021 5:09 PM: Failed to process file duplicati-i4d80468ec7f24d10a7710e34f91cc7d1.dindex.zip.aes
Jan 17, 2021 5:09 PM: Backend event: Get - Failed: duplicati-i4d80468ec7f24d10a7710e34f91cc7d1.dindex.zip.aes (29.12 KB)
Jan 17, 2021 5:09 PM: Operation Get with file duplicati-i4d80468ec7f24d10a7710e34f91cc7d1.dindex.zip.aes attempt 5 of 5 failed with message: Error: SecureChannelFailure (Authentication failed, see inner exception.)
Jan 17, 2021 5:09 PM: Backend event: Get - Started: duplicati-i4d80468ec7f24d10a7710e34f91cc7d1.dindex.zip.aes (29.12 KB)
Jan 17, 2021 5:08 PM: Backend event: Get - Retrying: duplicati-i4d80468ec7f24d10a7710e34f91cc7d1.dindex.zip.aes (29.12 KB)
Jan 17, 2021 5:08 PM: Operation Get with file duplicati-i4d80468ec7f24d10a7710e34f91cc7d1.dindex.zip.aes attempt 4 of 5 failed with message: Error: SecureChannelFailure (Authentication failed, see inner exception.)
Jan 17, 2021 5:08 PM: Backend event: Get - Started: duplicati-i4d80468ec7f24d10a7710e34f91cc7d1.dindex.zip.aes (29.12 KB)
Jan 17, 2021 5:08 PM: Backend event: Get - Retrying: duplicati-i4d80468ec7f24d10a7710e34f91cc7d1.dindex.zip.aes (29.12 KB)
Jan 17, 2021 5:08 PM: Operation Get with file duplicati-i4d80468ec7f24d10a7710e34f91cc7d1.dindex.zip.aes attempt 3 of 5 failed with message: Error: SecureChannelFailure (Authentication failed, see inner exception.)
Jan 17, 2021 5:08 PM: Backend event: Get - Started: duplicati-i4d80468ec7f24d10a7710e34f91cc7d1.dindex.zip.aes (29.12 KB)
Jan 17, 2021 5:08 PM: Backend event: Get - Retrying: duplicati-i4d80468ec7f24d10a7710e34f91cc7d1.dindex.zip.aes (29.12 KB)
Jan 17, 2021 5:08 PM: Operation Get with file duplicati-i4d80468ec7f24d10a7710e34f91cc7d1.dindex.zip.aes attempt 2 of 5 failed with message: Error: SecureChannelFailure (Authentication failed, see inner exception.)
Jan 17, 2021 5:08 PM: Backend event: Get - Started: duplicati-i4d80468ec7f24d10a7710e34f91cc7d1.dindex.zip.aes (29.12 KB)
Jan 17, 2021 5:08 PM: Backend event: Get - Retrying: duplicati-i4d80468ec7f24d10a7710e34f91cc7d1.dindex.zip.aes (29.12 KB)
Jan 17, 2021 5:08 PM: Operation Get with file duplicati-i4d80468ec7f24d10a7710e34f91cc7d1.dindex.zip.aes attempt 1 of 5 failed with message: Error: SecureChannelFailure (Authentication failed, see inner exception.)
Jan 17, 2021 5:08 PM: Backend event: Get - Started: duplicati-i4d80468ec7f24d10a7710e34f91cc7d1.dindex.zip.aes (29.12 KB)
Jan 17, 2021 5:08 PM: Failed to process file duplicati-20210117T155036Z.dlist.zip.aes
Jan 17, 2021 5:08 PM: Backend event: Get - Failed: duplicati-20210117T155036Z.dlist.zip.aes (2.25 KB)
Jan 17, 2021 5:08 PM: Operation Get with file duplicati-20210117T155036Z.dlist.zip.aes attempt 5 of 5 failed with message: Error: SecureChannelFailure (Authentication failed, see inner exception.)
Jan 17, 2021 5:08 PM: Backend event: Get - Started: duplicati-20210117T155036Z.dlist.zip.aes (2.25 KB)
Jan 17, 2021 5:08 PM: Backend event: Get - Retrying: duplicati-20210117T155036Z.dlist.zip.aes (2.25 KB)
Jan 17, 2021 5:08 PM: Operation Get with file duplicati-20210117T155036Z.dlist.zip.aes attempt 4 of 5 failed with message: Error: SecureChannelFailure (Authentication failed, see inner exception.)
Jan 17, 2021 5:08 PM: Backend event: Get - Started: duplicati-20210117T155036Z.dlist.zip.aes (2.25 KB)
Jan 17, 2021 5:07 PM: Backend event: Get - Retrying: duplicati-20210117T155036Z.dlist.zip.aes (2.25 KB)
Jan 17, 2021 5:07 PM: Operation Get with file duplicati-20210117T155036Z.dlist.zip.aes attempt 3 of 5 failed with message: Error: SecureChannelFailure (Authentication failed, see inner exception.)
Jan 17, 2021 5:07 PM: Backend event: Get - Started: duplicati-20210117T155036Z.dlist.zip.aes (2.25 KB)
Jan 17, 2021 5:07 PM: Backend event: Get - Retrying: duplicati-20210117T155036Z.dlist.zip.aes (2.25 KB)
Jan 17, 2021 5:07 PM: Operation Get with file duplicati-20210117T155036Z.dlist.zip.aes attempt 2 of 5 failed with message: Error: SecureChannelFailure (Authentication failed, see inner exception.)
Jan 17, 2021 5:07 PM: Backend event: Get - Started: duplicati-20210117T155036Z.dlist.zip.aes (2.25 KB)
Jan 17, 2021 5:07 PM: Backend event: Get - Retrying: duplicati-20210117T155036Z.dlist.zip.aes (2.25 KB)
Jan 17, 2021 5:07 PM: Operation Get with file duplicati-20210117T155036Z.dlist.zip.aes attempt 1 of 5 failed with message: Error: SecureChannelFailure (Authentication failed, see inner exception.)
Jan 17, 2021 5:07 PM: Backend event: Get - Started: duplicati-20210117T155036Z.dlist.zip.aes (2.25 KB)
Jan 17, 2021 5:07 PM: Backend event: List - Completed: (36 bytes)
Jan 17, 2021 5:07 PM: Backend event: List - Started: ()
Jan 17, 2021 5:07 PM: The operation Test has started
Here is the JSON object attached to the first error:
{
"ClassName": "System.Net.WebException",
"Message": "Error: SecureChannelFailure (Authentication failed, see inner exception.)",
"Data": null,
"InnerException": {
"ClassName": "System.Security.Authentication.AuthenticationException",
"Message": "Authentication failed, see inner exception.",
"Data": null,
"InnerException": {
"Message": "Ssl error:100003e8:SSL routines:OPENSSL_internal:SSLV3_ALERT_CLOSE_NOTIFY\n at /build/mono/src/mono/external/boringssl/ssl/tls_record.c:462",
"Data": {},
"InnerException": null,
"StackTrace": " at Mono.Btls.MonoBtlsContext.ProcessHandshake () [0x00048] in <1af2426e91d1474d92e5d471c4ca8f95>:0 \n at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status, System.Boolean renegotiate) [0x000da] in <1af2426e91d1474d92e5d471c4ca8f95>:0 \n at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus,bool)\n at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in <1af2426e91d1474d92e5d471c4ca8f95>:0 \n at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x000fc] in <1af2426e91d1474d92e5d471c4ca8f95>:0 ",
"HelpLink": null,
"Source": "System",
"HResult": -2146233088
},
"HelpURL": null,
"StackTraceString": " at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Boolean runSynchronously, Mono.Net.Security.MonoSslAuthenticationOptions options, System.Threading.CancellationToken cancellationToken) [0x00262] in <1af2426e91d1474d92e5d471c4ca8f95>:0 \n at Mono.Net.Security.MonoTlsStream.CreateStream (System.Net.WebConnectionTunnel tunnel, System.Threading.CancellationToken cancellationToken) [0x0016a] in <1af2426e91d1474d92e5d471c4ca8f95>:0 \n at System.Net.WebConnection.CreateStream (System.Net.WebOperation operation, System.Boolean reused, System.Threading.CancellationToken cancellationToken) [0x001ba] in <1af2426e91d1474d92e5d471c4ca8f95>:0 ",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146233087,
"Source": "mscorlib"
},
"HelpURL": null,
"StackTraceString": " at System.Net.WebConnection.CreateStream (System.Net.WebOperation operation, System.Boolean reused, System.Threading.CancellationToken cancellationToken) [0x0021a] in <1af2426e91d1474d92e5d471c4ca8f95>:0 \n at System.Net.WebConnection.InitConnection (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x00141] in <1af2426e91d1474d92e5d471c4ca8f95>:0 \n at System.Net.WebOperation.Run () [0x0009a] in <1af2426e91d1474d92e5d471c4ca8f95>:0 \n at System.Net.WebCompletionSource`1[T].WaitForCompletion () [0x00094] in <1af2426e91d1474d92e5d471c4ca8f95>:0 \n at System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task`1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func`1[TResult] aborted, System.Threading.CancellationTokenSource cts) [0x000f8] in <1af2426e91d1474d92e5d471c4ca8f95>:0 \n at Duplicati.Library.Utility.AsyncHttpRequest+AsyncWrapper.GetResponseOrStream () [0x0004d] in <d08ee1948ceb4d19838c99ad6efa8ab7>:0 \n at Duplicati.Library.Utility.AsyncHttpRequest.GetResponse () [0x00044] in <d08ee1948ceb4d19838c99ad6efa8ab7>:0 \n at Duplicati.Library.Backend.Backblaze.B2.Get (System.String remotename, System.IO.Stream stream) [0x000e1] in <8de899d4da6c4b28b925e45ed4ae1022>:0 \n at Duplicati.Library.Main.BackendManager.coreDoGetPiping (Duplicati.Library.Main.BackendManager+FileEntryItem item, Duplicati.Library.Interface.IEncryption useDecrypter, System.Int64& retDownloadSize, System.String& retHashcode) [0x00259] in <69351e729b034105bffb62d55f82ef1c>:0 \n at Duplicati.Library.Main.BackendManager.DoGet (Duplicati.Library.Main.BackendManager+FileEntryItem item) [0x002ff] in <69351e729b034105bffb62d55f82ef1c>:0 \n at Duplicati.Library.Main.BackendManager.ThreadRun () [0x000ff] in <69351e729b034105bffb62d55f82ef1c>:0 ",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146233079,
"Source": "Duplicati.Library.Utility"
}
The json objects for the other errors look the same, if you also need them, please let me know.
I have not found any other topic with the same SSL error. For this run I enabled accept-any-ssl-certificate
just to make sure this wasn’t the problem, but the issues occurs with and without that option.
For completeness, here is the bug report zip file I generated through the UI directly after the verify phase failed: bugreport.zip (1.8 MB)
Any help would be appreciated. Please let me know if I need to provide further information.