OAuth fails on all browsers

English Support for Cloud Storage
Post Reply
Fabulous2805
Posts: 4
Joined: Sun Oct 13, 2024 3:45 pm

OAuth fails on all browsers

Post by Fabulous2805 »

Attempting to setup some profiles that upload to Google Drive, this is something that I had done successfully for many years before, but this time I install Syncovery 10.15.10 on a new computer.

I attempt to setup the Internet Protocol Settings and when I set Protocol to Google Drive and click on the folder icon to choose the Container, I am taken (as expected) to Google's OAuth interface on my default browser. I go through the OAuth steps but at the final step instead of returning to Syncovery the progress indicator spins and spins and makes no progress (see screenshot). This is the URL:
https://accounts.google.com/signin/oaut ... gInDzOsCUA

I eventually close the tab and go back to Syncovery and on the Waiting for Authentication I click Cancel and then see 3 errors in succession (see 3 more screenshots). It doesn't seem to matter how long I wait, I once waited around 30 minutes and there was no change, I still had to cancel.

I have tried this on Google, Firefox, and Edge on Windows 10 (by setting them as my default browser before each try). No differences between them. Same result if I manually run the profile in foreground. This is quite a problem for my use case. Any ideas would be greatly appreciated.
Attachments
Google OAuth does not work for Google Drive - Syncovery error 3.png
Google OAuth does not work for Google Drive - Syncovery error 3.png (5.19 KiB) Viewed 10976 times
Google OAuth does not work for Google Drive - Syncovery error 2.png
Google OAuth does not work for Google Drive - Syncovery error 2.png (7.34 KiB) Viewed 10976 times
Google OAuth does not work for Google Drive - Syncovery error 1.png
Google OAuth does not work for Google Drive - Syncovery error 1.png (4.41 KiB) Viewed 10976 times
Last edited by Fabulous2805 on Sun Oct 13, 2024 4:30 pm, edited 3 times in total.

Fabulous2805
Posts: 4
Joined: Sun Oct 13, 2024 3:45 pm

Re: OAuth fails on all browsers

Post by Fabulous2805 »

Here's the OAuth window screenshot. This is what I see when it just sits there with a spinning progress indicator doing nothing.
Attachments
Google OAuth does not work for Google Drive - redacted.jpg
Google OAuth does not work for Google Drive - redacted.jpg (111.26 KiB) Viewed 10973 times
Last edited by Fabulous2805 on Sun Oct 13, 2024 4:39 pm, edited 1 time in total.

Fabulous2805
Posts: 4
Joined: Sun Oct 13, 2024 3:45 pm

Re: OAuth fails on all browsers

Post by Fabulous2805 »

Attached is the most recent log (redacted). Here's the most important section (I think):

Connecting with Google Drive

ERROR
ext://Google Drive/gDrive box/Critical Data: Cannot access ext://Google Drive/gDrive box/Critical Data
(Cloud Connect Failed - Please Run Job Manually in Foreground To Authenticate at 0000000001EA32A2)

Operation Canceled (Thread killed), CP: WTRUN70 (PrepareSyncAndFileLists)
Building started: TRUE - Error Operation Canceled (Thread killed) @ 0000000002A37CBC Checkpoints: WTRUN70/WTRUN70
Operation Canceled (Thread killed)
10/13/2024 8:37:42 AM Google Drive: Verifying Access Tokens
10/13/2024 8:37:42 AM Google Drive: Refreshing Access Tokens
10/13/2024 8:37:42 AM Google Drive: 10/13/2024 8:37:42 AM TSynGDrive.RefreshAccess.
10/13/2024 8:37:42 AM Google Drive: No Refresh Token Available
10/13/2024 8:37:42 AM Google Drive: Verifying Access Tokens
10/13/2024 8:37:42 AM Google Drive: Starting Authentication (may require manual user confirmation)
10/13/2024 8:37:42 AM Google Drive: Starting Authentication via URL https://accounts.google.com/o/oauth2/au ... ompt=force
10/13/2024 8:37:47 AM Google Drive: OAuth Get with params state=profile,code=4/0AVG7fiQw17NCmnoi6TnXt_AUnzlhi5-NzgnEFBKOZ-YpLbcJp5U8ZnN40uEA8hwBFchnnQ,scope=https://www.googleapis.com/auth/drive

The synchronization was prepared but not carried out.
Building started: TRUE - Error Operation Canceled (Thread killed) @ 0000000002A37CBC Checkpoints: WTRUN70/WTRUN70, preparation not OK.


Operation Canceled - CancelButton
Attachments
gDrive_---_hyperon_AUTO 4.0 gDrive encrypted cryptomator vault -- my gdrive-box - 2024-10-13 08.37.42 - Not started (D). Building started. TRUE - Error Operation Cancel - redacted.log.zip
(2.61 KiB) Downloaded 111 times

tobias
Posts: 1861
Joined: Tue Mar 31, 2020 7:37 pm

Re: OAuth fails on all browsers

Post by tobias »

Hello,
this is probably a Firewall or security software related issue.

At the end of the OAuth process, your browser needs to open a localhost page, which is actually a small web server internal to Syncovery.

The URL looks similar to this:
http://localhost:8889/?state=profile&co ... xxxxxxxxxx

This URL is used to pass the authentication code to the Syncovery app.

So you need to make sure that your system allows this.

If you can't make it work, there may be workarounds, but maybe you have an idea how to allow it?

Fabulous2805
Posts: 4
Joined: Sun Oct 13, 2024 3:45 pm

Re: OAuth fails on all browsers

Post by Fabulous2805 »

That was it! My firewall was blocking syncovery.exe and it worked as soon as I unblocked it.

Thanks Tobias for the help and for making such great software :)

Post Reply