bestlibre / hassio-addons

173 stars 109 forks source link

Error when trying to install on an Ubuntu Server #66

Closed bonanitech closed 5 years ago

bonanitech commented 6 years ago

I followed this method to install Hass.io on a fresh installed Ubuntu Server.

When I try to install the Caddy add-on I get the errors below.

starting version 3.2.4
2018/05/09 18:16:45 get directory at 'https://acme-v01.api.letsencrypt.org/directory': failed to get json "https://acme-v01.api.letsencrypt.org/directory": Get https://acme-v01.api.letsencrypt.org/directory: dial tcp: lookup acme-v01.api.letsencrypt.org on 127.0.0.11:53: read udp 127.0.0.1:38886->127.0.0.11:53: i/o timeout
Activating privacy features...

And this in syslog.

May  9 18:16:34 ha hassio-supervisor[1481]: #033[32m18-05-09 22:16:34 INFO (SyncWorker_34) [hassio.docker.interface] Stop bestlibre/amd64-caddy-proxy docker application#033[0m
May  9 18:16:34 ha dockerd[975]: time="2018-05-09T18:16:34-04:00" level=info msg="shim reaped" id=bd1ebd95a05c435c3852eb15cbf89722ae75040c7dffc58ecc1be6f9d45a420a module="containerd/tasks"
May  9 18:16:34 ha dockerd[975]: time="2018-05-09T18:16:34.383830595-04:00" level=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
May  9 18:16:34 ha systemd-networkd[598]: veth020c8b8: Lost carrier
May  9 18:16:34 ha kernel: [  168.640376] hassio: port 2(veth020c8b8) entered disabled state
May  9 18:16:34 ha kernel: [  168.640450] veth12d5de7: renamed from eth0
May  9 18:16:34 ha systemd-timesyncd[566]: Network configuration changed, trying to establish connection.
May  9 18:16:34 ha systemd-udevd[4025]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
May  9 18:16:34 ha networkd-dispatcher[856]: WARNING:Unknown index 11 seen, reloading interface list
May  9 18:16:34 ha avahi-daemon[860]: Interface veth020c8b8.IPv6 no longer relevant for mDNS.
May  9 18:16:34 ha avahi-daemon[860]: Leaving mDNS multicast group on interface veth020c8b8.IPv6 with address fe80::14ff:46ff:febc:5b34.
May  9 18:16:34 ha kernel: [  168.713688] hassio: port 2(veth020c8b8) entered disabled state
May  9 18:16:34 ha kernel: [  168.715539] device veth020c8b8 left promiscuous mode
May  9 18:16:34 ha kernel: [  168.715543] hassio: port 2(veth020c8b8) entered disabled state
May  9 18:16:34 ha avahi-daemon[860]: Withdrawing address record for fe80::14ff:46ff:febc:5b34 on veth020c8b8.
May  9 18:16:34 ha hassio-supervisor[1481]: #033[32m18-05-09 22:16:34 INFO (SyncWorker_34) [hassio.docker.interface] Clean bestlibre/amd64-caddy-proxy docker application#033[0m
May  9 18:16:34 ha systemd-udevd[4046]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
May  9 18:16:34 ha systemd-udevd[4048]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
May  9 18:16:34 ha kernel: [  169.085453] hassio: port 2(veth9ae5ac2) entered blocking state
May  9 18:16:34 ha kernel: [  169.085456] hassio: port 2(veth9ae5ac2) entered disabled state
May  9 18:16:34 ha kernel: [  169.085660] device veth9ae5ac2 entered promiscuous mode
May  9 18:16:34 ha kernel: [  169.085898] IPv6: ADDRCONF(NETDEV_UP): veth9ae5ac2: link is not ready
May  9 18:16:34 ha kernel: [  169.085903] hassio: port 2(veth9ae5ac2) entered blocking state
May  9 18:16:34 ha kernel: [  169.085905] hassio: port 2(veth9ae5ac2) entered forwarding state
May  9 18:16:34 ha networkd-dispatcher[856]: WARNING:Unknown index 13 seen, reloading interface list
May  9 18:16:34 ha systemd-udevd[4046]: Could not generate persistent MAC address for vethdbe547d: No such file or directory
May  9 18:16:34 ha systemd-udevd[4048]: Could not generate persistent MAC address for veth9ae5ac2: No such file or directory
May  9 18:16:34 ha dockerd[975]: time="2018-05-09T18:16:34-04:00" level=info msg="shim docker-containerd-shim started" address="/containerd-shim/moby/5b4a0ca00c7efec4ca6b79666ce6d0d790f7f701ff328d58b782cf4db05c9fe9/shim.sock" debug=false module="containerd/tasks" pid=4091
May  9 18:16:35 ha kernel: [  169.559502] eth0: renamed from vethdbe547d
May  9 18:16:35 ha systemd-networkd[598]: veth9ae5ac2: Gained carrier
May  9 18:16:35 ha kernel: [  169.583119] IPv6: ADDRCONF(NETDEV_CHANGE): veth9ae5ac2: link becomes ready
May  9 18:16:35 ha hassio-supervisor[1481]: #033[32m18-05-09 22:16:35 INFO (SyncWorker_17) [hassio.docker.addon] Start docker addon bestlibre/amd64-caddy-proxy with version 0.10.10-2#033[0m
May  9 18:16:36 ha avahi-daemon[860]: Joining mDNS multicast group on interface veth9ae5ac2.IPv6 with address fe80::e0cf:ebff:fe91:5b49.
May  9 18:16:36 ha avahi-daemon[860]: New relevant interface veth9ae5ac2.IPv6 for mDNS.
May  9 18:16:36 ha systemd-networkd[598]: veth9ae5ac2: Gained IPv6LL
May  9 18:16:36 ha avahi-daemon[860]: Registering new address record for fe80::e0cf:ebff:fe91:5b49 on veth9ae5ac2.*.
May  9 18:16:45 ha dockerd[975]: time="2018-05-09T18:16:45-04:00" level=info msg="shim reaped" id=5b4a0ca00c7efec4ca6b79666ce6d0d790f7f701ff328d58b782cf4db05c9fe9 module="containerd/tasks"
May  9 18:16:45 ha dockerd[975]: time="2018-05-09T18:16:45.655083877-04:00" level=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
May  9 18:16:45 ha systemd-networkd[598]: veth9ae5ac2: Lost carrier
May  9 18:16:45 ha kernel: [  179.904231] hassio: port 2(veth9ae5ac2) entered disabled state
May  9 18:16:45 ha kernel: [  179.904302] vethdbe547d: renamed from eth0
May  9 18:16:45 ha systemd-udevd[4360]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
May  9 18:16:45 ha networkd-dispatcher[856]: WARNING:Unknown index 13 seen, reloading interface list
May  9 18:16:45 ha avahi-daemon[860]: Interface veth9ae5ac2.IPv6 no longer relevant for mDNS.
May  9 18:16:45 ha avahi-daemon[860]: Leaving mDNS multicast group on interface veth9ae5ac2.IPv6 with address fe80::e0cf:ebff:fe91:5b49.
May  9 18:16:45 ha kernel: [  179.985213] hassio: port 2(veth9ae5ac2) entered disabled state
May  9 18:16:45 ha kernel: [  179.986459] device veth9ae5ac2 left promiscuous mode
May  9 18:16:45 ha kernel: [  179.986461] hassio: port 2(veth9ae5ac2) entered disabled state
May  9 18:16:45 ha avahi-daemon[860]: Withdrawing address record for fe80::e0cf:ebff:fe91:5b49 on veth9ae5ac2.

How to solve this problem?

Thanks.

bestlibre commented 5 years ago

I will close this old issue. Feel free to reopen if needed.

dhzl84 commented 5 years ago

@bonanitech did you solve this issue? I'm experiencing the same right now with Hassio81.4 on Ubuntu Server 18.04, Caddy Proxy 0.11.5-1

bonanitech commented 5 years ago

Sorry, I can't help you with that. I stopped using Caddy Proxy shortly after raising this issue. I migrated to HAProxy in a pfSense box.