Sftp always says: "Connection failed:" but it's just reachable

Hey there, I always get “Connection failed:” but my sftp server is just reachable, and it works fine if I connect with filezilla.

Also, another question:
I added the --webservice-interface=any to the daemon opts, and it shows up if I do: service duplicati status, but it’s still not reachable on my IP :neutral_face:
A nginx reserve proxy isn’t possible on the server, so I really need that option.

Hello, my advice:

  • about connection failed: try to export the backup as a command line and launch it (as admin) from a terminal window. It may output some interesting stuff that you will not see in the web ui.
  • about the reverse proxy: you should really use it if you want to expose your duplicati setup since it’s not much secured anyway. Ideally you should always access your Duplicati through a VPN or SSH tunnel.

Yeah, I’m going to just use the reverse proxy, that’s indeed better.
But how do you mean “export as command line and launch it as admin from a terminal window”?
I’m not on windows if you mean that, I’m on ubuntu :wink:

Select backup in the Web UI, click Configuration/Export/, select ‘As Command-line’ and then click Export, you will get a ready to use command line, that you have to copy and paste into whatever you can use to run a command.

Ah yes I see now!
The first thing I noticed: my password has a @ in it and it gets replaced by %40, would that just work or?

Found the error:
Fatal error => EVP_MD_size assembly: type: membe r:(null)

System.EntryPointNotFoundException: EVP_MD_size assembly: type : member:(null)
at (wrapper managed-to-native) FasterHashing.InteropOpenSSL11_libcrypto_dll.EV P_MD_size(intptr)
at FasterHashing.OpenSSL11_libcrypto_dll_HashAlgorithmSHA256…ctor () [0x0003b ] in <787629f3dc434608a1b2bf412946d433>:0
at FasterHashing.OpenSSL11_libcrypto_dll_HashAlgorithm.Create (System.String n ame) [0x00036] in <787629f3dc434608a1b2bf412946d433>:0
at FasterHashing.OpenSSL11HashAlgorithm.Create (System.String algorithm, Faste rHashing.OpenSSL11HashAlgorithm+LibraryName library) [0x0003a] in <787629f3dc434 608a1b2bf412946d433>:0
at FasterHashing.FasterHash.Create (System.String algorithm, System.Boolean al lowfallback, FasterHashing.HashImplementation implementation) [0x00034] in <7876 29f3dc434608a1b2bf412946d433>:0
at Duplicati.Library.Utility.HashAlgorithmHelper.Create (System.String name) [ 0x00000] in <2a3ee711c7c04f6c957360f2cf183a7f>:0
at Duplicati.Library.Main.Options.get_BlockhashSize () [0x00025] in :0
at Duplicati.Library.Main.Volumes.VolumeBase…ctor (Duplicati.Library.Main.Opt ions options) [0x0002b] in :0
at Duplicati.Library.Main.Volumes.VolumeWriterBase…ctor (Duplicati.Library.Ma in.Options options, System.DateTime timestamp) [0x00000] in :0
at Duplicati.Library.Main.Volumes.FilesetVolumeWriter…ctor (Duplicati.Library .Main.Options options, System.DateTime timestamp) [0x00000] in <e60bc008dd1b454d 861cfacbdd3760b9>:0
at Duplicati.Library.Main.Operation.BackupHandler.RunAsync (System.String[] so urces, Duplicati.Library.Utility.IFilter filter, System.Threading.CancellationTo ken token) [0x01048] in :0
at CoCoL.ChannelExtensions.WaitForTaskOrThrow (System.Threading.Tasks.Task tas k) [0x00050] in <9a758ff4db6c48d6b3d4d0e5c2adf6d1>:0
at Duplicati.Library.Main.Operation.BackupHandler.Run (System.String[] sources , Duplicati.Library.Utility.IFilter filter, System.Threading.CancellationToken t oken) [0x00009] in :0
at Duplicati.Library.Main.Controller+<>c__DisplayClass14_0.b__0 (Dupli cati.Library.Main.BackupResults result) [0x0004b] in <e60bc008dd1b454d861cfacbdd 3760b9>:0
at Duplicati.Library.Main.Controller.RunAction[T] (T result, System.String[]& paths, Duplicati.Library.Utility.IFilter& filter, System.Action1[T] method) [0x 0026f] in <e60bc008dd1b454d861cfacbdd3760b9>:0 at Duplicati.Library.Main.Controller.Backup (System.String[] inputsources, Dup licati.Library.Utility.IFilter filter) [0x00074] in <e60bc008dd1b454d861cfacbdd3 760b9>:0 at Duplicati.CommandLine.Commands.Backup (System.IO.TextWriter outwriter, Syst em.Action1[T] setup, System.Collections.Generic.List1[T] args, System.Collecti ons.Generic.Dictionary2[TKey,TValue] options, Duplicati.Library.Utility.IFilter filter) [0x00119] in :0
at (wrapper delegate-invoke) System.Func6[System.IO.TextWriter,System.Action 1[Duplicati.Library.Main.Controller],System.Collections.Generic.List1[System.St ring],System.Collections.Generic.Dictionary2[System.String,System.String],Dupli cati.Library.Utility.IFilter,System.Int32].invoke_TResult_T1_T2_T3_T4_T5(System. IO.TextWriter,System.Action1<Duplicati.Library.Main.Controller>,System.Collecti ons.Generic.List1,System.Collections.Generic.Dictionary2<string, strin g>,Duplicati.Library.Utility.IFilter) at Duplicati.CommandLine.Program.ParseCommandLine (System.IO.TextWriter outwri ter, System.Action1[T] setup, System.Boolean& verboseErrors, System.String[] ar gs) [0x00342] in :0
at Duplicati.CommandLine.Program.RunCommandLine (System.IO.TextWriter outwrite r, System.IO.TextWriter errwriter, System.Action`1[T] setup, System.String[] arg s) [0x00002] in :0

hmm, just a shot in the dark but do you happen to use Ubuntu 22.04 ? If yes, you may have the problem that 22.04 has switched to OpenSSL 3 (but NOT Duplicati). In this case, an ugly workaround is to install OpenSSL 1.1 libraries using a PPA. There are posts about it on this forum I believe.

1 Like

:open_mouth: :open_mouth: :open_mouth:
Yes, I use ubuntu 22.04!
Can you give the instructions to install the old OpenSSL libraries?

nvm, found it on the forum:

That solved it, will close this!
Thanks for your help!
uhm, how can I close this?