OAuth Issues affecting multiple storage providers

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.

cheers thanks for fixing it works i love you guys
:slight_smile::slight_smile::slight_smile:

Thank you for fixing it!

Hello,
I’m still having the exact same issue as the other people were describing here.

What must I do to apply the fix? Will this be pushed through the standard update pipeline? When can I expect the service to work again? I’m using Fedora 36

Welcome to the forum @meyou69

No. This issue was in the Internet-hosted Duplicati OAuth handler service.
It was caused by a June 12 change and fixed in a June 13 change above.
It also only affects OAuth-using storage types, where you have an AuthID.

This topic consolidates many reports that began on June 13, so is generic.
Please see the linked reports for description if you think you’re seeing this.
Also, give your specifics. As you see here, this fix solved numerous cases.

Never mind, I didn’t know I had to regenerate an AuthID for Google Drive AND copy paste the new AuthID to a different configuration page.
I just did this tonight and Duplicati finally works again. The two step process isn’t intuitive at all but at least I understand how it works now.
Thank you for your answer! My issue is solved now!

Still doesn’t work for me. Tried google drive, Dropbox, OneDrive. All fail in the exact same way—I get the oauth token, but the test option never succeeds. Any suggestions?

works for me (just now, with OneDrive V2)

Try harder.

Welcome to the forum @Ken_Getz

Please describe how that looks, for example the message seen.

Other ways to look for more information would need saving the job and doing one of the following.

Export As Command-line and use that URL for a Duplicati.CommandLine.BackendTool.exe list.

Have a tab at About → Show log → Live → Retry to watch job’s Verify files. Click useful lines.

Thanks. Working on it. Here’s what I see once I have finished the authentication:

I have Duplicati installed in a Docker container, if that matters.