gcobb321 / icloud3_v3

iCloud3 v3, Development Version - This Repo/Version is used for development and testing of new and updated features. It is not the official release of iCloud3 v3, .
MIT License
169 stars 13 forks source link

Error logging into iCloud service #348

Open asinwang opened 2 weeks ago

asinwang commented 2 weeks ago

icloud CN Error

2024-11-04 22:19:28.303 DEBUG (MainThread) [custom_components.icloud3] [config_flow.:4375] CONFIG Show Form-menu_0, Errors-{'base': 'icloud_acct_not_logged_into'} 2024-11-04 22:19:30.922 DEBUG (MainThread) [custom_components.icloud3] [config_flow.:4375] CONFIG Show Form-icloud_account, Errors-{'base': 'icloud_acct_data_source_warning'} 2024-11-04 22:19:34.730 DEBUG (MainThread) [custom_components.icloud3] [config_flow.:2242] CONFIG icloud_account (login_icloud_account) > UserInput-{'data_source_icloud': [], 'username': 'xx.......@gm.......', 'password': 'xxxx', 'url_suffix_china': True, 'data_source_mobapp': ['mobapp'], 'endpoint_suffix': 'cn', 'data_source': 'mobapp'}, Errors-None 2024-11-04 22:19:34.769 DEBUG (MainThread) [custom_components.icloud3] [config_flow.:2488] CONFIG Logging into iCloud Acct > UserInput-{'data_source_icloud': ['famshr'], 'username': xxx', 'password': 'xxxx, 'url_suffix_china': True, 'data_source_mobapp': ['mobapp'], 'endpoint_suffix': 'cn', 'data_source': 'famshr, mobapp'}, Errors-{}, Step-icloud_account, CalledFrom-icloud_account 2024-11-04 22:19:34.802 DEBUG (MainThread) [custom_components.icloud3] [config_flow.:2527] CONFIG Configure Settings > Logging into iCloud Account, • iCloud Account Currently Used > • New iCloud Account > xxx.......@gm......., AppleServerURLSuffix-cn 2024-11-04 22:19:34.805 DEBUG (SyncWorker_9) [custom_components.icloud3] [pyicloud_ic3:0943] CONFIG ❗iCloud Web Server URL Country Suffix > .cn 2024-11-04 22:19:34.807 DEBUG (SyncWorker_9) [custom_components.icloud3] [pyicloud_ic3:0536] CONFIG ❗Initialize PyiCloud Service, establish iCloud Location Services connection 2024-11-04 22:19:34.810 DEBUG (SyncWorker_9) [custom_components.icloud3] [pyicloud_ic3:0927] CONFIG ❗Read Cookies from /config/.storage/icloud/xxxxgmailcom 2024-11-04 22:19:34.814 DEBUG (SyncWorker_9) [custom_components.icloud3] [pyicloud_ic3:0494] CONFIG ❗AUTHENTICATING iCloud Account Access, (xxx.......@gm.......), config 2024-11-04 22:19:34.816 DEBUG (SyncWorker_9) [custom_components.icloud3] [pyicloud_ic3:0618] CONFIG ❗Authenticating account (xxx......@gm.......) with token, iCloudServerCountrySuffix-'.cn' 2024-11-04 22:19:34.977 DEBUG (SyncWorker_9) [custom_components.icloud3] [pyicloud_ic3:0689] CONFIG ❗PyiCloudAPIResponseException.authenticate_with_token > Token is not valid, error-Missing apple_id field, 2fa Needed-False 2024-11-04 22:19:35.925 DEBUG (SyncWorker_9) [custom_components.icloud3] [pyicloud_ic3:0737] ------ ❗PyiCloudAPIResponseException.authenticate_with_password > Password is not valid, Error-Could not connect to iCloud Location Servers (Error Code 503), 2fa Needed-False 2024-11-04 22:19:35.925 ERROR (MainThread) [icloud3-cf] Error logging into iCloud service: 2024-11-04 22:19:35.963 DEBUG (MainThread) [custom_components.icloud3] [config_flow.:4375] ------ Show Form-icloud_account, Errors-{'base': 'icloud_acct_login_error_other'} 2024-11-04 22:19:36.004 DEBUG (MainThread) [custom_components.icloud3] [config_flow.:4375] ------ Show Form-icloud_account, Errors-{'base': 'icloud_acct_login_error_other'}

image

version:3.0.5.9

gcobb321 commented 2 weeks ago

Apple changed the login process for password verification. I have just released v3.1 to support this new method. See the release notes here