Excellent product, first of all.
I was able to get a server and agent to talk to each other without issues in the cloud with public IPs.
Next step was to secure it. So I was able to get that up and running without much issue with my existing Apache2 setup. However, I can’t get the rancher/agent to successfully connect to rancher/server.
I noticed, on the agent that adding the agent container creates 3, and 1 stays up trying to connect. No ports are blocked, so I’m quite stumped.
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
93f2f489978c rancher/agent:v0.8.2 “/run.sh run” 2 hours ago Up 6 minutes rancher-agent
a68190eef014 rancher/agent:v0.8.2 “/run.sh state” 2 hours ago Exited (0) 2 hours ago rancher-agent-state
cb90694ec542 rancher/agent:v0.8.2 “/run.sh https://ranc” 2 hours ago Exited (0) 2 hours ago hopeful_wescoff
I do see this error, which I am puzzled about:
2015-11-08 03:44:51,713 ERROR root  [_logging.py:54] (‘Received websocket error: [%s]’, CertificateError(“hostname ‘rancher.REDACTED.com’ doesn’t match either of ‘www.REDACTED.com’, ‘REDACTED.com’”,))