Authentication of my Python Script Elasticsearch 8.3

Hello, since Elasticsearch version 8... my Python scrips, which are sending
Data to Elasticsearch are no longer working.
I tried solving this Problem by using this code.

client = Elasticsearch(
    basic_auth=("elastic", ELASTIC_PASSWORD)

I always get this Error:

GET Error: No connection adapters were found for "<Elasticsearch(['https://localhost:9200/index'])>"

Would be great if anyone could help :slight_smile:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.