Challenge
When you upload or download an OSS file during the use of Alibaba Cloud Object Storage Service (OSS), a "OSS Transfer Acceleration is not configured on this bucket" error is displayed.
Cause
The causes of the error are as follows:
- The bucket that you use is not configured with transfer acceleration, but uses the transfer acceleration URL of the bucket.
- The error message returned because the endpoint address is incorrect.
Modification method
Perform the following check operations based on actual business scenarios:
- Transfer acceleration is enabled: Check whether the configured endpoints are correct in the following scenarios. If the domain name is a non-accelerated domain name, change it to the accelerated domain name.
Note
Note: Do not add a bucket name in front of the corresponding accelerated domain name.
-
- Global accelerate endpoint:
oss-accelerate.aliyuncs.com
. Transfer acceleration access points are distributed across the world. You can use this endpoint to accelerate data transfer for buckets in all regions. - Accelerate endpoint of regions outside mainland China:
oss-accelerate-overseas.aliyuncs.com
. Transfer acceleration access points are distributed across regions outside mainland China. This endpoint can be used to accelerate data transfer across buckets in the China (Hong Kong) region and regions outside mainland China.
- Global accelerate endpoint:
-
- Transfer acceleration is not enabled:
- For more information about how to enable transfer acceleration, see Enable transfer acceleration.
Note
Note: After you enable transfer acceleration, it takes effect within 30 minutes.
- If you do not need to enable transfer acceleration: Check whether the endpoint uses the accelerated endpoint address
oss-accelerate.aliyuncs.com
. If you set an accelerated domain name, change it to a non-accelerated domain name.
- For more information about how to enable transfer acceleration, see Enable transfer acceleration.
Applicable scope
- Object Storage Service (OSS)