Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install API server locally successful but access failed #1

Open
shengyuzhang opened this issue Aug 14, 2017 · 2 comments
Open

Install API server locally successful but access failed #1

shengyuzhang opened this issue Aug 14, 2017 · 2 comments

Comments

@shengyuzhang
Copy link

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

@shengyuzhang
Copy link
Author

Basically what I want is accessing Evaluation Server locally without User ID and API key which can only be available after September 1.

@EntilZha
Copy link
Member

EntilZha commented Sep 7, 2017

Sorry for the delayed response, have you tried these instructions? https://github.com/Pinafore/qb-api#run-quiz-bowl-api-server

It would help to know what commands you ran as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants