-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I encountered an error when entering the verification code in Home Assistant 2023.8.3 #194
Comments
Are you in China. If so, Apple has a different location server address. You may need to edit the iCloud3 configuration file. File: /config/.storage/icloud3/``` "data": {
|
Yes, I am in China. I followed your instructions and modified the configuration, but unfortunately, it did not work and the error is still the same. 2023-09-03.21.40.16.mov |
I will need the `/config/icloud3-0.log, file to see the cause of the error.
I get the country code from HA. If it is cn, .cn is added to the the Apple iCloud web site address end point. I want to see if the verification code entry is failing because the web site is wrong. |
TRY THIS FIRST BEFORE DOING THE ABOVE Edit ‘/config/icloud3/support/pyicloud_ic3.py’. Change line 403 to: Lines 401 and 402 have the url_suffix. Line 403 does not. Save the file and restart HA. Then retry the verification code entry. |
2023-09-04 00:07:02 [init....:0136] iCloud3 v3.0pr1, Log File: 2023-09-04 00:07:02
2023-09-04 00:07:11 [start_ic3_co:0166] STAGE 3 > Stage 3 > Prepare Configured Devices |
I didn’t see any error messages in the above Log.
|
I have modified the code according to your instructions.
When I selected "save" and clicked on submit, I received a verification code from Apple. However, the page still showed "iCloud Account Login Failed, Invalid Username or Password" and did not redirect to another page. |
The LOGIN line indicates you are logged into username-72……., password-Cc…….. The error message may be wrong. |
The text was updated successfully, but these errors were encountered: