ElasticSearch Empty Reply From Server Error
In Elasticsearch latest versions, xpack security is enabled by default. To resolve the error "Empty reply from server"
curl --cacert /etc/elasticsearch/certs/http_ca.crt https://localhost:9200 -u elastic
You will be prompted for a password.
If you don't know your password, run following command to setup one...
sudo /usr/share/elasticsearch/bin/elasticsearch-reset-password -u elastic -i
After you are done setting the password, run the following command again with the password that you set above...
curl --cacert /etc/elasticsearch/certs/http_ca.crt https://localhost:9200 -u elastic
Related Notebooks
- How to Generate Embeddings from a Server and Index Them Using FAISS with API
- Time Series Analysis Using ARIMA From StatsModels
- Return Multiple Values From a Function in Python
- Five Ways To Remove Characters From A String In Python
- How To Take String Input From Command Line In Python
- How To Take Integer Input From Command Line In Python
- ImportError cannot import name Iterabler from collections python 3-10
- How To Run Code From Git Repo In Collab GPU Notebook
- Pandas Datareader To Download Stocks Data From Google And Yahoo Finance
- Calculate Stock Options Max Pain Using Data From Yahoo Finance With Python