You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2023-11-27 20:22:43 DEBUG Authenticating...
2023-11-27 20:22:46 INFO Two-step/two-factor authentication is required
2023-11-27 20:22:47 ERROR statusCode = UnknownServerError, IOException sending request https://accountservice.p00.prod.me.com:443/api/get_challenge_devices, accountservice.p00.prod.me.com.
Traceback (most recent call last):
File "starters/icloudpd.py", line 5, in
File "click/core.py", line 1157, in call
File "click/core.py", line 1078, in main
File "click/core.py", line 1434, in invoke
File "click/core.py", line 783, in invoke
File "icloudpd/base.py", line 317, in main
File "icloudpd/base.py", line 744, in core
File "icloudpd/authentication.py", line 48, in authenticate_
File "icloudpd/authentication.py", line 55, in request_2sa
File "pyicloud_ipd/base.py", line 266, in trusted_devices
File "requests/sessions.py", line 602, in get
File "pyicloud_ipd/base.py", line 105, in request
File "pyicloud_ipd/base.py", line 127, in _raise_error
pyicloud_ipd.exceptions.PyiCloudAPIResponseError: statusCode = UnknownServerError, IOException sending request https://accountservice.p00.prod.me.com:443/api/get_challenge_devices, accountservice.p00.prod.me.com.
[989430] Failed to execute script 'icloudpd' due to unhandled exception!
However the API invocation seems reached the endpoint, my iphone got a notification with 6-digit code.
Context
The text was updated successfully, but these errors were encountered:
Was icloudpd ever working for you or you are trying for the first time?
There are posts about icloudpd failing in mainland China for some and there are posts suggesting icloudpd working in mainland China for others. Until somebody debugs iCloud calls from that location, I have no idea how we can resolve the issue.
Was icloudpd ever working for you or you are trying for the first time?
There are posts about icloudpd failing in mainland China for some and there are posts suggesting icloudpd working in mainland China for others. Until somebody debugs iCloud calls from that location, I have no idea how we can resolve the issue.
Hi @AndreyNikiforov, thank you for your reply. I am just trying this project for the first time.
I do have read those threads but still a little bit curious about this one since it seems like the 2FA request is sent correctly.
I will try to debug it from my location here in China when I got time and see if there is any clue.
AndreyNikiforov
changed the title
For China region iCloud service, the 2 factor authentication fails.
[China] For China region iCloud service, the 2 factor authentication fails.
Dec 3, 2023
Overview
The 2 factor authentication fails due to "IOException sending request https://accountservice.p00.prod.me.com:443/api/get_challenge_devices, accountservice.p00.prod.me.com"
Steps to Reproduce
Expected Behavior
2FA correctly
Actual Behavior
2023-11-27 20:22:43 DEBUG Authenticating...
2023-11-27 20:22:46 INFO Two-step/two-factor authentication is required
2023-11-27 20:22:47 ERROR statusCode = UnknownServerError, IOException sending request https://accountservice.p00.prod.me.com:443/api/get_challenge_devices, accountservice.p00.prod.me.com.
Traceback (most recent call last):
File "starters/icloudpd.py", line 5, in
File "click/core.py", line 1157, in call
File "click/core.py", line 1078, in main
File "click/core.py", line 1434, in invoke
File "click/core.py", line 783, in invoke
File "icloudpd/base.py", line 317, in main
File "icloudpd/base.py", line 744, in core
File "icloudpd/authentication.py", line 48, in authenticate_
File "icloudpd/authentication.py", line 55, in request_2sa
File "pyicloud_ipd/base.py", line 266, in trusted_devices
File "requests/sessions.py", line 602, in get
File "pyicloud_ipd/base.py", line 105, in request
File "pyicloud_ipd/base.py", line 127, in _raise_error
pyicloud_ipd.exceptions.PyiCloudAPIResponseError: statusCode = UnknownServerError, IOException sending request https://accountservice.p00.prod.me.com:443/api/get_challenge_devices, accountservice.p00.prod.me.com.
[989430] Failed to execute script 'icloudpd' due to unhandled exception!
However the API invocation seems reached the endpoint, my iphone got a notification with 6-digit code.
Context
The text was updated successfully, but these errors were encountered: