Aypac / Arduino-TR-064-SOAP-Library

Arduino library for the TR-064 protocol, most commonly used by the Fritz!Box router API
Other
65 stars 21 forks source link

Not working when passwort auth is disabled #31

Open Aypac opened 4 years ago

Aypac commented 4 years ago

When a FritzBox is configured to not require authentication, the reply never contains a nonce. This makes this script fail, even though no authentication is required and it could just go ahead.

Aypac commented 4 years ago

Should be fixed with 106dae0650731664e16410046a6960893e20c562

Aypac commented 4 years ago

It's now never trying to authenticate, unless it gets an "Unauthenticated" error. It takes the nonce from that request then and re-sends that same request.

Aypac commented 4 years ago

Note: this is still being tested and not on the main branch yet. To be closed as soon as merged into master.