This is a follow up question to my earlier question. Back then, juju was hanging trying to connect to the MAAS node. God knows what happened, it went ahead and is now failing with Connection timed out error while trying to download tools from the canonical website. The exact error is -
curl: (7) Failed to connect to streams.canonical.com port 443: Connection timed out
tools from https://streams.canonical.com/juju/tools/releases/juju-1.18.4-trusty-amd64.tgz downloaded: HTTP 000; time 126.330s; size 0 bytes; speed 0.000 bytes/s
2014-10-16 23:32:08 ERROR juju.provider.common bootstrap.go:123 bootstrap failed: rc: 1
The link from where juju is trying to download stuff is a perfectly valid one.
I saw people having similar problems in connecting to https://streams.canonical.com
but there the problem was juju was unable to resolve the hostname but I don't think thats the case with our problem
Any hints are welcome.
EDIT: While juju hangs trying to connect to canonical before giving up, I ran juju -status
from another terminal. It shows this error
ERROR state/api: websocket.Dial wss://slot13.maas:17070/: dial tcp 10.10.10.102:17070: connection refused
10.10.10.102
is the private IP of our remote node. On one terminal juju says its trying download tools to deploy the node and on the other node, it says that remote node is refusing connection. Quite paradoxical!