Closed ppf2 closed 1 year ago
I am able to get around this by running, courtesy of https://github.com/aio-libs/aiohttp/issues/955#issuecomment-679998400
$ /System/Volumes/Data/Applications/Python\ 3.10/Install\ Certificates.command
-- pip install --upgrade certifi
Collecting certifi
Using cached certifi-2022.12.7-py3-none-any.whl (155 kB)
Installing collected packages: certifi
Successfully installed certifi-2022.12.7
-- removing any existing file or link
-- creating symlink to certifi certificate bundle
-- setting permissions
-- update complete
We may want to document this caveat either in the section where we talk about Python requirements, or in a troubleshooting section in case others are running into the same issue.
Running a connector service locally (mac Monterey OS 12.6.1) using 8.6 branch of connectors-python (via
make run
, usingbin/elastic-ingest
does not make a difference). The connector service is connected to an Elasticsearch 8.6.0 instance on Elastic Cloud.The connector service log shows:
Our developers guide does not indicate any certificate setup steps that are necesssary.
awscli was installed on the Mac via https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html and the direct
aws
commands are running fine:Also tried setting
ca_bundle
directly in~/.aws/credentials
file:This results in a different error:
I filed the ConflictError in a separate issue (https://github.com/elastic/connectors-python/issues/358) for this looks like an unrelated issue from the S3 connection/certificate problem.