Comments (3)
Hi @sebastiz , thanks for using {uptasticsearch}
!
The error "connection refused" from curl
isn't about authentication / authorization on the host you're trying to reach.
It's more likely that one of the following is happening:
- Elasticsearch is running in a location that is not reachable from your current environment, due to firewall rules or other restrictions.
- Elasticsearch is reachable but is not using port 9200 for its HTTP API. 9200 is the default port but it can be changed by administrators. It could also be different if Elasticsearch is being proxied by another service.
- Elasticsearch is reachable but the cluster is currently not accepting new requests. This can happen during a refresh or if the cluster was very recently started and it hasn't started up yet.
To diagnose this problem, you could try the following from the command line without involving {uptasticsearch}
at all. Replace YOUR_HOST
with the specific host name you are trying to hit.
curl -I https://YOUR_HOST:9200
If that works, you should see a message like this from Elasticsearch
{
"name" : "elasticsearch-0",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "EiVqzO1nQO6xivajv54Qyw",
"version" : {
"number" : "7.5.2",
"build_flavor" : "default",
"build_type" : "docker",
"build_hash" : "8bec50e1e0ad29dad5653712cf3bb580cd1afcdf",
"build_date" : "2020-01-15T12:11:52.313576Z",
"build_snapshot" : false,
"lucene_version" : "8.3.0",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}
You may need the help of an administrator on your Elasticsearch instance to figure out the correct value for YOUR_HOST
and the correct port. If you can get that request working and {uptasticsearch}
still reports an error, come back and we'll be happy to offer additional help.
from uptasticsearch.
from uptasticsearch.
Ok, glad to hear you got it working! I'll close this issue then. Please come back and open a new issue if you run into any problems.
from uptasticsearch.
Related Issues (20)
- CI is broken with Java issues again HOT 1
- Release Python client on PyPI
- Bad substitution in setup_local.sh
- multi-line blocks in roxygen documentation should be aligned to the first non-tag word
- Add linting on R code
- standardize directory names on kebob-case HOT 2
- Add 'covr' to Suggests in the R package HOT 2
- Unnecessary numbering in comments
- Add lifecycle badges to README
- Add codecov badge to the README HOT 1
- docs style: inline mentions of functions should use parentheses HOT 2
- Make README examples copy-paste runnable
- explicitly add language tags to all markdown code blocks HOT 1
- hex logo HOT 5
- Replace use of 'ES' with 'Elasticsearch' everywhere in the repo
- problems with certificate HOT 4
- [ci] Move CI from Travis to GitHub Actions HOT 2
- How to enter API key to connect to elastic instance HOT 1
- R tests using deprecated testthat functionality
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uptasticsearch.