You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwhisk.apache.org by OpenWhisk Team Slack <ra...@apache.org> on 2019/09/30 09:00:04 UTC
[slack-digest] [2019-09-29] #general
2019-09-29 03:17:32 UTC - Bruno Wego: Hi everybody! I'm novice with OpenWhisk. I have running OpenWhisk (helm install, minikube).
```
helm install openwhisk-deploy-kube/helm/openwhisk \
-n openwhisk \
--namespace openwhisk \
--set whisk.ingress.apiHostName="$(minikube ip)"
```
I'm having a issue when try run command `wsk package bind`:
```
wsk package bind /whisk.system/cloudant contactdb \
-p username $(CLOUDANT_USER) \
-p password $(CLOUDANT_PASS) \
-p host $(CLOUDANT_HOST) \
-p dbname contactdb
```
```
wsk action invoke contactdb/write \
-b \
-p dbname contactdb \
-p doc '{"name":"Bruno Wego","email":"<ma...@gmail.com>"}' \
-r \
-i
```
After run, I receive this issue:
```
{
"error": {
"code": "UNABLE_TO_VERIFY_LEAF_SIGNATURE",
"description": "unable to verify the first certificate",
"errid": "request",
"message": "error happened in your connection",
"name": "Error",
"scope": "socket",
"stack": "Error: unable to verify the first certificate\n at Error (native)\n at TLSSocket.<anonymous> (_tls_wrap.js:1092:38)\n at emitNone (events.js:86:13)\n at TLSSocket.emit (events.js:185:7)\n at TLSSocket._finishInit (_tls_wrap.js:609:8)\n at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:439:38)",
"stacktrace": [
"Error: unable to verify the first certificate",
" at Error (native)",
" at TLSSocket.<anonymous> (_tls_wrap.js:1092:38)",
" at emitNone (events.js:86:13)",
" at TLSSocket.emit (events.js:185:7)",
" at TLSSocket._finishInit (_tls_wrap.js:609:8)",
" at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:439:38)"
]
}
}
```
I'm lost in about how solve it, anybody can help?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1569727052066300?thread_ts=1569727052.066300&cid=C3TPCAQG1
----
2019-09-29 03:18:43 UTC - Bruno Wego: My `CLOUDANT_HOST` environment are pointing to `$(minikube ip)`.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1569727123066500?thread_ts=1569727052.066300&cid=C3TPCAQG1
----
2019-09-29 10:39:17 UTC - Bruno Wego: <https://stackoverflow.com/questions/58154419/openwhisk-action-invoke-returning-a-issue-with-signature>
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1569753557067200?thread_ts=1569727052.066300&cid=C3TPCAQG1
----
2019-09-29 11:49:18 UTC - Bruno Wego: Solved after understand the code <https://github.com/apache/openwhisk-package-cloudant/blob/master/actions/database-actions/write-document.js#L144)>.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1569757758067600?thread_ts=1569727052.066300&cid=C3TPCAQG1
----