Can't access Googel Drive via Cloud 2.8 with client ID

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
perfectcream
Junior Member
Junior Member
Posts: 7
Joined: 2019-10-09, 10:30 UTC

Can't access Googel Drive via Cloud 2.8 with client ID

Post by *perfectcream »

Hi! There~~ I had followed the instruction of https://www.ghisler.com/googledrivehelp.htm to create and download JSON file, and click on the json button to import client ID & client secret.

When I login, I got a error screen say: "Something went wrong Sorry, something went wrong there. Try again." (please see screenshots) and Total Commander responsed "No access code received!" to me.

Image: https://imgur.com/r9xL9NR
Image: https://imgur.com/QIY5iH9

How do I deal with this problem? I had try to logout Google account and clean everything with Ctrl + H in Chrome.

Thank you for your kind cooperation :D
Jon Canale
Member
Member
Posts: 141
Joined: 2003-02-07, 12:54 UTC

Re: Can't access Googel Drive via Cloud 2.8 with client ID

Post by *Jon Canale »

Same problem here. Did all the google updates (json file, etc) and it didn't seem to work. Went back to Cloud plugin 2.60 and everything seems to be okay.
perfectcream
Junior Member
Junior Member
Posts: 7
Joined: 2019-10-09, 10:30 UTC

Re: Can't access Googel Drive via Cloud 2.8 with client ID

Post by *perfectcream »

I tried to use my Google Workspace account (Business Starter) with the same procedures, and it works!
So, maybe Google's security system detected the same access patterns and prohibited them.
perfectcream
Junior Member
Junior Member
Posts: 7
Joined: 2019-10-09, 10:30 UTC

Re: Can't access Googel Drive via Cloud 2.8 with client ID

Post by *perfectcream »

OK, this problem solved... the authentication information had been modified by ClearURLs, after disable it, everything works fine.

ClearURLs
https://chromewebstore.google.com/detail/clearurls/lckanjgmijmafbedllaakclkaicjfmnk?pli=1
arko
Junior Member
Junior Member
Posts: 85
Joined: 2020-04-05, 06:41 UTC

Re: Can't access Googel Drive via Cloud 2.8 with client ID

Post by *arko »

Problem is not solved here. I see the following:
Code received!
Please close browser and return to Total Commander.
...but attempting to enter the GDrive folder results in yet another OAuth window. In the loop.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Can't access Googel Drive via Cloud 2.8 with client ID

Post by *ghisler(Author) »

Does the log show anything useful? You need to enable FTP logging in Configuration - Options - FTP to also log plugins.
Author of Total Commander
https://www.ghisler.com
ralex59
Junior Member
Junior Member
Posts: 2
Joined: 2019-02-20, 14:53 UTC

Re: Can't access Googel Drive via Cloud 2.8 with client ID

Post by *ralex59 »

>>>Does the log show anything useful?

HTTP/ received, closing
POST /o/oauth2/token HTTP/1.1
200 OK
CONNECT \Google
=================
Get dir: \
GET /drive/v3/files?q=%27root%27+in+parents+and+trashed=false&fields=files(exportLinks,size,id,mimeType,modifiedTime,name,shared,shortcutDetails),nextPageToken&pageSize=1000&supportsAllDrives=true HTTP/1.1
Error: 403 Forbidden
Disconnected
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Can't access Googel Drive via Cloud 2.8 with client ID

Post by *ghisler(Author) »

Please also enable the detailed log file in the connection settings.
When posting the results, make sure to no post any access codes.
Author of Total Commander
https://www.ghisler.com
Post Reply