Skip to content

Gdrive credential problem #604

Open
Open
@fredlubrano

Description

@fredlubrano

I'm having an issue with Google Drive. When I run the command, I get the following error message: 'Received close error: invalid argument'. Additionally, the 'transfer' service does not seem to be listening on port 8080, even though it is available.
Thanks

✗  go run main.go --gdrive-client-json-filepath ./credential/creden.json --gdrive-local-config-path ./credential/ --basedir /tmp/ --provider gdrive
Received close error: invalid argument
Go to the following link in your browser then type the authorization code: 
https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=480001363235-ktbprvug8qkt7m14007f8i1f6cqg42tc.apps.googleusercontent.com&redirect_uri=http%3A%2F%2Flocalhost%3A8080&response_type=code&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive.metadata&state=state-token

✗ cat ./credential/creden.json | jq .
{
  "installed": {
    "client_id": "480001363235-ktbprvug8qkt7m14007f8i1f6cqg42tc.apps.googleusercontent.com",
    "project_id": "massive-cider-378414",
    "auth_uri": "https://accounts.google.com/o/oauth2/auth",
    "token_uri": "https://oauth2.googleapis.com/token",
    "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
    "client_secret": "xxxxxxxxxxx",
    "redirect_uris": [
      "http://localhost:8080"
    ]
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions