SSLError: SSL validation failed - runtime.sagemaker (_ssl.c:2406)

0

Hi,

I am getting the follow error "[ERROR] SSLError: SSL validation failed for https://runtime.sagemaker.eu-north-1.amazonaws.com/endpoints/yolov5ep/invocations EOF occurred in violation of protocol (_ssl.c:2406)" while trying to call the sage maker endpoint from

While calling from SageMaker notebook, it works. But from Lambda, I am getting an SSL Validation error.

I noticed there was a difference in the version of BOTO3 between both: Lambda boto3 version is 1.28.x Sage maker Notebook version is the latest one 1.34.x

I am unable to test with the latest version because I am already loading OpenCV and NumPy in a Lambda layer, which is near the quota limit (249 MB)

Did anyone encounter this before and managed to fix it?

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions