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
Model Name: MacBook Air
Chip: Apple M1
Total Number of Cores: 8 (4 performance and 4 efficiency)
Memory: 16 GB
System Version: macOS 12.5.1 (21G83)
Kernel Version: Darwin 21.6.0
ConnectionError: ConnectionError(('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))) caused by: ProtocolError(('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')))
Here's the error I get in the terminal running the cluster:
[2022-08-30T13:56:34,254][ERROR][o.o.s.s.h.n.SecuritySSLNettyHttpServerTransport] [db120fd1fe80] Exception during establishing a SSL connection: io.netty.handler.ssl.NotSslRecordException: not an SSL/TLS record:
The text was updated successfully, but these errors were encountered:
Hey @dylanjcastillo you need to set use_ssl to true and then the rest should be correct. By default the container forces SSL even though it’s using self signed certs.
Awesome! It’s a pretty common issue with the client. I actually wonder if we could raise a specific exception to alert people to try and change the verify setting
What is the bug?
I cannot connect to a local development cluster using opensearch-py. If I use
curl
it works correctly.How can one reproduce the bug?
docker run -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" opensearchproject/opensearch:2.2.0
What is the expected behavior?
I should get info about the cluster.
What is your host/environment?
Do you have any screenshots?
It works well when I use
curl
: https://imgur.com/a/0O15MaMDo you have any additional context?
Here's the error I get in the Jupyter Notebook:
Here's the error I get in the terminal running the cluster:
The text was updated successfully, but these errors were encountered: