Http depencies

after a fresh install and tying to run my backuped Settings …I got a problem with my http depencies …

2018-01-05 14:19:53 ERROR (MainThread) [homeassistant.config] Invalid config for [http]: not a file for dictionary value @ data['http']['ssl_certificate']. Got '/etc/letsencrypt/live/xxxx.duckdns.org/fullchain.pem'
not a file for dictionary value @ data['http']['ssl_key']. Got '/etc/letsencrypt/live/xxxxxx.duckdns.org/privkey.pem'. (See /home/homeassistant/.homeassistant/configuration.yaml, line 21). Please check the docs at https://home-assistant.io/components/http/
2018-01-05 14:19:53 ERROR (MainThread) [homeassistant.setup] Setup failed for http: Invalid config.
2018-01-05 14:19:54 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of system_log. Setup failed for dependencies: http
2018-01-05 14:19:54 ERROR (MainThread) [homeassistant.setup] Setup failed for system_log: Could not setup all dependencies.
2018-01-05 14:19:54 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of websocket_api. Setup failed for dependencies: http
2018-01-05 14:19:54 ERROR (MainThread) [homeassistant.setup] Setup failed for websocket_api: Could not setup all dependencies.
2018-01-05 14:19:54 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of api. Setup failed for dependencies: http
2018-01-05 14:19:54 ERROR (MainThread) [homeassistant.setup] Setup failed for api: Could not setup all dependencies.
2018-01-05 14:19:54 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of frontend. Setup failed for dependencies: api, websocket_api, http, system_log
2018-01-05 14:19:54 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Could not setup all dependencies.
2018-01-05 14:19:56 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of history. Setup failed for dependencies: http
2018-01-05 14:19:56 ERROR (MainThread) [homeassistant.setup] Setup failed for history: Could not setup all dependencies.
2018-01-05 14:19:57 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of logbook. Setup failed for dependencies: frontend
2018-01-05 14:19:57 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not setup all dependencies.
2018-01-05 14:19:57 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of config. Setup failed for dependencies: http
2018-01-05 14:19:57 ERROR (MainThread) [homeassistant.setup] Setup failed for config: Could not setup all dependencies.
2018-01-05 14:19:57 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of media_player. Setup failed for dependencies: http
2018-01-05 14:19:57 ERROR (MainThread) [homeassistant.setup] Setup failed for media_player: Could not setup all dependencies.

i tryied to update aiohttp …nothing …even when i try to start it just with just a password without the ssl certifacate nothing changes

Iam Using HA 0.60.0

Thanks for any help !

A post was split to a new topic: Unspecified HTTP problem

I’m having the same issue. Don’t get a lot of responses around here.

You’re also running 0.60?

If not, then probably you’re having another issue, and if you tell us more about it then people will have a chance to help you.

2018-01-05 14:19:53 ERROR (MainThread) [homeassistant.config] Invalid config for [http]: not a file for dictionary value @ data['http']['ssl_certificate']. Got '/etc/letsencrypt/live/xxxx.duckdns.org/fullchain.pem'

That first line is trying to tell you that it can’t find the file /etc/letsencrypt/live/xxxx.duckdns.org/fullchain.pem. If that file exists at the specified location, then you have a permission issue. The file should be readable by the homeassistant user.

You can run cat /etc/letsencrypt/live/xxxx.duckdns.org/fullchain.pem to check if you have read permission.

certbot usually doesn’t give anybody other than the certbot user access to the live, keys, and archive directory.

One option is:

sudo chgrp homeassistant /etc/letsencrypt/live /etc/letsencrypt/keys /etc/letsencrypt/archive
sudo chmod g+x /etc/letsencrypt/live /etc/letsencrypt/keys /etc/letsencrypt/archive
1 Like