Fixed
Status Update
Comments
kn...@google.com <kn...@google.com> #2
using the below does resolve the issue and allow the app to be deployed.
gcloud config set app/use_gsutil true
gcloud config set app/use_gsutil true
[Deleted User] <[Deleted User]> #3
Thanks for the update! We think we have a handle on this issue, and there should be a patch in the Cloud SDK 106 release due out next week that will work with the 'use_gsutil false' setting (which will eventually become the new default).
[Deleted User] <[Deleted User]> #4
I got the error again today. Attaching the verbose output of the command. One thing I am confused about is .
DEBUG: Passing through key word arguments {'verify': True, 'json': None, 'proxies': None, 'timeout': None, 'auth': <requests.auth.HTTPBasicAuth object at 0x0000000005DB2EB8>}.
I have set a proxy, then why does it say proxies None.
DEBUG: Passing through key word arguments {'verify': True, 'json': None, 'proxies': None, 'timeout': None, 'auth': <requests.auth.HTTPBasicAuth object at 0x0000000005DB2EB8>}.
I have set a proxy, then why does it say proxies None.
kn...@google.com <kn...@google.com> #5
There is a high likelihood that the issue is due to the proxy in between which intercepts the connection. Could you take these steps[1] to configure your Cloud SDK for use behind a proxy and retry the command?
If the issue appears with these settings, could you provide us with the REDACTED output of the command you are using along with the "--verbosity" flag set to "debug" again?
[1]https://cloud.google.com/sdk/docs/proxy-settings
If the issue appears with these settings, could you provide us with the REDACTED output of the command you are using along with the "--verbosity" flag set to "debug" again?
[1]
[Deleted User] <[Deleted User]> #6
The log that I attached is already with the proxy set
C:\Workspace\Projects\SafeScan-BitBucket>gcloud config list
[core]
account = [emailid]
disable_usage_reporting = True
[proxy]
address = [proxy url]
password = [password]
port = 18717
type = http
username = [username]
Your active configuration is: [default]
kn...@google.com <kn...@google.com> #7
Thanks for the clarification. I have forwarded this issue to the Cloud SDK product team for further investigation. However there is no ETA at this time. All further communications will occur in this thread.
If you have a support package, it is highly recommended to report the issues via the support package in the future, since there will be a higher SLA when reporting an issue via a support package.
[1]https://cloud.google.com/support#support-plans
[2]https://cloud.google.com/support/docs/migration#q_what_are_the_differences_between_silvergold_support_and_role-based_support
If you have a support package, it is highly recommended to report the issues via the support package in the future, since there will be a higher SLA when reporting an issue via a support package.
[1]
[2]
kn...@google.com <kn...@google.com> #8
The product team needs the REDACTED output of the following commands:
gcloud info --run-diagnostics --anonymize
gcloud auth login --use-oauth2client
Could you run the commands and attach the outputs to this ticket? Thanks.
gcloud info --run-diagnostics --anonymize
gcloud auth login --use-oauth2client
Could you run the commands and attach the outputs to this ticket? Thanks.
[Deleted User] <[Deleted User]> #9
C:\Workspace\Projects>gcloud info --run-diagnostics --anonymize
Network diagnostic detects and fixes local network connection issues.
Checking network connection...done.
Reachability Check passed.
Network diagnostic passed (1/1 checks passed).
Property diagnostic detects issues that may be caused by properties.
Checking hidden properties...done.
Hidden Property Check passed.
Property diagnostic passed (1/1 checks passed).
C:\Workspace\Projects>gcloud auth login --use-oauth2client
Your browser has been opened to visit:
https://accounts.google.com/o/oauth2/auth?code_challenge=XC9D-ikDhTlqwEZijmGBjJ7PL1WvUx-2GUFVp4SenoE&prompt=select_account&code_challenge_method=S256&access_type=offline&redirect_uri=http%3A%2F%2Flocalhost%3A8085%2F&response_type=code&client_id=32555940559.apps.googleusercontent.com&scope=openid+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcloud-platform+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fappengine.admin+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcompute+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Faccounts.reauth
You are now logged in as [emailid].
Your current project is [None]. You can change this setting by running:
$ gcloud config set project PROJECT_ID
So oauth2client worked
kn...@google.com <kn...@google.com> #10
Thanks for your swift response. The product team has figured out the root cause of the issue and the noted that the fix be release in v 292.0.0. You may check the Cloud SDK release noted for the update. In the meantime, you may use the "gcloud auth login --use-oauth2client" instead as a workaround.
[1]https://cloud.google.com/sdk/docs/release-notes
[1]
ch...@google.com <ch...@google.com>
ma...@gmail.com <ma...@gmail.com> #11
My system does not recognize oauth2client
gn...@tangerine.ca <gn...@tangerine.ca> #12
Comment has been deleted.
[Deleted User] <[Deleted User]> #13
+1
The --use-oauth2client option does not work for me.
```
root@minikube:/project# gcloud components update
To help improve the quality of this product, we collect anonymized usage data and anonymized stacktraces when crashes are encountered; additional information is available at
<https://cloud.google.com/sdk/usage-statistics >. This data is handled in accordance with our privacy policy <https://cloud.google.com/terms/cloud-privacy-notice >. You may choose to opt in this
collection now (by choosing 'Y' at the below prompt), or at any time in the future by running the following command:
gcloud config set disable_usage_reporting false
Do you want to opt-in (y/N)? y
Beginning update. This process may take several minutes.
All components are up to date.
root@minikube:/project# gcloud auth login --use-oauth2client
ERROR: (gcloud.auth.login) unrecognized arguments: --use-oauth2client
To search the help text of gcloud commands, run:
gcloud help -- SEARCH_TERMS
root@minikube:/project# gcloud --version
Google Cloud SDK 407.0.0
bq 2.0.79
bundled-python3-unix 3.9.12
core 2022.10.21
gcloud-crc32c 1.0.0
gsutil 5.15
root@minikube:/project#
```
The --use-oauth2client option does not work for me.
```
root@minikube:/project# gcloud components update
To help improve the quality of this product, we collect anonymized usage data and anonymized stacktraces when crashes are encountered; additional information is available at
<
collection now (by choosing 'Y' at the below prompt), or at any time in the future by running the following command:
gcloud config set disable_usage_reporting false
Do you want to opt-in (y/N)? y
Beginning update. This process may take several minutes.
All components are up to date.
root@minikube:/project# gcloud auth login --use-oauth2client
ERROR: (gcloud.auth.login) unrecognized arguments: --use-oauth2client
To search the help text of gcloud commands, run:
gcloud help -- SEARCH_TERMS
root@minikube:/project# gcloud --version
Google Cloud SDK 407.0.0
bq 2.0.79
bundled-python3-unix 3.9.12
core 2022.10.21
gcloud-crc32c 1.0.0
gsutil 5.15
root@minikube:/project#
```
Description
information in the report you file. In order to help diagnose the issue,
we've included some installation information in this report. Please look
through and redact any information you consider personal or sensitive
before submitting this issue.
Issue running command [gcloud auth login].
What steps will reproduce the problem?
What is the expected output? What do you see instead?
ERROR: gcloud crashed (ConnectionError): HTTPSConnectionPool(host='
Please provide any additional information below.
Trace:
gcloud_main.py:186
gcloud_cli.Execute()
calliope\cli.py:1009
self._HandleAllErrors(exc, command_path_string, specified_arg_names)
calliope\cli.py:1042
exceptions.HandleError(exc, command_path_string, self.__known_error_handler)
calliope\exceptions.py:527
core_exceptions.reraise(exc)
core\exceptions.py:146
six.reraise(type(exc_value), exc_value, tb)
calliope\cli.py:983
resources = calliope_command.Run(cli=self, args=args)
calliope\backend.py:807
resources = command_instance.Run(args)
surface\auth\login.py:189
launch_browser, scopes)
api_lib\auth\util.py:82
user_creds = c_flow.RunGoogleAuthFlow(google_auth_flow, launch_browser)
core\credentials\flow.py:256
authorization_prompt_message=authorization_prompt_msg_no_launch_browser)
core\credentials\flow.py:355
self.fetch_token(code=code)
google_auth_oauthlib\flow.py:281
self.client_config['token_uri'], **kwargs)
requests_oauthlib\oauth2_session.py:319
proxies=proxies)
requests\sessions.py:581
return self.request('POST', url, data=data, json=json, **kwargs)
requests_oauthlib\oauth2_session.py:483
method, url, headers=headers, data=data, **kwargs)
requests\sessions.py:533
resp = self.send(prep, **send_kwargs)
requests\sessions.py:646
r = adapter.send(request, **kwargs)
requests\adapters.py:516
raise ConnectionError(e, request=request)
ConnectionError: HTTPSConnectionPool(host='
Installation information:
Google Cloud SDK [291.0.0]
Platform: [Windows, x86_64] ('Windows', 'USTTRVEFXL788DT', '10', '10.0.17763', 'AMD64', 'Intel64 Family 6 Model 94 Stepping 3, GenuineIntel')
Locale: ('en_US', 'cp1252')
Python Version: [2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]]
Python Location: [${SDK_ROOT}\platform\bundledpython\python.exe]
Site Packages: [Disabled]
Installation Root: [${SDK_ROOT}]
Installed Components:
core: [2020.05.01]
gsutil: [4.50]
bq: [2.0.57]
kubectl: [2020.05.01]
System PATH: [${SDK_ROOT}\bin\sdk;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\Workspace\Programs\TortoiseGit\bin;C:\Workspace\Programs\Python\Python38\Scripts\;C:\Workspace\Programs\Python\Python38\;${HOME}\AppData\Local\Programs\Python\Launcher;${HOME}\AppData\Local\Microsoft\WindowsApps;C:\Workspace\Programs\jdk_1.8\bin;C:\Workspace\Programs\apache-maven-3.6.3\bin;C:\Workspace\Programs\PortableGit\bin;${SDK_ROOT}\bin;C:\Workspace\Programs\chocoportable\bin;C:\Workspace\Programs\node-v12.16.2-win-x64;]
Python PATH: [${SDK_ROOT}\lib\third_party;${SDK_ROOT}\lib;${SDK_ROOT}\platform\bundledpython\python27.zip;${SDK_ROOT}\platform\bundledpython\DLLs;${SDK_ROOT}\platform\bundledpython\lib;${SDK_ROOT}\platform\bundledpython\lib\plat-win;${SDK_ROOT}\platform\bundledpython\lib\lib-tk;${SDK_ROOT}\platform\bundledpython]
Cloud SDK on PATH: [False]
Kubectl on PATH: [False]
Installation Properties: [${SDK_ROOT}\properties]
User Config Directory: [${CLOUDSDK_CONFIG}]
Active Configuration Name: [default]
Active Configuration Path: [${CLOUDSDK_CONFIG}\configurations\config_default]
Account: [e..s@e..m]
Project: [None]
Current Properties:
[core]
account: [e..s@e..m]
disable_usage_reporting: [True]
[proxy]
username: [e..0]
password: [PASSWORD]
type: [http]
port: [18717]
address: [
Logs Directory: [${CLOUDSDK_CONFIG}\logs]
Last Log File: [${CLOUDSDK_CONFIG}\logs\2020.05.06\12.50.42.207000.log]
git: [git version 2.26.2.windows.1]
ssh: [OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5
]