Hello,
Depuis un mois, sans qu’il n’y ait eu ni changement de mot de passe coté icloud, ni mise a jour du plugin, je n’arrive plus a mettre les infos (de localisation ni rien d’autre) à jour sur mes iDevices.
Pourtoant, les fichiers de cockies semblent bien se créer.
Dans le doute, j’ai relancé l’authentification et ressaisi un code d’authent, mais chaque fois que je lance un refresh, l’iphone me redemande une authorisation et me refournis un code.
Les logs en debug ci-dessous.
Merci d’avance.
0147|[2022-11-21 16:35:49]DEBUG : Authentication completed successfully
0148|[2022-11-21 16:35:49]DEBUG : Two-factor authentication required.
0149|[2022-11-21 16:36:04]DEBUG : Send to test to jeedom
0150|[2022-11-21 16:36:04]DEBUG : Send to jeedom : {'action': 'auth', 'infos': '{"id": "808"}'}
0151|[2022-11-21 16:36:04]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
0152|[2022-11-21 16:36:04]DEBUG : 808
0153|[2022-11-21 16:36:04]DEBUG : http://127.0.0.1:80 "POST /plugins/ioscloud/core/php/ioscloud.php?apikey=xxxxx
HTTP/1.1" 200 36
0154|[2022-11-21 16:36:04]DEBUG : Status Code : 200
0155|[2022-11-21 16:36:04]DEBUG : Jeedom reply : {'success': True, 'value': '479597'}
0156|[2022-11-21 16:36:04]DEBUG : POST https://idmsa.apple.com/appleauth/auth/verify/trusteddevice/securitycode {"securityCode": {"code": "479597"}}
0157|[2022-11-21 16:36:04]DEBUG : https://idmsa.apple.com:443 "POST /appleauth/auth/verify/trusteddevice/securitycode HTTP/1.1" 423 None
0158|[2022-11-21 16:36:04]DEBUG : Saved session data to file
0159|[2022-11-21 16:36:04]DEBUG : Cookies saved to /var/www/html/plugins/ioscloud/resources/ioscloud/pyicloud/808/xxxxx
0160|[2022-11-21 16:36:04]DEBUG : {'trustedDeviceCount': 3, 'securityCode': {'code': '479597', 'tooManyCodesSent': False, 'tooManyCodesValidated': False, 'securityCodeLocked': True, 'securityCodeCooldown': False}, 'phoneNumberVerification': {'trustedPhoneNumbers': [{'numberWithDialCode': '+33 •• •• •• •• 10', 'pushMode': 'sms', 'obfuscatedNumber': '•• •• •• •• 10', 'lastTwoDigits': '10', 'id': 1}], 'securityCode': {'length': 6, 'tooManyCodesSent': False, 'tooManyCodesValidated': False, 'securityCodeLocked': False, 'securityCodeCooldown': False}, 'authenticationType': 'hsa2', 'recoveryUrl': 'https://iforgot.apple.com/phone/add?prs_account_nm=evelyne.wehrle%40icloud.com&autoSubmitAccount=true&appId=142', 'cantUsePhoneNumberUrl': 'https://iforgot.apple.com/iforgot/phone/add?context=cantuse&prs_account_nm=evelyne.wehrle%40icloud.com&autoSubmitAccount=true&appId=142', 'recoveryWebUrl': 'https://iforgot.apple.com/password/verify/appleid?prs_account_nm=evelyne.wehrle%40icloud.com&autoSubmitAccount=true&appId=142', 'repairPhoneNumberUrl': 'https://gsa.apple.com/appleid/account/manage/repair/verify/phone', 'repairPhoneNumberWebUrl': 'https://appleid.apple.com/widget/account/repair?#!repair', 'aboutTwoFactorAuthenticationUrl': 'https://support.apple.com/kb/HT204921', 'autoVerified': False, 'showAutoVerificationUI': False, 'supportsCustodianRecovery': False, 'hideSendSMSCodeOption': False, 'supervisedChangePasswordFlow': False, 'supportsRecovery': True, 'managedAccount': False, 'trustedPhoneNumber': {'numberWithDialCode': '+33 •• •• •• •• 10', 'pushMode': 'sms', 'obfuscatedNumber': '•• •• •• •• 10', 'lastTwoDigits': '10', 'id': 1}, 'hsa2Account': True, 'restrictedAccount': False}, 'aboutTwoFactorAuthenticationUrl': 'https://support.apple.com/kb/HT204921'}
0161|[2022-11-21 16:36:04]DEBUG : Code verification successful.
0162|[2022-11-21 16:36:04]DEBUG : GET https://idmsa.apple.com/appleauth/auth/2sv/trust
0163|[2022-11-21 16:36:04]DEBUG : https://idmsa.apple.com:443 "GET /appleauth/auth/2sv/trust HTTP/1.1" 302 None
0164|[2022-11-21 16:36:04]DEBUG : Starting new HTTP connection (1): www.apple.com:80
0165|[2022-11-21 16:36:05]DEBUG : http://www.apple.com:80 "GET /filenotfound HTTP/1.1" 301 0
0166|[2022-11-21 16:36:05]DEBUG : Starting new HTTPS connection (1): www.apple.com:443
0167|[2022-11-21 16:36:05]DEBUG : https://www.apple.com:443 "GET /filenotfound HTTP/1.1" 404 6828
0168|[2022-11-21 16:36:05]DEBUG : Saved session data to file
0169|[2022-11-21 16:36:05]DEBUG : Cookies saved to /var/www/html/plugins/ioscloud/resources/ioscloud/pyicloud/808/xxxxxx
0170|[2022-11-21 16:36:05]ERROR : Not Found (404)
0171|[2022-11-21 16:36:05]ERROR : Session trust failed.
0172|[2022-11-21 16:36:05]DEBUG : Code validation result: False
0173|[2022-11-21 16:36:05]DEBUG : Failed to verify security code