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

Torch Object Storage

Copy page
Download PDF
11-MIRROR
0011-00000027
Copy page
Download PDF
0011-00000027
Problem description​
Invalid mirror origin configuration.​
Root cause​
When setting the bucket mirror origin rule, the length of the FetchHeaderToMetaDataRules array in the Redirect configuration exceeds 10.​
Example​
When configuring bucket mirror origin, the length of the FetchHeaderToMetaDataRules array in the Redirect configuration exceeds 10.​
​
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​
},​
"Redirect":{​
"PublicSource":{ ​
"SourceEndpoint":{ ​
"Primary":["http://abc.123/"]​
}​
},​
"PassQuery": true, ​
"MirrorHeader":{"PassAll": true},​
"FetchHeaderToMetaDataRules": [...11 elements are omitted here...]​
}​
}]​
}​
​
Solution​
Ensure the length of the FetchHeaderToMetaDataRules array in the Redirect configuration is less than 10.​
Last updated: 2025.10.11 17:59:20