Skip to content

feature request: configurable timeout #7

Description

@fredvej

Please make it possible to configure the length of the timeout for getting a verification and establishing a connection.

I have two Google Drive connections in Double Commander, and one of them demands that I verify by entering a code I get in a text message. By the time the message arrives, cloud_storage_linux64.wfx has already given up etablishing the connection and declares Timeout. When I have entered the verification code and logged in to Google Drive, the browser says "Firefox can’t establish a connection to the server at localhost:3359" because of the timeout.

When I log in to the Google Drive account via the browser, I can access the content via the browser, so the account is not blocked. I have tried removing my phone number from the account's settings, but when the cloud_storage_linux64.wfx tries to connect, the Google login still demands a verification.

The other Google Drive connection works just fine. I attempt to enter the shortcut in wfx://Cloud Storage , the default browser (Firefox) opens and I log in to the Google Drive account, and the browser says Success, and I can close the browser and the account directory is open in Double Commander.

The two accounts are configured like this in $DC_CONFIG_PATH/cloud_storage.ini :

{
"client_id": null,
"get_token_method": "oauth",
"name": "Googledrive account that demands verification",
"oauth_token": "",
"port": 3359,
"save_type": "config",
"service": "gdrive",
"user_name": "myaccount@gmail.com"
},
{
"client_id": null,
"get_token_method": "oauth",
"name": "Googledrive that works fine",
"oauth_token": "here is the token string removed",
"port": 3359,
"save_type": "config",
"service": "gdrive",
"user_name": "myother@gmail.com"
},

Double Commander
Version: 0.9.8 beta
Revision: 9296
Build date: 2020/02/01
Lazarus: 2.0.6.0
FPC: 3.0.4
Platform: x86_64-Linux-qt5
OS version: Manjaro Linux
Widgetset library: Qt 5.14.1, libQt5Pas 5.6.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions