You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firewall was not the problem. Alibaba CLI's endpoint is fixed to Chinese endpoint and is blocked when used for international resources.
This solved My problem aliyun slb DescribeAvailableResource --region ap-southeast-1 --RegionId 'ap-southeast-1' --endpoint slb-vpc.ap-southeast-1.aliyuncs.com
Command Format:
aliyun slb DescribeAvailableResource --region ap-southeast-1 --RegionId 'ap-southeast-1'
(basically all format)
Execution Command:
export DEBUG=sdk
aliyun slb DescribeAvailableResource --region ap-southeast-1 --RegionId 'ap-southeast-1'
(basically all commands fail)
Output:
Retry Times: 0.
< HTTP/1.1 200 OK
< Access-Control-Allow-Origin: *
< Access-Control-Expose-Headers: *
< X-Acs-Trace-Id: 21261bae72a7e3b593933daf2081a9a8
< Content-Length: 243
< Connection: keep-alive
< Keep-Alive: timeout=25
< Etag: 2uYNtZQOicMqms2j0NMN+ZQ3
< Date: Fri, 22 Dec 2023 08:34:03 GMT
< Content-Type: application/json;charset=utf-8
< X-Acs-Request-Id: 8E327048-669E-3F9A-A2DD-3D76B52BC7E5
<
{"Endpoints":{"Endpoint":[{"Type":"openAPI","Protocols":{"Protocols":["HTTP","HTTPS"]},"Endpoint":"slb.aliyuncs.com","Id":"ap-southeast-1","SerivceCode":"slb","Namespace":""}]},"RequestId":"8E327048-669E-3F9A-A2DD-3D76B52BC7E5","Success":true}
resolve endpoint with {"Domain":"","Product":"Slb","RegionId":"ap-southeast-1","LocationProduct":"slb","LocationEndpointType":"openAPI"}
Retry Times: 0.
<
Error: Post "http://slb.aliyuncs.com/?AccessKeyId=[mask]&Action=DescribeAvailableResource&Format=JSON&RegionId=ap-southeast-1&Signature=[mask]&SignatureMethod=HMAC-SHA1&SignatureNonce=[mask]&SignatureType=&SignatureVersion=1.0&Timestamp=2023-12-22T08%3A34%3A03Z&Version=2014-05-15": EOF.
ERROR: Post "http://slb.aliyuncs.com/?AccessKeyId=[mask]&Action=DescribeAvailableResource&Format=JSON&RegionId=ap-southeast-1&Signature=[mask]&SignatureMethod=HMAC-SHA1&SignatureNonce=[mask]&SignatureType=&SignatureVersion=1.0&Timestamp=2023-12-22T08%3A34%3A03Z&Version=2014-05-15": EOF
aliyun version 3.0.189
[bpimanager@louis temp]$ cat /etc/os-release
NAME="Alibaba Cloud Linux"
VERSION="3 (Soaring Falcon)"
ID="alinux"
ID_LIKE="rhel fedora centos anolis"
VERSION_ID="3"
PLATFORM_ID="platform:al8"
PRETTY_NAME="Alibaba Cloud Linux 3 (Soaring Falcon)"
ANSI_COLOR="0;31"
HOME_URL="https://www.aliyun.com/"
[bpimanager@louis temp]$ bash -version
GNU bash, version 4.4.20(1)-release (x86_64-koji-linux-gnu)
The text was updated successfully, but these errors were encountered: