You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Elasticsearch version (bin/elasticsearch --version):
8.7.1 elasticsearch-py version (elasticsearch.__versionstr__):
8.7.0
Please make sure the major version matches the Elasticsearch server you are running.
There is no python client version 8.7.1 Description of the problem including expected versus actual behavior:
Following documentation does not lead to successful python client connection.
Hello, and sorry for the delay getting back to you.
This does not appear to be an HTTPS issue at all, "connection refused" means that the client cannot perform a TCP connection. Do you get a different error when using requests directly?
Elasticsearch version (
bin/elasticsearch --version
):8.7.1
elasticsearch-py
version (elasticsearch.__versionstr__
):8.7.0
Please make sure the major version matches the Elasticsearch server you are running.
There is no python client version 8.7.1
Description of the problem including expected versus actual behavior:
Following documentation does not lead to successful python client connection.
https://www.elastic.co/guide/en/elasticsearch/client/python-api/current/connecting.html
https://github.com/elastic/elasticsearch/blob/8.13/docs/reference/setup/install/docker/docker-compose.yml
The cluster (single-node mode) otherwise behaves as expected.
curl -k -u username:password https://localhost:9200
succeeds:creating a fingerprint with
openssl s_client -connect localhost:9200 -servername localhost -showcerts </dev/null 2>/dev/null | openssl x509 -fingerprint -sha256 -noout -in /dev/stdin
succeedsInitiation via python client does not:
Error:
Steps to reproduce:
see above steps. Follow this guide to set up elastic stack: https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html, then this guide to connect with python client: https://www.elastic.co/guide/en/elasticsearch/client/python-api/current/connecting.html
Connection error occurs using API key, basic auth, verify_certs=True, verify_certs=False, mounting CA cert, and using CA fingerprint
The text was updated successfully, but these errors were encountered: