Having a bit of a nightmare getting SSL working - I need it for the Smartthings integration
I had it working, but my HA got broken when the VM ran out of space and corrupter one of the docker containers
After a clean build, and restoring the snapshot, not all the dockers start unless I comment out the lines for SSL.
redcated config entry:
http:
base_url: https://ha.mydomain.com:8123
ssl_certificate: /config/certificate.pem
ssl_key: /config/privkey.pem
use_x_forwarded_for: true
trusted_proxies:
- 192.168.0.102
(indents are there but showing here for some reason)
the certificates are letsencrypt certs that my reverse proxy (nginx) renews, and I have a script that copies them over when they get updated.
No changes have been made to NGINX (this was working perfectly) so I am assuming the issue is somewhere in my config, or permissions.
if i comment out the ssl parts (and below) it works fine over plain old http
from the host logs
Sep 15 16:31:35 hassio dockerd[439]: time=“2019-09-15T16:31:35.780073752+01:00” level=info msg=“Container f6fdf77b3663c6549fabade6838a171281b5cd8c131aa1507cbcbc538d19d4bb failed to exit within 60 seconds of signal 15 - using the force”
Sep 15 16:31:37 hassio containerd[377]: time=“2019-09-15T16:31:37.083757254+01:00” level=info msg=“shim reaped” id=f6fdf77b3663c6549fabade6838a171281b5cd8c131aa1507cbcbc538d19d4bb
Sep 15 16:31:37 hassio dockerd[439]: time=“2019-09-15T16:31:37.100136538+01:00” level=info msg=“ignoring event” module=libcontainerd namespace=moby topic=/tasks/delete type=“*events.TaskDelete”
Sep 15 16:31:37 hassio dockerd[439]: time=“2019-09-15T16:31:37.133059103+01:00” level=warning msg=“f6fdf77b3663c6549fabade6838a171281b5cd8c131aa1507cbcbc538d19d4bb cleanup: failed to unmount IPC: umount /var/lib/docker/containers/f6fdf77b3663c6549fabade6838a171281b5cd8c131aa1507cbcbc538d19d4bb/mounts/shm, flags: 0x2: no such file or directory”
Sep 15 16:31:37 hassio containerd[377]: time=“2019-09-15T16:31:37.332694448+01:00” level=info msg=“shim containerd-shim started” address=“/containerd-shim/moby/f6fdf77b3663c6549fabade6838a171281b5cd8c131aa1507cbcbc538d19d4bb/shim.sock” debug=false pid=12974
and in supervisor logs