aliyungo icon indicating copy to clipboard operation
aliyungo copied to clipboard

Location service can't get pvtz's endpoint in cn-beijing

Open devkanro opened this issue 5 years ago • 0 comments

I found location service can't work fine with region cn-beijing and pvtz service.

There are some log for it

I0325 14:19:34.714201   19032 logs.go:41] Invoke GET https://location.aliyuncs.com?Action=DescribeEndpoints&Format=JSON&Id=cn-beijing&ServiceCode=pvtz&SignatureMethod=HMAC-SHA1&SignatureVersion=1.0&Timestamp=2019-03-25T06%3A19%3A34Z&Type=openAPI&Version=2015-06-12 404 (167.1761ms)
I0325 14:19:34.715204   19032 logs.go:41] {
    "RequestId": "BEB7B178-473D-4E0F-A27C-F8B7E6ABA5ED",
    "HostId": "location.aliyuncs.com",
    "Code": "InvalidRegionId",
    "Message": "The specified region does not exist."
}

When I change region to cn-hangzhou, it can works. I think that aliyun private zone only works with region cn-hangzhou. Should we disable use localtion service to find endpoint for pvtz service?

devkanro avatar Mar 25 '19 06:03 devkanro