Not finding dashboards

I have AppDaemon configured and working but when I try HADashboard it doesn’t work. Here is my appdaemon.yaml:

AppDaemon:
  logfile: /home/ubuntu/appd-logs/appd.log
  errorfile: /home/ubuntu/appd-logs/appd.err
  logsize: 100000
  log_generations: 3
  threads: 10
  cert_path: /etc/letsencrypt/live/xxx/
  cert_verify: False
  time_zone: America/New_York
HASS:
  ha_url: http://127.0.0.1:8123 
  ha_key: !secret http_password
HADashboard:
  dash_dir: /home/ubuntu/dashdir
  dash_url: https://192.168.1.28:5050
  dash_ssl_certificate: /etc/letsencrypt/live/xxxx/fullchain.pem
  dash_ssl_key: /etc/letsencrypt/live/xxxx/privkey.pem
  dash_compile_on_start: 1

In the log the only reference to HADashboard is:

2017-11-26 13:34:47.120500 INFO App initialization complete
2017-11-26 13:34:47.121456 INFO Starting dashboard
2017-11-26 13:34:47.136650 INFO API is disabled

When I connect to the URL it fails (I get “empty response”). Any ideas?

do you have the dashdir created?
do you have a working dashboard in it?
did you try without certification?
is there a directory /conf/compiled/html and /conf/compiled/css and /conf/compiled/js?
are there files inside?
does the user that runs AD have writing access to those dirs?

When I remove the SSL related config it seems to work, not sure whats wrong with the SSL config. I use the same certs for SSL via nginx.

i dont use ssl in the dashboard because i go outside over NGINX, but it could be that you need HTTP as dash url and then give the cert and key to get https in your browser.

but why use ssl this way?
the url https://192.168.1.28:5050 is never reachable from outside
so you are using ssl inside your home network.
that slows things down with no benefit, unless you have the idea that someone with access to your network is trying to hack your dashboard :wink:

1 Like