No GDrive Connectivity in VCL Cloud Pack

Hello,

I use the current version of TMS VCL Cloud Pack. Since a few days it isn't possible to connect with Google drive, neither with InternalBrowser nor with ExternalBrowser. After authentication only a white site appears.

I've tested it with your CloudStorageDemo and there is the same problem.

In the CloudStorageDemo from TMX FMX Cloud Pack all works fine.

Could you check it please?

We have noticed issues with authentication in TAdvGDrive from time to time over the last couple of weeks.
It seems these issue are related to he Google Drive API and they go away automatically after some time.

The problem lasts almost a few days.

I haven't been able to reproduce the issue anymore yesterday or today.
If the problem persists, please provide a LOG file so I can further investigate this.
Logging can be enabled by setting Logging to True and LogLevel to llDetail.
The LOG file is generated automatically in the machine's Documents folder.

Hello,


the problem still exists today. 

I start the VCL CloudStorage with GDrive and I have to authentify me.
My possible accounts will be listed in the browser and I select one. The result is a blank page without any text.

Here is the detailed log file: TAdvGDrive.LOG

20180925T145648:HTTPS GET RESULT:{
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "required",
    "message": "Login Required",
    "locationType": "header",
    "location": "Authorization"
   }
  ],
  "code": 401,
  "message": "Login Required"
 }
}

20180925T145648:HTTPS GET RESULT:{
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "required",
    "message": "Login Required",
    "locationType": "header",
    "location": "Authorization"
   }
  ],
  "code": 401,
  "message": "Login Required"
 }
}

20180925T145702:HTTPS GET RESULT:{
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "required",
    "message": "Login Required",
    "locationType": "header",
    "location": "Authorization"
   }
  ],
  "code": 401,
  "message": "Login Required"
 }
}

20180925T145702:HTTPS GET RESULT:{
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "required",
    "message": "Login Required",
    "locationType": "header",
    "location": "Authorization"
   }
  ],
  "code": 401,
  "message": "Login Required"
 }
}


If do I compile the FMX version of the CloudStorage then the program will list the files without authentification. Maybe the token from VCL is valid.

Do I use the VCL version of CloudStorage again, then  i have to authentify me again with the result of the blank page.

Both versions use the same Url http://127.0.0.1:8889/ and Port 8889

And do I clear the acces token then the FMX versionwill also open the browser, I select my account and then the correct result appears: 


"Application succesfully authorized. You can close this browser window"

I'm not sure what is going wrong as we still haven't been able to reproduce this issue.

Can you try running the application on a different computer and/or on a different network?

Some of my customers have this problem too on other machines and other networks. 

They pointed me to the problem. But I can check it on another machine in my house.

As expected the same problem.


The browser opens, ask for the account and the password.
The the site appears where I have to accept the access of the program to my GDrive.
And then: blank page and no connect in your VCL example program.
The log file shows the same like above.

As we are unable to reproduce the issue would it be possible to provide the API Key and Secret values you are using to check if that makes a difference?

You can provide the values by sending an email to: mailto:help@tmssoftware.com