home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
70.07k stars 29.14k forks source link

Ring integration doesn't work #117455

Open konikvranik opened 2 months ago

konikvranik commented 2 months ago

The problem

When I try to add new ring doorbell, it asks for username and password, then for 2FA code, but the device is not added.

image

and

image

What version of Home Assistant Core has the issue?

core-2024.5.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Rainbird

Link to integration documentation on our website

https://www.home-assistant.io/integrations/ring

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2024-05-14 19:59:30.119 WARNING (SyncWorker_21) [urllib3.connectionpool] Retrying (Retry(total=8, connect=3, read=0, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ffec2e602c0>: Failed to establish a new connection: [Errno -3] Try again')': /clients_api/session
2024-05-14 19:59:43.139 WARNING (SyncWorker_21) [urllib3.connectionpool] Retrying (Retry(total=7, connect=2, read=0, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ffec6847d10>: Failed to establish a new connection: [Errno -3] Try again')': /clients_api/session
2024-05-14 20:00:04.155 WARNING (SyncWorker_21) [urllib3.connectionpool] Retrying (Retry(total=6, connect=1, read=0, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ffec34cc410>: Failed to establish a new connection: [Errno -3] Try again')': /clients_api/session
2024-05-14 20:00:41.176 WARNING (SyncWorker_21) [urllib3.connectionpool] Retrying (Retry(total=5, connect=0, read=0, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ffec7bd5e20>: Failed to establish a new connection: [Errno -3] Try again')': /clients_api/session
2024-05-14 20:00:56.636 DEBUG (SyncWorker_1) [ring_doorbell.ring] url: /clients_api/session
method: POST
json: {'device': {'hardware_id': '********-****-****-****-************', 'metadata': {'api_version': '11', 'device_model': 'ring-doorbell:HomeAssistant/2024.5.1'}, 'os': 'android'}}
data: None
 extra_params: None
2024-05-14 20:01:01.655 WARNING (SyncWorker_1) [urllib3.connectionpool] Retrying (Retry(total=9, connect=4, read=0, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ffec66abbf0>: Failed to establish a new connection: [Errno -3] Try again')': /clients_api/session
2024-05-14 20:01:10.697 WARNING (SyncWorker_1) [urllib3.connectionpool] Retrying (Retry(total=8, connect=3, read=0, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ffec1e90350>: Failed to establish a new connection: [Errno -3] Try again')': /clients_api/session
2024-05-14 20:01:23.718 WARNING (SyncWorker_1) [urllib3.connectionpool] Retrying (Retry(total=7, connect=2, read=0, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ffec2d0d070>: Failed to establish a new connection: [Errno -3] Try again')': /clients_api/session
2024-05-14 20:01:44.739 WARNING (SyncWorker_1) [urllib3.connectionpool] Retrying (Retry(total=6, connect=1, read=0, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ffec36fb320>: Failed to establish a new connection: [Errno -3] Try again')': /clients_api/session
2024-05-14 20:02:21.756 WARNING (SyncWorker_1) [urllib3.connectionpool] Retrying (Retry(total=5, connect=0, read=0, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ffec64116a0>: Failed to establish a new connection: [Errno -3] Try again')': /clients_api/session
2024-05-14 20:02:26.773 DEBUG (MainThread) [homeassistant.components.ring.coordinator] Finished fetching devices data in 90.136 seconds (success: False)
2024-05-14 20:02:46.996 DEBUG (SyncWorker_32) [ring_doorbell.ring] url: /clients_api/session
method: POST
json: {'device': {'hardware_id': '********-****-****-****-************', 'metadata': {'api_version': '11', 'device_model': 'ring-doorbell:HomeAssistant/2024.5.1'}, 'os': 'android'}}
data: None
 extra_params: None
2024-05-14 20:02:52.016 WARNING (SyncWorker_32) [urllib3.connectionpool] Retrying (Retry(total=9, connect=4, read=0, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ffedcd4dfa0>: Failed to establish a new connection: [Errno -3] Try again')': /clients_api/session
2024-05-14 20:03:01.056 WARNING (SyncWorker_32) [urllib3.connectionpool] Retrying (Retry(total=8, connect=3, read=0, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ffec2fef860>: Failed to establish a new connection: [Errno -3] Try again')': /clients_api/session
2024-05-14 20:03:14.083 WARNING (SyncWorker_32) [urllib3.connectionpool] Retrying (Retry(total=7, connect=2, read=0, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ffec2fe0830>: Failed to establish a new connection: [Errno -3] Try again')': /clients_api/session
2024-05-14 20:03:35.106 WARNING (SyncWorker_32) [urllib3.connectionpool] Retrying (Retry(total=6, connect=1, read=0, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ffec2fe07a0>: Failed to establish a new connection: [Errno -3] Try again')': /clients_api/session

Additional information

No response

home-assistant[bot] commented 2 months ago

Hey there @sdb9696, mind taking a look at this issue as it has been labeled with an integration (ring) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `ring` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign ring` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


ring documentation ring source (message by IssueLinks)