python-samples
python-samples copied to clipboard
Google Drive API error: "Impossible to reach the site"
Actual Behavior
Hi all, I'm Elisa and I'm trying to configure and run a Google Drive app. I've read the Python Quickstart (https://developers.google.com/drive/api/v3/quickstart/python) and I've done all the steps, but when I type
$ python quickstart.py
I receive the following error:
Impossibile raggiungere il sito
La pagina web all'indirizzo http://localhost:0/?state=3s0NlvCqmX2N61DLZzoHFRCAHXU80o&code=4/wQGzmEi5ZGAaEi_NzMA_sWFtkyGhe80DyVXlIlNNUqC2T9W0a98mTt0hxM3HYKhA0nKzrOyzB1Ezr13wwCA2qoU&scope=https://www.googleapis.com/auth/drive.metadata.readonly potrebbe essere temporaneamente non disponibile oppure è stata permanentemente spostata a un nuovo indirizzo web.
ERR_ADDRESS_INVALID
Expected Behavior
I think the sample should proceed automatically.
Steps to Reproduce the Problem
I've just followed the steps up to Step 4: Run the sample after which I got the error.
Specifications
-
Python version (
python --version): Python 2.7.16 -
Pip version: pip 9.0.3 from /usr/lib/python2.7/site-packages (python 2.7)
-
Google libraries version: google-api-python-client==1.7.11 google-auth==1.11.0 google-auth-httplib2==0.0.3 google-auth-oauthlib==0.3.0
-
OS (Mac/Linux/Windows): NAME="Amazon Linux" VERSION="2" ID="amzn" ID_LIKE="centos rhel fedora" VERSION_ID="2" PRETTY_NAME="Amazon Linux 2" ANSI_COLOR="0;33" CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2" HOME_URL="https://amazonlinux.com/"
Other
Let me know If I have to provide you other infos. Thank you in advance!