Jottacloud Error 401 (Unauthorized)


#1

Hi

I tried to do a backup to Jottacloud but I keep getting the error “the remote server returned an error (401) Unauthorized”. I checked the password thrice and restarted the service, nothing changes.

Duplicati is running on a Ubuntu machine (OMV).

Any suggestions are appreciated.

Greetz
Daniel


Errors on Linux with B2 and Jotta
[Request] Jottacloud 2FA
#2

Hi @ChacalCH, welcome to the forum!

I don’t personally use Jottacloud, but I know some other users (such as @rix1337) have used it.

Could you let us know what version of Dulicati you are using and maybe post your job configuration exported “As commandline” (be sure to remove any personal data like email address, passwords, etc.)

Oh - and while it sounds like we’re not using the latest Jottacloud API, my guess is this is NOT the issue you’re running into (but I’m sharing it anyway, just in case I’m wrong):


#3

Hi @JonMikelV

I’m using Duplicati 2.0.3.3_beta_2018-04-02 on OMV

This is the error message:

    Fatal error
System.Net.WebException: The remote server returned an error: (401) Unauthorized.
  at Duplicati.Library.Main.BackendManager.List () [0x00049] in <ae134c5a9abb455eb7f06c134d211773>:0 
  at Duplicati.Library.Main.Operation.FilelistProcessor.RemoteListAnalysis (Duplicati.Library.Main.BackendManager backend, Duplicati.Library.Main.Options options, Duplicati.Library.Main.Database.LocalDatabase database, Duplicati.Library.Main.IBackendWriter log, System.String protectedfile) [0x0000d] in <ae134c5a9abb455eb7f06c134d211773>:0 
  at Duplicati.Library.Main.Operation.FilelistProcessor.VerifyRemoteList (Duplicati.Library.Main.BackendManager backend, Duplicati.Library.Main.Options options, Duplicati.Library.Main.Database.LocalDatabase database, Duplicati.Library.Main.IBackendWriter log, System.String protectedfile) [0x00000] in <ae134c5a9abb455eb7f06c134d211773>:0 
  at Duplicati.Library.Main.Operation.BackupHandler.PreBackupVerify (Duplicati.Library.Main.BackendManager backend, System.String protectedfile) [0x00066] in <ae134c5a9abb455eb7f06c134d211773>:0 

This is the configuration:

mono /usr/lib/duplicati/Duplicati.CommandLine.exe
 backup
 "jottacloud://Backup Name?auth-username=User&auth-password=Password"
 /sharedfolders/data/Bilder/
 --backup-name="Backup Name"
 --dbpath=/root/.config/Duplicati/YKKEOMWVDN.sqlite
 --encryption-module=aes
 --compression-module=zip
 --dblock-size=50mb
 --passphrase="Passphrase"
 --disable-module=console-password-input

Greetz ChacalCH


#4

It looks like you’re using the most stable version of Duplicati available at the moment, and I know other users have been able to run it on Open Media Vault so I doubt the issue is there…

And everything looks OK to me in the config and the error message just tells us that JottaCloud considers Duplicati unauthorized. Unfortunately, I don’t think we can get any more detail from JottaCloud about WHY they consider it unauthorized.

Is it possible it has stale or missing SSL certificates (which are destination independent) as seemed to have been the issue here?