Ora então aqui está toda a minha info:
Configuração DuckDNS:
lets_encrypt:
accept_terms: true
certfile: fullchain.pem
keyfile: privkey.pem
token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
domains:
- xxxxxx.duckdns.org
aliases: []
seconds: 300
configuration.yaml:
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
# DuckDNS
http:
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
DuckDNS Log: (p.s.: o addon inicia, mas depois do erro que aparece, desliga-se automaticamente!)
[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] done.
[services.d] starting services
[services.d] done.
# INFO: Using main config file /data/workdir/config
+ Generating account key...
+ Registering account key with ACME server...
+ Fetching account ID...
ERROR: Problem connecting to server (post for https://acme-v02.api.letsencrypt.org/acme/new-acct; curl returned with 7)
[cmd] /run.sh exited 1
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
HA Log: (tenho estes 2 erros repetidos dezenas e dezenas de vezes)
2020-12-08 21:47:45 ERROR (MainThread) [homeassistant.components.hassio] Invalid config for [http]: not a file for dictionary value @ data['http']['ssl_certificate']. Got '/ssl/fullchain.pem'
not a file for dictionary value @ data['http']['ssl_key']. Got '/ssl/privkey.pem'. (See /config/configuration.yaml, line 15).
2020-12-09 01:59:39 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 314, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
File "aiohttp/_http_parser.pyx", line 546, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'invalid HTTP method'"
Configuração no router:
- Não consigo aceder externamente de maneira nenhuma (devido ao DuckDNS desligar-se automáticamente).
- Internamente consigo aceder ao HA por:
http://192.168.1.98:8123/
- De mencionar que internamente se aceder a
http://192.168.1.98
vai para esta página:
Acho que está aqui a info toda necessária.
Obrigado pela ajuda!