Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2017-11-08 13:47:42 ERROR (MainThread) [aiohttp.server] Error handling request
- Traceback (most recent call last):
- File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_protocol.py", line 422, in start
- resp = yield from self._request_handler(request)
- File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web.py", line 306, in _handle
- resp = yield from handler(request)
- File "/usr/lib/python3.5/asyncio/coroutines.py", line 213, in coro
- res = yield from res
- File "/usr/lib/python3.5/asyncio/coroutines.py", line 213, in coro
- res = yield from res
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/ban.py", line 58, in ban_middleware_handler
- return (yield from handler(request))
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/__init__.py", line 423, in handle
- result = yield from result
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/__init__.py", line 387, in get
- response = yield from self.handle(request, camera)
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/__init__.py", line 407, in handle
- image = yield from camera.async_camera_image()
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/yi.py", line 115, in async_camera_image
- url = yield from self.hass.async_add_job(self.get_latest_video_url)
- File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
- yield self # This tells Task to wait for completion.
- File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
- future.result()
- File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
- raise self._exception
- File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/yi.py", line 79, in get_latest_video_url
- ftp = FTP(self.host)
- File "/usr/lib/python3.5/ftplib.py", line 118, in __init__
- self.connect(host)
- File "/usr/lib/python3.5/ftplib.py", line 156, in connect
- self.welcome = self.getresp()
- File "/usr/lib/python3.5/ftplib.py", line 235, in getresp
- resp = self.getmultiline()
- File "/usr/lib/python3.5/ftplib.py", line 221, in getmultiline
- line = self.getline()
- File "/usr/lib/python3.5/ftplib.py", line 209, in getline
- raise EOFError
- EOFError
- 2017-11-08 13:47:46 ERROR (MainThread) [haffmpeg.core] FFmpeg fails program arguments must be a bytes or text string, not NoneType
- Traceback (most recent call last):
- File "/srv/homeassistant/lib/python3.5/site-packages/haffmpeg/core.py", line 114, in open
- stderr=stderr
- File "/usr/lib/python3.5/asyncio/subprocess.py", line 212, in create_subprocess_exec
- stderr=stderr, **kwds)
- File "/usr/lib/python3.5/asyncio/base_events.py", line 1180, in subprocess_exec
- % type(arg).__name__)
- TypeError: program arguments must be a bytes or text string, not NoneType
- 2017-11-08 13:47:46 ERROR (MainThread) [aiohttp.server] Error handling request
- Traceback (most recent call last):
- File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_protocol.py", line 422, in start
- resp = yield from self._request_handler(request)
- File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web.py", line 306, in _handle
- resp = yield from handler(request)
- File "/usr/lib/python3.5/asyncio/coroutines.py", line 213, in coro
- res = yield from res
- File "/usr/lib/python3.5/asyncio/coroutines.py", line 213, in coro
- res = yield from res
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/ban.py", line 58, in ban_middleware_handler
- return (yield from handler(request))
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/__init__.py", line 423, in handle
- result = yield from result
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/__init__.py", line 387, in get
- response = yield from self.handle(request, camera)
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/__init__.py", line 425, in handle
- yield from camera.handle_async_mjpeg_stream(request)
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/yi.py", line 136, in handle_async_mjpeg_stream
- 'multipart/x-mixed-replace;boundary=ffserver')
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/aiohttp_client.py", line 121, in async_aiohttp_proxy_stream
- data = yield from stream.read(buffer_size)
- File "/srv/homeassistant/lib/python3.5/site-packages/haffmpeg/core.py", line 156, in read
- return self._proc.stdout.read(count)
- AttributeError: 'NoneType' object has no attribute 'stdout'
- 2017-11-08 13:47:46 ERROR (MainThread) [homeassistant.components.media_player] Error while setting up platform plex
- Traceback (most recent call last):
- File "/srv/homeassistant/lib/python3.5/site-packages/urllib3/connection.py", line 141, in _new_conn
- (self.host, self.port), self.timeout, **extra_kw)
- File "/srv/homeassistant/lib/python3.5/site-packages/urllib3/util/connection.py", line 83, in create_connection
- raise err
- File "/srv/homeassistant/lib/python3.5/site-packages/urllib3/util/connection.py", line 73, in create_connection
- sock.connect(sa)
- ConnectionRefusedError: [Errno 111] Connection refused
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/srv/homeassistant/lib/python3.5/site-packages/urllib3/connectionpool.py", line 601, in urlopen
- chunked=chunked)
- File "/srv/homeassistant/lib/python3.5/site-packages/urllib3/connectionpool.py", line 357, in _make_request
- conn.request(method, url, **httplib_request_kw)
- File "/usr/lib/python3.5/http/client.py", line 1107, in request
- self._send_request(method, url, body, headers)
- File "/usr/lib/python3.5/http/client.py", line 1152, in _send_request
- self.endheaders(body)
- File "/usr/lib/python3.5/http/client.py", line 1103, in endheaders
- self._send_output(message_body)
- File "/usr/lib/python3.5/http/client.py", line 934, in _send_output
- self.send(msg)
- File "/usr/lib/python3.5/http/client.py", line 877, in send
- self.connect()
- File "/srv/homeassistant/lib/python3.5/site-packages/urllib3/connection.py", line 166, in connect
- conn = self._new_conn()
- File "/srv/homeassistant/lib/python3.5/site-packages/urllib3/connection.py", line 150, in _new_conn
- self, "Failed to establish a new connection: %s" % e)
- urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x66a98df0>: Failed to establish a new connection: [Errno 111] Connection refused
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/srv/homeassistant/lib/python3.5/site-packages/requests/adapters.py", line 440, in send
- timeout=timeout
- File "/srv/homeassistant/lib/python3.5/site-packages/urllib3/connectionpool.py", line 639, in urlopen
- _stacktrace=sys.exc_info()[2])
- File "/srv/homeassistant/lib/python3.5/site-packages/urllib3/util/retry.py", line 388, in increment
- raise MaxRetryError(_pool, url, error or ResponseError(cause))
- urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.1.24', port=32400): Max retries exceeded with url: /?X-Plex-Token=VBMqvrKiFyhKSpsAae6z (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x66a98df0>: Failed to establish a new connection: [Errno 111] Connection refused',))
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 170, in _async_setup_platform
- SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
- File "/usr/lib/python3.5/asyncio/tasks.py", line 400, in wait_for
- return fut.result()
- File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
- raise self._exception
- File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/plex.py", line 87, in setup_platform
- hass, config, add_devices_callback
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/plex.py", line 106, in setup_plexserver
- token, cert_session
- File "/srv/homeassistant/lib/python3.5/site-packages/plexapi/server.py", line 103, in __init__
- data = self.query(self.key, timeout=timeout)
- File "/srv/homeassistant/lib/python3.5/site-packages/plexapi/server.py", line 341, in query
- response = method(url, headers=headers, timeout=timeout, **kwargs)
- File "/srv/homeassistant/lib/python3.5/site-packages/requests/sessions.py", line 521, in get
- return self.request('GET', url, **kwargs)
- File "/srv/homeassistant/lib/python3.5/site-packages/requests/sessions.py", line 508, in request
- resp = self.send(prep, **send_kwargs)
- File "/srv/homeassistant/lib/python3.5/site-packages/requests/sessions.py", line 618, in send
- r = adapter.send(request, **kwargs)
- File "/srv/homeassistant/lib/python3.5/site-packages/requests/adapters.py", line 508, in send
- raise ConnectionError(e, request=request)
- requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.1.24', port=32400): Max retries exceeded with url: /?X-Plex-Token=VBMqvrKiFyhKSpsAae6z (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x66a98df0>: Failed to establish a new connection: [Errno 111] Connection refused',))
- 2017-11-08 13:47:46 ERROR (MainThread) [aiohttp.server] Error handling request
- Traceback (most recent call last):
- File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_protocol.py", line 422, in start
- resp = yield from self._request_handler(request)
- File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web.py", line 306, in _handle
- resp = yield from handler(request)
- File "/usr/lib/python3.5/asyncio/coroutines.py", line 213, in coro
- res = yield from res
- File "/usr/lib/python3.5/asyncio/coroutines.py", line 213, in coro
- res = yield from res
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/ban.py", line 58, in ban_middleware_handler
- return (yield from handler(request))
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/__init__.py", line 423, in handle
- result = yield from result
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/__init__.py", line 387, in get
- response = yield from self.handle(request, camera)
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/__init__.py", line 407, in handle
- image = yield from camera.async_camera_image()
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/yi.py", line 115, in async_camera_image
- url = yield from self.hass.async_add_job(self.get_latest_video_url)
- File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
- yield self # This tells Task to wait for completion.
- File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
- future.result()
- File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
- raise self._exception
- File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/yi.py", line 79, in get_latest_video_url
- ftp = FTP(self.host)
- File "/usr/lib/python3.5/ftplib.py", line 118, in __init__
- self.connect(host)
- File "/usr/lib/python3.5/ftplib.py", line 156, in connect
- self.welcome = self.getresp()
- File "/usr/lib/python3.5/ftplib.py", line 235, in getresp
- resp = self.getmultiline()
- File "/usr/lib/python3.5/ftplib.py", line 221, in getmultiline
- line = self.getline()
- File "/usr/lib/python3.5/ftplib.py", line 209, in getline
- raise EOFError
- EOFError
- 2017-11-08 13:47:46 ERROR (MainThread) [homeassistant.components.media_player] Error while setting up platform plex
- Traceback (most recent call last):
- File "/srv/homeassistant/lib/python3.5/site-packages/urllib3/connection.py", line 141, in _new_conn
- (self.host, self.port), self.timeout, **extra_kw)
- File "/srv/homeassistant/lib/python3.5/site-packages/urllib3/util/connection.py", line 83, in create_connection
- raise err
- File "/srv/homeassistant/lib/python3.5/site-packages/urllib3/util/connection.py", line 73, in create_connection
- sock.connect(sa)
- ConnectionRefusedError: [Errno 111] Connection refused
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/srv/homeassistant/lib/python3.5/site-packages/urllib3/connectionpool.py", line 601, in urlopen
- chunked=chunked)
- File "/srv/homeassistant/lib/python3.5/site-packages/urllib3/connectionpool.py", line 357, in _make_request
- conn.request(method, url, **httplib_request_kw)
- File "/usr/lib/python3.5/http/client.py", line 1107, in request
- self._send_request(method, url, body, headers)
- File "/usr/lib/python3.5/http/client.py", line 1152, in _send_request
- self.endheaders(body)
- File "/usr/lib/python3.5/http/client.py", line 1103, in endheaders
- self._send_output(message_body)
- File "/usr/lib/python3.5/http/client.py", line 934, in _send_output
- self.send(msg)
- File "/usr/lib/python3.5/http/client.py", line 877, in send
- self.connect()
- File "/srv/homeassistant/lib/python3.5/site-packages/urllib3/connection.py", line 166, in connect
- conn = self._new_conn()
- File "/srv/homeassistant/lib/python3.5/site-packages/urllib3/connection.py", line 150, in _new_conn
- self, "Failed to establish a new connection: %s" % e)
- urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x63a39630>: Failed to establish a new connection: [Errno 111] Connection refused
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/srv/homeassistant/lib/python3.5/site-packages/requests/adapters.py", line 440, in send
- timeout=timeout
- File "/srv/homeassistant/lib/python3.5/site-packages/urllib3/connectionpool.py", line 639, in urlopen
- _stacktrace=sys.exc_info()[2])
- File "/srv/homeassistant/lib/python3.5/site-packages/urllib3/util/retry.py", line 388, in increment
- raise MaxRetryError(_pool, url, error or ResponseError(cause))
- urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.1.24', port=32400): Max retries exceeded with url: /?X-Plex-Token=VBMqvrKiFyhKSpsAae6z (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x63a39630>: Failed to establish a new connection: [Errno 111] Connection refused',))
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 170, in _async_setup_platform
- SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
- File "/usr/lib/python3.5/asyncio/tasks.py", line 400, in wait_for
- return fut.result()
- File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
- raise self._exception
- File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/plex.py", line 87, in setup_platform
- hass, config, add_devices_callback
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/plex.py", line 106, in setup_plexserver
- token, cert_session
- File "/srv/homeassistant/lib/python3.5/site-packages/plexapi/server.py", line 103, in __init__
- data = self.query(self.key, timeout=timeout)
- File "/srv/homeassistant/lib/python3.5/site-packages/plexapi/server.py", line 341, in query
- response = method(url, headers=headers, timeout=timeout, **kwargs)
- File "/srv/homeassistant/lib/python3.5/site-packages/requests/sessions.py", line 521, in get
- return self.request('GET', url, **kwargs)
- File "/srv/homeassistant/lib/python3.5/site-packages/requests/sessions.py", line 508, in request
- resp = self.send(prep, **send_kwargs)
- File "/srv/homeassistant/lib/python3.5/site-packages/requests/sessions.py", line 618, in send
- r = adapter.send(request, **kwargs)
- File "/srv/homeassistant/lib/python3.5/site-packages/requests/adapters.py", line 508, in send
- raise ConnectionError(e, request=request)
- requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.1.24', port=32400): Max retries exceeded with url: /?X-Plex-Token=VBMqvrKiFyhKSpsAae6z (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x63a39630>: Failed to establish a new connection: [Errno 111] Connection refused',))
- 2017-11-08 13:47:51 ERROR (MainThread) [aiohttp.server] Error handling request
- Traceback (most recent call last):
- File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_protocol.py", line 422, in start
- resp = yield from self._request_handler(request)
- File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web.py", line 306, in _handle
- resp = yield from handler(request)
- File "/usr/lib/python3.5/asyncio/coroutines.py", line 213, in coro
- res = yield from res
- File "/usr/lib/python3.5/asyncio/coroutines.py", line 213, in coro
- res = yield from res
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/ban.py", line 58, in ban_middleware_handler
- return (yield from handler(request))
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/__init__.py", line 423, in handle
- result = yield from result
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/__init__.py", line 387, in get
- response = yield from self.handle(request, camera)
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/__init__.py", line 407, in handle
- image = yield from camera.async_camera_image()
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/yi.py", line 115, in async_camera_image
- url = yield from self.hass.async_add_job(self.get_latest_video_url)
- File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
- yield self # This tells Task to wait for completion.
- File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
- future.result()
- File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
- raise self._exception
- File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/yi.py", line 79, in get_latest_video_url
- ftp = FTP(self.host)
- File "/usr/lib/python3.5/ftplib.py", line 118, in __init__
- self.connect(host)
- File "/usr/lib/python3.5/ftplib.py", line 156, in connect
- self.welcome = self.getresp()
- File "/usr/lib/python3.5/ftplib.py", line 235, in getresp
- resp = self.getmultiline()
- File "/usr/lib/python3.5/ftplib.py", line 221, in getmultiline
- line = self.getline()
- File "/usr/lib/python3.5/ftplib.py", line 209, in getline
- raise EOFError
- EOFError
- 2017-11-08 13:48:01 ERROR (MainThread) [aiohttp.server] Error handling request
- Traceback (most recent call last):
- File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_protocol.py", line 422, in start
- resp = yield from self._request_handler(request)
- File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web.py", line 306, in _handle
- resp = yield from handler(request)
- File "/usr/lib/python3.5/asyncio/coroutines.py", line 213, in coro
- res = yield from res
- File "/usr/lib/python3.5/asyncio/coroutines.py", line 213, in coro
- res = yield from res
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/ban.py", line 58, in ban_middleware_handler
- return (yield from handler(request))
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/__init__.py", line 423, in handle
- result = yield from result
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/__init__.py", line 387, in get
- response = yield from self.handle(request, camera)
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/__init__.py", line 407, in handle
- image = yield from camera.async_camera_image()
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/yi.py", line 115, in async_camera_image
- url = yield from self.hass.async_add_job(self.get_latest_video_url)
- File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
- yield self # This tells Task to wait for completion.
- File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
- future.result()
- File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
- raise self._exception
- File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/yi.py", line 79, in get_latest_video_url
- ftp = FTP(self.host)
- File "/usr/lib/python3.5/ftplib.py", line 118, in __init__
- self.connect(host)
- File "/usr/lib/python3.5/ftplib.py", line 156, in connect
- self.welcome = self.getresp()
- File "/usr/lib/python3.5/ftplib.py", line 235, in getresp
- resp = self.getmultiline()
- File "/usr/lib/python3.5/ftplib.py", line 221, in getmultiline
- line = self.getline()
- File "/usr/lib/python3.5/ftplib.py", line 209, in getline
- raise EOFError
- EOFError
Add Comment
Please, Sign In to add comment