core icon indicating copy to clipboard operation
core copied to clipboard

iCloud integration stopped working (due to Apple SRP-6a implementation)

Open crazyelectron-io opened this issue 1 year ago • 145 comments

The problem

The iCloud integration fix recently merged to support App Passwords relies on a one-time login with the 'regular' password and MFA prompt. However, Apple has updated their side and now require Secure Remote Password protocol which is currently not supported by PyiCloud. As a result the iCloud integration no longer works. BTW, it is already reported in the PyiCloud repo.

I opened this issue because the App Password issue was closed when the mentioned fix was merged.

What version of Home Assistant Core has the issue?

core-2024.10.3

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

iCloud

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

crazyelectron-io avatar Oct 20 '24 08:10 crazyelectron-io

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

Code owner commands

Code owners of icloud 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 icloud 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)


icloud documentation icloud source (message by IssueLinks)

home-assistant[bot] avatar Oct 20 '24 08:10 home-assistant[bot]

follow

eddysteurs avatar Oct 20 '24 12:10 eddysteurs

having this issue as well - following

nstefanelli avatar Oct 20 '24 17:10 nstefanelli

Same. Following.

platterscratch avatar Oct 20 '24 17:10 platterscratch

same here

mdeuerlein avatar Oct 20 '24 19:10 mdeuerlein

same

RadDip avatar Oct 20 '24 19:10 RadDip

Just started getting this...

Logs show....

Logger: pyicloud.base Source: components/icloud/account.py:138 First occurred: 10:20:35 PM (2 occurrences) Last logged: 10:20:35 PM

Service Temporarily Unavailable (503) Authentication required for Account. (450)

GRClark avatar Oct 21 '24 02:10 GRClark

A reminder to everyone that GitHub does have a "subscribe" feature you can use to follow this issue, and if you add a 👍 to the original post there'll be an easy count of people experiencing the same issue 😄

RosemaryOrchard avatar Oct 21 '24 10:10 RosemaryOrchard

👍 Same issue

dbruynb avatar Oct 21 '24 10:10 dbruynb

stesso identico problema

voyagerft avatar Oct 21 '24 10:10 voyagerft

Same error! IMG_4239

HanyDaim avatar Oct 21 '24 11:10 HanyDaim

👍

FarleighRed avatar Oct 21 '24 13:10 FarleighRed

welp

slaygirlz avatar Oct 21 '24 13:10 slaygirlz

Same Problem

ProtossBlaster avatar Oct 21 '24 13:10 ProtossBlaster

To avoid excessive notifications for everyone subscribed, please do not comment if you have the same issue. The owner is already informed. Instead, consider liking the original post and subscribing to updates.

mzspicoli avatar Oct 21 '24 13:10 mzspicoli

Same issue here.

noahlishere avatar Oct 21 '24 19:10 noahlishere

I too am having this issue.

Whilst I know it is being worked on, is there a workaround as I have automations that rely on my Iphone and they do not currently work.

online-geek avatar Oct 21 '24 22:10 online-geek

👍

wwpjm06 avatar Oct 22 '24 04:10 wwpjm06

The problem is still present.

AJAX-domo avatar Oct 22 '24 07:10 AJAX-domo

Same problem. Reverting to 2024.10.1 did not fix it.

ArnoldGoat avatar Oct 22 '24 07:10 ArnoldGoat

Same issue

barbadaniele avatar Oct 22 '24 08:10 barbadaniele

Same problem. Reverting to 2024.10.1 did not fix it.

This is a change in iCloud’s authentication method, so reverting wouldn’t fix this.

The integration needs to be adjusted to be able to use apples new authentication mechanism.

mhjansen79 avatar Oct 22 '24 10:10 mhjansen79

same here

Genieplumb avatar Oct 22 '24 12:10 Genieplumb

Same. Core version 2024.10.2

jaimiejoey avatar Oct 22 '24 12:10 jaimiejoey

Same issue here -;(

maxkot75 avatar Oct 22 '24 15:10 maxkot75

Check the fix for pyicloud at https://github.com/picklepete/pyicloud/issues/456

for base.py

lizardclaw8 avatar Oct 22 '24 17:10 lizardclaw8

Same issue here -;(

DoWenzl94 avatar Oct 23 '24 09:10 DoWenzl94

same problem .. delete de app icloud reboot install the app works... but after restart... it gives the same error

nicokars avatar Oct 23 '24 09:10 nicokars

I have a working version via custom_component, @Quentame @nzapponi

icloud.zip

PaulCavill avatar Oct 23 '24 11:10 PaulCavill

Since I'm a toddler in this world, would you mind telling me how I can install this please?

Thanks a ton!

platterscratch avatar Oct 23 '24 12:10 platterscratch