since yesterday, homebridge isn’t working anymore.
Versions: Hass.io with current Versions:
Home Assistant 0.68.1
supervisor 103.1
Homebridge-plugin 2.4.0
homebridge log:
[2018-5-6 10:12:13] Loaded plugin: homebridge-homeassistant
[2018-5-6 10:12:13] Registering platform ‘homebridge-homeassistant.HomeAssistant’
[2018-5-6 10:12:13] —
[2018-5-6 10:12:13] Loaded config.json with 0 accessories and 1 platforms.
[2018-5-6 10:12:13] —
[2018-5-6 10:12:13] Loading 1 platforms…
[2018-5-6 10:12:13] [HomeAssistant] Initializing HomeAssistant platform…
[2018-5-6 10:12:13] [HomeAssistant] Fetching HomeAssistant devices.
[2018-5-6 10:12:13] Loading 0 accessories…
undefined:1
<html><head><title>500 Internal Server Error</title></head><body><h1>500 Internal Server Error</h1>Server got itself in trouble</body></html>
^
SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse ()
at Request.request [as _callback] (/usr/lib/node_modules/homebridge-homeassistant/index.js:101:38)
at Request.self.callback (/usr/lib/node_modules/homebridge-homeassistant/node_modules/request/request.js:186:22)
at emitTwo (events.js:126:13)
at Request.emit (events.js:214:7)
at Request. (/usr/lib/node_modules/homebridge-homeassistant/node_modules/request/request.js:1163:10)
at emitOne (events.js:116:13)
at Request.emit (events.js:211:7)
at IncomingMessage. (/usr/lib/node_modules/homebridge-homeassistant/node_modules/request/request.js:1085:12)
at Object.onceWrapper (events.js:313:30)
systemlog:
18-05-06 08:13:24 INFO (MainThread) [hassio.api.proxy] /homeassistant/api/states access from a0d7b954_homebridge
18-05-06 08:13:24 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/aiohttp/web_protocol.py”, line 381, in start
resp = await self._request_handler(request)
File “/usr/lib/python3.6/site-packages/aiohttp/web_app.py”, line 322, in _handle
resp = await handler(request)
File “/usr/lib/python3.6/site-packages/aiohttp/web_middlewares.py”, line 88, in impl
return await handler(request)
File “/usr/lib/python3.6/site-packages/hassio/api/security.py”, line 36, in token_validation
return await handler(request)
File “/usr/lib/python3.6/site-packages/hassio/api/proxy.py”, line 108, in api
client = await self._api_client(request, path)
File “/usr/lib/python3.6/site-packages/hassio/api/proxy.py”, line 37, in _api_client
method = getattr(self._websession_ssl, request.method.lower())
File “/usr/lib/python3.6/site-packages/hassio/coresys.py”, line 269, in __getattr__
raise AttributeError()
AttributeError
18-05-06 08:13:36 WARNING (MainThread) [hassio.api.proxy] Unknown Home-Assistant API access!
18-05-06 08:13:36 INFO (MainThread) [hassio.api.proxy] Home-Assistant EventStream start
18-05-06 08:13:36 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/aiohttp/web_protocol.py”, line 381, in start
resp = await self._request_handler(request)
File “/usr/lib/python3.6/site-packages/aiohttp/web_app.py”, line 322, in _handle
resp = await handler(request)
File “/usr/lib/python3.6/site-packages/aiohttp/web_middlewares.py”, line 88, in impl
return await handler(request)
File “/usr/lib/python3.6/site-packages/hassio/api/security.py”, line 36, in token_validation
return await handler(request)
File “/usr/lib/python3.6/site-packages/hassio/api/proxy.py”, line 77, in stream
client = await self._api_client(request, ‘stream’, timeout=None)
File “/usr/lib/python3.6/site-packages/hassio/api/proxy.py”, line 37, in _api_client
method = getattr(self._websession_ssl, request.method.lower())
File “/usr/lib/python3.6/site-packages/hassio/coresys.py”, line 269, in __getattr__
raise AttributeError()
AttributeError