So I decided to do a fresh install to have the new python version and get tradfri working.
I already had a Hass version running and made a backup of all config files and also an image backup.
I loaded a fresh Hassbian image on the card and booted the pi3.
After a while it keeps looping this error in the log:
2017-10-14 17:05:02 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 278, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
File "aiohttp/_http_parser.pyx", line 274, in aiohttp._http_parser.HttpParser.feed_data (aiohttp/_http_parser.c:4364)
aiohttp.http_exceptions.BadStatusLine: invalid HTTP method
2017-10-14 17:06:02 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 278, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
File "aiohttp/_http_parser.pyx", line 274, in aiohttp._http_parser.HttpParser.feed_data (aiohttp/_http_parser.c:4364)
aiohttp.http_exceptions.BadStatusLine: invalid HTTP method
When browsing to the gui I can’t login with any password and this error is shown:
This can’t be a solution for the issue I had because I had the issue before I copied my old configuration files or changed any of the default configuration files.
So I didn’t have any duckdns things in my config files and still I received those error messages.
I didn’t really solve the issues but what I did was just continue with copying over my own config files and continue with other installations like samba etc.
Now when I start Home Assistant I don’t see the same errors anymore and also my GUI is accessible.
TL;DR:
Issue itself was never solved.
Workaround (copying old config files and continuing installations) seems to work.