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

Torch Object Storage

Copy page
Download PDF
11-MIRROR
0011-00000006
Copy page
Download PDF
0011-00000006
Problem description​
Illegal mirror origin configuration.​
Root cause​
When setting bucket mirror origin rules, the KeySuffix value length in the Condition configuration of a certain rule exceeds 512.​
Example​
You set an illegal KeySuffix value in the Condition configuration when configuring bucket mirror origin.​
​
PUT /?mirror HTTP/1.1​
Host: <Bucket name>.<TOS endpoint>​
Date: Fri, 30 Jul 2021 13:59:18 GMT​
Authorization: authorization xxx​
​
{​
"Rules":[{​
"ID":"xxx",​
"Condition":{​
"HttpCode":404,​
"KeySuffix":"...513 characters omitted..."​
},​
"Redirect":{​
"PublicSource":{​
"SourceEndpoint":{​
"Primary":["http://abc.123/"]​
}​
},​
"PassQuery":true,​
"FollowRedirect":true,​
"MirrorHeader":{"PassAll":true}​
}​
}]​
}​
​
Solution​
Ensure the KeySuffix value in the Condition configuration is valid.​
Last updated: 2025.10.11 17:59:21