Obsolete
Status Update
Comments
an...@gmail.com <an...@gmail.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?
md...@gmail.com <md...@gmail.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...
sy...@gmail.com <sy...@gmail.com> #4
Hm...what happens when you run
$ python -c "import urllib2; urllib2.urlopen('https://www.google.com/' )"
?
$ python -c "import urllib2; urllib2.urlopen('
?
ku...@gmail.com <ku...@gmail.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 %
da...@gmail.com <da...@gmail.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...?
mo...@gmail.com <mo...@gmail.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!
mo...@gmail.com <mo...@gmail.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`)?
ce...@gmail.com <ce...@gmail.com> #9
Glad you got it working!
dv...@gmail.com <dv...@gmail.com> #10
[Comment deleted]
sa...@google.com <sa...@google.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.
Description
Instead, it returns the node ID of the wear device.
Android OS version: 4.4.4
Google Play Services library version: 5.0.89
Android Wear OS version: KGW42N (Samsung Gear Live 4.4W.1)