Add iCloud GCBD (China Mainland) Option in iCloud Drive backend
Open
Nobody has claimed this yet.
enhancement
help wanted
Remote: iCloud Drive
- Dominant language
- Go
- Stars
- 59.9k
- Forks
- 5.4k
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 48
Description
> Hi, I got these when using a Apple ID (cn)
NOTICE: Fatal error: HTTP error 302 (302 Found) returned body: "{\"domainToUse\":\"iCloud.com.cn\"}" CRITICAL: Failed to create file system for "iCloud:": missing icloud trust token: try refreshing it with "rclone config reconnect iCloud:"Any progress?
china right? not supported right now (china uses a different server)
could you create an issue for this? will add it soon
Originally posted by @lostb1t in https://github.com/rclone/rclone/issues/7717#issuecomment-2555260059
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the iCloud Drive backend and its trust-token refresh flow, using the reported rclone config reconnect iCloud: command and the 302 response as entry points. Compare the existing server handling with the China Mainland iCloud.com.cn response; done means Apple ID accounts in that region can authenticate and use the backend without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100