ioBroker.tr-064 icon indicating copy to clipboard operation
ioBroker.tr-064 copied to clipboard

Adapter restarts if WLAN is deactivated

Open mc-0815 opened this issue 8 months ago • 5 comments

Describe the bug
When the adapter instance starts the SOAP Call for WLAN Configuration ends up with a 500 error, the adapter instance throws a fatal error and restarts. As my fritzbox 7412 has WLAN deactivated, I assume this is the cause of the error.

To Reproduce
Just deactivate your WLAN on your fritzbox and restart the adapter instance.

Expected behavior
Adapter is able to handle such configuration as those are quite common setups.

Screenshots & Logfiles
iobroker logs:

Error: sendSOAPActionRequest Error action=GetInfo serviceType=urn:dslforum-org:service:WLANConfiguration:1: 500 - {"code":500}

XML body of the SOAP response (via network capture)

    <?xml
        version="1.0"
        ?>
    <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:dslforum-org:control-1-0">
                        <errorCode>
                            820
                            </errorCode>
                        <errorDescription>
                            Internal Error
                            </errorDescription>
                        </UPnPError>
                    </detail>
                </s:Fault>
            </s:Body>
        </s:Envelope>

Versions:

  • Adapter version: 4.3.0
  • JS-Controller version: 5.0.19
  • Node version: v18.17.1
  • Operating system: Debian GNU/Linux 11 (bullseye)

Additional context
Add any other context about the problem here.

mc-0815 avatar Jun 29 '24 07:06 mc-0815