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

2FA Push stopped working

Open fiddie1987 opened this issue 2 years ago • 5 comments

Had this working for the past few months but in the last few days it's stopped I'm getting error: authentication failed

Config is: username: ******** password: ******** tfa_source: Push tfa_type: PUSH refresh_ devices_every: 2 stream_timeout: 120

fiddie1987 avatar Aug 25 '21 21:08 fiddie1987

Can you look in the logs (homeassistant.log) and see what error is causing the failure.

Hopefully there will be a log before the authentication failure giving the real reason. One possibility would be a cloudflare error.

twrecked avatar Aug 26 '21 14:08 twrecked

Hi I've checked the logs and as you suggested they are showing a cloudflare challenge error

fiddie1987 avatar Aug 30 '21 18:08 fiddie1987

2 things to try:

Change the user agent, try linux (or mac or ipad or firefox)

aarlo:
  ...
  user_agent: linux

Modify /etc/hosts to force a particular authentication host. You can add these entries, try changing the comment (# sign) to see if either works:

104.18.30.98 ocapi-app.arlo.com
#104.18.31.98 ocapi-app.arlo.com

twrecked avatar Aug 30 '21 20:08 twrecked

2 things to try:

Change the user agent, try linux (or mac or ipad or firefox)

aarlo:
  ...
  user_agent: linux

Modify /etc/hosts to force a particular authentication host. You can add these entries, try changing the comment (# sign) to see if either works:

104.18.30.98 ocapi-app.arlo.com
#104.18.31.98 ocapi-app.arlo.com

Old topic but I recently got the 2fa "Cloudflare challenge error". I've tried all sorts of different user agents but I still cant get it to work, been trying for 5 days now. A lot of reboots!

My question is, how do I modify the hosts-file? I know how to do it on my normal Windows computer but Im running my HA on a "NUC" (Generic x86-64).

Elox1991 avatar Nov 29 '21 18:11 Elox1991

Is it inside a docker image?

twrecked avatar Nov 29 '21 18:11 twrecked