pgsync icon indicating copy to clipboard operation
pgsync copied to clipboard

unexpected keyword argument 'use_ssl' for ELASTICSEARCH_AWS_HOSTED

Open Alexejklim opened this issue 1 year ago • 3 comments

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'

Alexejklim avatar Jul 15 '24 07:07 Alexejklim

Thanks for that. sorry for the dealy. All fixed

toluaina avatar Aug 13 '24 17:08 toluaina

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

andytavares avatar Sep 04 '24 15:09 andytavares

this is now included in 3.2.1 release here

toluaina avatar Sep 04 '24 20:09 toluaina

marled as resolved

toluaina avatar May 25 '25 11:05 toluaina