The primary goal of our add-ons project is to provide you (as a Home Assistant user) with additional, high quality, add-ons that allow you to take your automated home to the next level.
I am Franck Nijhof, and I have 30 years of programming experience, in many languages. I am using this experience to work on the Home Assistant project by giving back my knowledge and time to the open source community.
The add-on you are currently looking at right now was developed/packaged by me. It is not the only add-on I have created; there are many many more
However, I have a problem… I am an addict. A addict that is. Lucky for you, I turn that C8H10N4O2 (caffeine molecule) into code (and add-ons)!
If you want to show your appreciation, consider supporting me for buying a cup of high octane wakey juice via one of the platforms below!
Enjoy your add-on, while I enjoy the brain juice.
Thanks for all the
…/Frenck
P.S.: In case you want to ask me a question: AMA (Ask Me Anything). Most of the time I am online at the Discord chat. (I go by @Frenck in there as well).
Just installed Glances add-on and I keep getting 502 Bad Gateway / nginx/1.14.2. I enabled ssl and gave a login/password in the config. When I go to the web ui, I am prompted for login credentials but then get the above error.
2019/02/05 21:54:37 [info] 13685#13685: *1 client closed connection while waiting for request, client: 192.168.86.203, server: 0.0.0.0:61208
2019/02/05 21:54:37 [info] 13685#13685: *2 client closed connection while waiting for request, client: 192.168.86.203, server: 0.0.0.0:61208
2019/02/05 21:54:37 [info] 13685#13685: *7 client closed connection while waiting for request, client: 192.168.86.203, server: 0.0.0.0:61208
2019/02/05 21:54:37 [info] 13685#13685: *6 client closed connection while waiting for request, client: 192.168.86.203, server: 0.0.0.0:61208
2019/02/05 21:54:39 [info] 13685#13685: *8 client closed connection while waiting for request, client: 192.168.86.203, server: 0.0.0.0:61208
2019/02/05 21:54:39 [info] 13685#13685: *9 client closed connection while waiting for request, client: 192.168.86.203, server: 0.0.0.0:61208
192.168.86.203 - - [05/Feb/2019:21:54:39 -0600] “GET / HTTP/1.1” 401 29 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36”
2019/02/05 21:54:49 [info] 13685#13685: *3 client closed connection while SSL handshaking, client: 192.168.86.203, server: 0.0.0.0:61208
2019/02/05 21:54:49 [info] 13685#13685: *11 [lua] ha-auth.lua:59: authenticate(): Authenticated user against Home Assistant., client: 192.168.86.203, server: _, request: “GET / HTTP/1.1”, host: “192.168.86.123:61208”
2019/02/05 21:54:49 [error] 13685#13685: *11 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.86.203, server: _, request: “GET / HTTP/1.1”, upstream: “http://127.0.0.1:61209/”, host: “192.168.86.123:61208”
I have been running HA on RPI3 for about a year and spent the past 2 weeks working on getting HA running in docker on Ubuntu on an old laptop I had laying around. A lot of trial and error along the way but its running now on the laptop. Keep getting the 502 error when trying to run thru the laptop HA instance.
Just installed it on the RPI3 and it started right up with no issues.When trying to run it on the ubuntu/docker on/ the laptop, the logs are showing connection refused and shows an ip address of my desktop PC. Not sure how it could be blocking it.
Yes, even went as far as uninstalling, restarting homeassistant container, reinstalling and trying again several times. If I try to run it making no changes to the config at all, ssl “false”, default settings I get This site can’t be reached and this in the logs.
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing…
Log level is set to INFO
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] 02-updates.sh: executing…
INFO: You are running the latest version of this add-on
[cont-init.d] 02-updates.sh: exited 0.
[cont-init.d] 10-requirements.sh: executing…
[cont-init.d] 10-requirements.sh: exited 0.
[cont-init.d] 11-docker.sh: executing…
If I go back to the config and set ssl “true” and restart I get, 502 Bad Gateway nginx/1.14.2
and this in the logs,
amd64 / Ubuntu 18.04.1 LTS / HA 0.87.0b6 / SU 143 / beta
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing…
Log level is set to INFO
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] 02-updates.sh: executing…
INFO: You are running the latest version of this add-on
[cont-init.d] 02-updates.sh: exited 0.
[cont-init.d] 10-requirements.sh: executing…
[cont-init.d] 10-requirements.sh: exited 0.
[cont-init.d] 11-docker.sh: executing…
INFO: Docker support has been enabled.
[cont-init.d] 11-docker.sh: exited 0.
[cont-init.d] 20-config.sh: executing…
[cont-init.d] 20-config.sh: exited 0.
[cont-init.d] 30-influxdb.sh: executing…
[cont-init.d] 30-influxdb.sh: exited 0.
[cont-init.d] 70-nginx.sh: executing…
[cont-init.d] 70-nginx.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
INFO: Starting the NGINX daemon
INFO: Starting Glances
2019/02/06 20:42:50 [notice] 2243#2243: using the “epoll” event method
2019/02/06 20:42:50 [notice] 2243#2243: nginx/1.14.2
2019/02/06 20:42:50 [notice] 2243#2243: OS: Linux 4.15.0-45-generic
2019/02/06 20:42:50 [notice] 2243#2243: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2019/02/06 20:42:50 [notice] 2243#2243: start worker processes
2019/02/06 20:42:50 [notice] 2243#2243: start worker process 2313
2019/02/06 20:43:08 [info] 2313#2313: *2 client closed connection while waiting for request, client: 192.168.86.203, server: 0.0.0.0:61208
2019/02/06 20:43:08 [info] 2313#2313: *1 client closed connection while waiting for request, client: 192.168.86.203, server: 0.0.0.0:61208
2019/02/06 20:43:08 [info] 2313#2313: *4 [lua] ha-auth.lua:59: authenticate(): Authenticated user against Home Assistant., client: 192.168.86.203, server: _, request: “GET / HTTP/1.1”, host: “192.168.86.123:61208”