hass-aarlo
hass-aarlo copied to clipboard
2FA Push stopped working
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
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.
Hi I've checked the logs and as you suggested they are showing a cloudflare challenge error
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
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).
Is it inside a docker image?