SKLearnProcessor Run() ConnectionTime Out Issue

0

We ran into the following error when trying to call SageMaker SKlearn Container using SklearnProcess run(). Also the current boto3 version is 1.20.23 ( there is a github post indicated an issue with one boto3 release 1.16 with timeout issue). Looks like a missing permission for STS service? Any other suggestions?

  • /opt/conda/lib/python3.7/site-packages/botocore/httpsession.py in send(self, request) 416 raise ProxyConnectionError(proxy_url=proxy_url, error=e) 417 except URLLib3ConnectTimeoutError as e: --> 418 raise ConnectTimeoutError(endpoint_url=request.url, error=e) 419 except URLLib3ReadTimeoutError as e: 420 raise ReadTimeoutError(endpoint_url=request.url, error=e)

ConnectTimeoutError: Connect timeout on endpoint URL: "https://sts.us-xxxx-x.amazonaws.com/"

  • We added a vpc endpoint to the subnet hosting SageMaker to help resolve this timeout issue but it didn't work. Still go the same error

asked 2 years ago273 views
1 Answer
0

Issue resolved - it is network set up issue

answered 2 years ago

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