-
Notifications
You must be signed in to change notification settings - Fork 78
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
Unable to authenticate since updating to B14 #762
Comments
Not getting my 2fa prompt on my phone. Tested on Arlo website and I get the 2fa prompt. |
I think this might be related to #760 as I exhibit the same Cloudflare issue error 1020. Tried changing the user_agent to linux but no change. |
You could try dropping back a version. Or it might clear up by itself. What I think happened is you had some credentials saved and the code tried to use them and that locked you out. Normally it's temporary. If you are good with a browser you can enable the developer tools and log in to the Arlo web client and trace the headers, see what the code is missing. |
Thanks Steve
I did roll back but still the same issue.
I will wait it out and see if it clears as a first step. Does AArlo keep trying in the background, meaning should I remove the integration for a while?
Cheers
John Walker
…________________________________
From: Steve Herrell ***@***.***>
Sent: Friday, June 9, 2023 8:48 AM
To: twrecked/hass-aarlo ***@***.***>
Cc: John Walker ***@***.***>; Author ***@***.***>
Subject: Re: [twrecked/hass-aarlo] Unable to authenticate since updating to B14 (Issue #762)
You could try dropping back a version. Or it might clear up by itself.
What I think happened is you had some credentials saved and the code tried to use them and that locked you out. Normally it's temporary.
If you are good with a browser you can enable the developer tools and log in to the Arlo web client and trace the headers, see what the code is missing.
—
Reply to this email directly, view it on GitHub<#762 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AENBD4UXKVB3UBVSYWJY64DXKMLSDANCNFSM6AAAAAAZAA6VUI>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
It's a pain eh. And it's going to keep retrying with a back off up to 5 minutes. You should disable it for now. I'll look at that code, maybe I'll get it to stop after 5 tries. |
Thanks for the excellent help and awesome integration. |
Same issue here. |
I tried disabling it but for some reason it kept trying to connect every 5 mins
I removed aarlo and will wait and put it back and test.
Mine works in the app and web with no issues.
Will report back if it starts working.
…On Jun. 9, 2023, 11:27 AM -0400, shupershuff ***@***.***>, wrote:
Same issue here.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Waited 2 hours and readded the integration. Same problem. I'll leave it installed and see what happens. |
notification on boot is (after creating a new login)
|
Now getting a different message in the logs (could this be an arlo issue?)
|
Installed today's update, still auth errors |
Can you turn on verbose debug and upload some traces? And can you post your config? See here on how to do it. |
Config aarlo: backend: sse username: !secret arlo_username |
I'll send it when I get to a computer today. Hard from the phone |
I was also unable to login / authenticate with v15 - 2FA codes were not being initiated for some reason via the e-mail (imap) settings. I reverted to v12 and everything works correctly. |
V12 fixed it for me too. Thanks man
…On Jun. 11, 2023, 11:35 AM -0400, pjrish ***@***.***>, wrote:
I was also unable to login / authenticate with v15 - 2FA codes were not being initiated for some reason via the e-mail (imap) settings.
I reverted to v12 and everything works correctly.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
The IMAP codes weren't being sent because Cloudflare was intercepting and blocking your connections. As you can see from this diff nothing changed in the IMAP code. I just brought the headers up to date. What is interesting is why? This Cloudflare stuff is really annoying... Can I ask roughly where you are located? Just country or continent would be fine. I'm still seeing the updated headers in my requests from the official webpage. |
I will add that I've been unable to log in for weeks, possibly a month?, well before the b15 update. I thought I was going crazy because no one else here was reporting it and I figured I couldn't be the only one. Debug logs have a bunch of HTML essentially Cloudflare saying Edit: I was just on v12 15 mins ago and it was broke. Updated to v15 and it's still broken. But it was definitely broken for me before v12. Edit2: I'm located east coast US. |
I'm in the Southeast USA. I'll take a look at cloudflare, but I couldn't spot anything in the logs. |
I'm in Canada but using push not imap..when I reverted versions and restarted, I got the push notification.
…On Jun. 11, 2023, 4:20 PM -0400, pjrish ***@***.***>, wrote:
> Can I ask roughly where you are located?
I'm in the Southeast USA. I'll take a look at cloudflare, but I couldn't spot anything in the logs.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I'm in Canada as well. And I figure all of North America is the same for the cloud flare stuff so I don't know why I'm working and you're not. And IMAP or PUSH, it doesn't matter, we need to get passed Cloud Flare to make either method happen. |
Yes it is strange. V12 is working perfectly but the newer one never manages to get past cloudflare. Very interesting that you're in CA also and yours works.
…On Jun. 11, 2023, 4:46 PM -0400, Steve Herrell ***@***.***>, wrote:
I'm in Canada as well. And I figure all of North America is the same for the cloud flare stuff so I don't know why I'm working and you're not.
And IMAP or PUSH, it doesn't matter, we need to get passed Cloud Flare to make either method happen.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Same issue. Denmark. V12 nor v15 works. Tfa just pending n trying. |
I am also getting the same error. Based in Australia. Tried different versions of aarlo with no luck. |
Getting similar problems here in the UK. I have noticed this in the logs "You do not have access to ocapi-app.arlo.com. The site owner may have set restrictions that prevent you from accessing the site." Don't know if it is relevant but if I browse to https://ocapi-app.arlo.com from my PC I see the error too. |
Hello, I have similar problem since upgrade to b15 (one week ago) so i upgraded also HA in 2023.6 at about a same time so... I'm in France (FR) and 2FA is used with email and gmail unique password.
Finally, perhaps first issue was from Arlo side ? From my side all is ok with this config : `aarlo: tfa_host: imap.gmail.com |
Hi guys, twrecked always a big fan of your integration buddy but for Australia I found I wasn't getting my tfa auth after jumping up two versions. |
From my side i didn't need to delete any files. Just installed or rollbacked from HACS (by changing version numbers directly to override) |
Rolling back to v0.7.4b12 fixed the issue for me. |
Same here, upgrade to v0.7.4b15 and it works. @aliaghil it is not in your post but in the github notification email I saw you had "host: https://my.arlo.com/" - I found some references on the Arlo community site recommend connecting to that URL. Do you use that setting. @twrecked is it possible that when a new update to aarlo is released we all upgrade and that somehow triggers an alert on the cloudflare front end as we all connect in the same way or with a similar headers? |
@nsleigh I use this parameter (host: https://my.arlo.com) to work fine because (I don't know why) tfa source and tfa type don't match in my config. |
v0.7.4b15 not works, roll back to V11 doesn't work for me either |
I just updated to b15 from b12 and now it is working. Didn't change anything in my configuration.
Cheers
John Walker
…________________________________
From: riro-at ***@***.***>
Sent: Tuesday, June 13, 2023 3:06 AM
To: twrecked/hass-aarlo ***@***.***>
Cc: John Walker ***@***.***>; Author ***@***.***>
Subject: Re: [twrecked/hass-aarlo] Unable to authenticate since updating to B14 (Issue #762)
v0.7.4b15 not works, roll back to V11 doesn't work for me either
—
Reply to this email directly, view it on GitHub<#762 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AENBD4URKQOQKBWUYEQMIO3XLAGPRANCNFSM6AAAAAAZAA6VUI>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
@nsleigh Maybe, I have no idea how cloud flare works. I just know it's annoying :) |
@nsleigh |
I know that you can setup rules to combat attacks, so am wondering if it sees lots of identical messages so sets up a block and then as they subside it releases the block. No idea how to go about proving that or fixing it! |
been dealing with this issue for 2 days... and it wasn't until i found this site that i fixed it... i had to downgrade from b15 to b12 and immediately everything works... for information, i'm in NJ (US) and everything worked until the upgrade to b15. |
Same issue. Upgrading to .b14 broke 2FA via the app. For reference in NZ. |
downgrade to .b11 - 2FA still not working |
Mine won't revert to b12. What is going on? I still can't get 2FA to come up. Even after removing the whole thing and reinstatlling. If I reinstall to .12, it'll download b15 instead. |
Download from here and upload custom_components/aarlo to HA: This got things working for me |
Thank you. I'm back up and running |
New Zealand here. Rolled back to b12 and for the first time in several months I received an Arlo MFA request on my phone. Still got some aarlo errors but these were different and around name resolution instead of auth. Updated again to B15, restarted (no MFA prompt but maybe because I just did one) and got the same error as I got in B12: Error: general-error=gaierror If error persists you might need to change config and restart. |
Arlo is doing something with mqtt, try setting your back end to |
I'm not sure what this means sorry. I can't see any config options within Mosquitto Broker for 'sse'. |
https://github.com/twrecked/hass-aarlo#missing-events You need to adjust the Arlo config in HA. |
That sorted it immediately. Other folk here having issues, take note that this fix might work for you. |
Tried every version of it, dosen't work for me.. I get this in the logs
|
I possibly posted this in the wrong issue. Here it is again. Edit:
|
For anyone else still struggling with this issue, maybe this will help: I think that for some reason, the 2FA prompt requested by HACS aarlo isn't delivered to the phone app if:
Perhaps also important: I'm using a separate arlo account/email address for HACS aarlo (main account is configured to "grant access" to the secondary account) - and of course I was using this secondary account in all of the steps below. Rationale: I finally resolved this by:
I then finally received the 2FA PUSH prompt from aarlo's login attempt, accepted it, and all was good! just for reference, here is all of my (working) aarlo config:
|
I am not using push but seeing the same, in fact it was working fine and then I restarted without any upgrade and authentication failed. I then upgraded HA to 2023.7 and the auth still failed. Upgrading to B18 and still not working. I tend to have this when a new release comes out then a few days later it is ok. Does anyone know if you can retry aarlo auth without restarting all of HA? |
I essentially gave up for the last 6 weeks. Saw some recent activity on here so figured I'd try HunterDG's stuff from above however that didn't work for me. This still has everything to do with Cloudflare blocking.
I can access from my phone and from my web browser but just cannot through HA. |
it doesn't work again 😱 |
I was also seeing the same thing, but couldn't rationalize how arlo/cloudflare was blocking only HA, but not my phone/laptop, while all 3 devices are using the same internet provider/IP address. I was also seeing 2FA failures in the HA logs, thus my decision to start over from scratch. Wish I could help more though. |
using HA with aarlo from southern Thailand I can confirm same findings: downgrading to b12 made it all work again. |
Commenting so I can get an update about the same issue. |
`Logger: pyaarlo
Source: custom_components/aarlo/pyaarlo/init.py:165
Integration: aarlo (documentation, issues)
First occurred: 10:07:21 PM (20 occurrences)
Last logged: 10:11:24 PM
body-error=JSONDecodeError
authentication failed
and
Logger: custom_components.aarlo
Source: custom_components/aarlo/init.py:495
Integration: aarlo (documentation, issues)
First occurred: 10:07:24 PM (5 occurrences)
Last logged: 10:11:24 PM
unable to connect to Arlo: attempt=1,sleep=15,error=authentication failed
unable to connect to Arlo: attempt=2,sleep=30,error=authentication failed
unable to connect to Arlo: attempt=3,sleep=60,error=authentication failed
unable to connect to Arlo: attempt=4,sleep=120,error=authentication failed
unable to connect to Arlo: attempt=5,sleep=240,error=authentication failed
Using backend: sse but tried without specifying backend.
The text was updated successfully, but these errors were encountered: