-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Authentication failure #538
Comments
Perhaps you have some strange character in your password. |
It's a 20-character password with uppercase, lowercase and numbers, but no special characters. I should also point out that the same identifiers were working at the end of last year (before winterizing the lawnmower). It's since I woke it up (2-3 weeks ago) that I've had the problem. Is there anything I can do to get more details? |
Unfortunately not. The API only responds with authenticated or not authenticated. |
I've got the same issue with my Worx Landroid Plus WR165E. It works last week without any problems. I've got also just a password with uppercase, lowercase and numbers. |
I have literally NO idea why you guys can't login. Can you log in to this site? https://id.worx.com |
Yes, I can connect without any problem |
Very strange then. Got absolutely no clue then. |
Perhaps one of you could send your credentials to |
Yes, I've just sent it to you |
No issues here on the latest version of the integration |
What do you mean? |
I mean exactly what I wrote - I added the integration with your credentials (copy-paste) and it worked just fine. |
I also copy and paste, but I don't have the same success (it's not fair, I feel unloved 😢) And in the logs my mail and password are displayed in clear, so I'm sure they're the right values. |
Try removing and redownload the integration. |
It's done (several times), but authentication fails every time. I think it's the registration of my config that's failing. Do I have to go through the GUI or can I save my config directly in configuration.yaml? What's the syntax? I'd like to avoid redoing all my HA config. |
Only GUI config is available |
Is it working for you again now? It's still not working for me. I also restored an old backup as a test when it was still working. Unfortunately also without success. As already written in advance. A few weeks ago it still worked without any problems. Now suddenly from one day to the next only the error message. Unfortunately, reinstalling the integration did not help either. However, login works on all other platforms without any problems. I haven't changed anything in Home Assistant recently either... |
Does any of you guys have the opportunity to try installing on a clean Home Assistant instance? Perhaps even if you could all attach (NOT copy paste) the diagnostics to compare with my own working installation |
No, it still doesn't work. I've made a number of tests (removing other integrations, using older versions) but it's still the same error in the logs. |
Hello, |
Guess something is conflicting, but I have no idea what |
Perhaps if you guys could start listing your integrations (yeah, I know it's a tedeious task), we could find the culprit. |
First of all, thank you for taking the trouble to find out which integration causes conflicts.
Do you also want to know whether they were installed via HACS? I'll just write that in brackets after it. |
The only one I see, that could do something, and that I don't use myself, is Tuya (I use LocalTuya). |
Would it also be enough if you just deactivated the integration and then tried Landroid Cloud? or is it best to delete it completely? |
Not sure which would be the best - also not even sure it is the conflicting integration :( |
I'll switch to localTuya this evening and see if it works. I will report |
In 5 minutes or so, please try changing pyworxcloud version 4.1.11 in the landroid_cloud manifest.json file. |
I updated to the newer pyworxcloud, but I'm still blocked... As the integration is not configured for main instance now, I will stop testing for now. I've read about a maximum wait time of 24 hours for cloudflare rate limiting. So I will test again in >= 24 hours. 😉 Thanks for your help. I will report tomorrow. |
Could you try v5.0.1 to see if it gives better response to the error? |
The error became "Too many requests to the API - Try again in 24 hours" on my first attempt and I hadn't tried for several days. |
At least more correctly described to the user now. But I have no idea on why the API returns 429 for you guys |
I will wait until the 24 hours are over. If I'm still receiving the 429 error, I will try to get around the device fingerprinting... If I'm not successful, I hope migrating my data to a new HA container instance might be a solutiuon. |
I'm still blocked. Recreating container didn't solved it. I did some research about fingerprinting technologies, but I have no idea why it is working in a fresh container (which seems to have the same fingerprints as the old container). |
I've found a workaround (at least for me with my container setup). Just migrating my data to a new HA container is not enough, as my main HA container is running as When testing with a second fresh HA instance, I was using a docker network bridge instead of the host network. So the container has a different IP/MAC address than my host. This seems to be the reason, why it was working for me with "a fresh instance". So as a workaround, I'm running a https proxy (e.g. squid) as container with a network bridge. In my HA instance I added the proxy as a environment variable ( I don't know how you other guys in this issue are runnning HA. But using a proxy (container, other host or something else) might also work for you. I hope that waiting a few more days, weeks (or perhaps months 🙄) will be enought to get unblocked and I could remove the proxy stuff... |
I have been talking to Positec about this issue, and the do indeed block the IP address for a duration between 5 minutes and 24 hours. I have NO idea what to do next, for solving this issue. |
Just got an idea - could one of you try changing the |
Yes, this isn't the problem. I'm blocked without sending any request data. I think the block is done on a TCP/IP stack fingerprint. So the outgoing (virtual or not) ethernet interface is blocked.
Or with reponse headers:
As written above, I think the block is based on the TCP/IP stack. So this issue is not HA related. Wo can do nothing.
As you have contact to Positec: They need to check their rate limit throttling settings at cloudflare. There is more than IP address AND user credentials... I'm totally fine with blocking, when there are too much requests (for whatever reason). But there must be a normal wait time. And a |
Just a short update: my proxy workaround is running over a week now. Everything is fine. My host machine is still blocked. Same details as in my last comment. I don't why I get blocked so long. There can't be any request from my host for a week now. Really strange... |
Is the problem still being worked on, or did I somehow overlook the solution? |
"Worked on" as in I have absolutely no clue why this is happening, cannot reproduce and Positec cannot see why the connection isn't sucessful either. |
Yes, it works for me, thanks 🥳 🎉 |
Unfortunately, for me it doesn't work. Went back to 5.0.1 and tried |
Problem solved. After update to HA 2024.5.1 login to landroid is possible again. Everything works fine. |
Still blocked... I need to stay on my proxy workaround. 😞 |
Hi, i've got the same problem since HA update 2024.6.0. Initially the logs indicated IP banned : Too many requests for [email protected] at Landroid Cloud. IP address temporary banned. Connection via the official application works correctly as well as connection to the id.worx.com site with a browser. On the other hand, here is a screenshot of the command mentioned above, and I don't understand why I don't get a 429 response using curl: If any of you have an idea that would be great ;) Thanks |
It is an issue between Home Assistant and Landroid Cloud, as if you install a new Home Assistant, then the issue will be gone. |
I am considering rewriting it all from scratch and see if that will fix this, but that will be a huge task and I won't have time for that within the next few months |
Thanks for the response, i'll wait and use the official worx app instead ;) |
I have noticed a strange parallel. In the last few days, I encountered the familiar login problem again after the integration had been running smoothly for several weeks. Then suddenly, the problem reappeared. Interestingly, at the same time, the Tuya app also had a login issue. This was also the case with the last Landroid problems. A few weeks ago, the Tuya app was already ruled out as the cause. But maybe both integrations access similar structures in HA that lead to problems after updates. Both integrations, landroidcloud and tuya, work fine at the moment. There were problems for about 3-4 days. |
For me, the problem still exists. I'm blocked since 4 months and I don't know why. 😞 When this happend, I had one HA in my network (with two landroids for around 3 or 4 days) talking to the Worx API. My HA is using a proxy all the time now, to get around this. (Just tested without proxy today, but still blocked.)
Are you sure, that would fix it? As the serverside API keeps the same, I think you could trapped into this, anytime again.
At least for me, this didn't work. As the hardware is the same... You mentioned a contact to Positec/Worx. I think it would be helpful to know what limiting rules they use. (You already noticed some rules, but I think there is more than this.) |
I can't get a clear answer as to what the limiting factors is and why (at least for most people) it helps creating a new Home Assistant. As for rewriting, there's more than this issue for that - it's a mess as I really haven't had the time to make the recent API changes the right way. Alot of code isn't even used anymore. |
In the meantime, I am completely confused. A few weeks ago, communication between HA and the mower resumed, but then it suddenly stopped again. Last week, everything suddenly worked as desired. The special thing: I was on vacation and did not make any changes to HA for several days. I only occasionally checked the status of the mower with the landroid app. I have no remote-acces to HA. After 4-5 days, the connection was lost again. Also without any changes. Anyway, take your time… it’s just an integration for a lawn mower robot. There are a thousand more important things. |
Hello, I have the same problem on my side and I just did a test that could give an idea of the source of the problem. My HA is installed on a raspberry pi and connected to the network via wifi. In this configuration the curl command By connecting the raspberry pi via wire (without any reboot or other change), the same command always returns HTTP 302 and the integration can be installed and works perfectly. I am attaching the result of the command placed on both types of connection. Hoping that this will help move the subject forward. |
Describe the issue
I can't authenticate on Landroid_cloud. According to the logs my mail/password would be wrong, but they work on the Landroid app. So I don't think that's it.
I've tried several times to disconnect my mower from the app and reconnect it, as described in the README, but I'm still stuck.
What version of Home Assistant Core has the issue?
core-2024.3.3
What was the last working version of Home Assistant Core?
core-2024.3.3
What version of the Landroid Cloud integration do you have installed
v4.0.3
What type of installation are you running?
Home Assistant OS
Which make and model is the mower used for this integration?
Landroid WR153E - Firmware 3.32b1 - WORX
Diagnostics information (NOT log entries!)
None
Relevant log entries
Additional information
No response
The text was updated successfully, but these errors were encountered: