ecr-public describe_repositories error #4383
Labels
bug
This issue is a confirmed bug.
ecr
p2
This is a standard priority issue
response-requested
Waiting on additional information or feedback.
Describe the bug
I just try to get some public ecr repo follow this doc: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ecr-public/client/describe_repositories.html
It return error:
botocore.exceptions.SSLError: SSL validation failed for https://api.ecr-public.ap-northeast-1.amazonaws.com/ EOF occurred in violation of protocol (_ssl.c:1129)
Regression Issue
Expected Behavior
return repositories info
Current Behavior
It return error:
botocore.exceptions.SSLError: SSL validation failed for https://api.ecr-public.ap-northeast-1.amazonaws.com/ EOF occurred in violation of protocol (_ssl.c:1129)
Reproduction Steps
client = boto3.client(
"ecr-public",
# region_name="ap-northeast-1",
aws_access_key_id="",
aws_secret_access_key=""
)
response = client.describe_repositories(
registryId="neuron",
repositoryNames=["neuron-node-recovery"]
)
print(response)
Possible Solution
Maybe this url : https://api.ecr-public.ap-northeast-1.amazonaws.com is not worked well.
Additional Information/Context
No response
SDK version used
1.35.92
Environment details (OS name and version, etc.)
mac/ubuntu
The text was updated successfully, but these errors were encountered: