Closed aschmidt74 closed 2 years ago
Thanks for reporting this... I will check this
It seems that the gen 2 devices only have a password and basic auth is replaced with digest auth.
very true. basic-auth doesn't work anymore.❌ only digest-auth is supported.✅
Digest auth should work now, but not 100%. I found out that SetConfig refuses the authorization while all other routes that I tested work flawlessly. Right now only polling mode works fine with authorization enabled. e.g. /rpc/Sys.GetStatus works
I'm running a few gen2
Shelly Plus 2 pm
devices, inshutter
-mode orswitch
-mode respecticely. In node-red the gen2-nodes work fine incallback
-mode, all scripts get pushed nicely and callback correctly.However as soon as I enable Authenticaion in a device, update the node with credentials (
"admin"
/<password>
alternatively<empty>
/<password>
) and redeploy, I get this as the gen2-nodes output:Uploading script failed Error: Request failed with status code 401
Upload Retry Interval=0
even led to node-red restart loop.