You need to enable JavaScript to run this app.
Torch Object Storage

Torch Object Storage

Copy page
Download PDF
11-MIRROR
0011-00000011
Copy page
Download PDF
0011-00000011
Problem description​
Illegal mirror origin configuration.​
Root cause​
When the user sets the bucket mirror origin rule, the length of the Remove array in the MirrorHeader configuration exceeds 64.​
Example​
When configuring bucket mirror origin, the length of the Remove array in the MirrorHeader configuration exceeds 64.​
​
PUT /?mirror HTTP/1.1​
Host: <Bucket name>.<TOS endpoint>​
Date: Fri, 30 Jul 2021 13:59:18 GMT​
Authorization: authorization xxx​
​
{​
"Rules":[{​
"ID":"1",​
"Condition":{​
"HttpCode":404,​
"KeySuffix":"object-key-prefix"​
},​
"Redirect":{​
"PublicSource":{​
"SourceEndpoint":{​
"Primary":["http://abc.123/"]​
}​
},​
"PassQuery":true,​
"FollowRedirect":true,​
"MirrorHeader":{"Remove":[...65 elements are omitted here...]}​
}​
}]​
}​
​
Solution​
Ensure the length of the Remove array in the MirrorHeader configuration does not exceed 64.​
Last updated: 2025.10.11 17:59:20