iCloud China Support
Closed this issue · 7 comments
Checklist before opening an issue
- Tried the sync a couple of times and the issue is persisting
- Checked out known issues
- Enabled crash and error reporting
Describe the bug
hello, I'm from China,
Using iCloud in China will have another domain name https://www.icloud.com.cn
If you use https://www.icloud.com directly, a 302 error will occur
I try to directly modify the domain name in the source code constants.ts
, it can work normally after modification
icloud-photos-sync/app/src/lib/icloud/constants.ts
Lines 46 to 51 in f895d9a
Error code
Share the Error Code generated upon the crash
Experienced fatal error at 2023/7/8 04:15:47: APP_SYNC (FATAL): Sync failed caused by AUTH_FAILED (FATAL): iCloud Authentication failed caused by AUTH_ACCOUNT_SETUP (FATAL): Unable to setup iCloud Account caused by Request failed with status code 302 (Error Code: 9d68a789-8bfb-40cf-982a-5032f67b4a9c)
Logs
Please paste the log file (preferably with LOG_LEVEL=debug
), located in .icloud-photos-sync.log
, stored in the DATA_DIR
.
Operating environment
- OS: [e.g. Debian 10]
- Version: [e.g. 1.0.0]
- Execution environment: [e.g. docker]
Maybe add an option to modify this parameter
As I don't have access to a Chinese iCloud account, I would need someone from China implementing this feature - no way for me to test or validate.
Happy to point in the right directions, but this would be a feature that needs to be supplied by the community with access to this.
This issue should be resolved with version v1.2.1-beta.1, please confirm.
@Sowevo since I don't have an iCloud China account - could you please try and confirm by setting --region china
/ REGION="china"
?
@Sowevo since I don't have an iCloud China account - could you please try and confirm by setting
--region china
/REGION="china"
?
After my try, this option works fine, thank you very much
Awesome, thanks for confirming - closing this issue.
This issue was resolved with version v1.3.0.