Skip to content

Install API server locally successful but access failed #1

@shengyuzhang

Description

@shengyuzhang

Describe the issue

I followed your instructions to install API server on Google Cloud. Things went right until I access the API Server service from my personal computer. It said:

RuntimeError: Exception:
Status: 401
Response: {"message": "The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required."}

I guess the Configuration part in your readme file may help, but I don't know

  1. what the contents of the file client_secrets.json mean:

"web": {
"client_id": "<client_id>",
"client_secret": "<client_secret>",
"redirect_uris": ["/oauth2callback"],
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://accounts.google.com/o/oauth2/token"
}

  1. where the client_secrets.json file I should put
    root directory of qb-api???

Environments

Server OS: Centos 7
Python version: Python 3.6.2
Docker version: 17.06.0-ce
Client OS: MacOS Sierra 10.12.1
Python version: Python 3.6.0

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