Your authentication token has expired. Please try logging in again [under investigation]

@mia mail with logs sent.

Thanks,

1 Like

Thank you @abadr! I have received them :slight_smile:

Hi @abadr,

Could you try 3.8.5 for that “new” computer and let me know if the authentication issue persists? The build can be tested from here: New Insync version: 3.8.5

@mia I’m afraid this new version didn’t solve the problem.

@mia I just wanted to add to the conversation that this issue appears to occur when trying to sync with a Microsoft OneDrive account as well. I have a fresh install (after a hard drive failure). I am syncing with a OneDrive account but am receiving the same error message and syncing does not occur.

@jfleck Hi Jeremy, could you send your logs.db and out.txt files to support@insynchq.com with the link to this post? I will check and see what the OneDrive equivalent is for the solution above.

Thank you!

The same issue here.

1 Like

@mia, Eureka, it works … for now. I will confirm if this works long term since previously it worked for an hour or two with the alternative login and disconnects again. But now it works with the standard login link which it didn’t do before.

I found the culprit at least in my case: Frustrated with this issue I tried to setup Rclone to do the syncing job but I got the same “Something went wrong” authentication error while authenticating Rclone to Drive. Realizing that the problem is not unique to Insync, I tried the Insync authentication link using a fresh install of the Brave browser and it worked like a charm first time.

I was using Firefox with “Standard Tracking Protection” enabled and a bunch of privacy extensions. Apparently one of those extensions screwed things up. Or maybe the Drive authentication system only plays nice with the chrome engine. I didn’t do any granular testing to find out the culprit.

Hope this helps other users.

2 Likes

My environments (where it definitely is still not working):

Server:

  • Debian 10
  • Insync Server/“headless” v3.2.7.10758

Client:

  • Windows 11 Pro (with latest updates).
  • Google Chrome (latest version)
  • Google account with “Google One” storage upgrade.

Hi @Ehsan_Akrami, what’s your Insync version please?

Hi Mia,
I am using headless version 3.2.7.10758

1 Like

Gotcha. May I confirm if you’ve already tried the proposed workaround?

  1. Remove the affected account
  2. Under Google Account > Apps with access to your account, click on Insync and select remove access.
  3. Do the headless login flow afterwards–

When you get redirected after step 1 in the headless add account flow, you need to copy and modify the URL. Here are the steps in detail:

  1. After browsing to http://connect.insynchq.com/auth?cloud=gd, you get redirected to this page. Copy the URL in the address bar:
  2. Modify the URL by adding the following at the end: &access_type=offline
  3. Copy that modified URL. Then, open a new tab/browser and paste + browse to the modified URL, and login using the selected account. Proceed with the normal headless add account flow.