Looking at the machine-0.log there's some issue with the generated TLS certificate:
2015-03-20 05:38:57 INFO juju.worker runner.go:261 start "api" 2015-03-20 05:38:57 INFO juju.api apiclient.go:327 dialing "wss://localhost:17070/" 2015-03-20 05:38:57 INFO juju.api apiclient.go:335 error dialing "wss://localhost:17070/": websocket.Dial wss://localhost:17070/: dial tcp 127.0.0.1:17070: connection refused 2015-03-20 05:38:57 ERROR juju.worker runner.go:219 exited "api": unable to connect to "wss://localhost:17070/" 2015-03-20 05:38:57 INFO juju.worker runner.go:253 restarting "api" in 3s 2015-03-20 05:38:58 DEBUG juju.mongo open.go:122 TLS handshake failed: x509: certificate is valid for localhost, juju-apiserver, not juju-mongodb
Looking at the machine-0.log there's some issue with the generated TLS certificate:
2015-03-20 05:38:57 INFO juju.worker runner.go:261 start "api" localhost: 17070/" localhost: 17070/" : websocket.Dial wss://localhost :17070/ : dial tcp 127.0.0.1:17070: connection refused localhost: 17070/"
2015-03-20 05:38:57 INFO juju.api apiclient.go:327 dialing "wss://
2015-03-20 05:38:57 INFO juju.api apiclient.go:335 error dialing "wss://
2015-03-20 05:38:57 ERROR juju.worker runner.go:219 exited "api": unable to connect to "wss://
2015-03-20 05:38:57 INFO juju.worker runner.go:253 restarting "api" in 3s
2015-03-20 05:38:58 DEBUG juju.mongo open.go:122 TLS handshake failed: x509: certificate is valid for localhost, juju-apiserver, not juju-mongodb