home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.17k stars 30.2k forks source link

homeassistant.components.upnp Archer AX20 #57972

Closed jackking444 closed 2 years ago

jackking444 commented 2 years ago

The problem

Unexpected error TP-LINK Archer AX20 UPNP integration.

What is version of Home Assistant Core has the issue?

core-2021.9.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

TP-LINK Archer AX20 UPNP integration

Link to integration documentation on our website

https://www.home-assistant.io/integrations/upnp

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.upnp
Source: components/upnp/device.py:165
Integration: UPnP/IGD (documentation, issues)
First occurred: September 7, 2021, 1:22:21 AM (3 occurrences)
Last logged: September 7, 2021, 2:03:16 AM

Unexpected error fetching Archer AX20 data: Error during async_call(), status: 500, body: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>401</errorCode><errorDescription>Invalid Action</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
    self.data = await self._async_update_data()
  File "/usr/src/homeassistant/homeassistant/components/upnp/__init__.py", line 209, in _async_update_data
    update_values = await asyncio.gather(
  File "/usr/src/homeassistant/homeassistant/components/upnp/device.py", line 165, in async_get_status
    values = await asyncio.gather(
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/profiles/igd.py", line 406, in async_get_status_info
    result = await action.async_call()
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/client.py", line 541, in async_call
    raise UpnpError(
async_upnp_client.exceptions.UpnpError: Error during async_call(), status: 500, body: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>401</errorCode><errorDescription>Invalid Action</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>

Additional information

No response

probot-home-assistant[bot] commented 2 years ago

Hey there @stevenlooman, @ehendrix23, mind taking a look at this issue as it has been labeled with an integration (upnp) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)


upnp documentation upnp source (message by IssueLinks)

StevenLooman commented 2 years ago

Thank you for this issue @jackking444. Can you try updating to the latest version of home assistant? I believe this is already solved.