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

Torch Object Storage

Copy page
Download PDF
11-MIRROR
0011-00000015
Copy page
Download PDF
0011-00000015
Problem description​
Illegal mirror origin configuration.​
Root cause​
When the user sets a bucket mirror origin rule, the Primary array element's value length in the Redirect configuration exceeds 255.​
Example​
When configuring the bucket mirror origin, the Primary array element's value length in the Redirect configuration exceeds 255.​
​
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":["https://abc..255 characters omitted here..com"]​
}​
},​
"PassQuery":true,​
"FollowRedirect":true,​
"MirrorHeader":{"PassAll":true}​
}​
}]​
}​
​
Solution​
Ensure the Primary array elements in the Redirect configuration are valid.​
Last updated: 2025.10.11 17:59:20