[Solved] UPNP integration crash

Hi,
I tried to activate the UPNP integration but I got an “Unknown error occured”
I checked the logs and I got this:

Feb 13 09:44:48 raspberrypi hass[8466]: 2019-02-13 09:44:48 ERROR (MainThread) [aiohttp.server] Error handling request [0/2642]
Feb 13 09:44:48 raspberrypi hass[8466]: Traceback (most recent call last):
Feb 13 09:44:48 raspberrypi hass[8466]: File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_protocol.py”, line 418, in start
Feb 13 09:44:48 raspberrypi hass[8466]: resp = await task
Feb 13 09:44:48 raspberrypi hass[8466]: File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
Feb 13 09:44:48 raspberrypi hass[8466]: yield self # This tells Task to wait for completion.
Feb 13 09:44:48 raspberrypi hass[8466]: File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
Feb 13 09:44:48 raspberrypi hass[8466]: future.result()
Feb 13 09:44:48 raspberrypi hass[8466]: File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
Feb 13 09:44:48 raspberrypi hass[8466]: raise self._exception
Feb 13 09:44:48 raspberrypi hass[8466]: File “/usr/lib/python3.5/asyncio/tasks.py”, line 241, in _step
Feb 13 09:44:48 raspberrypi hass[8466]: result = coro.throw(exc)
Feb 13 09:44:48 raspberrypi hass[8466]: File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_app.py”, line 458, in _handle
Feb 13 09:44:48 raspberrypi hass[8466]: resp = await handler(request)
Feb 13 09:44:48 raspberrypi hass[8466]: File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_middlewares.py”, line 119, in impl
Feb 13 09:44:48 raspberrypi hass[8466]: return await handler(request)
Feb 13 09:44:48 raspberrypi hass[8466]: File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/real_ip.py”, line 34, in real_ip_middleware
Feb 13 09:44:48 raspberrypi hass[8466]: return await handler(request)
Feb 13 09:44:48 raspberrypi hass[8466]: File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/ban.py”, line 67, in ban_middleware
Feb 13 09:44:48 raspberrypi hass[8466]: return await handler(request)
Feb 13 09:44:48 raspberrypi hass[8466]: File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/auth.py”, line 99, in auth_middleware
Feb 13 09:44:48 raspberrypi hass[8466]: return await handler(request)
Feb 13 09:44:48 raspberrypi hass[8466]: File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/view.py”, line 118, in handle
Feb 13 09:44:48 raspberrypi hass[8466]: result = await result
Feb 13 09:44:48 raspberrypi hass[8466]: File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/config/config_entries.py”, line 136, in post
Feb 13 09:44:48 raspberrypi hass[8466]: return await super().post(request, flow_id)
Feb 13 09:44:48 raspberrypi hass[8466]: File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/data_validator.py”, line 47, in wrapper
Feb 13 09:44:48 raspberrypi hass[8466]: result = await method(view, request, *args, **kwargs)
Feb 13 09:44:48 raspberrypi hass[8466]: File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/data_entry_flow.py”, line 86, in post
Feb 13 09:44:48 raspberrypi hass[8466]: result = await self._flow_mgr.async_configure(flow_id, data)
Feb 13 09:44:48 raspberrypi hass[8466]: File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/data_entry_flow.py”, line 80, in async_configure
Feb 13 09:44:48 raspberrypi hass[8466]: flow, step_id, user_input)
Feb 13 09:44:48 raspberrypi hass[8466]: File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/data_entry_flow.py”, line 98, in _async_handle_step
Feb 13 09:44:48 raspberrypi hass[8466]: result = await getattr(flow, method)(user_input) # type: Dict
Feb 13 09:44:48 raspberrypi hass[8466]: File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/config_entry_flow.py”, line 59, in async_step_confirm
Feb 13 09:44:48 raspberrypi hass[8466]: self._discovery_function, self.hass)
Feb 13 09:44:48 raspberrypi hass[8466]: File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
Feb 13 09:44:48 raspberrypi hass[8466]: yield self # This tells Task to wait for completion.
Feb 13 09:44:48 raspberrypi hass[8466]: File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
Feb 13 09:44:48 raspberrypi hass[8466]: future.result()
Feb 13 09:44:48 raspberrypi hass[8466]: File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
Feb 13 09:44:48 raspberrypi hass[8466]: raise self._exception
Feb 13 09:44:48 raspberrypi hass[8466]: File “/usr/lib/python3.5/asyncio/tasks.py”, line 239, in _step
Feb 13 09:44:48 raspberrypi hass[8466]: result = coro.send(None)
Feb 13 09:44:48 raspberrypi hass[8466]: File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/upnp/device.py”, line 26, in async_discover
Feb 13 09:44:48 raspberrypi hass[8466]: local_ip = hass.data[DOMAIN][‘config’].get(CONF_LOCAL_IP)
Feb 13 09:44:48 raspberrypi hass[8466]: KeyError: ‘upnp’

Do you have any idea about how to solve this?
Thank you.

Same Here.

Well, the issue solved itself just by waiting a moment (a day).