rclone / rclone/rclone

Add iCloud GCBD (China Mainland) Option in iCloud Drive backend

Open
#8,257 17 comments 2 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.