Find answers from the community

Updated 2 months ago

@Logan M when trying to initialize

when trying to initialize OpensearchVectorClient for AWS OpenSearch Service instance, getting ConnectionTimeout error. Please help 🥺

credentials = boto3.Session().get_credentials() awsauth = AWS4Auth(region = region, service=service, refreshable_credential=credentials) client = OpensearchVectorClient( endpoint, idx, 4096, http_auth=awsauth, embedding_field=embedding_field, text_field=text_field, use_ssl=true, verify_certs=true,connection_class=RequestsHttpConnection, timeout=30, port=443, )
L
C
a
9 comments
@nerdai Please help 🥺
Hey I would def check the source code as Logan suggested. One other thing I might suggest is checking to ensure you have supplied the necessary aws creds.
Checked source code and aws cred multiple times, still getting the same error 😭 Please help
Attachment
image.png
what error are you getting?
can you share the traceback?
oh I got it! I was setting custom NO_PROXY settings.

Thank you so much @Logan M and @nerdai, you guys are amazing and always ready to help promptly 🥹 🥹
ohhh glad you were able to figure out!!!
no problemo 🙂
Add a reply
Sign up and join the conversation on Discord