I seem to be having so many issues with duckdns. I have managed to portforward and can access hass from my public ip with port 8123. Now when going and entering my token and url, i get this within the log
starting version 3.2.4
# INFO: Using main config file /data/workdir/config
+ Generating account key...
+ Registering account key with ACME server...
+ Done!
Tue Mar 6 21:52:02 SAST 2018: KO
# INFO: Using main config file /data/workdir/config
Processing homeauotpi.duckdns.org
+ Signing domains...
+ Creating new directory /data/letsencrypt/homeauotpi.duckdns.org ...
+ Creating chain cache directory /data/workdir/chains
+ Generating private key...
+ Generating signing request...
+ Requesting challenge for homeauotpi.duckdns.org...
KO + Responding to challenge for homeauotpi.duckdns.org...
KOUnknown hook invalid_challenge
ERROR: Challenge is invalid! (returned: invalid) (result: {
"type": "dns-01",
"status": "invalid",
"error": {
"type": "urn:acme:error:connection",
"detail": "DNS problem: NXDOMAIN looking up TXT for _acme-challenge.homeauotpi.duckdns.org",
"status": 400
},
"uri": "https://acme-v01.api.letsencrypt.org/acme/challenge/r9XEa7rLV3lxRofchCMEsw0H38aQteiqy9lOnPaL5kw/3714927490",
"token": "e8EqleEPXKdN8QxbYgfQRLgYj-fRMGs-sQMk6jKfto_j4",
"keyAuthorization": "e8EqleEPXKdNasdgsdgfbYQRLCYj-dRMGf-jQMk6jKfto_j4.F_BTwasdHt4zfdre5UrgT1I_P6trsquUzasdfasJXVh1sadR40Lo"
})
Tue Mar 6 21:58:24 SAST 2018: KO
Tue Mar 6 22:03:27 SAST 2018: KO
Tue Mar 6 22:08:31 SAST 2018: KO
Tue Mar 6 22:13:36 SAST 2018: KO
Tue Mar 6 22:18:38 SAST 2018: KO
Tue Mar 6 22:23:40 SAST 2018: KO
Tue Mar 6 22:28:42 SAST 2018: KO
Tue Mar 6 22:33:44 SAST 2018: KO
Tue Mar 6 22:38:47 SAST 2018: KO
Then when adding
http:
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
base_url: xxxx.duckdns.org
api_password: !secret api_password
Then checking the config, I get this error
Testing configuration at /config
ERROR:homeassistant.config: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 23). Please check the docs at https://home-assistant.io/components/http/
ERROR:homeassistant.setup:Setup failed for http: Invalid config.
ERROR:homeassistant.setup:Unable to setup dependencies of websocket_api. Setup failed for dependencies: http
ERROR:homeassistant.setup:Setup failed for websocket_api: Could not setup all dependencies.
ERROR:homeassistant.setup:Unable to setup dependencies of system_log. Setup failed for dependencies: http
ERROR:homeassistant.setup:Setup failed for system_log: Could not setup all dependencies.
ERROR:homeassistant.setup:Unable to setup dependencies of api. Setup failed for dependencies: http
ERROR:homeassistant.setup:Setup failed for api: Could not setup all dependencies.
ERROR:homeassistant.setup:Unable to setup dependencies of history. Setup failed for dependencies: http
ERROR:homeassistant.setup:Setup failed for history: Could not setup all dependencies.
ERROR:homeassistant.setup:Unable to setup dependencies of frontend. Setup failed for dependencies: api, websocket_api, http, system_log
ERROR:homeassistant.setup:Setup failed for frontend: Could not setup all dependencies.
ERROR:homeassistant.setup:Unable to setup dependencies of tts. Setup failed for dependencies: http
ERROR:homeassistant.setup:Setup failed for tts: Could not setup all dependencies.
ERROR:homeassistant.setup:Unable to setup dependencies of logbook. Setup failed for dependencies: frontend
ERROR:homeassistant.setup:Setup failed for logbook: Could not setup all dependencies.
ERROR:homeassistant.setup:Unable to setup dependencies of media_player. Setup failed for dependencies: http
ERROR:homeassistant.setup:Setup failed for media_player: Could not setup all dependencies.
ERROR:homeassistant.setup:Unable to setup dependencies of conversation. Setup failed for dependencies: http
ERROR:homeassistant.setup:Setup failed for conversation: Could not setup all dependencies.
ERROR:homeassistant.setup:Unable to setup dependencies of config. Setup failed for dependencies: http
ERROR:homeassistant.setup:Setup failed for config: Could not setup all dependencies.
Failed config
http:
api_password: xxxxxx
base_url: xxxxxxxxx:8123
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
General Errors:
- Setup failed for http: Invalid config.
- Unable to setup dependencies of websocket_api. Setup failed for dependencies: http
- Setup failed for websocket_api: Could not setup all dependencies.
- Unable to setup dependencies of system_log. Setup failed for dependencies: http
- Setup failed for system_log: Could not setup all dependencies.
- Unable to setup dependencies of api. Setup failed for dependencies: http
- Setup failed for api: Could not setup all dependencies.
- Unable to setup dependencies of history. Setup failed for dependencies: http
- Setup failed for history: Could not setup all dependencies.
- Unable to setup dependencies of frontend. Setup failed for dependencies: api, websocket_api, http, system_log
- Setup failed for frontend: Could not setup all dependencies.
- Unable to setup dependencies of tts. Setup failed for dependencies: http
- Setup failed for tts: Could not setup all dependencies.
- Unable to setup dependencies of logbook. Setup failed for dependencies: frontend
- Setup failed for logbook: Could not setup all dependencies.
- Unable to setup dependencies of media_player. Setup failed for dependencies: http
- Setup failed for media_player: Could not setup all dependencies.
- Unable to setup dependencies of conversation. Setup failed for dependencies: http
- Setup failed for conversation: Could not setup all dependencies.
- Unable to setup dependencies of config. Setup failed for dependencies: http
- Setup failed for config: Could not setup all dependencies.
Successful config (partial)
http:
What do you think would cause this and what do i do to fix this?
Thanks for future replys.