hass-aarlo icon indicating copy to clipboard operation
hass-aarlo copied to clipboard

Authentication error.

Open tomlynn opened this issue 2 years ago • 8 comments

I'm a new adopter and am encountering the cloudflare challenge error: Logger: pyaarlo Source: custom_components/aarlo/pyaarlo/init.py:676 Integration: aarlo (documentation, issues) First occurred: 4:36:31 PM (42 occurrences) Last logged: 5:45:19 PM

request-error=CloudflareChallengeError

I'm using version 0.7.2b7

I can log into my.arlo.com using the credentials supplied to the integration. I can also login to the secondary gmail account I'm using for the challenge email. Those emails are arriving as expected when logging into arlo with the web browser, but are absent when the integration is making the attempt. Does the integration mark itself as trusted at any time, assuming it had a successful go? Or does the my.arlo.com url have to be modified to included the original token that gave me hell when I first set up the "friend" account?

Decided to login manually to my.arlo.com and watch for the session being closed when the integration attempts to login, but it never happened, so this looks like credentials, which I've checked several times. Changed credentials and no improvement. It's as if the login to my.arlo.com is failing or is not being attempted, resulting in no email with code and therefore no two factor authentication takes place.

This notification happens after the integration is started: aarlo Component Setup Error: 2fa startup failed If error persists you might need to change config and restart.

I've noticed this issue is closed, so I'll copy it to a new issue.

tomlynn avatar Jan 23 '22 02:01 tomlynn

Had the same issue with my config, try to add this to your aarlo: section

user_agent: Android

That worked for me.

gjelsoe avatar Jan 23 '22 16:01 gjelsoe

Changing user_agent to Android did not help. Thanks, though.

tomlynn avatar Jan 23 '22 17:01 tomlynn

I'm sorry you're having these issues, if you're seeing cloudflare error messages then the code isn't even getting to Arlo to login. It's a real pain and affects me as well.

Try some of the suggestion here.

And one person found out that waiting 24 hours before trying again seemed to help. The good news is, once you're in it seems to work ok going forward.

twrecked avatar Jan 24 '22 14:01 twrecked

I'm currently in the waiting phase.

On Mon, Jan 24, 2022 at 6:54 AM Steve Herrell @.***> wrote:

I'm sorry you're having these issues, if you're seeing cloudflare error messages then the code isn't even getting to Arlo to login. It's a real pain and affects me as well.

Try some of the suggestion here https://github.com/twrecked/hass-aarlo#cloud-flare.

And one person found out that waiting 24 hours before trying again seemed to help. The good news is, once you're in it seems to work ok going forward.

— Reply to this email directly, view it on GitHub https://github.com/twrecked/hass-aarlo/issues/559#issuecomment-1020183621, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFU3N53SN6DLCOK56JBJFBTUXVRY7ANCNFSM5MSYFBYQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

tomlynn avatar Jan 24 '22 17:01 tomlynn

Having waited the 24 hours, I've tried again, without success. I've tried the /etc/hosts fix and set the user-agent to Android and alternately random. Nothing is working. Anybody know where I can buy a rubber chicken?

tomlynn avatar Jan 25 '22 01:01 tomlynn

That sucks. Is it the same cloud flare error or did it change to something else?

I appreciate the following is grasping at straws but:

Can you try restarting your router? Would your ISP give you another address if you do that? Is it possible to try a VPN?

twrecked avatar Jan 25 '22 01:01 twrecked

Here's the cloudflare error(s):

2022-01-24 18:39:02 WARNING (SyncWorker_7) [pyaarlo] request-error=CloudflareChallengeError 2022-01-24 18:39:04 WARNING (SyncWorker_7) [pyaarlo] request-error=CloudflareChallengeError 2022-01-24 18:39:05 WARNING (SyncWorker_7) [pyaarlo] request-error=CloudflareChallengeError

They're all the same, I guess it justs tries three times.

On Mon, Jan 24, 2022 at 5:35 PM Steve Herrell @.***> wrote:

That sucks. Is it the same cloud flare error or did it change to something else?

I appreciate the following is grasping at straws but:

Can you try restarting your router? Would your ISP give you another address if you do that? Is it possible to try a VPN?

— Reply to this email directly, view it on GitHub https://github.com/twrecked/hass-aarlo/issues/559#issuecomment-1020720258, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFU3N54AXPSWP6PHPVAWCDTUXX46NANCNFSM5MSYFBYQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

tomlynn avatar Jan 25 '22 02:01 tomlynn

Switching to a new IP address was not successful, either.

On Mon, Jan 24, 2022 at 6:45 PM Tom Lynn @.***> wrote:

Here's the cloudflare error(s):

2022-01-24 18:39:02 WARNING (SyncWorker_7) [pyaarlo] request-error=CloudflareChallengeError 2022-01-24 18:39:04 WARNING (SyncWorker_7) [pyaarlo] request-error=CloudflareChallengeError 2022-01-24 18:39:05 WARNING (SyncWorker_7) [pyaarlo] request-error=CloudflareChallengeError

They're all the same, I guess it justs tries three times.

On Mon, Jan 24, 2022 at 5:35 PM Steve Herrell @.***> wrote:

That sucks. Is it the same cloud flare error or did it change to something else?

I appreciate the following is grasping at straws but:

Can you try restarting your router? Would your ISP give you another address if you do that? Is it possible to try a VPN?

— Reply to this email directly, view it on GitHub https://github.com/twrecked/hass-aarlo/issues/559#issuecomment-1020720258, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFU3N54AXPSWP6PHPVAWCDTUXX46NANCNFSM5MSYFBYQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

tomlynn avatar Jan 28 '22 17:01 tomlynn