OAuth Issues affecting multiple storage providers

Just to consolidate, it looks like a large problem with any endpoints using OAuth, i.e.

  • Google Drive
  • Google Cloud Storage
  • Box.com
  • OneDrive

All users getting similar errors:
Failed to connect: Failed to authorize using the OAuth service: Server error. If the problem persists, try generating a new authid token from: Duplicati OAuth Handler - and whatever connection type is being used,

3 Likes

This is probably related to the new version of the OAuth helper service (<duplicati-oauth-handler.appspot.com>) that was deployed yesterday, to add support for Jottacloud (which seem to work, by the way). There is an issue for it: https://github.com/duplicati/oauth-handler/issues/8

1 Like

There seem to be issues with the Duplicati OAuth Handler on multiple types of connections, but not on all. While I am using the Duplicati OAuth Handler with Dropbox and OneDrive, I am only having issues with OneDrive.

I have the same issue as well. Even though I regenerated the OAuth token, it still doesn’t work.

Cloud provider - Google Drive.

Also, I am unable to install the new release. I’ve created another post for this - Unable to install new release pm Raspberry Pi running on Buster

We facing the same issue with all backup using OneDrive, the error below:
Failed to connect: Failed to authorize using the OAuth service: Server error. If the problem persists, try generating a new authid token from: Duplicati OAuth Handler

Any solution?

Uso Google Drive e OneDrive em uns 20 clientes e todos pararam hoje, nenhum autentica, com instalação nova, backup novo, não tem o que fazer, será que o desenvolvedor consegue reverter o que foi feito no Duplicati?

I am running into the same issuing backing up to OneDrive (Microsoft 365 for business.) I tried getting a new OAuth token but that does not seem to help.

Olá @Rio7878 aqui comigo mesma coisa… Já tem alguma novidade? Caso possa avisar se houver uma solução, segue skype adlei.souza

Desde já obrigado!

who’s the best contact person for the code work which might need fixing?

Until the server admin can be reached, can you or @jhall help any way?
I’m not sure if any of the failed services could be tried on your own server.

[Documentation] Request: Document self-hosting with Google App Engine #1 lays out the steps.
I don’t have personal experience with how much trouble it is to get credentials from the provider.

Hi all!.
I’m having same issues.

Duplicati.Library.Interface.UserInformationException: Failed to authorize using the OAuth service: Server error. If the problem persists, try generating a new authid token from: https://duplicati-oauth-handler.appspot.com?type=googledrive ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
  at System.Net.HttpWebRequest.GetResponseFromData (System.Net.WebResponseStream stream, System.Threading.CancellationToken cancellationToken) [0x00146] in <9c6e2cb7ddd8473fa420642ddcf7ce48>:0 
  at System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task`1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func`1[TResult] aborted, System.Threading.CancellationTokenSource cts) [0x000f8] in <9c6e2cb7ddd8473fa420642ddcf7ce48>:0 

Same here, with Google Drive.
Just got 2.0.6.103_canary_2022-06-12, but same error as 2.0.6.102_canary_2022-04-06 this morning.
“Operation List with file attempt 3 of 5 failed with message: Failed to authorize using the OAuth service: Server error.”

Until the server admin can be reached, can you or @jhall help any way?

Looking into it. Trying to debug it with a local installation of the oauth service, and I think I have reproduced the error (but not solved it yet).

2 Likes

Got it! :dart:
…at least in my local, crazy-hack service installation, but pretty sure this is it. Pull request on oauth service coming up in a few minutes, hopefully shorter response time on this one. :crossed_fingers:

4 Likes

Wonderful news! We’re trying to reach the Duplicati OAuth server admin. I haven’t heard back yet…

Hi all, it was a simple typo (admittedly a confusing one) introduced as part of fixing Jottacloud.
The issue has been fixed and the service updated.

It has been too long since I last updated the OAuth handler that I forgot to monitor the request logs after the update. Next update I will make sure to announce the change prior to performing it and monitor the request logs afterwards.

Appologies for the interruption.

13 Likes

Está voltando a funcionar em todos os lugares que usamos, algo foi corrigido, abençoado seja!

A post was split to a new topic: Google Drive issue

Thanks for resolving :slight_smile: I can confirm my overnight job ran happily last night :slight_smile:

Thanks for resolving. My backups run fine now :slight_smile:

Thanks for this quick fix! System running fine again.