Status Update
Comments
fa...@google.com <fa...@google.com>
fa...@google.com <fa...@google.com> #3
Hi, this error only affects Cloud SDK version 186. It was previously reported in Issue 72407295 and a fix for it should be released in Cloud SDK version 187.
In the mean time, you can downgrade to Cloud SDK version 185 as a workaround by running the following command:
gcloud components update --version 185.0.0
In the mean time, you can downgrade to Cloud SDK version 185 as a workaround by running the following command:
gcloud components update --version 185.0.0
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 compute ssh].
What steps will reproduce the problem?
Can just tell my sytem configuration.Ubuntu 16.04.3, usually my Internet connection is through a proxy but for making a SSH connection I have to use mobile data hotspot without proxy.
What is the expected output? What do you see instead?
I should have been able to make a SSH connection
Please provide any additional information below.
This is a recurrent problem.Yesterday I had the same issue, I tried to set all_proxy = "" and few other things like changing system proxy settings from UI and browser proxy settings, Somehow the problem was rectified. I tried the same steps today but to no avail.
Trace:
/home/himanshu/Downloads/google-cloud-sdk/gcloud_main.py:147
gcloud_cli.Execute()
/home/himanshu/Downloads/google-cloud-sdk/calliope/cli.py:823
self._HandleAllErrors(exc, command_path_string, specified_arg_names)
/home/himanshu/Downloads/google-cloud-sdk/calliope/cli.py:861
exceptions.HandleError(exc, command_path_string, self.__known_error_handler)
/home/himanshu/Downloads/google-cloud-sdk/calliope/cli.py:797
resources = calliope_command.Run(cli=self, args=args)
/home/himanshu/Downloads/google-cloud-sdk/calliope/backend.py:757
resources = command_instance.Run(args)
surface/compute/ssh.py:121
client = holder.client
/home/himanshu/Downloads/google-cloud-sdk/api_lib/compute/base_classes.py:63
self._client = client_adapter.ClientAdapter(self._api_version)
/home/himanshu/Downloads/google-cloud-sdk/api_lib/compute/client_adapter.py:52
self._API_NAME, self._api_version, no_http=no_http)
/home/himanshu/Downloads/google-cloud-sdk/api_lib/util/apis.py:295
api_name, api_version, no_http, _CheckResponse, enable_resource_quota)
/home/himanshu/Downloads/google-cloud-sdk/api_lib/util/apis_internal.py:149
http_client = http.Http(enable_resource_quota=enable_resource_quota)
/home/himanshu/Downloads/google-cloud-sdk/core/credentials/http.py:59
creds = store.LoadIfEnabled()
/home/himanshu/Downloads/google-cloud-sdk/core/credentials/store.py:275
return Load()
/home/himanshu/Downloads/google-cloud-sdk/core/credentials/store.py:355
Refresh(cred)
/home/himanshu/Downloads/google-cloud-sdk/core/credentials/store.py:374
credentials.refresh(http_client or http.Http())
/home/himanshu/Downloads/google-cloud-sdk/oauth2client/client.py:571
self._refresh(http.request)
/home/himanshu/Downloads/google-cloud-sdk/oauth2client/client.py:793
self._do_refresh_request(http_request)
/home/himanshu/Downloads/google-cloud-sdk/oauth2client/client.py:817
body=body, headers=headers)
/home/himanshu/Downloads/google-cloud-sdk/core/http.py:254
response = orig_request(*modified_args, **kwargs)
/home/himanshu/Downloads/google-cloud-sdk/httplib2/python2/httplib2/__init__.py:1652
(response, content) = self._request(conn, authority, uri, request_uri, method, b...
/home/himanshu/Downloads/google-cloud-sdk/httplib2/python2/httplib2/__init__.py:1392
(response, content) = self._conn_request(conn, request_uri, method, body, header...
/home/himanshu/Downloads/google-cloud-sdk/httplib2/python2/httplib2/__init__.py:1312
conn.connect()
/home/himanshu/Downloads/google-cloud-sdk/httplib2/python2/httplib2/__init__.py:1051
sock.setproxy(proxy_type, proxy_host, proxy_port, proxy_rdns, proxy_user, proxy_...
TypeError: setproxy() takes at most 7 arguments (8 given)
Installation information:
Google Cloud SDK [186.0.0]
Platform: [Linux, x86_64] ('Linux', 'hrrev-X550JX', '4.13.0-32-generic', '#35~16.04.1-Ubuntu SMP Thu Jan 25 10:13:43 UTC 2018', 'x86_64', 'x86_64')
Python Version: [2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609]]
Python Location: [/usr/bin/python2]
Site Packages: [Disabled]
Installation Root: [${HOME}/Downloads/google-cloud-sdk]
Installed Components:
core: [2018.01.22]
gsutil: [4.28]
bq: [2.0.28]
System PATH: [${HOME}/Downloads/google-cloud-sdk/bin:${HOME}/anaconda3/envs/fastai/bin:${HOME}/anaconda3/bin:${HOME}/anaconda3/bin:${HOME}/anaconda3/bin:${HOME}/bin:${HOME}/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin]
Python PATH: [${HOME}/Downloads/google-cloud-sdk/lib/third_party:${HOME}/Downloads/google-cloud-sdk/lib:/usr/lib/python2.7/:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload]
Cloud SDK on PATH: [False]
Kubectl on PATH: [False]
Installation Properties: [${HOME}/Downloads/google-cloud-sdk/properties]
User Config Directory: [${CLOUDSDK_CONFIG}]
Active Configuration Name: [default]
Active Configuration Path: [${CLOUDSDK_CONFIG}/configurations/config_default]
Account: [h..l@g..m]
Project: [f..2]
Current Properties:
[core]
project: [f..2]
account: [h..l@g..m]
disable_usage_reporting: [True]
[compute]
region: [us-central1]
zone: [us-central1-c]
Environmental Proxy Settings:
type: [http]
address: [172.16.2.30]
port: [8080]
Logs Directory: [${CLOUDSDK_CONFIG}/logs]
Last Log File: [${CLOUDSDK_CONFIG}/logs/2018.01.29/13.46.40.527049.log]
git: [git version 2.7.4]
ssh: [OpenSSH_7.2p2 Ubuntu-4ubuntu2.4, OpenSSL 1.0.2g 1 Mar 2016]