Hi guys,
I’ve recently upgraded my HASS.IO install from 0.60.1 to 0.65.4 and just noticed that gpslogger has stopped working for both myself and my partner.
I’m confident that the app end on the phone is still working, but when I go to the address that the app posts to I’m geeted with
500 Internal Server Error
Server got itself in trouble
From the homeassistant.log
2018-03-15 19:31:26 INFO (MainThread) [homeassistant.components.http.view] Serving /api/gpslogger to 192.168.1.1 (auth: True)
2018-03-15 19:31:26 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 310, 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/homeassistant/components/http/static.py", line 68, in staticresource_middleware
return await handler(request)
File "/usr/lib/python3.6/site-packages/homeassistant/components/http/real_ip.py", line 27, in real_ip_middleware
return await handler(request)
File "/usr/lib/python3.6/site-packages/homeassistant/components/http/ban.py", line 68, in ban_middleware
return await handler(request)
File "/usr/lib/python3.6/site-packages/homeassistant/components/http/auth.py", line 52, in auth_middleware
return await handler(request)
File "/usr/lib/python3.6/site-packages/homeassistant/components/http/view.py", line 100, in handle
result = await result
File "/config/custom_components/device_tracker/gpslogger.py", line 41, in get
res = yield from self._handle(request.app['hass'], request.GET)
AttributeError: 'Request' object has no attribute 'GET'
2018-03-15 19:31:26 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1521102686.3717344, level=ERROR, message=Error handling request, exception=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 310, 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/homeassistant/components/http/static.py", line 68, in staticresource_middleware
return await handler(request)
File "/usr/lib/python3.6/site-packages/homeassistant/components/http/real_ip.py", line 27, in real_ip_middleware
return await handler(request)
File "/usr/lib/python3.6/site-packages/homeassistant/components/http/ban.py", line 68, in ban_middleware
return await handler(request)
File "/usr/lib/python3.6/site-packages/homeassistant/components/http/auth.py", line 52, in auth_middleware
return await handler(request)
File "/usr/lib/python3.6/site-packages/homeassistant/components/http/view.py", line 100, in handle
result = await result
File "/config/custom_components/device_tracker/gpslogger.py", line 41, in get
res = yield from self._handle(request.app['hass'], request.GET)
AttributeError: 'Request' object has no attribute 'GET'
, source=custom_components/device_tracker/gpslogger.py>
Anyone else having problems ?