Error 404 with home assistant

Hi every one I am new in home assistant i finished installing it when i first launch it the interface was displayed in the browser i installed appdeamon and did the configuration now when i open home assistant i have this " 404: Not Found " i dont understand anything i am running into ubuntu 14.04 and i did not yet open the configuration.yaml of .homeassistant
hope some one can help me
pleas excuse my bad english i am a french speaker

have you added frontend: to your configuration.yaml?

2 Likes

No how should i do it? and why the first time it was displayed without any problem??

if you’re a newbie, you probably need to follow the instructions to get started. If it was working before, then frontend: should already be there (it’s there by default, make sure you’ve not deleted it) and make sure HA is running

yes i just opened configuration.yaml and front end is there it is not commented i have already followed the get started instructions

what have you done since between it working and it not working?
have you tried to restart it?
What does your log say?

“what have you done since between it working and it not working?”

  • I installed python 3.5.5 and pip then i install Home Assistant in command line then i opened the UI with hass --open-ui and it was displayed by the navigator correctly
  • i installed appdaemon and created the config directory where i created the appdaemon.yaml i past on it those configurations "
    appdaemon:
    threads: 10
    plugins:
    HASS:
    type: hass
    ha_url: http://192.168.100.23:8123/
    ha_key: owona "
    i stoped home assistant with ctrl+c and when i lauchend it again “404:not found”
    “have you tried to restart it?”
  • yes many times
    " What does your log say? "
  • wait a minute i will past it

2018-08-01 15:48:37 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=140247137774504-4>
2018-08-01 15:48:37 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.entity_registry>
2018-08-01 15:48:37 INFO (MainThread) [homeassistant.setup] Setting up updater
2018-08-01 15:48:37 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 0.0 seconds.
2018-08-01 15:48:37 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=updater>
2018-08-01 15:48:37 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.yr
2018-08-01 15:48:37 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform yr
Traceback (most recent call last):
File “/usr/local/lib/python3.5/site-packages/homeassistant/helpers/entity_platform.py”, line 129, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/local/lib/python3.5/asyncio/tasks.py”, line 406, in wait_for
return fut.result()
File “/usr/local/lib/python3.5/asyncio/futures.py”, line 294, in result
raise self._exception
File “/usr/local/lib/python3.5/asyncio/tasks.py”, line 240, in _step
result = coro.send(None)
File “/usr/local/lib/python3.5/site-packages/homeassistant/components/sensor/yr.py”, line 95, in async_setup_platform
yield from weather.fetching_data()
File “/usr/local/lib/python3.5/site-packages/homeassistant/components/sensor/yr.py”, line 169, in fetching_data
websession = async_get_clientsession(self.hass)
File “/usr/local/lib/python3.5/site-packages/homeassistant/helpers/aiohttp_client.py”, line 37, in async_get_clientsession
hass.data[key] = async_create_clientsession(hass, verify_ssl)
File “/usr/local/lib/python3.5/site-packages/homeassistant/helpers/aiohttp_client.py”, line 54, in async_create_clientsession
connector = _async_get_connector(hass, verify_ssl)
File “/usr/local/lib/python3.5/site-packages/homeassistant/helpers/aiohttp_client.py”, line 160, in _async_get_connector
connector = aiohttp.TCPConnector(loop=hass.loop, ssl=ssl_context)
TypeError: init() got an unexpected keyword argument ‘ssl’
2018-08-01 15:48:37 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=None, entity_id=sensor.yr_symbol, new_state=<state sensor.yr_symbol=unknown; entity_picture=https://api.met.no/weatherapi/weathericon/1.1/?symbol=None;content_type=image/png, attribution=Weather forecast from met.no, delivered by the Norwegian Meteorological Institute., friendly_name=yr Symbol @ 2018-08-01T14:48:37.971530+00:00>>
2018-08-01 15:48:37 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 0.3 seconds.
2018-08-01 15:48:37 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=sensor>
2018-08-01 15:48:37 INFO (MainThread) [homeassistant.setup] Setting up tts
2018-08-01 15:48:38 INFO (MainThread) [homeassistant.setup] Setting up cloud
2018-08-01 15:48:38 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 0.0 seconds.
2018-08-01 15:48:38 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=cloud>
2018-08-01 15:48:38 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.config_entries>
2018-08-01 15:48:38 INFO (MainThread) [homeassistant.setup] Setup of domain config took 0.3 seconds.
2018-08-01 15:48:38 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config>
2018-08-01 15:48:38 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=google_say, domain=tts>
2018-08-01 15:48:38 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=clear_cache, domain=tts>
2018-08-01 15:48:38 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 0.1 seconds.
2018-08-01 15:48:38 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=tts>
2018-08-01 15:48:38 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 1.02s
2018-08-01 15:48:38 INFO (MainThread) [homeassistant.core] Starting Home Assistant core loop
2018-08-01 15:48:38 INFO (MainThread) [homeassistant.core] Starting Home Assistant
2018-08-01 15:48:38 INFO (MainThread) [homeassistant.core] Bus:Handling <Event homeassistant_start[L]>
2018-08-01 15:48:38 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/local/lib/python3.5/asyncio/tasks.py”, line 240, in _step
result = coro.send(None)
File “/usr/local/lib/python3.5/site-packages/homeassistant/components/cloud/init.py”, line 223, in async_start
success = yield from self._fetch_jwt_keyset()
File “/usr/local/lib/python3.5/site-packages/homeassistant/components/cloud/init.py”, line 266, in _fetch_jwt_keyset
session = async_get_clientsession(self.hass)
File “/usr/local/lib/python3.5/site-packages/homeassistant/helpers/aiohttp_client.py”, line 37, in async_get_clientsession
hass.data[key] = async_create_clientsession(hass, verify_ssl)
File “/usr/local/lib/python3.5/site-packages/homeassistant/helpers/aiohttp_client.py”, line 54, in async_create_clientsession
connector = _async_get_connector(hass, verify_ssl)
File “/usr/local/lib/python3.5/site-packages/homeassistant/helpers/aiohttp_client.py”, line 160, in _async_get_connector
connector = aiohttp.TCPConnector(loop=hass.loop, ssl=ssl_context)
TypeError: init() got an unexpected keyword argument ‘ssl’
2018-08-01 15:48:38 INFO (MainThread) [homeassistant.core] Timer:starting
2018-08-01 15:48:47 WARNING (Thread-12) [netdisco.ssdp] Found malformed XML at http://192.168.100.25:12644:
invalid request2018-08-01 15:49:30 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=<state sun.sun=above_horizon; next_dawn=2018-08-02T05:41:05+00:00, next_midnight=2018-08-02T00:06:16+00:00, next_dusk=2018-08-01T18:31:37+00:00, elevation=46.34, next_rising=2018-08-02T06:02:48+00:00, next_noon=2018-08-02T12:06:18+00:00, azimuth=296.22, next_setting=2018-08-01T18:09:52+00:00, friendly_name=Sun @ 2018-08-01T14:48:37.792901+00:00>, entity_id=sun.sun, new_state=<state sun.sun=above_horizon; next_dawn=2018-08-02T05:41:05+00:00, next_midnight=2018-08-02T00:06:16+00:00, next_dusk=2018-08-01T18:31:37+00:00, elevation=46.14, next_rising=2018-08-02T06:02:48+00:00, next_noon=2018-08-02T12:06:18+00:00, azimuth=296.12, next_setting=2018-08-01T18:09:52+00:00, friendly_name=Sun @ 2018-08-01T14:48:37.792901+00:00>>

what happens if you remove appdaemon?
If you’ve never used HA before, you should probably play with it in basic form before getting into the advanced world that appdaemon is…
Learn to walk before you try to run :slight_smile:

Also have you set up SSL? There are a few entries pointing to SSL, if so have you tried to access your HAvia https?

ok i removed appdaemeon but those one “Also have you set up SSL? There are a few entries pointing to SSL, if so have you tried to access your HAvia https?” how should i process???:roll_eyes::roll_eyes::roll_eyes:

1 Like

it is ok i haved uninstall and reinstall home assistant
thank’s for your answers

2 Likes

Code erreur 404

Sasxyg pro ž