I have the same error while recovering a ~ 20 GB backup from Google
Drive.

While recovering the encrypted .gpg files from the mounted Google Drive
in Ubuntu's File Explorer directly to my disk i noticed that the
connection hanged each 5 minutes at the same time i was trying to
recover the data through Deja Dup Recovery function. The recovery
through Deja Dup failed with the "Invalid Credentials" error, and the
File Transfer through the file explorer raised an: "Error while copying
*.gpg: Authentication required: Unauthorized"

So this fact support @mterry & cody35367's hypothesis of some kind of
token expiration and renewal of the online accounts module.

Taking this is fact makes me wonder if maybe only 5 retries is too low?
Maybe rising the timeout time to 30 sec-1 minute could be the solution
meanwhile the token negotiation is slow.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to deja-dup in Ubuntu.
https://bugs.launchpad.net/bugs/1747646

Title:
  Authentication error with google drive

Status in Déjà Dup:
  Confirmed
Status in Duplicity:
  Confirmed
Status in deja-dup package in Ubuntu:
  Triaged

Bug description:
  Hi,

  I'm having an issue using deja-dup to back up my laptop to my google
  drive.

  When backing only a small folder (eg: ~/Documents) every thing works fine.
  However when trying to backup my whole home folder (/home/myusername) I get 
an "Invalid credentials" error after 5-10 min.

  The back up seems to start normally and my destination folder starts
  filling with "duplicity-full...difftar.gz" files, but eventually I get
  the Invalid Credentials error.

  
  lsb_release -d
  Fedora release 27 (Twenty Seven)

  rpm -q deja-dup duplicity
  deja-dup-37.1-1.fc27.x86_64
  duplicity-0.7.16-1.fc27.x86_64

  deja-dup.log attached.
  I cannot attach deja-dup.gsettings since i can only join 1 file. Will send if 
needed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/deja-dup/+bug/1747646/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to