Skip to content
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

Cloudflare blocking access, changed user agent didn't work #787

Closed
squirtbrnr opened this issue Aug 7, 2023 · 5 comments
Closed

Cloudflare blocking access, changed user agent didn't work #787

squirtbrnr opened this issue Aug 7, 2023 · 5 comments

Comments

@squirtbrnr
Copy link

Starting sometime on 8/6 the integration went unavailable for me. When I rebooted HA I get an authentication error in my logs and the aarlo integration fails to setup. I regenerated my app password for my gmail account for 2fa. I confirmed I could log into my Arlo account with the same credentials this integration is using. I changed my aarlo config to a very bare bones config and it could not authenticate. I'm enabling debug and rebooting and should have logs later. What logs are needed?

This error originated from a custom integration.

Logger: pyaarlo
Source: custom_components/aarlo/pyaarlo/__init__.py:165
Integration: aarlo (documentation, issues)
First occurred: 10:23:48 PM (4 occurrences)
Last logged: 10:25:44 PM

authentication failed

My config:

aarlo:
  tfa_source: imap
  tfa_type: email
  tfa_host: imap.gmail.com
  tfa_username: !secret arlo_tfa_username
  tfa_password: !secret arlo_tfa_password
  username: !secret arlo_username
  password: !secret arlo_password
  reconnect_every: 90
@squirtbrnr
Copy link
Author

after enabling debugging and looking at the logs, it appears I'm being blocked by Cloudflare, so this is a duplicate of #782

@squirtbrnr
Copy link
Author

except my version of the aarlo custom component is the latest release and the line "Source": "arloCamWeb", is already commented out. Authentication is still failing

@squirtbrnr squirtbrnr reopened this Aug 7, 2023
@squirtbrnr squirtbrnr changed the title Authentication failing Cloudflare blocking access, changed user agent didn't work Aug 7, 2023
@squirtbrnr
Copy link
Author

tried changing my user agent string in the config options to "random" per the suggestions and it still fails authentication with the cloudflare error in the logs.

@lowey71
Copy link

lowey71 commented Aug 7, 2023

Reporting the same issue. Using the commented out "Source". Have not tried any other approaches

@squirtbrnr
Copy link
Author

this issue already has an extensive thread. See here: #778

closing this in favor of watching the other thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants