Skip to content

Repeated 2FA sign in requests for iCloud #36120

@maciekish

Description

@maciekish

The problem

I'm suddenly getting a lot of sign in requests on my phone and watch. If i shut down HA, they stop. As soon as i restart it i get them again. The integration appears to still be working though! I set it up about two months ago, so i thought the cookie expired but there is no notification in HA to reauthenticate. I even tried removing the cookie manually, and even logging in to a new session on my PC and transferring that cookie. Also tried removing the integration, re-adding it and re-authenticated with SMS. Still getting the sign in requests. Is there a bug perhaps?

Environment

  • Home Assistant Core release with the issue: 0.110.2 & 0.110.3
  • Last working Home Assistant Core release (if known): 0.109.x
  • Operating environment (Home Assistant/Supervised/Docker/venv): Docker using only Core
  • Integration causing this issue: iCloud
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/icloud/

Problem-relevant configuration.yaml

icloud:
  - username: !secret maciej_icloud_user
    password: !secret maciej_icloud
    with_family: true

Traceback/Error logs

homeassistant.components.icloud: debug

2020-05-26 14:58:16 INFO (SyncWorker_24) [homeassistant.loader] Loaded icloud from homeassistant.components.icloud
2020-05-26 14:58:22 DEBUG (SyncWorker_17) [homeassistant.components.icloud.account] Adding iCloud device: xxx Apple Watch [model: Watch3,2]
2020-05-26 14:58:23 DEBUG (SyncWorker_17) [homeassistant.components.icloud.account] Adding iCloud device: xxx iPad Pro [model: iPad8,7]
2020-05-26 14:58:24 DEBUG (SyncWorker_17) [homeassistant.components.icloud.account] Adding iCloud device: xxx EFB [model: iPad4,2]
2020-05-26 14:58:25 DEBUG (SyncWorker_17) [homeassistant.components.icloud.account] Adding iCloud device: xxxiPhone [model: iPhone12,5]
2020-05-26 14:58:26 DEBUG (SyncWorker_17) [homeassistant.components.icloud.account] Adding iCloud device: Apple Watch (xxx) [model: Watch3,3]
2020-05-26 14:58:27 DEBUG (SyncWorker_17) [homeassistant.components.icloud.account] Adding iCloud device: iPad (2) [model: iPad6,8]
2020-05-26 14:58:28 DEBUG (SyncWorker_17) [homeassistant.components.icloud.account] Adding iCloud device: iPhone (xxx) [model: iPhone11,6]

Additional information

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions