Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unexpected keyword argument 'use_ssl' for ELASTICSEARCH_AWS_HOSTED #554

Open
Alexejklim opened this issue Jul 15, 2024 · 3 comments
Open

Comments

@Alexejklim
Copy link

PGSync version: 3.1.0

Postgres version: 16

Elasticsearch/OpenSearch version: 7.17.13

Redis version: 7.2.5

Python version: 3.11
(elasticsearch==8.14.0)

Problem Description:
Looks like the latest versions of python elasticsearch client lib rejects the parameter 'use_ssl'. As i see it was commented out in code for 'else' client but not for AWS-hosted https://github.com/toluaina/pgsync/blob/main/pgsync/search_client.py#L401

Error Message (if any):

TypeError: Elasticsearch.init() got an unexpected keyword argument 'use_ssl'

@toluaina
Copy link
Owner

Thanks for that. sorry for the dealy. All fixed

@andytavares
Copy link

Any update on this, it looks like this fix was not included in the 3.2.0 release

@toluaina
Copy link
Owner

toluaina commented Sep 4, 2024

this is now included in 3.2.1 release here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants