ping COS domain name
For example:
ping examplebucket-1250000000.cos.ap-beijing.mqcloud.com
Check whether a proxy is enabled in the browser (with Chrome as an example).
Open Chrome and click > Settings in the top-right corner.
Click Advanced. On the System page, click Open your computer's proxy settings to open the configuration window of your OS.
Check whether a proxy is enabled.
Check whether your Wi-Fi router limits the speed.
coscmd probe -n 1 -s 20
A message similar to the following will be displayed, from which you can get the average, min, and max speeds:
5. Visit Speed Test to test the speed. Then, compare the tested speed with the data obtained in step 4 to determine whether the client has used the maximum bandwidth.
If so, contact us.
Common COS domain names are as follows:
XXX.cos.ap-beijing.myqcloud.com (default COS domain name)
XXX.cos.accelerate.myqcloud.com (COS global acceleration domain name)
XXX.cos-website.ap-beijing.myqcloud.com (COS static website domain name)
XXX.picbj.myqcloud.com (COS' default CI domain name)
If not, proceed to step 2.
Common non-COS domain names are as follows:
XXX.file.myqcloud.com or XXX.cdn.dnsv1.com (Tencent Cloud CDN's default domain names)
XXX.w.kunlungr.com (Alibaba Cloud CDN's default domain name)
upload.mydomain.com cname XXX.cos.ap-beijing.myqcloud.com
. For detailed directions, see Enabling Custom Origin Domains.CosXmlConfig config = new CosXmlConfig.Builder()
.SetConnectionTimeoutMs(60000) // Set the connection timeout period in milliseconds, which is 45,000 ms by default.
.SetReadWriteTimeoutMs(40000) // Set the read/write timeout period in milliseconds, which is 45,000 ms by default.
.IsHttps(true) // Set HTTPS as the default request method.
.SetAppid(appid) // Set the APPID of your Tencent Cloud account
.SetRegion(region) // Set the default bucket region.
.SetHost("XXXXXX.com") // Enter the custom domain name.
.SetDebugLog(true) .Build(); // Create the CosXmlConfig object.
For more information on how to call other SDKs, see SDK Overview.
Was this page helpful?