Python Authentication Problem

Do you know which version of the Elasticsearch python library are you using?

Try to change basic_auth to http_auth and see if it works.

According to this post, if you are using the version 7 of the library, the parameter basic_auth does not exists, you need to use http_auth.

1 Like