You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2022/04/27 14:25:23 UTC
[GitHub] [openwhisk] craftsman2020 opened a new issue, #5227: openwhisk demo erro
craftsman2020 opened a new issue, #5227:
URL: https://github.com/apache/openwhisk/issues/5227
hi,
the openwhisk demo in the kubernate env,use the command to create action.
wsk action create hello ./sample/hello.js
but the reuslt is "Unable to create action 'hello': Put "https://47.108.*.*:31001/api/v1/namespaces/_/actions/hello?overwrite=false": x509: cannot validate certificate for 47.108.*.*:31001 because it doesn't contain any IP SANs".
why,can u help troubleshoot it?thanks a lot.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [openwhisk] ningyougang commented on issue #5227: openwhisk demo erro
Posted by GitBox <gi...@apache.org>.
ningyougang commented on issue #5227:
URL: https://github.com/apache/openwhisk/issues/5227#issuecomment-1111595627
Can you test against controller without nginx directly? at the same check controller logs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [openwhisk] ningyougang commented on issue #5227: openwhisk demo erro
Posted by GitBox <gi...@apache.org>.
ningyougang commented on issue #5227:
URL: https://github.com/apache/openwhisk/issues/5227#issuecomment-1112765473
The request path is, user request -> nginx-> controller(create a activationMessage) -> scheduler(create memoryQueue) -> invoker(pull the activationMessage from scheduler's memoryQueue)
I feel the problem is in nginx pod side(e.g. certificate maybe), can you check the error logs for nginx?
For my previous test, i can test against for controller without nginx directly. e.g.
```
wsk property set \
--apihost 'http://controllerIp:controllerPort' \
--auth 'XXXXX:XXXXXXXXXXXXXX'
```
After executed above command, then. execute below command
```
wsk action create hello ./sample/hello.js
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [openwhisk] ningyougang commented on issue #5227: openwhisk demo erro
Posted by GitBox <gi...@apache.org>.
ningyougang commented on issue #5227:
URL: https://github.com/apache/openwhisk/issues/5227#issuecomment-1139171050
So, after apply `-i`, the issue solved?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [openwhisk] craftsman2020 commented on issue #5227: openwhisk demo erro
Posted by GitBox <gi...@apache.org>.
craftsman2020 commented on issue #5227:
URL: https://github.com/apache/openwhisk/issues/5227#issuecomment-1112885957
Hi
The controllerIp:controllerPort is internet IP or internal IP?
The wsk property have been setted,When I run the command “wsk action create hello ./sample/hello.js”
The nginx have no errlog.
发件人: ***@***.*** ***@***.***> 代表 ningyougang
发送时间: 2022年4月29日 8:10
收件人: apache/openwhisk ***@***.***>
抄送: craftsman2020 ***@***.***>; Author ***@***.***>
主题: Re: [apache/openwhisk] openwhisk demo erro (Issue #5227)
The request path is, user request -> nginx-> controller(create a activationMessage) -> scheduler(create memoryQueue) -> invoker(pull the activationMessage from scheduler's memoryQueue)
I feel the problem is in nginx pod side(e.g. certificate maybe), can you check the error logs for nginx?
For my previous test, i can test against for controller without nginx directly. e.g.
wsk property set \
--apihost 'http://controllerIp:controllerPort' \
--auth 'XXXXX:XXXXXXXXXXXXXX'
After executed above command, then. execute below command
wsk action create hello ./sample/hello.js
—
Reply to this email directly, view it on GitHub <https://github.com/apache/openwhisk/issues/5227#issuecomment-1112765473> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AWGCUWWQG3HJM2SQ64DJ4JLVHMSG3ANCNFSM5UPKHHYQ> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AWGCUWSLMXCEJXOMWS4ISJTVHMSG3A5CNFSM5UPKHHY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIJJXIII.gif> Message ID: ***@***.*** ***@***.***> >
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [openwhisk] rabbah closed issue #5227: openwhisk demo erro
Posted by GitBox <gi...@apache.org>.
rabbah closed issue #5227: openwhisk demo erro
URL: https://github.com/apache/openwhisk/issues/5227
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [openwhisk] style95 commented on issue #5227: openwhisk demo erro
Posted by GitBox <gi...@apache.org>.
style95 commented on issue #5227:
URL: https://github.com/apache/openwhisk/issues/5227#issuecomment-1112910760
@craftsman2020 Does it work now? or not.
Have you tried adding `-i` option to the `wsk` cli?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [openwhisk] craftsman2020 commented on issue #5227: openwhisk demo erro
Posted by GitBox <gi...@apache.org>.
craftsman2020 commented on issue #5227:
URL: https://github.com/apache/openwhisk/issues/5227#issuecomment-1113903637
it means?
wsk property set --apihost .....
i have done it._
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [openwhisk] craftsman2020 commented on issue #5227: openwhisk demo erro
Posted by GitBox <gi...@apache.org>.
craftsman2020 commented on issue #5227:
URL: https://github.com/apache/openwhisk/issues/5227#issuecomment-1112039846
how to test against controller without nginx?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [openwhisk] style95 commented on issue #5227: openwhisk demo erro
Posted by GitBox <gi...@apache.org>.
style95 commented on issue #5227:
URL: https://github.com/apache/openwhisk/issues/5227#issuecomment-1114417744
You should add `-i` option for all commands.
This is to ignore a self-signed certificate.
```
wsk action list -i
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org