Hi,
my config file:
and my log:
About
Home Assistant
0.47.0
Path to configuration.yaml: /home/homeassistant/.homeassistant
Developed by a bunch of awesome people.
Published under the Apache 2.0 license
Source: server — frontend-ui
Built using Python 3, Polymer 1.8.1, Icons by Google and MaterialDesignIcons.com.
The following errors have been logged this session:
2017-06-18 23:05:28 WARNING (MainThread) [homeassistant.setup] Setup of camera is taking over 10 seconds.
2017-06-18 23:05:38 ERROR (MainThread) [homeassistant.components.camera] Error while setting up platform onvif
Traceback (most recent call last):
File “/usr/lib/python3.4/urllib/request.py”, line 1174, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File “/usr/lib/python3.4/http/client.py”, line 1090, in request
self._send_request(method, url, body, headers)
File “/usr/lib/python3.4/http/client.py”, line 1128, in _send_request
self.endheaders(body)
File “/usr/lib/python3.4/http/client.py”, line 1086, in endheaders
self._send_output(message_body)
File “/usr/lib/python3.4/http/client.py”, line 924, in _send_output
self.send(msg)
File “/usr/lib/python3.4/http/client.py”, line 859, in send
self.connect()
File “/usr/lib/python3.4/http/client.py”, line 836, in connect
self.timeout, self.source_address)
File “/usr/lib/python3.4/socket.py”, line 509, in create_connection
raise err
File “/usr/lib/python3.4/socket.py”, line 500, in create_connection
sock.connect(sa)
OSError: [Errno 113] No route to host
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/home/homeassistant/.homeassistant/deps/onvif/client.py”, line 34, in wrapped
return func(*args, **kwargs)
File “/home/homeassistant/.homeassistant/deps/onvif/client.py”, line 201, in wrapped
return call(params, callback)
File “/home/homeassistant/.homeassistant/deps/onvif/client.py”, line 191, in call
ret = func(**params)
File “/home/homeassistant/.homeassistant/deps/suds/client.py”, line 559, in call
return client.invoke(args, kwargs)
File “/home/homeassistant/.homeassistant/deps/suds/client.py”, line 618, in invoke
result = self.send(soapenv)
File “/home/homeassistant/.homeassistant/deps/suds/client.py”, line 652, in send
reply = transport.send(request)
File “/home/homeassistant/.homeassistant/deps/suds/transport/http.py”, line 178, in send
return HttpTransport.send(self, request)
File “/home/homeassistant/.homeassistant/deps/suds/transport/http.py”, line 78, in send
fp = self.u2open(u2request)
File “/home/homeassistant/.homeassistant/deps/suds/transport/http.py”, line 119, in u2open
return url.open(u2request, timeout=tm)
File “/usr/lib/python3.4/urllib/request.py”, line 455, in open
response = self._open(req, data)
File “/usr/lib/python3.4/urllib/request.py”, line 473, in _open
‘_open’, req)
File “/usr/lib/python3.4/urllib/request.py”, line 433, in _call_chain
result = func(*args)
File “/usr/lib/python3.4/urllib/request.py”, line 1202, in http_open
return self.do_open(http.client.HTTPConnection, req)
File “/usr/lib/python3.4/urllib/request.py”, line 1176, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 113] No route to host>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py”, line 161, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File “/usr/lib/python3.4/asyncio/tasks.py”, line 372, in wait_for
return fut.result()
File “/usr/lib/python3.4/asyncio/futures.py”, line 277, in result
raise self._exception
File “/usr/lib/python3.4/asyncio/tasks.py”, line 237, in _step
result = next(coro)
File “/usr/lib/python3.4/asyncio/coroutines.py”, line 141, in coro
res = func(*args, **kw)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/camera/onvif.py”, line 48, in async_setup_platform
async_add_devices([ONVIFCamera(hass, config)])
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/camera/onvif.py”, line 68, in init
self._input = media.GetStreamUri().Uri
File “/home/homeassistant/.homeassistant/deps/onvif/client.py”, line 36, in wrapped
raise ONVIFError(err)
onvif.exceptions.ONVIFError: Unknown error: <urlopen error [Errno 113] No route to host>
what can i do?