Rclone will work for about an hour then gets 401 errors

Rclone will work fine for an hour or so then will have 401 errors and wont reconnect. I have tried doing rclone config and selecting a different team drive but it wont load any of them either.

Once I reboot the server it will work again for another hour.

2020/04/04 08:36:06 INFO : Google drive root '': Change notify listener failure: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 08:37:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 08:38:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 08:39:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 08:40:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 08:41:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 08:42:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 08:43:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 08:44:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 08:45:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 08:46:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 08:47:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 08:48:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 08:49:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 08:50:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 08:51:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 08:52:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 08:53:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 08:54:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 08:55:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 08:56:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 08:57:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 08:58:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 08:59:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:00:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:01:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:02:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:03:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:04:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:05:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:06:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:07:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:08:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:09:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:10:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:11:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:12:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:13:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:14:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:15:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:16:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:17:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:18:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:19:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:20:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:21:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:22:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:23:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:24:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:25:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:26:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:27:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:28:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:29:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:30:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:31:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:32:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:33:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:34:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:35:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:36:06 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 09:37:11 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 18:39:02 NOTICE: Time may be set wrong - time from "oauth2.googleapis.com" is 9h0m22.613346725s different from this computer
2020/04/04 18:39:02 NOTICE: Time may be set wrong - time from "www.googleapis.com" is 9h0m21.859414885s different from this computer
2020/04/04 10:38:41 INFO : Google drive root '': Change notify listener failure: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 10:39:41 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 10:40:41 INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError

Seems like your time is setup wrong on your computer.

The servers time is currently 2020-04-04 07:24:18.547099-0500 which looks correct to me?

Time zone? Something along those lines.

The time is reporting 9 hours off.

What is the best way of checking/changing the time zone?

I have changed it in the bios and the logs have changed. 2020/04/04 07:50:40

INFO : Google drive root '': Failed to get StartPageToken: googleapi: Error 401: Invalid Credentials, authError
2020/04/04 07:50:56 ERROR : Google drive root '': Statfs failed: failed to get Team/Shared Drive info: googleapi: Error 401: Invalid Credentials, authError

You'd have to reauthorize since the time was off so you don't have a token.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.