Getting errors when upgrading to latest version of HA

Each time i access the web interface the following is written to the log:

e[31m2018-03-22 19:41:46 ERROR (MainThread) [aiohttp.server] Error handling requeste[0m
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 285, in _handle
    match_info = await self._router.resolve(request)
  File "/usr/lib/python3.6/site-packages/aiohttp/web_urldispatcher.py", line 800, in resolve
    match_dict, allowed = await resource.resolve(request)
  File "/usr/lib/python3.6/site-packages/aiohttp/web_urldispatcher.py", line 294, in resolve
    match_dict = self._match(request.rel_url.raw_path)
  File "/usr/lib/python3.6/site-packages/aiohttp/web_urldispatcher.py", line 411, in _match
    for key, value in match.groupdict().items()}
  File "/usr/lib/python3.6/site-packages/aiohttp/web_urldispatcher.py", line 411, in <dictcomp>
    for key, value in match.groupdict().items()}
TypeError: build() got an unexpected keyword argument 'encoded'e[0m

And i have the following packages installed if that helps:

abodepy==0.12.2
Adafruit-DHT==1.3.2
Adafruit-GPIO==1.0.3
Adafruit-PCA9685==1.0.1
Adafruit-PureIO==0.2.1
afsapi==0.0.3
aioautomatic==0.6.5
aiocoap==0.4a1
aiodns==1.1.1
aiohttp==3.0.6
aiohttp-cors==0.6.0
aiohue==0.3.0
aioimaplib==0.7.13
aiolifx==0.6.1
aiolifx-effects==0.1.2
aiopvapi==1.5.4
alabaster==0.7.10
alarmdecoder==1.13.2
alpha-vantage==1.9.0
amcrest==1.2.1
android-backup==0.1.0
anel-pwrctrl==0.0.1
anthemav==1.1.8
apcaccess==0.0.13
apns2==0.3.0
appdirs==1.4.3
argcomplete==1.9.4
asn1crypto==0.24.0
asterisk-mbox==0.4.0
astral==1.5
async-timeout==2.0.0
asyncio==3.4.3
attrs==17.4.0
Automat==0.6.0
axis==14
Babel==2.5.3
baidu-aip==1.6.6.0
base36==0.1.1
basicmodem==0.7
batinfo==0.4.2
beacontools==1.2.1
beautifulsoup4==4.6.0
bellows==0.5.1
bimmer-connected==0.4.1
bitstring==3.1.5
blinkpy==0.6.0
BlinkStick==1.1.8
blinkt==0.1.0
blockchain==1.4.0
bluepy==1.1.4
boto3==1.4.7
botocore==1.7.34
braviarc==0.3.7
broadlink==0.5.1
brotlipy==0.7.0
bs4==0.0.1
buienradar==0.91
cached-property==1.4.0
cachetools==2.0.0
caldav==0.5.0
cchardet==2.1.1
certifi==2018.1.18
cffi==1.11.4
chardet==3.0.4
ciscosparkapi==0.4.2
class-registry==2.1.2
click==6.7
click-datetime==0.2
click-log==0.2.0
click-plugins==1.0.3
coinbase==2.1.0
coinmarketcap==4.2.1
colorama==0.3.9
colorlog==3.1.2
concord232==0.15
constantly==15.1.0
construct==2.9.39
cookies==2.2.1
coverage==4.5.1
crccheck==0.6
crcmod==1.7
crimereports==1.0.0
cryptography==2.1.1
curve25519-donna==1.3
Cython==0.27.3
datadog==0.15.0
datapoint==0.4.3
dateparser==0.7.0
decorator==4.2.1
defusedxml==0.5.0
deluge-client==1.0.5
denonavr==0.6.1
directpy==0.2
discogs-client==2.2.1
discord.py==0.16.12
distro==1.2.0
dlib==19.9.0
dlipower==0.7.165
dnspython==1.15.0
dnspython3==1.15.0
docopt==0.6.2
docutils==0.14
DoorBirdPy==0.1.2
dovado==0.4.1
dsmr-parser==0.11
DTLSSocket==0.1.7
dweepy==0.3.0
ecdsa==0.13
ed25519==1.4
eliqonline==1.0.13
enocean==0.40
enum-compat==0.0.2
envs==1.2.4
ephem==3.7.6.0
evdev==0.6.1
evohomeclient==0.2.5
fastdotcom==0.0.3
fedexdeliverymanager==1.0.6
feedparser==5.2.1
filters==1.3.2
fitbit==0.3.0
fixerio==0.1.1
Flask==0.12.2
flux-led==0.21
freesms==0.1.2
fritzconnection==0.6.5
fritzhome==1.0.4
future==0.16.0
fuzzywuzzy==0.16.0
gearbest-parser==1.0.5
gitdb==0.6.4
GitPython==0.3.6
gitterpy==0.1.6
gntp==1.0.3
google-api-python-client==1.6.4
googlemaps==2.5.1
gps3==0.33.3
gql==0.1.0
graphql-core==2.0
greenwavereality==0.5.1
gstreamer-player==1.1.0
gTTS-token==1.1.1
h2==2.6.2
ha-ffmpeg==1.9
ha-philipsjs==0.0.1
HAP-python==1.1.7
haversine==0.4.5
hbmqtt==0.9.1
heatmiserV3==0.9.1
hikvision==0.4
hipnotify==1.0.8
holidays==0.9.3
home-assistant-frontend==20180310.0
homeassistant==0.65.6
hpack==3.0.0
httmock==1.2.6
http-ece==1.0.5
httplib2==0.10.3
humanize==0.5.1
hyper==0.7.0
hyperframe==3.2.0
hyperlink==18.0.0
i2csense==0.0.4
idna==2.6
idna-ssl==1.0.1
iglo==1.2.7
ihcsdk==2.2.0
imagesize==1.0.0
incremental==17.5.0
inflection==0.3.1
influxdb==5.0.0
insteonlocal==0.53
insteonplm==0.8.2
intelhex==2.2.1
isodate==0.6.0
itsdangerous==0.24
Jinja2==2.10
jmespath==0.9.3
jsonpath==0.75
jsonpickle==0.9.6
jsonrpc-async==0.6
jsonrpc-base==1.0
jsonrpc-websocket==0.6
keyring==11.0.0
keyrings.alt==2.3
libnacl==1.6.1
libpurecoollink==0.4.2
libpyfoscam==1.0
librouteros==1.0.5
libsoundtouch==0.7.2
liffylights==0.9.4
lightify==1.0.6.1
limitlessled==1.1.0
linode-api==4.1.4b2
liveboxplaytv==2.0.2
lmnotify==0.0.4
lnetatmo==0.9.2.1
luftdaten==0.1.3
lxml==4.2.0
lyft-rides==0.2
MarkupSafe==1.0
matrix-client==0.0.6
maxcube-api==0.1.0
maya==0.3.4
mercedesmejsonpy==0.1.2
messagebird==1.2.0
mficlient==0.3.0
miflora==0.3
miniupnpc==2.0.2
motorparts==1.0.2
multidict==4.1.0
mutagen==1.40.0
mychevy==0.1.1
mycroftapi==2.0
mysqlclient==1.3.12
myusps==1.3.2
nad-receiver==0.0.9
netaddr==0.7.19
netdisco==1.2.4
netifaces==0.10.6
neurio==0.3.1
nose==1.3.7
nsapi==2.7.4
nuheat==0.3.0
numpy==1.14.0
oauth2client==4.0.0
oauthlib==2.0.7
oemthermostat==1.1
onkyo-eiscp==1.2.4
onvif-py3==0.1.3
openevsewifi==0.4
openhomedevice==0.4.2
orvibo==1.1.1
packaging==17.1
paho-mqtt==1.3.1
panasonic-viera==0.3.1
passlib==1.7.1
pbr==3.1.1
pdunehd==1.3
pendulum==1.4.4
pexpect==4.0.1
phue==1.0
pifacecommon==4.1.2
pifacedigitalio==3.0.5
piglow==1.2.4
pigpio==1.35
pilight==0.1.1
Pillow==5.0.0
pizzapi==0.0.3
PlexAPI==3.0.6
pluggy==0.6.0
ply==3.11
pmsensor==0.4
pocketcasts==0.1
pretty-cron==1.0.2
prettytable==0.7.2
proliphix==0.4.1
prometheus-client==0.1.0
promise==2.1
protobuf==3.5.2.post1
psutil==5.4.3
psycopg2==2.7.4
ptyprocess==0.5.2
pubnub==4.0.10
pubnubsub-handler==1.0.2
pure-pcapy3==1.0.1
pushbullet.py==0.11.0
pushetta==1.0.15
pwmled==1.2.1
py==1.5.2
py-august==0.4.0
py-canary==0.4.1
py-cpuinfo==3.3.0
py-melissa-climate==1.0.6
py-synology==0.2.0
py-vapid==1.3.0
pyads==2.2.6
pyairvisual==1.0.0
pyalarmdotcom==0.3.1
pyarlo==0.1.2
pyasn1==0.3.7
pyasn1-modules==0.1.5
pyatv==0.3.9
pybbox==0.0.5a0
PyBluez==0.22
pybotvac==0.0.5
pycares==2.3.0
pyCEC==0.4.13
pychannels==1.0.0
PyChromecast==2.0.0
pycmus==0.1.0
pycomfoconnect==0.3
pycparser==2.18
PyCRC==1.21
pycryptodome==3.4.11
pycryptodomex==3.5.1
pycsspeechtts==1.0.2
pycups==1.9.73
pydaikin==0.4
pydeconz==30
PyDispatcher==2.0.5
pydroid-ipcam==0.8
pyebox==0.1.0
pyeconet==0.0.5
pyedimax==0.1
pyEight==0.0.7
pyEmby==1.5
pyenvisalink==2.2
pyephember==0.1.1
pyfido==2.1.0
pyflexit==0.3
pyflic==0.4
pyfttt==0.3
Pygments==2.2.0
pygtfs==0.1.3
pyharmony==1.0.20
pyHik==0.1.8
pyhiveapi==0.2.11
pyhomematic==0.1.39
pyHS100==0.3.0
pyhydroquebec==2.1.0
pyialarm==0.2
pyicloud==0.9.1
pyirishrail==0.0.2
pyiss==1.0.1
PyISY==1.1.0
pyitachip2ir==0.0.7
PyJWT==1.6.0
pykira==0.1.1
pykwb==0.0.8
pylacrosse==0.3.1
pylast==2.1.0
pylgnetcast==0.2.0
pylgtv==0.1.7
pylitejet==0.1.0
pyloopenergy==0.0.18
pylutron==0.1.0
pylutron-caseta==0.3.0
pymailgunner==1.4
PyMata==2.14
pymediaroom==0.5
pymitv==1.0.0
pymochad==0.2.0
pymodbus==1.3.1
pymonoprice==0.3
pymssql==2.1.3.0.0.1
pymusiccast==0.1.6
PyMVGLive==1.1.4
pymyq==0.0.8
pymysensors==0.11.1
pynello==1.5.1
pynetgear==0.3.3
pynetio==0.1.6
pynuki==1.3.1
pynut2==2.1.2
pynx584==0.4
PyOTA==2.0.4
pyotp==2.2.6
pyowm==2.8.0
pyparsing==2.2.0
pypi-publisher==0.0.4
pypollencom==1.1.1
PyQRCode==1.2.1
pyqwikswitch==0.4
pyrainbird==0.1.3
pyRFXtrx==0.21.1
pysabnzbd==1.0.1
pysensibo==1.0.2
pyserial==3.1.1
pyserial-asyncio==0.4
pysesame==0.1.0
pysha3==1.0.2
Pysher==0.2.0
pysma==0.2.0
pysmi==0.2.2
pysnmp==4.4.4
PySocks==1.6.8
pyteleloisirs==3.3
pytest==3.4.2
pytest-rerunfailures==4.0
pythinkingcleaner==0.0.3
python-blockchain-api==0.0.2
python-clementine-remote==1.0.1
python-dateutil==2.7.0
python-digitalocean==1.13.2
python-ecobee-api==0.0.15
python-eq3bt==0.1.9
python-etherscan-api==0.0.3
python-forecastio==1.3.5
python-gc100==1.0.3a0
python-hpilo==3.9
python-http-client==3.0.0
python-join-api==0.0.2
python-jose-cryptodome==1.3.2
python-juicenet==0.0.5
python-Levenshtein==0.12.0
python-magic==0.4.15
python-miio==0.3.7
python-mpd2==0.5.5
python-mystrom==0.3.8
python-nest==3.1.0
python-nmap==0.6.1
python-opendata-transport==0.0.3
python-openzwave==0.4.3
python-pushover==0.3
python-ripple-api==0.0.3
python-roku==3.1.5
python-sochain-api==0.0.2
python-songpal==0.0.6
python-synology==0.1.0
python-tado==0.2.2
python-telegram-bot==9.0.0
python-twitch==1.3.0
python-velbus==2.0.11
python-vlc==1.1.2
python-wink==1.7.3
python-xlib==0.22
pythonegardia==1.0.38
pythonwhois==2.4.3
pyTibber==0.3.2
pytile==1.1.0
pytouchline==0.7
pytrackr==0.0.5
pytradfri==4.1.0
pytz==2018.3
pytzdata==2018.3
pyunifi==2.13
pyusb==1.0.0b1
PyUserInput==0.1.11
pyvera==0.2.42
pyvizio==0.0.2
pyvlx==0.1.3
pyW215==0.6.0
pywebpush==1.6.0
pywemo==0.4.25
pyxeoma==1.3
PyXiaomiGateway==0.8.3
PyYAML==3.12
pyzabbix==0.7.4
qnapstats==0.2.4
RachioPy==0.1.2
radiotherm==1.3
raincloudy==0.0.4
raspihats==2.2.3
regenmaschine==0.4.1
regex==2018.2.21
requests==2.18.4
requests-cache==0.4.13
requests-futures==0.9.7
requests-oauthlib==0.8.0
requests-toolbelt==0.8.0
responses==0.8.1
RestrictedPython==4.0b2
rflink==0.0.34
ring-doorbell==0.1.8
rocketchat-API==0.6.1
roombapy==1.3.1
rpi-rf==0.9.6
RPi.GPIO==0.6.1
rsa==3.4.2
RtmAPI==0.7.0
ruamel.yaml==0.15.35
russound==0.1.9
russound-rio==0.1.4
Rx==1.6.1
rxv==0.5.1
s3transfer==0.1.13
samsungctl==0.7.1
satel-integra==0.1.0
schiene==0.21
scipy==1.0.0
scsgate==0.1.0
SecretStorage==2.3.1
selenium==3.11.0
sendgrid==5.3.0
sense-energy==0.3.1
sense-hat==2.2.0
sharp-aquos-rc==0.3.2
shodan==1.7.7
simplejson==3.13.2
simplepush==1.1.4
simplisafe-python==1.0.5
six==1.11.0
skybellpy==0.1.1
slacker==0.9.60
sleekxmpp==1.3.2
sleepyq==0.6
smappy==0.2.15
smbus-cffi==0.5.1
smmap==0.9.0
sn3218==1.2.7
snapcast==2.0.8
snowballstemmer==1.2.1
socketIO-client==0.5.7.2
socketIO-client3==0.8.0
soco==0.14
somecomfort==0.5.0
speedtest-cli==2.0.0
Sphinx==1.7.2
sphinx-automodapi==0.7
sphinx-rtd-theme==0.2.4
sphinxcontrib-httpdomain==1.6.1
sphinxcontrib-websupport==1.0.1
spidev==3.2
spotcrime==1.0.2
spotipy==2.4.4
SQLAlchemy==1.2.2
srptools==0.2.0
sseclient-py==1.7
statsd==3.2.1
steamodd==4.21
stevedore==1.28.0
suds-passworddigest==0.1.2a0
suds-py3==1.3.3.0
tabulate==0.8.2
tahoma-api==0.0.13
tank-utility==1.4.0
tapsaff==0.1.3
tellcore-net==0.4
tellcore-py==1.1.2
tellduslive==0.10.4
temperusb==1.5.3
teslajsonpy==0.0.23
thingspeak==0.4.1
tikteck==0.4
tlslite-ng==0.7.3
todoist-python==7.0.17
toonlib==1.0.2
total-connect-client==0.16
tqdm==4.19.8
transitions==0.6.4
transmissionrpc==0.11
TravisPy==0.3.5
twilio==5.7.0
Twisted==17.9.0
TwitterAPI==2.4.8
typing==3.6.4
tzlocal==1.5.1
ua-parser==0.7.3
uber-rides==0.6.0
upcloud-api==0.4.2
uPnPClient==0.0.8
upsmychoice==1.0.6
uritemplate==3.0.0
urllib3==1.22
user-agents==1.1.0
utilkit==0.4.1
uvcclient==0.10.1
uvloop==0.9.1
VarEvents==1.0.0
venstarcolortouch==0.6
vincenty==0.1.4
vobject==0.9.5
voluptuous==0.11.1
voluptuous-serialize==1.0.0
volvooncall==0.4.0
vsure==1.3.7
vtjp==0.1.14
vultr==0.1.2
wakeonlan==1.0.0
waqiasync==1.0.0
warrant==0.6.1
waterfurnace==0.4.0
websocket-client==0.37.0
websockets==3.2
Werkzeug==0.14.1
wikipedia==1.4.0
XBee==2.3.1
xbee-helper==0.0.7
xboxapi==0.1.1
xknx==0.8.5
XlsxWriter==1.0.2
xmltodict==0.11.0
yahoo-finance==1.4.0
yahooweather==0.10
yarl==1.1.1
yeelight==0.4.0
yeelightsunflower==0.0.8
YesssSMS==0.1.1b3
youtube-dl==2018.2.11
zeep==2.5.0
zengge==0.2
zeroconf==0.19.1
ziggo-mediabox-xl==1.0.0
zigpy==0.0.3
zigpy-xbee==0.0.2
zope.interface==4.4.3

Also im using the following docker image: https://hub.docker.com/r/homeassistant/raspberrypi3-homeassistant/

Any one here who has a idea what is wrong?