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

Torch Object Storage

Copy page
Download PDF
11-MIRROR
0011-00000025
Copy page
Download PDF
0011-00000025
Problem description​
Illegal mirror origin configuration.​
Root cause​
When users set bucket mirror origin rules, both the FixedEndpoint and FetchSourceOnRedirect fields are set to true, causing request errors.​
Example​
When configuring bucket mirror origin, both the FixedEndpoint and FetchSourceOnRedirect fields are set to true.​
​
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":{​
"FetchSourceOnRedirect": true,​
"PublicSource":{​
"FixedEndpoint": true,​
"SourceEndpoint":{ ​
"Primary":["http://abc.123/"]​
}​
},​
"PassQuery": true, ​
"MirrorHeader":{"PassAll": true}​
}​
}]​
}​
​
Solution​
Ensure that when the FixedEndpoint field is set to true, the FetchSourceOnRedirect field is set to false.​
Last updated: 2025.10.11 17:59:21