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

Arlo Conection Problems

Open skinnedpt opened this issue 2 years ago • 9 comments

Hello,

i can't add arlo to my HA.

LOG: unable to connect to Arlo: attempt=2,sleep=30,error=authentication failed 5:25:44 PM – (ERROR) aarlo (custom integration) - message first occurred at 5:17:47 PM and shows up 6 times authentication failed 5:25:44 PM – (ERROR) aarlo (custom integration) - message first occurred at 5:17:47 PM and shows up 9 times

My configuration.yaml :

aarlo: host: https://my.arlo.com/ username: user password: pass db_motion_time: 30 db_ding_time: 10 recent_time: 10 last_format: '%m-%d %H:%M' refresh_devices_every: 2 verbose_debug: True tfa_host: 'imap.gmail.com' tfa_username: user tfa_password: pass

sensor:

  • platform: aarlo monitored_conditions:
    • last_capture
    • total_cameras
    • battery_level
    • captured_today
    • signal_strength

any susgestions?

skinnedpt avatar Oct 24 '21 16:10 skinnedpt

Can you look in /config/home-assistant.log, it might have more information as to what is going wrong. There should be more errors just before the "authentication Failed" message.

If you see something about a cloudFlareError then try adding adding this your configuration:

  user_agent: linux

twrecked avatar Oct 24 '21 16:10 twrecked

Hello,

this what i've got in the log:

2021-10-24 19:23:34 WARNING (SyncWorker_2) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 19:23:35 WARNING (SyncWorker_2) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 19:23:36 WARNING (SyncWorker_2) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 19:23:37 ERROR (SyncWorker_2) [pyaarlo] authentication failed 2021-10-24 19:23:37 ERROR (SyncWorker_2) [custom_components.aarlo] unable to connect to Arlo: attempt=3,sleep=60,error=authentication failed 2021-10-24 19:23:42 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: aarlo 2021-10-24 19:24:38 WARNING (SyncWorker_2) [pyaarlo] error in new response={'meta': {'code': 400, 'error': 9001, 'message': 'Resource validation error', 'validationErrors': {'_type': '_Collection', 'items': [{'propertyPath': 'email', 'invalidValue': 'user', 'message': 'Email must be between 6-190 symbols in public email format'}]}}} 2021-10-24 19:24:39 WARNING (SyncWorker_2) [pyaarlo] error in new response={'meta': {'code': 400, 'error': 9001, 'message': 'Resource validation error', 'validationErrors': {'_type': '_Collection', 'items': [{'propertyPath': 'email', 'invalidValue': 'user', 'message': 'Email must be between 6-190 symbols in public email format'}]}}} 2021-10-24 19:24:40 WARNING (SyncWorker_2) [pyaarlo] error in new response={'meta': {'code': 400, 'error': 9001, 'message': 'Resource validation error', 'validationErrors': {'_type': '_Collection', 'items': [{'propertyPath': 'email', 'invalidValue': 'user', 'message': 'Email must be between 6-190 symbols in public email format'}]}}}

skinnedpt avatar Oct 24 '21 18:10 skinnedpt

Can you look in /config/home-assistant.log, it might have more information as to what is going wrong. There should be more errors just before the "authentication Failed" message.

If you see something about a cloudFlareError then try adding adding this your configuration:

  user_agent: linux

So i need to put user_agent: linux where?

Thank you

skinnedpt avatar Oct 24 '21 18:10 skinnedpt

In your aarlo section

twrecked avatar Oct 24 '21 19:10 twrecked

In your aarlo section

Thank you,

i add the line to aarlo section bellow tfa_password:

So this is the log now:

requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.2.56', port=3480): Max retries exceeded with url: /data_request?id=sdata (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8c7fb490>: Failed to establish a new connection: [Errno 113] Host is unreachable')) 2021-10-24 22:10:31 WARNING (SyncWorker_6) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 22:10:32 WARNING (SyncWorker_6) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 22:10:33 WARNING (SyncWorker_6) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 22:10:34 ERROR (SyncWorker_6) [pyaarlo] authentication failed 2021-10-24 22:10:34 ERROR (SyncWorker_6) [custom_components.aarlo] unable to connect to Arlo: attempt=6,sleep=300,error=authentication failed 2021-10-24 22:11:51 ERROR (MainThread) [homeassistant.components.vera] Error communicating with Vera API OSError: [Errno 113] Host is unreachable

skinnedpt avatar Oct 24 '21 21:10 skinnedpt

It's the same problem (CloudflareChallengeError). You can try changing you user agent again and restarting. Other ones to try are: iphone mac firefox

It's a pain but there and seems to be a problem with python and the cloud flare servers. It isn't even making it to the Arlo servers.

twrecked avatar Oct 24 '21 21:10 twrecked

Tryed iphone, mac and firefox without sucess :(

Any more idea?

2021-10-24 23:34:40 WARNING (SyncWorker_0) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 23:34:41 WARNING (SyncWorker_0) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 23:34:43 WARNING (SyncWorker_0) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 23:34:44 ERROR (SyncWorker_0) [pyaarlo] authentication failed 2021-10-24 23:34:44 ERROR (SyncWorker_0) [custom_components.aarlo] unable to connect to Arlo: attempt=2,sleep=30,error=authentication failed 2021-10-24 23:35:14 WARNING (SyncWorker_0) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 23:35:15 WARNING (SyncWorker_0) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 23:35:16 WARNING (SyncWorker_0) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 23:35:17 ERROR (SyncWorker_0) [pyaarlo] authentication failed 2021-10-24 23:35:17 ERROR (SyncWorker_0) [custom_components.aarlo] unable to connect to Arlo: attempt=3,sleep=60,error=authentication failed 2021-10-24 23:35:25 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: aarlo 2021-10-24 23:36:18 ERROR (SyncWorker_0) [pyaarlo] imap connection failedb'[ALERT] Application-specific password required: https://support.google.com/accounts/answer/185833 (Failure)' 2021-10-24 23:36:18 ERROR (SyncWorker_0) [pyaarlo] 2fa startup failed 2021-10-24 23:36:18 ERROR (SyncWorker_0) [custom_components.aarlo] unable to connect to Arlo: attempt=4,sleep=120,error=2fa startup failed 2021-10-24 23:36:25 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: aarlo 2021-10-24 23:37:26 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: aarlo 2021-10-24 23:38:19 WARNING (SyncWorker_0) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 23:38:20 WARNING (SyncWorker_0) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 23:38:21 WARNING (SyncWorker_0) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 23:38:22 ERROR (SyncWorker_0) [pyaarlo] authentication failed

skinnedpt avatar Oct 24 '21 22:10 skinnedpt

That seemed to make it further. You need an application specific password for gmail:

2021-10-24 23:36:18 ERROR (SyncWorker_0) [pyaarlo] imap connection failedb'[ALERT] Application-specific password required: https://support.google.com/accounts/answer/185833 (Failure)'

The google link will tell you how to fix the issue.

twrecked avatar Oct 24 '21 22:10 twrecked

I'm haveing many different problem with my arlo camera. Untill some weeks ago all works fine, but now I'm having different problems:

  1. battery drain on camera connected with WiFi (Essential Camera)
  2. % battery not updated
  3. armed/Disarmed status not always sync

for the above problem I have disconnected the Arlo from H.A., hope that with feature update the problems will be fixed

QuakeGio83 avatar Oct 31 '21 07:10 QuakeGio83