-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't login: 'You've reached the login attempt' #139
Comments
So you cant get a single command sent to your controller? you get the "You've reached the login attempt limit" error from the first try? |
That's right. After a Node-RED restart and triggering the flow, I see the node status flashing for half a second to green and a text with something like 'Logged in' and almost immediately changing to red and the message 'You've reached the login attempt limit'. I checked the debug option, restarted Node-Red. Attached the Syslog. Note: in the log I shortened the cookies (not sure if this is security sensitive). It seems like it returns 5 times a 401 status and then a 429. For clarity I only inject one message to the node. (checked with a delay node and counter). |
Ahh I understand, apparently they have made some changes for the new devices, I use same software version as you but with a Dream Router and it works. Yeah, the reason you se multiple requests is that the node automatically tries to login. What I need is access to the new hardware so that I could see what's actually goes wrong. If you're interested in helping me with this then it would be great if you create a new admin account in your device and then send me the credentials, and then you make a port forward in your firewall so that I could connect and run logins against your device. |
I recently upgraded from an USG with a controller hosted on an RPI to an UCG Ultra running on UnifiOS 4.06.
Now my Node-Red (v3.1.3) automation is broken.
I used to have close to 10 instances of the Unifi node (0.3.17) running with update intervals of 20-30 seconds without any problems. After the migration to the UCG Ultra I get only "You've reached the login attempt limit" messages.
After reading the #136 case, I reduced the number of Unifi nodes to only one and temporarily lowered the update frequency to 4 hours. Even after rebooting the UCG and Node-Red, the error persists.
After searching for solutions I came across a similar reported issue in a HomeAssistant implementation. There a solution was found in the handling of cookies: Replacing CookieJar with DummieCookieJar. That code base is Python, but I hope something similar can be applied here as well.
The text was updated successfully, but these errors were encountered: