core: AVM FRITZ!Box Tools: Service/Action Error: cannot execute service WANDSLInterfaceConfig

The problem

It’s printed to the logs, on no specific event (like start or user login). Discovered with HA Core 2022.2.1, did not see it with 2021.12.10, though it may be present with 2022.2.0.

Integration has been configured for 2 devices:

  • AVM FRITZ!Box 6591 Cable
  • AVM FRITZ!Repeater 3000

I think, it’s the FRITZ!Box that is causing this issue.

Aside from the logs, no negative impact.

What version of Home Assistant Core has the issue?

core-2022.2.1

What was the last working version of Home Assistant Core?

core-2021.12.10

What type of installation are you running?

Home Assistant Container

Integration causing the issue

AVM FRITZ!Box Tools

Link to integration documentation on our website

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

Example YAML snippet

Configured via UI.

Anything in the logs that might be useful for us?

Logger: homeassistant.components.fritz.common
Source: components/fritz/common.py:545
Integration: AVM FRITZ!Box Tools (documentation, issues)
First occurred: 07:15:21 (1 occurrences)
Last logged: 07:15:21

Service/Action Error: cannot execute service WANDSLInterfaceConfig with action GetInfo
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 545, in _service_call_action
    result: dict = self.connection.call_action(
  File "/usr/local/lib/python3.9/site-packages/fritzconnection/core/fritzconnection.py", line 284, in call_action
    return self.soaper.execute(service, action_name, arguments)
  File "/usr/local/lib/python3.9/site-packages/fritzconnection/core/soaper.py", line 259, in execute
    return handle_response(response)
  File "/usr/local/lib/python3.9/site-packages/fritzconnection/core/soaper.py", line 241, in handle_response
    raise_fritzconnection_error(response)
  File "/usr/local/lib/python3.9/site-packages/fritzconnection/core/soaper.py", line 164, in raise_fritzconnection_error
    raise exception(message)
fritzconnection.core.exceptions.FritzActionError: UPnPError: 
errorCode: 401
errorDescription: Invalid Action

Additional information

Downloaded diagnosis information:

{
  "home_assistant": {
    "installation_type": "Home Assistant Container",
    "version": "2022.2.1",
    "dev": false,
    "hassio": false,
    "virtualenv": false,
    "python_version": "3.9.7",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/Berlin",
    "os_name": "Linux",
    "os_version": "5.4.0-97-generic",
    "run_as_root": true
  },
  "custom_components": {},
  "integration_manifest": {
    "domain": "fritz",
    "name": "AVM FRITZ!Box Tools",
    "documentation": "https://www.home-assistant.io/integrations/fritz",
    "requirements": [
      "fritzconnection==1.8.0",
      "xmltodict==0.12.0"
    ],
    "dependencies": [
      "network"
    ],
    "codeowners": [
      "@mammuth",
      "@AaronDavidSchneider",
      "@chemelli74",
      "@mib1185"
    ],
    "config_flow": true,
    "ssdp": [
      {
        "st": "urn:schemas-upnp-org:device:fritzbox:1"
      }
    ],
    "iot_class": "local_polling",
    "is_built_in": true
  },
  "data": {
    "entry": {
      "entry_id": "37eff7dd1ba149187d0f3660161772b9",
      "version": 1,
      "domain": "fritz",
      "title": "FRITZ!Box 6591 Cable",
      "data": {
        "host": "192.168.33.1",
        "password": "**REDACTED**",
        "port": 49000,
        "username": "**REDACTED**"
      },
      "options": {
        "consider_home": 180
      },
      "pref_disable_new_entities": false,
      "pref_disable_polling": false,
      "source": "ssdp",
      "unique_id": "123402409-bccb-40e7-8e6c-3CA62F78231D",
      "disabled_by": null
    },
    "device_info": {
      "model": "FRITZ!Box 6591 Cable",
      "current_firmware": "161.07.29",
      "latest_firmware": "",
      "update_available": false,
      "is_router": true,
      "mesh_role": "master",
      "last_update success": true,
      "last_exception": null,
      "discovered_services": [
        "any1",
        "WANCommonIFC1",
        "WANDSLLinkC1",
        "WANIPConn1",
        "WANIPv6Firewall1",
        "DeviceInfo1",
        "DeviceConfig1",
        "Layer3Forwarding1",
        "LANConfigSecurity1",
        "ManagementServer1",
        "Time1",
        "UserInterface1",
        "X_AVM-DE_Storage1",
        "X_AVM-DE_WebDAVClient1",
        "X_AVM-DE_UPnP1",
        "X_AVM-DE_Speedtest1",
        "X_AVM-DE_RemoteAccess1",
        "X_AVM-DE_MyFritz1",
        "X_VoIP1",
        "X_AVM-DE_OnTel1",
        "X_AVM-DE_Dect1",
        "X_AVM-DE_TAM1",
        "X_AVM-DE_AppSetup1",
        "X_AVM-DE_Homeauto1",
        "X_AVM-DE_Homeplug1",
        "X_AVM-DE_Filelinks1",
        "X_AVM-DE_Auth1",
        "X_AVM-DE_HostFilter1",
        "WLANConfiguration1",
        "WLANConfiguration2",
        "WLANConfiguration3",
        "Hosts1",
        "LANEthernetInterfaceConfig1",
        "LANHostConfigManagement1",
        "WANCommonInterfaceConfig1",
        "WANDSLInterfaceConfig1",
        "WANDSLLinkConfig1",
        "WANEthernetLinkConfig1",
        "WANPPPConnection1",
        "WANIPConnection1"
      ],
      "client_devices": [
        // removed 
      ],
      "wan_link_properties": {
        "NewWANAccessType": "X_AVM-DE_Cable",
        "NewLayer1UpstreamMaxBitRate": 54784000,
        "NewLayer1DownstreamMaxBitRate": 1095680000,
        "NewPhysicalLinkStatus": "Up"
      }
    }
  }
}

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 2
  • Comments: 38 (15 by maintainers)

Most upvoted comments

Ok thx, then I will have one more test for you guys. Once back home, I’ll prepare it and post here

Yes, no more errors with HA 2022.2.3.

@chemelli74

I did some tests on the command line with the fritzstatus tool. Indeed, there are no attenuation and noise margin values.

fritzconnection v1.9.1
FRITZ!Box 6660 Cable at http://192.168.250.1
FRITZ!OS: 7.29

FritzStatus:

    is linked             : True
    is connected          : True
    external ip (v4)      :
    external ip (v6)      : 1234:2345:8000:31:ab99:4797:8f30:aaf
    internal ipv6-prefix  : 1234:2345:98d1:1de7::
    uptime                : 81:01:10
    bytes send            : 2959232313
    bytes received        : 51130094249
    max. bit rate         : ('11.5 MBit/s', '115.0 MBit/s')

same error on FritzBox 6660