I was recently using the developer canary version (just prior to the “2.0.3.4 (canary) 2018-04-02” release) and am now using the “2.0.3.4 (canary) 2018-04-02” release.
Backing up to B2 from four computers (four separate buckets in one account), every one continually gets the following error:
It’s probably not related, but I get a similar error backing up to an SSH destination:
Failed: Socket read operation has timed out after -1 milliseconds.
Details: Renci.SshNet.Common.SshOperationTimeoutException: Socket read operation has timed out after -1 milliseconds.
at Renci.SshNet.Session.WaitOnHandle (System.Threading.WaitHandle waitHandle, System.TimeSpan timeout) [0x00041] in <1fab08b1278e43dabeb31c481785219b>:0
at Renci.SshNet.Session.Renci.SshNet.ISession.WaitOnHandle (System.Threading.WaitHandle waitHandle) [0x0000d] in <1fab08b1278e43dabeb31c481785219b>:0
at Renci.SshNet.Channels.Channel.WaitOnHandle (System.Threading.WaitHandle waitHandle) [0x00000] in <1fab08b1278e43dabeb31c481785219b>:0
at Renci.SshNet.Channels.Channel.Close (System.Boolean wait) [0x00095] in <1fab08b1278e43dabeb31c481785219b>:0
at Renci.SshNet.Channels.ChannelSession.Close (System.Boolean wait) [0x00000] in <1fab08b1278e43dabeb31c481785219b>:0
at Renci.SshNet.Channels.Channel.Close () [0x00000] in <1fab08b1278e43dabeb31c481785219b>:0
at Renci.SshNet.SubsystemSession.Disconnect () [0x0004c] in <1fab08b1278e43dabeb31c481785219b>:0
at Renci.SshNet.SftpClient.OnDisconnecting () [0x0000e] in <1fab08b1278e43dabeb31c481785219b>:0
at Renci.SshNet.BaseClient.Disconnect () [0x00006] in <1fab08b1278e43dabeb31c481785219b>:0
at Renci.SshNet.BaseClient.Dispose (System.Boolean disposing) [0x0000c] in <1fab08b1278e43dabeb31c481785219b>:0
at Renci.SshNet.SftpClient.Dispose (System.Boolean disposing) [0x00000] in <1fab08b1278e43dabeb31c481785219b>:0
at Renci.SshNet.BaseClient.Dispose () [0x00000] in <1fab08b1278e43dabeb31c481785219b>:0
at Duplicati.Library.Backend.SSHv2.Dispose () [0x00008] in <cd4d7a20547f42cf8eac75b90eb5491d>:0
at Duplicati.Library.Main.BackendManager.Dispose () [0x00077] in <118ad25945a24a3991f7b65e7a45ea1e>:0
at Duplicati.Library.Main.Operation.BackupHandler.Run (System.String[] sources, Duplicati.Library.Utility.IFilter filter) [0x00860] in <118ad25945a24a3991f7b65e7a45ea1e>:0
at Duplicati.Library.Main.Controller+<>c__DisplayClass16_0.<Backup>b__0 (Duplicati.Library.Main.BackupResults result) [0x0030f] in <118ad25945a24a3991f7b65e7a45ea1e>:0
at Duplicati.Library.Main.Controller.RunAction[T] (T result, System.String[]& paths, Duplicati.Library.Utility.IFilter& filter, System.Action`1[T] method) [0x00072] in <118ad25945a24a3991f7b65e7a45ea1e>:0
It only happens occasionally so I haven’t taken the time to dig into it yet. Another user with the -1 milliseconds variant said their (reproducible) fix was to disable automatic ports on their firewall. In your case I’m wondering if it could be a similar issue but at the router level.