Can't Repro
Status Update
Comments
zj...@google.com <zj...@google.com> #2
This error means that there are SSL issues when connecting to any of those URLs–do you have any unusual proxy or network settings? You may need to configure gcloud to use them. Or were you behind a captive portal at the time you ran this?
st...@tomlinson.com <st...@tomlinson.com> #3
Nothing unusual with proxy or network.. Normal NAT behind home router. Not experiencing anything unusual elsewhere with SSL connect to Google (and others).
---
What do you mean by "captive portal"?
---
Also, get this with "gcloud auth login" after the browser completes:
ERROR: (gcloud.auth.login) [Errno 185090050] _ssl.c:344: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib
This may be due to network connectivity issues. Please check your network settings, and the status of the service you are trying to reach.
---
FWIW, am trying to reach nlp api.
---
From the QuickStart:
curl -s -k \
-H "Content-Type: application/json" \
-H "Authorization: Bearer TESTTEST" \
https://language.googleapis.com/v1beta1/documents:analyzeEntities \
-d @entity-request.json
produces:
{
"error": {
"code": 401,
"message": "Request had invalid authentication credentials.",
"status": "UNAUTHENTICATED"
}
}
which indicates SSL is working through curl...
---
What do you mean by "captive portal"?
---
Also, get this with "gcloud auth login" after the browser completes:
ERROR: (gcloud.auth.login) [Errno 185090050] _ssl.c:344: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib
This may be due to network connectivity issues. Please check your network settings, and the status of the service you are trying to reach.
---
FWIW, am trying to reach nlp api.
---
From the QuickStart:
curl -s -k \
-H "Content-Type: application/json" \
-H "Authorization: Bearer TESTTEST" \
-d @entity-request.json
produces:
{
"error": {
"code": 401,
"message": "Request had invalid authentication credentials.",
"status": "UNAUTHENTICATED"
}
}
which indicates SSL is working through curl...
zj...@google.com <zj...@google.com> #4
Hm...what happens when you run
$ python -c "import urllib2; urllib2.urlopen('https://www.google.com/' )"
?
$ python -c "import urllib2; urllib2.urlopen('
?
st...@tomlinson.com <st...@tomlinson.com> #5
No change detected...
stan@eli % python -c "import urllib2; urllib2.urlopen('https://www.google.com/' )"
stan@eli % gcloud auth login
Your browser has been opened to visit:
...
ERROR: (gcloud.auth.login) [Errno 185090050] _ssl.c:344: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib
This may be due to network connectivity issues. Please check your network settings, and the status of the service you are trying to reach.
stan@eli %
stan@eli % python -c "import urllib2; urllib2.urlopen('
stan@eli % gcloud auth login
Your browser has been opened to visit:
...
ERROR: (gcloud.auth.login) [Errno 185090050] _ssl.c:344: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib
This may be due to network connectivity issues. Please check your network settings, and the status of the service you are trying to reach.
stan@eli %
st...@tomlinson.com <st...@tomlinson.com> #6
May have just found an interesting work-around:
gcloud config set custom_ca_certs_file /etc/ssl/certs/ca-certificates.crt
"gcloud auth login" now succeeds...
Not a fix -- but at least a work-around...?
gcloud config set custom_ca_certs_file /etc/ssl/certs/ca-certificates.crt
"gcloud auth login" now succeeds...
Not a fix -- but at least a work-around...?
st...@tomlinson.com <st...@tomlinson.com> #7
Follow up.
Work-around got me all the way through.
Just processed first NLP request.
Thanks!
Work-around got me all the way through.
Just processed first NLP request.
Thanks!
zj...@google.com <zj...@google.com> #8
Good catch–I'm very curious as to why the default didn't work for you.
We have a lot of users with weird custom CA cert files that *won't* connect to Google, so we ship our own. Does your $GOOGLE_CLOUD_SDK/lib/third_party/httplib2/cacerts.txt file have MD5 a9429e79abc1f97f1d67141b16b44f03? Do you have the right permissions on it (`ls -l`)?
We have a lot of users with weird custom CA cert files that *won't* connect to Google, so we ship our own. Does your $GOOGLE_CLOUD_SDK/lib/third_party/httplib2/cacerts.txt file have MD5 a9429e79abc1f97f1d67141b16b44f03? Do you have the right permissions on it (`ls -l`)?
zj...@google.com <zj...@google.com> #9
Glad you got it working!
st...@tomlinson.com <st...@tomlinson.com> #10
[Comment deleted]
st...@tomlinson.com <st...@tomlinson.com> #11
Looks like all the permissions are good.
However, no $GOOGLE_CLOUD_SDK variable defined...
Possible problem?
Missed that as a step if it was in the instructions.
Never did wind up needing to run "gcloud init", so didn't.
However, no $GOOGLE_CLOUD_SDK variable defined...
Possible problem?
Missed that as a step if it was in the instructions.
Never did wind up needing to run "gcloud init", so didn't.
fa...@google.com <fa...@google.com>
ki...@gmail.com <ki...@gmail.com> #12
[Comment deleted]
ki...@gmail.com <ki...@gmail.com> #13
[Comment deleted]
ki...@gmail.com <ki...@gmail.com> #14
Same problem here. Attached a Dockerfile to reproduce the issue
ho...@google.com <ho...@google.com> #15
Adding the workaround for Kilian's instance of this problem:
He was able to get around this by changing the DNS server being used (dns: 8.8.8.8), as mentioned in the corresponding Stack Overflow thread:
http://stackoverflow.com/questions/40619337/gsutil-unable-to-find-the-server-at-www-googleapis-com
If anyone encounters this in the future, it may be worth checking to see if the issue persists when using a different DNS server.
He was able to get around this by changing the DNS server being used (dns: 8.8.8.8), as mentioned in the corresponding Stack Overflow thread:
If anyone encounters this in the future, it may be worth checking to see if the issue persists when using a different DNS server.
yi...@gmail.com <yi...@gmail.com> #16
I encountered the similar problem. I install gcloud toolkit in my local machine and try to init it in a proper way. However, after back from oauth flow, the programme emit an error message:
Network diagnostic detects and fixes local network connection issues.
Checking network connection...done.
ERROR: Reachability Check failed.
Cannot reachhttps://www.google.com (ResponseNotReady)
Cannot reachhttps://accounts.google.com (ResponseNotReady)
Cannot reachhttps://cloudresourcemanager.googleapis.com/v1beta1/projects (CertificateHostnameMismatch)
Cannot reachhttps://www.googleapis.com/auth/cloud-platform (CertificateHostnameMismatch)
Network connection problems may be due to proxy or firewall settings.
Network diagnostic detects and fixes local network connection issues.
Checking network connection...done.
ERROR: Reachability Check failed.
Cannot reach
Cannot reach
Cannot reach
Cannot reach
Network connection problems may be due to proxy or firewall settings.
pr...@gmail.com <pr...@gmail.com> #17
What can I do if I get this on my Windows machine cloud shell ? Where there is no docker file !!
ya...@google.com <ya...@google.com> #18
Hello everyone. If you are getting a "Reachability Check failed" error it is most likely, as pointed out by the error message, an issue with your local environment's connectivity, and you should ensure that any active proxies or firewalls are not blocking the connections.
If you can demonstrate that there are no issues with your configuration and connectivity and that the Cloud SDK is the source of your issues please create a new issue with as much information as possible to allow us to reproduce your issue.
By the way if you do not have docker, then docker is irrelevant to your present issue and you do not need to worry about it.
If you can demonstrate that there are no issues with your configuration and connectivity and that the Cloud SDK is the source of your issues please create a new issue with as much information as possible to allow us to reproduce your issue.
By the way if you do not have docker, then docker is irrelevant to your present issue and you do not need to worry about it.
cc...@gmail.com <cc...@gmail.com> #19
How would I best "demonstrate that there are no issues with" my "configuration and connectivity"?
cc...@gmail.com <cc...@gmail.com> #20
Could you provide the critical commands that you would need the results of to "demonstrate that there are no issues with" my "configuration and connectivity"?
cc...@gmail.com <cc...@gmail.com> #21
Never mind. Issue was resolved: needed to do:
gcloud init
... for every new instance I create via py script sent via sdk I guess.
gcloud init
... for every new instance I create via py script sent via sdk I guess.
Description
output from gcloud:
---------------------------------------
ERROR: Reachability Check failed.
Cannot reach
Cannot reach
Cannot reach
Cannot reach
Cannot reach
Network connection problems may be due to proxy or firewall settings.
--------------------------------------
What steps will reproduce the problem?
running "gcloud init", selecting to re-initialize this configuration (or create a new also fails).
What is the expected output? What do you see instead?
expected output is given in all the samples on the web pages here.
Please provide any additional information below.
Installation information:
Google Cloud SDK [126.0.0]
Platform: [Linux, x86_64]
Python Version: [2.7.6 (default, Jun 22 2015, 17:58:13) [GCC 4.8.2]]
Python Location: [/usr/bin/X11/python2]
Site Packages: [Disabled]
Installation Root: [/usr/lib/google-cloud-sdk]
Installed Components:
core: [2016.09.12]
core-nix: [2016.09.12]
gcloud: []
gsutil-nix: [4.21]
beta: [2016.09.12]
gsutil: [4.21]
bq: [2.0.24]
alpha: [2016.09.12]
bq-nix: [2.0.24]
System PATH: [/home/stan/nlq/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/bin/X11:/usr/local:/usr/local/mysql/bin/:/usr/lib/uucp:/usr/local/bin:/usr/ucb:/usr/bin:/bin:/usr/games:/etc:/usr/etc]
Cloud SDK on PATH: [False]
Installation Properties: [/usr/lib/google-cloud-sdk/properties]
User Config Directory: [/home/stan/.config/gcloud]
Active Configuration Name: [default]
Active Configuration Path: [/home/stan/.config/gcloud/configurations/config_default]
Account: [None]
Project: [None]
Current Properties:
[core]
disable_usage_reporting: [True]
Logs Directory: [/home/stan/.config/gcloud/logs]
Last Log File: [/home/stan/.config/gcloud/logs/2016.09.19/22.07.50.576819.log]