-
Notifications
You must be signed in to change notification settings - Fork 532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ElasticHQ not connecting to Elasticsearch cluster #538
Comments
No solution for this problem? |
You should launch both ElasticSearch and ElasticHQ under the same network, for example:
|
Is there any way to connect to ElasticSearch installed on host as opposed to docker container? |
I'm using http://host.docker.internal:9200 and it works like a charm. Link to official documentation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
General information
Issue Description
I installed Elasticsearch v7.6.2 with via brew and I am starting the elasticsearch cluster with one node using CLI command instead of using brew's service start command.
I can curl and see the elasticsearch cluster health is OK as below:
curl -X GET http://localhost:9200/_cluster/health\?\=pretty
I cloned ElasticHQ's github repo's master branch and followed the guide here - https://docs.elastichq.org/installation.html#install-elastichq
After staring the ElasticHQ service I can see the main page at http://localhost:5000. But when I refresh the page it just keeps showing
Found 0 clusters
And if I enter the cluster address
http://localhost:9200/
and clickConnect
it shows the following error in browser console:No matter what I am doing I am not able to get the ElasticHQ to connect to Elasticsearch cluster.
Any suggestions/advice would be great help.
Source Code / Logs
Here's my node configs with CORS configs at the bottom:
Here's the
application.log
details:The text was updated successfully, but these errors were encountered: