tsujamin / hass-addons

108 stars 35 forks source link

HTTPS Not Working #50

Closed aidan-gibson closed 1 year ago

aidan-gibson commented 2 years ago

cert_domain not working I can connect via my cert domain via http, but not https. Firefox returns SSL_ERROR_RX_RECORD_TOO_LONG. (I've also tried different browsers, devices, etc). Tried rebuilding, resetting, reauthenticating, changing hostname.

Potentially relevant logs from plugin:

2022/11/04 22:59:48 health("dns-os"): error: getting OS base config is not supported
2022/11/04 22:59:48 health("dns"): error: getting OS base config is not supported

DNS Logs:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] corefile.sh: executing... 
[cont-init.d] corefile.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[WARNING] plugin/hosts: File does not exist: /config/hosts
.:53
.:5553
CoreDNS-1.8.4
linux/amd64, go1.15.15, 053c4d5-dirty
[INFO] 127.0.0.1:46054 - 22581 "TXT IN _acme-challenge.DOMAINNAME.local.hass.io. udp 78 true 2048" NOERROR - 0 0.000212898s
[ERROR] plugin/errors: 2 _acme-challenge.DOMAINNAME.local.hass.io. TXT: plugin/forward: no next plugin found
[INFO] 172.30.32.1:53042 - 22581 "TXT IN _acme-challenge.DOMAINNAME.local.hass.io. udp 78 false 1232" SERVFAIL qr,rd 67 0.001777211s
[INFO] 172.30.32.1:42057 - 23366 "TXT IN _acme-challenge.DOMAINNAME.local.hass.io. udp 78 false 1232" SERVFAIL qr,aa,rd 67 0.000253725s
[INFO] 127.0.0.1:59134 - 56046 "TXT IN _acme-challenge.DOMAINNAME.local.hass.io. udp 89 true 2048" NOERROR - 0 0.000159129s
[ERROR] plugin/errors: 2 _acme-challenge.DOMAINNAME.local.hass.io. TXT: plugin/forward: no next plugin found
[INFO] 172.30.32.1:43343 - 56046 "TXT IN _acme-challenge.DOMAINNAME.local.hass.io. udp 89 false 1232" SERVFAIL qr,rd 78 0.001725481s
[INFO] 172.30.32.1:39585 - 65031 "TXT IN _acme-challenge.DOMAINNAME.local.hass.io. udp 89 false 1232" SERVFAIL qr,aa,rd 78 0.000218824s
tsujamin commented 2 years ago

Hey mate, sorry but I have next to zero idea how the TLS integration with Tailscale works so won't be of much assistance sorry , @patlux added support for that feature so maybe they'll be able to give you a steer