Fixed
Status Update
Comments
gr...@google.com <gr...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit b6c7c78f9e7476b468dafe9d5f7dec6794d47f09
Author: Shahd AbuDaghash <shahddaghash@google.com>
Date: Mon Nov 27 11:16:51 2023
Introduce DecayAnimation in AnchoredDraggable
Decay animation allows more realistic settling of a component. This is performed by now passing a `DecayAnimationSpec` parameter to AnchoredDraggable and using it when animating to the target. The new animation implementation will be added in a chain CL.
Bug: 288084801
Test: Tests will be added in a chain CL
Relnote: This change adds a `decayAnimationSpec` parameter to AnchoredDraggable allowing to use decay animation when settling to one of the anchors. The change also includes renaming the existing `animationSpec` to `snapAnimationSpec` to help understanding the use case of each spec.
Change-Id: I44ccd408d919328fd6504d31d8db59cf1d07de43
M compose/foundation/foundation/api/current.txt
M compose/foundation/foundation/api/restricted_current.txt
M compose/foundation/foundation/samples/src/main/java/androidx/compose/foundation/samples/AnchoredDraggableSample.kt
M compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/anchoredDraggable/AnchoredDraggableGestureTest.kt
M compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/anchoredDraggable/AnchoredDraggableStateTest.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/gestures/AnchoredDraggable.kt
https://android-review.googlesource.com/2847074
Branch: androidx-main
commit b6c7c78f9e7476b468dafe9d5f7dec6794d47f09
Author: Shahd AbuDaghash <shahddaghash@google.com>
Date: Mon Nov 27 11:16:51 2023
Introduce DecayAnimation in AnchoredDraggable
Decay animation allows more realistic settling of a component. This is performed by now passing a `DecayAnimationSpec` parameter to AnchoredDraggable and using it when animating to the target. The new animation implementation will be added in a chain CL.
Bug: 288084801
Test: Tests will be added in a chain CL
Relnote: This change adds a `decayAnimationSpec` parameter to AnchoredDraggable allowing to use decay animation when settling to one of the anchors. The change also includes renaming the existing `animationSpec` to `snapAnimationSpec` to help understanding the use case of each spec.
Change-Id: I44ccd408d919328fd6504d31d8db59cf1d07de43
M compose/foundation/foundation/api/current.txt
M compose/foundation/foundation/api/restricted_current.txt
M compose/foundation/foundation/samples/src/main/java/androidx/compose/foundation/samples/AnchoredDraggableSample.kt
M compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/anchoredDraggable/AnchoredDraggableGestureTest.kt
M compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/anchoredDraggable/AnchoredDraggableStateTest.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/gestures/AnchoredDraggable.kt
[Deleted User] <[Deleted User]> #3
Project: platform/frameworks/support
Branch: androidx-main
commit 365993d1a90c27704b71f6bee042a1749314a4b1
Author: Shahd AbuDaghash <shahddaghash@google.com>
Date: Tue Nov 28 10:49:56 2023
Add tests for Animation in AnchoredDraggable
Added tests to check for different settling behaviors.
Bug: 288084801
Test: Added tests to verify behavior.
Change-Id: I369b30c69f7c29f676ae0671fef25c38ff3c74cb
M compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/anchoredDraggable/AnchoredDraggableStateTest.kt
https://android-review.googlesource.com/2847475
Branch: androidx-main
commit 365993d1a90c27704b71f6bee042a1749314a4b1
Author: Shahd AbuDaghash <shahddaghash@google.com>
Date: Tue Nov 28 10:49:56 2023
Add tests for Animation in AnchoredDraggable
Added tests to check for different settling behaviors.
Bug: 288084801
Test: Added tests to verify behavior.
Change-Id: I369b30c69f7c29f676ae0671fef25c38ff3c74cb
M compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/anchoredDraggable/AnchoredDraggableStateTest.kt
[Deleted User] <[Deleted User]> #4
Project: platform/frameworks/support
Branch: androidx-main
commit ff1a600df5f4d8ae21a75d8e3e0f24d6c5c2faee
Author: Shahd AbuDaghash <shahddaghash@google.com>
Date: Mon Nov 27 15:51:12 2023
Modify settle function to perform decay animation if possible
When settling, a check will be performed to see if natural decay animation can be used. If not so, a target animation will be used. The consumed velocity is returned to the settle function, which could be used to show an overscroll effect.
Bug: 288084801
Test: Tests will be added in a chain CL.
Relnote: This change introduces a new `animateToWithDecay` function that naturally decays if possible. It takes the target value and the initial velocity. The `animateTo` functions no longer takes a velocity, but passes the available velocity in `lastVelocity` to animation, as it is concerned with reaching the target. If users need to pass a certain velocity for animation, they can use `animateToWithDecay` function.
Change-Id: I465dbd826e3969b784d08c65425f4bbda3de8493
M compose/foundation/foundation/api/current.txt
M compose/foundation/foundation/api/restricted_current.txt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/gestures/AnchoredDraggable.kt
https://android-review.googlesource.com/2847576
Branch: androidx-main
commit ff1a600df5f4d8ae21a75d8e3e0f24d6c5c2faee
Author: Shahd AbuDaghash <shahddaghash@google.com>
Date: Mon Nov 27 15:51:12 2023
Modify settle function to perform decay animation if possible
When settling, a check will be performed to see if natural decay animation can be used. If not so, a target animation will be used. The consumed velocity is returned to the settle function, which could be used to show an overscroll effect.
Bug: 288084801
Test: Tests will be added in a chain CL.
Relnote: This change introduces a new `animateToWithDecay` function that naturally decays if possible. It takes the target value and the initial velocity. The `animateTo` functions no longer takes a velocity, but passes the available velocity in `lastVelocity` to animation, as it is concerned with reaching the target. If users need to pass a certain velocity for animation, they can use `animateToWithDecay` function.
Change-Id: I465dbd826e3969b784d08c65425f4bbda3de8493
M compose/foundation/foundation/api/current.txt
M compose/foundation/foundation/api/restricted_current.txt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/gestures/AnchoredDraggable.kt
gr...@google.com <gr...@google.com> #5
Project: platform/frameworks/support
Branch: androidx-main
commit 01142ddd5b14eb33e5145c4e72e6619a5c100fe4
Author: Shahd AbuDaghash <shahddaghash@google.com>
Date: Thu Dec 21 12:34:00 2023
Introduce Overscroll in AnchoredDraggable
Adding overscroll support to AnchoredDraggable by giving the ability to pass a customized overscrollEffect object to AnchoredDraggable.
Bug: 288084801
Relnote: An OverscrollEffect has been introduced to allow for custom overscroll effects in anchoredDraggable. To retrieve the consumed velocity after animation, the consumed velocity is returned from the settle function.
Test: Added tests to verify behavior
Change-Id: I100683fe7473b1e5ff317ab22245a2b0a25bd549
M compose/foundation/foundation/api/current.txt
M compose/foundation/foundation/api/restricted_current.txt
M compose/foundation/foundation/integration-tests/foundation-demos/src/main/java/androidx/compose/foundation/demos/AnchoredDraggableDemo.kt
M compose/foundation/foundation/samples/src/main/java/androidx/compose/foundation/samples/AnchoredDraggableSample.kt
A compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/anchoredDraggable/AnchoredDraggableOverscrollTest.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/gestures/AnchoredDraggable.kt
https://android-review.googlesource.com/2888106
Branch: androidx-main
commit 01142ddd5b14eb33e5145c4e72e6619a5c100fe4
Author: Shahd AbuDaghash <shahddaghash@google.com>
Date: Thu Dec 21 12:34:00 2023
Introduce Overscroll in AnchoredDraggable
Adding overscroll support to AnchoredDraggable by giving the ability to pass a customized overscrollEffect object to AnchoredDraggable.
Bug: 288084801
Relnote: An OverscrollEffect has been introduced to allow for custom overscroll effects in anchoredDraggable. To retrieve the consumed velocity after animation, the consumed velocity is returned from the settle function.
Test: Added tests to verify behavior
Change-Id: I100683fe7473b1e5ff317ab22245a2b0a25bd549
M compose/foundation/foundation/api/current.txt
M compose/foundation/foundation/api/restricted_current.txt
M compose/foundation/foundation/integration-tests/foundation-demos/src/main/java/androidx/compose/foundation/demos/AnchoredDraggableDemo.kt
M compose/foundation/foundation/samples/src/main/java/androidx/compose/foundation/samples/AnchoredDraggableSample.kt
A compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/anchoredDraggable/AnchoredDraggableOverscrollTest.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/gestures/AnchoredDraggable.kt
[Deleted User] <[Deleted User]> #6
Project: platform/frameworks/support
Branch: androidx-main
commit 0f071d797bccf7eff2a23e408928ca76640af782
Author: Shahd AbuDaghash <shahddaghash@google.com>
Date: Wed Nov 29 18:34:09 2023
Migrates AnchoredDraggable to Modifier.Node
Migrates AnchoredDraggable to Modifier.Node. This helps in adding Overscroll effect in AnchoredDraggable.
Bug: 288084801
Test: Added tests to verify behavior
Change-Id: I3f3338cd71763972c4b70f2e06c97e85285b0035
M compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/anchoredDraggable/AnchoredDraggableGestureTest.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/gestures/AnchoredDraggable.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/gestures/Draggable.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/gestures/Draggable2D.kt
https://android-review.googlesource.com/2852691
Branch: androidx-main
commit 0f071d797bccf7eff2a23e408928ca76640af782
Author: Shahd AbuDaghash <shahddaghash@google.com>
Date: Wed Nov 29 18:34:09 2023
Migrates AnchoredDraggable to Modifier.Node
Migrates AnchoredDraggable to Modifier.Node. This helps in adding Overscroll effect in AnchoredDraggable.
Bug: 288084801
Test: Added tests to verify behavior
Change-Id: I3f3338cd71763972c4b70f2e06c97e85285b0035
M compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/anchoredDraggable/AnchoredDraggableGestureTest.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/gestures/AnchoredDraggable.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/gestures/Draggable.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/gestures/Draggable2D.kt
gr...@google.com <gr...@google.com> #7
This issue is marked as fixed, but there is still no replacement for ResistanceConfig
.
How should we properly migrate it?
el...@greensql.com <el...@greensql.com> #8
Can we document this / update the migration guide?
[Deleted User] <[Deleted User]> #9
Thanks to previous poster - your tip (append the corporate certificate to google-cloud-sdk/lib/third_party/httplib2/cacerts.txt) worked. I didn't need to do anything else as Corporate proxy certificate already added to local Trusted certs.
ya...@google.com <ya...@google.com> #10
This is still being worked on.
As a workaround it has been reported that use of python 2.7.11, or the bundled python with no other installations, can alleviate this issue.
As a workaround it has been reported that use of python 2.7.11, or the bundled python with no other installations, can alleviate this issue.
[Deleted User] <[Deleted User]> #11
Yes thank you #8. That worked for me too. It would be really fantastic if the sdk installer would pull the windows trusted ca cert store. Pretty sure those methods exist in python natively. I was struggling for days to get the sdk installed. I couldn't find a list of URLs that needed to bypass SSL inspection, how to disable ssl validation, or where to add a ca cert.
is...@google.com <is...@google.com>
ya...@google.com <ya...@google.com> #12
This issue has since been reported fixed. Please open a new issue if you are still experiencing this behavior.
[Deleted User] <[Deleted User]> #13
Which version was it reported fixed in ?
ra...@covermore.com.au <ra...@covermore.com.au> #14
I am facing similar problem. Using certificate manager, I can see many active certificates under "Trusted Root Certification Authorities>Certificates". Which of these certificates do I need to use and how to see the contents ? I tried to save one certificate as a file, but when I open the same in notepad, it shows all special characters in it. please advice.
ry...@google.com <ry...@google.com> #15
I think that the issue occurred on python 2.7.14::Anaconda, Inc.
Could you please take a look at the issue on the version?
Could you please take a look at the issue on the version?
ya...@google.com <ya...@google.com> #16
Apologies for the misleading statement earlier. This can still be an issue for users who are behind corporate proxies.
As reported in a previous comment on this issue, appending your internal certificate to google-cloud-sdk/lib/third_party/httplib2/cacerts.txt is the current proposed workaround.
As reported in a previous comment on this issue, appending your internal certificate to google-cloud-sdk/lib/third_party/httplib2/cacerts.txt is the current proposed workaround.
pr...@gmail.com <pr...@gmail.com> #17
Hi All,
I am getting below error while installing Google cloud SDK on Windows 7
Error:
Output folder: C:\Program Files (x86)\Google\Cloud SDK
Downloading Google Cloud SDK core.
Extracting Google Cloud SDK core.
Create Google Cloud SDK bat file: C:\Program Files (x86)\Google\Cloud SDK\cloud_env.bat
Installing components.
Welcome to the Google Cloud SDK!
This will install all the core command line tools necessary for working with
the Google Cloud Platform.
Traceback (most recent call last):
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\\bin\bootstrapping\install.py", line 222, in <module>
main()
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\\bin\bootstrapping\install.py", line 200, in main
Install(pargs.override_components, pargs.additional_components)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\\bin\bootstrapping\install.py", line 141, in Install
InstallOrUpdateComponents(to_install, update=update)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\\bin\bootstrapping\install.py", line 184, in InstallOrUpdateComponents
['--quiet', 'components', verb, '--allow-no-backup'] + component_ids)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\cli.py", line 874, in Execute
self._HandleAllErrors(exc, command_path_string, specified_arg_names)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\cli.py", line 913, in _HandleAllErrors
exceptions.HandleError(exc, command_path_string, self.__known_error_handler)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\exceptions.py", line 523, in HandleError
core_exceptions.reraise(exc)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\exceptions.py", line 139, in reraise
six.reraise(type(exc_value), exc_value, tb)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\cli.py", line 848, in Execute
resources = calliope_command.Run(cli=self, args=args)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\backend.py", line 770, in Run
resources = command_instance.Run(args)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\surface\components\update.py", line 111, in Run
version=args.version)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\update_manager.py", line 892, in Update
command_path='components.update')
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\update_manager.py", line 602, in _GetStateAndDiff
command_path=command_path)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\update_manager.py", line 585, in _GetLatestSnapshot
*effective_url.split(','), command_path=command_path)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\snapshots.py", line 179, in FromURLs
for url in urls]
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\snapshots.py", line 200, in _DictFromURL
response = installers.ComponentInstaller.MakeRequest(url, command_path)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\installers.py", line 295, in MakeRequest
return ComponentInstaller._RawRequest(req, timeout=timeout)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\installers.py", line 339, in _RawRequest
should_retry_if=RetryIf, sleep_ms=500)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\util\retry.py", line 181, in RetryOnException
exceptions.reraise(exc_info[1], tb=exc_info[2])
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\exceptions.py", line 139, in reraise
six.reraise(type(exc_value), exc_value, tb)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\util\retry.py", line 162, in TryFunc
return func(*args, **kwargs), None
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\url_opener.py", line 79, in urlopen
return opener.open(req, data, timeout)
File "c:\users\admin\appdata\local\temp\tmpek8tu4\python\lib\urllib2.py", line 429, in open
response = self._open(req, data)
File "c:\users\admin\appdata\local\temp\tmpek8tu4\python\lib\urllib2.py", line 447, in _open
'_open', req)
File "c:\users\admin\appdata\local\temp\tmpek8tu4\python\lib\urllib2.py", line 407, in _call_chain
result = func(*args)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\url_opener.py", line 64, in https_open
return self.do_open(build, req)
File "c:\users\admin\appdata\local\temp\tmpek8tu4\python\lib\urllib2.py", line 1195, in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "c:\users\admin\appdata\local\temp\tmpek8tu4\python\lib\httplib.py", line 1042, in request
self._send_request(method, url, body, headers)
File "c:\users\admin\appdata\local\temp\tmpek8tu4\python\lib\httplib.py", line 1082, in _send_request
self.endheaders(body)
File "c:\users\admin\appdata\local\temp\tmpek8tu4\python\lib\httplib.py", line 1038, in endheaders
self._send_output(message_body)
File "c:\users\admin\appdata\local\temp\tmpek8tu4\python\lib\httplib.py", line 882, in _send_output
self.send(msg)
File "c:\users\admin\appdata\local\temp\tmpek8tu4\python\lib\httplib.py", line 844, in send
self.connect()
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\third_party\httplib2\python2\httplib2\__init__.py", line 1120, in connect
raise SSLHandshakeError(e)
httplib2.python2.httplib2.SSLHandshakeError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)
Failed to install.
I am getting below error while installing Google cloud SDK on Windows 7
Error:
Output folder: C:\Program Files (x86)\Google\Cloud SDK
Downloading Google Cloud SDK core.
Extracting Google Cloud SDK core.
Create Google Cloud SDK bat file: C:\Program Files (x86)\Google\Cloud SDK\cloud_env.bat
Installing components.
Welcome to the Google Cloud SDK!
This will install all the core command line tools necessary for working with
the Google Cloud Platform.
Traceback (most recent call last):
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\\bin\bootstrapping\install.py", line 222, in <module>
main()
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\\bin\bootstrapping\install.py", line 200, in main
Install(pargs.override_components, pargs.additional_components)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\\bin\bootstrapping\install.py", line 141, in Install
InstallOrUpdateComponents(to_install, update=update)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\\bin\bootstrapping\install.py", line 184, in InstallOrUpdateComponents
['--quiet', 'components', verb, '--allow-no-backup'] + component_ids)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\cli.py", line 874, in Execute
self._HandleAllErrors(exc, command_path_string, specified_arg_names)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\cli.py", line 913, in _HandleAllErrors
exceptions.HandleError(exc, command_path_string, self.__known_error_handler)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\exceptions.py", line 523, in HandleError
core_exceptions.reraise(exc)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\exceptions.py", line 139, in reraise
six.reraise(type(exc_value), exc_value, tb)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\cli.py", line 848, in Execute
resources = calliope_command.Run(cli=self, args=args)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\backend.py", line 770, in Run
resources = command_instance.Run(args)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\surface\components\update.py", line 111, in Run
version=args.version)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\update_manager.py", line 892, in Update
command_path='components.update')
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\update_manager.py", line 602, in _GetStateAndDiff
command_path=command_path)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\update_manager.py", line 585, in _GetLatestSnapshot
*effective_url.split(','), command_path=command_path)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\snapshots.py", line 179, in FromURLs
for url in urls]
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\snapshots.py", line 200, in _DictFromURL
response = installers.ComponentInstaller.MakeRequest(url, command_path)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\installers.py", line 295, in MakeRequest
return ComponentInstaller._RawRequest(req, timeout=timeout)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\installers.py", line 339, in _RawRequest
should_retry_if=RetryIf, sleep_ms=500)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\util\retry.py", line 181, in RetryOnException
exceptions.reraise(exc_info[1], tb=exc_info[2])
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\exceptions.py", line 139, in reraise
six.reraise(type(exc_value), exc_value, tb)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\util\retry.py", line 162, in TryFunc
return func(*args, **kwargs), None
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\url_opener.py", line 79, in urlopen
return opener.open(req, data, timeout)
File "c:\users\admin\appdata\local\temp\tmpek8tu4\python\lib\urllib2.py", line 429, in open
response = self._open(req, data)
File "c:\users\admin\appdata\local\temp\tmpek8tu4\python\lib\urllib2.py", line 447, in _open
'_open', req)
File "c:\users\admin\appdata\local\temp\tmpek8tu4\python\lib\urllib2.py", line 407, in _call_chain
result = func(*args)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\url_opener.py", line 64, in https_open
return self.do_open(build, req)
File "c:\users\admin\appdata\local\temp\tmpek8tu4\python\lib\urllib2.py", line 1195, in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "c:\users\admin\appdata\local\temp\tmpek8tu4\python\lib\httplib.py", line 1042, in request
self._send_request(method, url, body, headers)
File "c:\users\admin\appdata\local\temp\tmpek8tu4\python\lib\httplib.py", line 1082, in _send_request
self.endheaders(body)
File "c:\users\admin\appdata\local\temp\tmpek8tu4\python\lib\httplib.py", line 1038, in endheaders
self._send_output(message_body)
File "c:\users\admin\appdata\local\temp\tmpek8tu4\python\lib\httplib.py", line 882, in _send_output
self.send(msg)
File "c:\users\admin\appdata\local\temp\tmpek8tu4\python\lib\httplib.py", line 844, in send
self.connect()
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\third_party\httplib2\python2\httplib2\__init__.py", line 1120, in connect
raise SSLHandshakeError(e)
httplib2.python2.httplib2.SSLHandshakeError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)
Failed to install.
ma...@craig-mitchell.com <ma...@craig-mitchell.com> #18
Just got the same error as above comment #17 . Windows 10. Comment #8 didn't help, as there is no cacerts.txt file in that directory.
On a work laptop. Tried installing on work network. Tried installing on private phone hotspot. Tried installing as Administrator. All failed with the same error.
I have a feeling it is a work proxy blocking something. It would be nice to know what certificate is failing, so I can ask work to unblock whatever is blocked.
On a work laptop. Tried installing on work network. Tried installing on private phone hotspot. Tried installing as Administrator. All failed with the same error.
I have a feeling it is a work proxy blocking something. It would be nice to know what certificate is failing, so I can ask work to unblock whatever is blocked.
ya...@google.com <ya...@google.com> #19
This should actually be fixed since v126.0.0 [1] with the addition of the core/custom_ca_certs_file Cloud SDK property. [2]
Please open a new issue if the use of core/custom_ca_certs_file doesn't resolve your problem.
[1]https://cloud.google.com/sdk/docs/release-notes#12600_2016-09-14
[2]https://cloud.google.com/sdk/docs/properties
Please open a new issue if the use of core/custom_ca_certs_file doesn't resolve your problem.
[1]
[2]
dp...@gmail.com <dp...@gmail.com> #20
I've got the same issue as #18.. there is no cacerts.txt file in that directory.
I'm not on a proxy, and I'm temporarily disabled firewall.. still have SSLHandshake error
Tried on 3 different machines, and 4 different networks
I'm not on a proxy, and I'm temporarily disabled firewall.. still have SSLHandshake error
Tried on 3 different machines, and 4 different networks
jo...@gmail.com <jo...@gmail.com> #21
Hi!
I have got the same issue as #18.
I had sdk installed in my pc and works "fine" (with some problems but "ok") and today it starts to fail and gives"httplib2.python2.httplib2.SSLHandshakeError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)" I had tried several things without any solution. Finally, I tried to uninstall it and reinstall and I got this issue.
I have got the same issue as #18.
I had sdk installed in my pc and works "fine" (with some problems but "ok") and today it starts to fail and gives"httplib2.python2.httplib2.SSLHandshakeError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)" I had tried several things without any solution. Finally, I tried to uninstall it and reinstall and I got this issue.
an...@gmail.com <an...@gmail.com> #22
#21: Is there any reason that you are not using Cloud CLI?
jo...@gmail.com <jo...@gmail.com> #23
#22: Until today I usually used Cloud CLI but today it starts to give me the error in the image in #21 in all commands (for example, in "gsutil ls", copying files to storage, etc) so I tried all things without exit and finally i tried to reinstall all the sdk (uninstalling and deleting first and do a clear installation) and now i cannot install it because I get this issue (in fact, is the same error for which I tried to reinstall).
Sorry, if I am not clear with the problem, english is not my first language.
Sorry, if I am not clear with the problem, english is not my first language.
an...@gmail.com <an...@gmail.com> #24
Did you try using it from bash? Some time ago I hit with this error and through bash, I was run the setup.
jo...@gmail.com <jo...@gmail.com> #25
I use windows 10 but I tried it from cmd (as normal user and as administrator "just in case" ) and using the GUI exe and I got the same.
jo...@gmail.com <jo...@gmail.com> #26
Hi,
Finally, I tried the first thing that I would have to try... restart the pc... and now it works.
Thank you for your attention and sorry for the inconvenience.
Finally, I tried the first thing that I would have to try... restart the pc... and now it works.
Thank you for your attention and sorry for the inconvenience.
av...@travelers.com <av...@travelers.com> #27
copied our root CA into the txt file and still does not work...Created a new ticket as well.
https://issuetracker.google.com/issues/150047974
ca...@gmail.com <ca...@gmail.com> #28
+1
This problem's been around for three years without a change to the installer? No wonder our devs want to use AWS. :(
This problem's been around for three years without a change to the installer? No wonder our devs want to use AWS. :(
an...@gmail.com <an...@gmail.com> #29
But, the error is no more there when you are using Cloud SDK Shell.
te...@gmail.com <te...@gmail.com> #30
I'm trying to follow the instructions here: https://cloud.google.com/sdk/docs/quickstart-windows . I attached my company's trusted root certificates to the cacerts.txt file and I get the same result as #27 above. Is the Cloud SDK Shell something different than the Google Cloud SDK?
pr...@gmail.com <pr...@gmail.com> #31
Hi,
I have been seeing the same issue on during gcloud init
```MUSPP250041-512:~ pp250041$ gcloud init
Welcome! This command will take you through the configuration of gcloud.
Your current configuration has been set to: [default]
You can skip diagnostics next time by using the following flag:
gcloud init --skip-diagnostics
Network diagnostic detects and fixes local network connection issues.
Checking network connection...done.
ERROR: Reachability Check failed.
Cannot reachhttps://cloudresourcemanager.googleapis.com/v1beta1/projects (SSLHandshakeError)
Cannot reachhttps://www.googleapis.com/auth/cloud-platform (SSLHandshakeError)
Network connection problems may be due to proxy or firewall settings.
Do you have a network proxy you would like to set in gcloud (Y/n)?
```
I am on latest gcloud
```
MUSPP250041-512:~ pp250041$ gcloud --version
Google Cloud SDK 291.0.0
bq 2.0.57
core 2020.05.01
gsutil 4.50
```
I have tried uinstalling and reinstallign gcloud, python2.7
Can someone help me out here ?
I have been seeing the same issue on during gcloud init
```MUSPP250041-512:~ pp250041$ gcloud init
Welcome! This command will take you through the configuration of gcloud.
Your current configuration has been set to: [default]
You can skip diagnostics next time by using the following flag:
gcloud init --skip-diagnostics
Network diagnostic detects and fixes local network connection issues.
Checking network connection...done.
ERROR: Reachability Check failed.
Cannot reach
Cannot reach
Network connection problems may be due to proxy or firewall settings.
Do you have a network proxy you would like to set in gcloud (Y/n)?
```
I am on latest gcloud
```
MUSPP250041-512:~ pp250041$ gcloud --version
Google Cloud SDK 291.0.0
bq 2.0.57
core 2020.05.01
gsutil 4.50
```
I have tried uinstalling and reinstallign gcloud, python2.7
Can someone help me out here ?
br...@gmail.com <br...@gmail.com> #32
I'm getting the same error from gcloud init.
"Checking network connection...done.
ERROR: Reachability Check failed.
Cannot reachhttps://cloudresourcemanager.googleapis.com/v1beta1/projects (SSLHandshakeError)
Cannot reachhttps://www.googleapis.com/auth/cloud-platform (SSLHandshakeError)
Network connection problems may be due to proxy or firewall settings."
I uninstalled gcloud, restarted my PC, and reinstalled it. Still stuck on this error.
C:\WINDOWS\system32>gcloud --version
Google Cloud SDK 294.0.0
bq 2.0.57
core 2020.05.21
gsutil 4.51
I'm not on a corporate network or VPN, just an Xfinity internet connection.
"Checking network connection...done.
ERROR: Reachability Check failed.
Cannot reach
Cannot reach
Network connection problems may be due to proxy or firewall settings."
I uninstalled gcloud, restarted my PC, and reinstalled it. Still stuck on this error.
C:\WINDOWS\system32>gcloud --version
Google Cloud SDK 294.0.0
bq 2.0.57
core 2020.05.21
gsutil 4.51
I'm not on a corporate network or VPN, just an Xfinity internet connection.
[Deleted User] <[Deleted User]> #33
Welcome to the Google Cloud SDK!
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 help improve the Google Cloud SDK (y/N)? y
This will install all the core command line tools necessary for working with
the Google Cloud Platform.
Beginning update. This process may take several minutes.
Traceback (most recent call last):
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\urllib3\connection.py", line 160, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\urllib3\util\connection.py", line 84, in create_connection
raise err
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\urllib3\util\connection.py", line 74, in create_connection
sock.connect(sa)
TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\urllib3\connectionpool.py", line 667, in urlopen
self._prepare_proxy(conn)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\urllib3\connectionpool.py", line 930, in _prepare_proxy
conn.connect()
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\urllib3\connection.py", line 308, in connect
conn = self._new_conn()
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\urllib3\connection.py", line 172, in _new_conn
self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x000001757B9B6DC8>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\requests\adapters.py", line 449, in send
timeout=timeout
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\urllib3\connectionpool.py", line 725, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\urllib3\util\retry.py", line 439, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='dl.google.com ', port=443): Max retries exceeded with url: /dl/cloudsdk/channels/rapid/components-2.json (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000001757B9B6DC8>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\\bin\bootstrapping\install.py", line 308, in <module>
main()
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\\bin\bootstrapping\install.py", line 285, in main
Install(pargs.override_components, pargs.additional_components)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\\bin\bootstrapping\install.py", line 155, in Install
InstallOrUpdateComponents(to_install, update=update)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\\bin\bootstrapping\install.py", line 198, in InstallOrUpdateComponents
['--quiet', 'components', verb, '--allow-no-backup'] + component_ids)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\cli.py", line 1013, in Execute
self._HandleAllErrors(exc, command_path_string, specified_arg_names)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\cli.py", line 1050, in _HandleAllErrors
exceptions.HandleError(exc, command_path_string, self.__known_error_handler)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\exceptions.py", line 551, in HandleError
core_exceptions.reraise(exc)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\exceptions.py", line 146, in reraise
six.reraise(type(exc_value), exc_value, tb)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\six\__init__.py", line 693, in reraise
raise value
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\cli.py", line 987, in Execute
resources = calliope_command.Run(cli=self, args=args)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\backend.py", line 809, in Run
resources = command_instance.Run(args)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\surface\components\update.py", line 126, in Run
version=args.version)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\update_manager.py", line 941, in Update
command_path='components.update')
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\update_manager.py", line 646, in _GetStateAndDiff
command_path=command_path)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\update_manager.py", line 629, in _GetLatestSnapshot
*effective_url.split(','), command_path=command_path)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\snapshots.py", line 183, in FromURLs
for url in urls]
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\snapshots.py", line 183, in <listcomp>
for url in urls]
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\snapshots.py", line 205, in _DictFromURL
response = installers.MakeRequestViaRequests(url, command_path)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\installers.py", line 203, in MakeRequestViaRequests
return _RawRequestViaRequests(url, headers=headers, timeout=timeout)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\installers.py", line 256, in _RawRequestViaRequests
sleep_ms=500)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\util\retry.py", line 201, in RetryOnException
exceptions.reraise(exc_info[1], tb=exc_info[2])
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\exceptions.py", line 146, in reraise
six.reraise(type(exc_value), exc_value, tb)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\six\__init__.py", line 693, in reraise
raise value
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\util\retry.py", line 182, in TryFunc
return func(*args, **kwargs), None
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\installers.py", line 282, in _ExecuteRequestAndRaiseExceptions
url, headers=headers, timeout=timeout, stream=True)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\requests\sessions.py", line 546, in get
return self.request('GET', url, **kwargs)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\transport.py", line 251, in WrappedRequest
response = orig_request(*modified_args, **modified_kwargs)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\requests.py", line 204, in WrappedRequest
return orig_request_method(*args, **kwargs)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\requests\sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\requests\sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\requests\adapters.py", line 510, in send
raise ProxyError(e, request=request)
requests.exceptions.ProxyError: HTTPSConnectionPool(host='dl.google.com ', port=443): Max retries exceeded with url: /dl/cloudsdk/channels/rapid/components-2.json (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000001757B9B6DC8>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond')))
Google Cloud SDK installer will now exit.
Press any key to continue . . .
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 <
handled in accordance with our privacy policy
<
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 help improve the Google Cloud SDK (y/N)? y
This will install all the core command line tools necessary for working with
the Google Cloud Platform.
Beginning update. This process may take several minutes.
Traceback (most recent call last):
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\urllib3\connection.py", line 160, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\urllib3\util\connection.py", line 84, in create_connection
raise err
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\urllib3\util\connection.py", line 74, in create_connection
sock.connect(sa)
TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\urllib3\connectionpool.py", line 667, in urlopen
self._prepare_proxy(conn)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\urllib3\connectionpool.py", line 930, in _prepare_proxy
conn.connect()
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\urllib3\connection.py", line 308, in connect
conn = self._new_conn()
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\urllib3\connection.py", line 172, in _new_conn
self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x000001757B9B6DC8>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\requests\adapters.py", line 449, in send
timeout=timeout
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\urllib3\connectionpool.py", line 725, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\urllib3\util\retry.py", line 439, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\\bin\bootstrapping\install.py", line 308, in <module>
main()
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\\bin\bootstrapping\install.py", line 285, in main
Install(pargs.override_components, pargs.additional_components)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\\bin\bootstrapping\install.py", line 155, in Install
InstallOrUpdateComponents(to_install, update=update)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\\bin\bootstrapping\install.py", line 198, in InstallOrUpdateComponents
['--quiet', 'components', verb, '--allow-no-backup'] + component_ids)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\cli.py", line 1013, in Execute
self._HandleAllErrors(exc, command_path_string, specified_arg_names)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\cli.py", line 1050, in _HandleAllErrors
exceptions.HandleError(exc, command_path_string, self.__known_error_handler)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\exceptions.py", line 551, in HandleError
core_exceptions.reraise(exc)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\exceptions.py", line 146, in reraise
six.reraise(type(exc_value), exc_value, tb)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\six\__init__.py", line 693, in reraise
raise value
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\cli.py", line 987, in Execute
resources = calliope_command.Run(cli=self, args=args)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\backend.py", line 809, in Run
resources = command_instance.Run(args)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\surface\components\update.py", line 126, in Run
version=args.version)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\update_manager.py", line 941, in Update
command_path='components.update')
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\update_manager.py", line 646, in _GetStateAndDiff
command_path=command_path)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\update_manager.py", line 629, in _GetLatestSnapshot
*effective_url.split(','), command_path=command_path)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\snapshots.py", line 183, in FromURLs
for url in urls]
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\snapshots.py", line 183, in <listcomp>
for url in urls]
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\snapshots.py", line 205, in _DictFromURL
response = installers.MakeRequestViaRequests(url, command_path)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\installers.py", line 203, in MakeRequestViaRequests
return _RawRequestViaRequests(url, headers=headers, timeout=timeout)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\installers.py", line 256, in _RawRequestViaRequests
sleep_ms=500)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\util\retry.py", line 201, in RetryOnException
exceptions.reraise(exc_info[1], tb=exc_info[2])
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\exceptions.py", line 146, in reraise
six.reraise(type(exc_value), exc_value, tb)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\six\__init__.py", line 693, in reraise
raise value
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\util\retry.py", line 182, in TryFunc
return func(*args, **kwargs), None
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\updater\installers.py", line 282, in _ExecuteRequestAndRaiseExceptions
url, headers=headers, timeout=timeout, stream=True)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\requests\sessions.py", line 546, in get
return self.request('GET', url, **kwargs)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\transport.py", line 251, in WrappedRequest
response = orig_request(*modified_args, **modified_kwargs)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\requests.py", line 204, in WrappedRequest
return orig_request_method(*args, **kwargs)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\requests\sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\requests\sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "C:\Users\4348429\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\third_party\requests\adapters.py", line 510, in send
raise ProxyError(e, request=request)
requests.exceptions.ProxyError: HTTPSConnectionPool(host='
Google Cloud SDK installer will now exit.
Press any key to continue . . .
cl...@gmail.com <cl...@gmail.com> #34
This seems to be the main thread that pops up when searching for this problem. Unfortunately, as other reports, there is no cacerts.txt files for me as well. Can someone take two minutes to point us in the right direction when this happens?
In my specific case we are talking of a brand new macbook pro on which only the usual vpn/av/etc is installed. I have the company certs to be appended but even just creating a cacerts.txt file in the location specified above and adding the company certificates have no impact on this issue
In my specific case we are talking of a brand new macbook pro on which only the usual vpn/av/etc is installed. I have the company certs to be appended but even just creating a cacerts.txt file in the location specified above and adding the company certificates have no impact on this issue
ol...@mailchimp.intuit.com <ol...@mailchimp.intuit.com> #35
I have same issue
ad...@afrl.af.mil <ad...@afrl.af.mil> #36
If anyone else finds themselves here and that following the advice to append certs to the cacerts.txt file in httplib2 does not work, I just figured out that the gcloud CLI seems to prefer to use certifi if it's available. So, you can work around a MITM proxy with the bundled python environment by appending your corporate cert(s) to cacert.pem in google-cloud-sdk/lib/third_party/certifi.
Description
What steps will reproduce the problem?
gcloud init
What is the expected output? What do you see instead?
expected: connection to gcloud.
Instead :
Checking network connection...done.
ERROR: Reachability Check failed.
Cannot reach
Cannot reach
Cannot reach
son (SSLHandshakeError)
Network connection problems may be due to proxy or firewall settings.
Current effective Cloud SDK network proxy settings:
type = http
host =
port = 80
username = None
password = None
What would you like to do?
[1] Change Cloud SDK network proxy properties
[2] Clear all gcloud proxy properties
[3] Exit
Please enter your numeric choice: 3
ERROR: Network diagnostic (0/1 checks) failed.
Please provide any additional information below.
1) environment variables "http_proxy" and "https_proxy" are set.
2) This error is most likely because this is behind a corporate proxy, which does packet inspection. In order to do this, it injects its own certificates into the SSL certificate "chain of trust". These additional certificates are in the Java and Windows certificate stores.
3) I believe that Python27 (used by the Gcloud SDK) uses OpenSSL for the SSL work. Locally this is at version 1.0.2h, and I have set env variables SSL_CERT_FILE and SSL_CERT_DIR to point to a certificate store containing the corporate proxy certificates, with no success.
4) Likewise, hard to obtain any further information about the nature of the failure. It could be down to mismatch of encryption algorithms, but less likely since recent OpenSSL in use. Or it could be related to the certificates.
Installation information:
Google Cloud SDK [137.0.1]
Platform: [Windows, x86_64]
Python Version: [2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:24:40) [MSC v.1500 64 bit (AMD64)]]
Python Location: [C:\opt\Python27\python.exe]
Site Packages: [Disabled]
Installation Root: [c:\opt\google-cloud-sdk]
Installed Components:
bundled-python: [2.7.10]
bq-win: [2.0.24]
core: [2016.12.08]
core-win: [2016.12.08]
gcloud: []
windows-ssh-tools: [2016.12.08]
gsutil: [4.22]
bq: [2.0.24]
gsutil-win: [4.22]
System PATH: [c:\opt\google-cloud-sdk\bin\..\bin\sdk;c:\opt\Python27;D:\IBM\WebSphere MQ\java\lib;D:\IBM\WebSphere MQ\java\lib64;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Sennheiser\SoftphoneSDK\;C:\Program Files (x86)\GNU\GnuPG\pub;C:\Program Files\nodejs\;C:\Program Files\Cloud Foundry;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\ProgramData\chocolatey\bin;D:\IBM\WebSphere MQ\bin64;D:\IBM\WebSphere MQ\bin;D:\IBM\WebSphere MQ\tools\c\samples\bin;C:\apps\FME\;C:\apps\FME2015\;C:\Users\angus\AppData\Roaming\npm;C:\Program Files (x86)\Microsoft VS Code\bin]
Cloud SDK on PATH: [False]
Kubectl on PATH: [False]
[output truncated]