![](/img/trans.png)
[英]gcloud auth login issue 403 access denied when trying to run bigquery
[英]gcloud auth login proxy issue
當我嘗試使用命令gcloud auth login
向 GCloud 進行身份驗證時,我收到以下錯誤消息:
Your browser has been opened to visit:
https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=3...
ERROR: There was a problem with web authentication. Try running again with --no-browser.
ERROR: (gcloud.auth.login) Could not reach the login server. A potential cause of this could be because you are behind a proxy. Please set the environment variables HTTPS_PROXY and HTTP_PROXY to the address of the proxy in the format "protocol://address:port" (without quotes) and try again.
如何解決?
當我設置環境變量$HTTP_PROXY
和$HTTPS_PROXY
時,我出現了這個問題。
解決方案是簡單地取消設置變量:
unset HTTP_PROXY
unset HTTPS_PROXY
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.