Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

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

@devkanro

Description

@devkanro

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions