# Startup error and can't auth google

**URL:** <https://forum.duplicati.com/t/startup-error-and-cant-auth-google/2937>\
**Category:** Support\
**Created:** [March 18, 2018, 7:44pm UTC](https://forum.duplicati.com/t/startup-error-and-cant-auth-google/2937 "2018-03-18T19:44:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![scrognoid](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/s/c4cdca/32.png) [@scrognoid](https://forum.duplicati.com/u/scrognoid)\
**Post date:** [March 18, 2018, 7:44pm UTC](https://forum.duplicati.com/t/startup-error-and-cant-auth-google/2937/1 "2018-03-18T19:44:08Z")

</div>

When I launch the tray icon is red and the following is in the logs:

> Mar 18, 2018 3:27 PM: Request for [http://localhost:8200/api/v1/remoteoperation/test](http://localhost:8200/api/v1/remoteoperation/test) gave error  
> Mar 18, 2018 3:27 PM: Reporting error gave error

I can get an AuthID from google drive but test connection fails with

> Failed to connect: Failed to authorize using the OAuth service: GetResponse timed out. If the problem persists, try generating a new authid token from: [Duplicati OAuth Handler](https://duplicati-oauth-handler.appspot.com?type=googledrive)

I got another authid as suggested in the error but that also fails to connect.

Using and old authid that used to work also fails.

Disconnect VPN (just trying things at random) does not help.

---

<div class="post-metadata">

**Author:** ![JonMikelV](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/j/439d5e/32.png) [@JonMikelV](https://forum.duplicati.com/u/JonMikelV)\
**Post date:** [March 20, 2018, 2:52pm UTC](https://forum.duplicati.com/t/startup-error-and-cant-auth-google/2937/2 "2018-03-20T14:52:45Z")

</div>

What version of Duplicati are you using?

Up until the more recent Canary (and THE most recent Experimental) versions there was a failure scenario where if more than 50 usage log submissions were queued up it would cause problems.

That possibility combined with the OAUTH response timeout makes it sound like you might have a general DNS or connectivity issue maybe?

---

<div class="post-metadata">

**Author:** ![scrognoid](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/s/c4cdca/32.png) [@scrognoid](https://forum.duplicati.com/u/scrognoid)\
**Post date:** [March 20, 2018, 7:29pm UTC](https://forum.duplicati.com/t/startup-error-and-cant-auth-google/2937/3 "2018-03-20T19:29:53Z")

</div>

- 2.0.2.1\_beta\_2017-08-01

It started working. I find that no less disturbing. I tried it dozens of times over two days.

Back story:  
I did a couple of fresh installs of Duplicati on this computer (another story). I was trying to restore backups from .json files. I had it working once, had to wipe my drive and reinstall. I could not get past Oauth.

I got the icon to change color by saving a dummy configuration. It failed at least once after that so no reason to think I solved anything.

---

<div class="post-metadata">

**Author:** ![JonMikelV](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/j/439d5e/32.png) [@JonMikelV](https://forum.duplicati.com/u/JonMikelV)\
**Post date:** [March 22, 2018, 2:40am UTC](https://forum.duplicati.com/t/startup-error-and-cant-auth-google/2937/4 "2018-03-22T02:40:52Z")

</div>

I believe there was a bug in the 2.0.2.1 beta (and a few later canaries) that caused the icon to show red after install until the first successful task action (such as a backup). Would explain your red icon experience?

As for the OAUTH issue, I believe that the authorization is done through the Duplicati OAUTH server were down (which happened a few weeks ago for a short while) everybody using OAUTH should have had issues. Since we didn’t see that (as far as I know) I think that points to an issue with your machine getting to the OAUTH server.

Granted, that’s no improvement - the end result is that you couldn’t use Duplicati for your backups. But it makes it harder to pin down the actual cause. If it happens again, do you have another machine you could test with?

* * *

Oh, this didn’t happen to start on March 16th, did it? It sounds like Google made some changes that might have tripped up Duplicati for a short while…

> [@Gdrive (Google drive) and DB restore](https://forum.duplicati.com/t/gdrive-google-drive-and-db-restore/2966):
>
> I bundle three things in here, hope it is ok A hint that Google Drive changed on March 16 which impacted Duplicati. I don’t know the reason Some surprise on error messages on recreating the database. I’m aware of [Repeated failure to repair](https://forum.duplicati.com/t/repeated-failure-to-repair/1555) , it has some very good explanations in there, thank you @kenkendkA question, maybe simplistic approach on DB restore Apparently GoogleDrive (GD) changed some of their setting / app specific authentication around March 16 which made my backup fail. I tri…

> [@Duplicati and Google Drive paths](https://forum.duplicati.com/t/duplicati-and-google-drive-paths/1967/7):
>
> It worked for me, I could live with the fact that I only found the Duplicati-created folders when searching Gdrive, yet not when explicitly stepping down the drive folder tree. The long story : Since March 18 Google drive behavior changed and all my backup’s don’t work anymore. (Duplicati can’t find file/folder anymore it once created, must be related you @kenkendk ‘s statement “…only give Duplicati permissions to see/touch files it has created itself.”) I’ve seen no other option than redefini…

---

<div class="post-metadata">

**Author:** ![scrognoid](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/s/c4cdca/32.png) [@scrognoid](https://forum.duplicati.com/u/scrognoid)\
**Post date:** [March 22, 2018, 11:03pm UTC](https://forum.duplicati.com/t/startup-error-and-cant-auth-google/2937/5 "2018-03-22T23:03:23Z")

</div>

Yes, it started about 3/16.  
So we are assuming that Duplicati reacted to Google’s change and now everything is fine?

---

<div class="post-metadata">

**Author:** ![JonMikelV](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/j/439d5e/32.png) [@JonMikelV](https://forum.duplicati.com/u/JonMikelV)\
**Post date:** [March 28, 2018, 7:15pm UTC](https://forum.duplicati.com/t/startup-error-and-cant-auth-google/2937/6 "2018-03-28T19:15:58Z")

</div>

> [@scrognoid](#):
>
> So we are assuming that Duplicati reacted to Google’s change and now everything is fine?

I don’t know about the rest of “we”, but that’s my assumption at this point.

But be sure to let us know if it happens to you again, just in case I’m wrong.
