I am consistently getting errors from uPnP while trying to install the integration. It gave me a Config Flow Error and I have tried to resolve this, but without success. Can anyone assist?
Error
Config flow could not be loaded
Here is the error log:
Logger: aiohttp.server
Source: components/upnp/device.py:90
First occurred: 12:40:50 PM (1 occurrences)
Last logged: 12:40:50 PM
Error handling request
Traceback (most recent call last):
File “/usr/local/lib/python3.8/xml/etree/ElementTree.py”, line 1693, in feed
self.parser.Parse(data, 0)
xml.parsers.expat.ExpatError: mismatched tag: line 2, column 219
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py”, line 422, in _handle_request
resp = await self._request_handler(request)
File “/usr/local/lib/python3.8/site-packages/aiohttp/web_app.py”, line 499, in _handle
resp = await handler(request)
File “/usr/local/lib/python3.8/site-packages/aiohttp/web_middlewares.py”, line 119, in impl
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/security_filter.py”, line 56, in security_filter_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/request_context.py”, line 18, in request_context_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/ban.py”, line 72, in ban_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/auth.py”, line 129, in auth_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/view.py”, line 129, in handle
result = await result
File “/usr/src/homeassistant/homeassistant/components/config/config_entries.py”, line 117, in post
return await super().post(request)
File “/usr/src/homeassistant/homeassistant/components/http/data_validator.py”, line 60, in wrapper
result = await method(view, request, *args, **kwargs)
File “/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py”, line 69, in post
result = await self._flow_mgr.async_init(
File “/usr/src/homeassistant/homeassistant/data_entry_flow.py”, line 133, in async_init
result = await self._async_handle_step(
File “/usr/src/homeassistant/homeassistant/data_entry_flow.py”, line 216, in _async_handle_step
result: Dict = await getattr(flow, method)(user_input)
File “/usr/src/homeassistant/homeassistant/components/upnp/config_flow.py”, line 80, in async_step_user
discoveries = [
File “/usr/src/homeassistant/homeassistant/components/upnp/config_flow.py”, line 81, in
await Device.async_supplement_discovery(self.hass, discovery)
File “/usr/src/homeassistant/homeassistant/components/upnp/device.py”, line 72, in async_supplement_discovery
device = await Device.async_create_device(hass, location)
File “/usr/src/homeassistant/homeassistant/components/upnp/device.py”, line 90, in async_create_device
upnp_device = await factory.async_create_device(ssdp_location)
File “/usr/local/lib/python3.8/site-packages/async_upnp_client/client_factory.py”, line 52, in async_create_device
root = await self._async_get_url_xml(description_url)
File “/usr/local/lib/python3.8/site-packages/async_upnp_client/client_factory.py”, line 295, in _async_get_url_xml
root = DET.fromstring(response_body) # type: ET.Element
File “/usr/local/lib/python3.8/site-packages/defusedxml/common.py”, line 131, in fromstring
parser.feed(text)
File “/usr/local/lib/python3.8/xml/etree/ElementTree.py”, line 1695, in feed
self._raiseerror(v)
File “/usr/local/lib/python3.8/xml/etree/ElementTree.py”, line 1602, in _raiseerror
raise err
File “”, line None
xml.etree.ElementTree.ParseError: mismatched tag: line 2, column 219