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

Torch Object Storage

Copy page
Download PDF
11-MIRROR
0011-00000026
Copy page
Download PDF
0011-00000026
Problem description​
Mirror origin configuration is invalid.​
Root cause​
When setting the bucket mirror origin rule, if the FixedEndpoint field is set to true, but the RedirectType field is not set to Async, it causes a request error.​
Example​
When configuring the bucket mirror origin, if the FixedEndpoint field is set to true, but the RedirectType field is not set to Async.​
​
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":{​
"RedirectType": "Mirror",​
"PublicSource":{ ​
"FixedEndpoint": true,​
"SourceEndpoint":{ ​
"Primary":["http://abc.123/"]​
}​
},​
"PassQuery": true, ​
"MirrorHeader":{"PassAll": true}​
}​
}]​
}​
​
Solution​
Make sure that when the FixedEndpoint field is set to true, the RedirectType field is set to Async.​
Last updated: 2025.10.11 17:59:21