0025-00000004

更新时间:
复制 MD 格式

Problem description

The domain name used in the request to OSS on CloudBox is incorrect.

Causes

You initiated a PutObject request that is related to OSS deployed in CloudBox, but the domain name in the request is invalid.

Examples

In the following example, the control domain name cb-f8z7yvzgwfkl9q0h****.cn-shenzhen.oss-cloudbox-control.aliyuncs.com is used to initiate a PutObject request.

PUT /test.txt HTTP/1.1
Host: cb-f8z7yvzgwfkl9q0h****.cn-shenzhen.oss-cloudbox-control.aliyuncs.com
Date: GMT Date
Authorization: SignatureValue
[data data]

Solutions

Replace the control domain name in the preceding request with the data domain name cb-f8z7yvzgwfkl9q0h****.cn-shenzhen.oss-cloudbox.aliyuncs.com.

If you use OSS deployed in CloudBox to access CloudBox buckets over virtual private clouds (VPCs), access domain names are classified into control domain names and data domain names.

  • Control domain name

    A control endpoint is used exclusively for OSS on CloudBox bucket-level operations. It uses the format <Cloudbox-Id>.<Region>.oss-cloudbox-control.aliyuncs.com. An example is cb-f8z7yvzgwfkl9q0h****.cn-shenzhen.oss-cloudbox-control.aliyuncs.com. For a list of supported APIs, see List of APIs supported by the control endpoint.

  • Data endpoints are used for operations on OSS on CloudBox buckets and the objects within them. The format of a data endpoint is <Cloudbox-Id>.<Region>.oss-cloudbox.aliyuncs.com. For example: cb-f8z7yvzgwfkl9q0h****.cn-shenzhen.oss-cloudbox.aliyuncs.com. For more information about the API operations that are supported by data endpoints, see API operations supported by data endpoints.

References

What is OSS deployed in CloudBox?