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?

沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南