Can not juju register.
yuki kono
kono at kononet.net
Wed Jan 25 05:43:07 UTC 2017
Hello.
I'm yuki.
I tried to run "juju register" to juju-bootstrap node,but receive following
error message.
-----------------------------------------------
ubuntu at jc01:~$ juju --debug register 10.0.10.38:17070
03:52:18 INFO juju.cmd supercommand.go:63 running juju [2.0.2 gc go1.6.2]
03:52:18 DEBUG juju.cmd supercommand.go:64 args: []string{"juju",
"--debug", "register", "10.0.10.38:17070"}
03:52:18 INFO juju.api apiclient.go:530 dialing "wss://10.0.10.38:17070/api
"
03:52:18 INFO juju.api apiclient.go:539 error dialing "wss://
10.0.10.38:17070/api": websocket.Dial wss://10.0.10.38:17070/api: x509:
certificate signed by unknown authority
03:52:18 ERROR cmd supercommand.go:458 unable to connect to API:
websocket.Dial wss://10.0.10.38:17070/api: x509: certificate signed by
unknown authority
03:52:18 DEBUG cmd supercommand.go:459 (error details: [{
github.com/juju/juju/cmd/juju/controller/register.go:140: } {
github.com/juju/juju/cmd/juju/controller/register.go:223: } {
github.com/juju/juju/api/apiclient.go:185: } {
github.com/juju/juju/api/apiclient.go:464: } {
github.com/juju/juju/api/apiclient.go:494: } {
github.com/juju/juju/api/apiclient.go:540: unable to connect to API}
{websocket.Dial wss://10.0.10.38:17070/api: x509: certificate signed by
unknown authority}])
-----------------------------------------------
I guess it is caused by some certificate error for golang net/http library.
(Not use "InsecureSkipVerify: true" ???)
Does anyone know the solution?
Yuki.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170125/18999481/attachment.html>
More information about the Juju
mailing list