Unable to connect to server

hey guys, I can’t seem to connect one of my company’s laptops to Duplicati. I did the same process on many other computers but it does not work on this one for example.
When I install Duplicati and I launch it, it doens’t take me to the localhost webpage. I have to run it as administrator for the page to even open. When it does, it just says the connection to the server has been lost. I did some research and I see many people have had the same issue but their solutions did not work for me. When I try to run Duplicati from command line, this is the error I get on event viewer.

Application: Duplicati.CommandLine.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.IOException
at System.IO.__Error.WinIOError(Int32, System.String)
at System.IO.__ConsoleStream.Read(Byte[], Int32, Int32)
at System.IO.Stream+<>c.b__39_0(System.Object)
at System.Threading.Tasks.Task1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at System.IO.Stream.EndRead(System.IAsyncResult) at System.Threading.Tasks.TaskFactory1+FromAsyncTrimPromise1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Complete(System.__Canon, System.Func3<System.__Canon,System.IAsyncResult,Int32>, System.IAsyncResult, Boolean)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
at System.IO.Stream+d__27.MoveNext()

Exception Info: System.AggregateException
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean)
at System.Threading.Tasks.Task.Wait(Int32, System.Threading.CancellationToken)
at Duplicati.Library.AutoUpdater.UpdaterManager.RunFromMostRecentSpawn(System.Reflection.MethodInfo, System.String[], Duplicati.Library.AutoUpdater.AutoUpdateStrategy)
at Duplicati.CommandLine.Program.Main(System.String[])

For some reason it fails to read from the console.

You can disable the auto-updater, which may make it better:

C:\> export AUTOUPDATER_Duplicati_SKIP_UPDATE=1
C:\> Duplicati.CommandLine.exe

More details here:
https://duplicati.readthedocs.io/en/latest/07-other-command-line-utilities/#duplicatilibraryautoupdaterexe

1 Like

Thanks for the reply, Ken!
How can I do that if I am unable to see the Duplicati icon in the tray?

Is this a duplicate of the @Ismael_Chebli post here?

I guess it double posted yesterday when I couldn’t see the first post.
@mods, you can delete the other thread please.

I believe you are running Duplicati beta (2.0.3.3) on Win7 professional so for testing purposes can you try one of these?

If you used an installer for 2.0.3.3 try:

set AUTOUPDATER_Duplicati_SKIP_UPDATE=1
“C:\Program Files\Duplicati 2\Duplicati.GUI.TrayIcon.exe”

If you used the GUI updater to get to 2.0.3.3 try:

set AUTOUPDATER_Duplicati_SKIP_UPDATE=1
C:\ProgramData\Duplicati\updates\2.0.3.3\Duplicati.GUI.TrayIcon.exe

@kenkendk, what is the export command you referenced?

My mistake, it is usually called export on Linux, but sometimes you can also use set as on Windows.