Authentication failed because China mainland account migated to icloud.com.cn instead of icloud.com(with solution)
See original GitHub issueHi,
Suddenly, this great tool stop working since 18/Nov, I didn’t touch anything on the server running it. I didn’t change my icloud password as well!
I installed it in Ubuntu, with Python 3.8.10. Anyone can help me? I really love this tool.
Error message are:
2021-11-20 15:02:31 DEBUG Authenticating...
Traceback (most recent call last):
File "/usr/local/bin/icloudpd", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/icloudpd/base.py", line 255, in main
icloud = authenticate(
File "/usr/local/lib/python3.8/dist-packages/icloudpd/authentication.py", line 29, in authenticate
icloud = pyicloud_ipd.PyiCloudService(
File "/usr/local/lib/python3.8/dist-packages/pyicloud_ipd/base.py", line 193, in __init__
self.authenticate()
File "/usr/local/lib/python3.8/dist-packages/pyicloud_ipd/base.py", line 219, in authenticate
self.params.update({'dsid': resp['dsInfo']['dsid']})
KeyError: 'dsInfo'
Issue Analytics
- State:
- Created 2 years ago
- Reactions:7
- Comments:44 (1 by maintainers)
Top Results From Across the Web
Learn more about iCloud in China mainland - Apple Support
Learn about the changes to iCloud services in China mainland. iCloud in China mainland is operated by GCBD (AIPO Cloud (Guizhou) Technology Co....
Read more >Apple's China iCloud data migration sweeps up ... - TechCrunch
Apple's plan to migrate China-based iCloud user accounts to a local host on Chinese soil is already running into controversy after the ......
Read more >How do I migrate an expired Mobile Me account to iCloud?
Have you verified your account and password are still OK at appleid.apple.com - that site is very, very busy at the moment. You...
Read more >International User Accounts Swept Up in Chinese iCloud Data ...
Apple's announcement on Wednesday that its iCloud services in mainland China will be handed over to a Chinese company has already run into ......
Read more >Error Connecting Apple ID, Verification Failed. How-To Fix
connect via wifi · Go to Settings >iCloud · Click on your account · Generate a verification code from another Apple device that...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
update the file : site-packages/pyicloud_ipd/base.py
find the keywords icloud.com, there are only 2 lines, replace it with the icloud.com.cn. it should get back
–env icloud_china=True \