Initial Configuration Issue

First of all, thank you for this wonderful community and product. I am a complete noob so please be patient while I completely understand what I am doing wrong.

Now to the main point.

So I started off installing Home-Assistant (HA) on ras-pi. And configs are as below.

Ras-Pi (2) : Ubuntu 16.04
Nginx for proxy server
Let’s Encrypt for SSL certs
Domains: example.com -> port 80 and 443; home.example.com -> port 80 and 443 -> proxy to localhost:8123
And finally, HA running with docker.

The problem right now is that I can see the front end properly, but I can’t log-in with a default password ‘welcome’. I tried changing the password to my own password, but it still doesn’t let me in. I am not sure what I am doing wrong here, or I am missing some steps I have to make before I can log-in initially. If anyone is concerned about logs here it is.

2017-12-19 19:25:45 INFO (MainThread) [homeassistant.setup] Setting up updater
2017-12-19 19:25:45 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 0.0 
seconds.
2017-12-19 19:25:45 INFO (MainThread) [homeassistant.core] Bus:Handling <Event 
component_loaded[L]: component=updater>
2017-12-19 19:25:47 INFO (MainThread) [homeassistant.setup] Setting up tts
2017-12-19 19:25:49 WARNING (MainThread) [homeassistant.setup] Setup of sensor is taking over 
10 seconds.
2017-12-19 19:25:50 INFO (MainThread) [homeassistant.setup] Setting up conversation
2017-12-19 19:25:50 INFO (MainThread) [homeassistant.core] Bus:Handling <Event 
service_registered[L]: domain=conversation, service=process>
2017-12-19 19:25:50 INFO (MainThread) [homeassistant.setup] Setup of domain conversation took 
0.0 seconds.
2017-12-19 19:25:50 INFO (MainThread) [homeassistant.core] Bus:Handling <Event 
component_loaded[L]: component=conversation>
2017-12-19 19:25:53 INFO (MainThread) [homeassistant.setup] Setting up discovery
2017-12-19 19:25:53 INFO (MainThread) [homeassistant.setup] Setup of domain discovery took 0.1 
seconds.
2017-12-19 19:25:53 INFO (MainThread) [homeassistant.core] Bus:Handling <Event 
component_loaded[L]: component=discovery>
2017-12-19 19:25:55 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.yr
2017-12-19 19:25:56 INFO (MainThread) [homeassistant.core] Bus:Handling <Event         
state_changed[L]: entity_id=sensor.yr_symbol, old_state=None, new_state=<state     
sensor.yr_symbol=unknown; attribution=Weather forecast from yr.no, delivered by the Norwegian 
Meteorological Institute and the NRK., friendly_name=yr Symbol, 
entity_picture=//api.met.no/weatherapi/weathericon/1.1/?symbol=None;content_type=image/png @ 
2017-12-19T19:25:56.129905-05:00>>
2017-12-19 19:25:58 WARNING (MainThread) [homeassistant.setup] Setup of tts is taking over 10 
seconds.
2017-12-19 19:25:58 INFO (MainThread) [homeassistant.core] Bus:Handling <Event 
state_changed[L]: entity_id=sensor.yr_symbol, old_state=<state sensor.yr_symbol=unknown; 
attribution=Weather forecast from yr.no, delivered by the Norwegian Meteorological Institute and 
the NRK., friendly_name=yr Symbol, entity_picture=//api.met.no/weatherapi/weathericon/1.1/?
symbol=None;content_type=image/png @ 2017-12-19T19:25:56.129905-05:00>, new_state=<state 
sensor.yr_symbol=3; attribution=Weather forecast from yr.no, delivered by the Norwegian  
Meteorological Institute and the NRK., friendly_name=yr Symbol, 
entity_picture=//api.met.no/weatherapi/weathericon/1.1/?symbol=3;content_type=image/png @ 
2017-12-19T19:25:58.340256-05:00>>
2017-12-19 19:25:58 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 19.1 
seconds.
2017-12-19 19:25:58 INFO (MainThread) [homeassistant.core] Bus:Handling <Event 
component_loaded[L]: component=sensor>
2017-12-19 19:25:59 INFO (MainThread) [homeassistant.core] Bus:Handling <Event 
service_registered[L]: domain=tts, service=google_say>
2017-12-19 19:25:59 INFO (MainThread) [homeassistant.core] Bus:Handling <Event 
service_registered[L]: domain=tts, service=clear_cache>
2017-12-19 19:25:59 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 11.8 
seconds.
2017-12-19 19:25:59 INFO (MainThread) [homeassistant.core] Bus:Handling <Event 
component_loaded[L]: component=tts>
2017-12-19 19:25:59 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 
37.19s
2017-12-19 19:25:59 INFO (MainThread) [homeassistant.core] Starting Home Assistant core loop
2017-12-19 19:25:59 INFO (MainThread) [homeassistant.core] Starting Home Assistant
2017-12-19 19:25:59 INFO (MainThread) [homeassistant.core] Bus:Handling <Event 
homeassistant_start[L]>
2017-12-19 19:25:59 INFO (MainThread) [homeassistant.core] Timer:starting
2017-12-19 19:26:02 INFO (MainThread) [homeassistant.components.http] Serving / to 172.17.0.1 
(auth: False)
2017-12-19 19:26:07 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2017-12-19 19:26:08 INFO (MainThread) [homeassistant.components.http] Serving /manifest.json 
to 172.17.0.1 (auth: False)
2017-12-19 19:26:15 INFO (MainThread) [homeassistant.components.http] Serving /api/websocket 
to 172.17.0.1 (auth: False)
2017-12-19 19:26:17 INFO (MainThread) [homeassistant.components.http] Serving /api/websocket 
to 172.17.0.1 (auth: False)
2017-12-19 19:26:19 INFO (MainThread) [homeassistant.components.http] Serving /api/websocket 
to 172.17.0.1 (auth: False)
2017-12-19 19:26:21 INFO (MainThread) [homeassistant.components.http] Serving /api/websocket 
to 172.17.0.1 (auth: False)
2017-12-19 19:26:24 INFO (MainThread) [homeassistant.components.http] Serving /api/websocket 
to 172.17.0.1 (auth: False)

Not sure if anything else will help or not, but if anything let me know and I will try to provide it.

Will really appreciate the help here.

NGINX is handling the SSL?

Is there anything in the NGINX logs showing your connections?

Wow! That was so dumb of me. Thanks for pointing me to RTFM and open debugger and see what I was doing wrong. It is now working as expected.

Thanks again for the fix.

1 Like