Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Elasticsearch http

See original GitHub issue

I’m using everything out of the box - the latest Stormcrawler with the latest elasticsearch stuff on github and the latest Elasticsearch (though I’m currently trying an older version of ES but getting the same issue).

Every time, when running:

storm jar target/synopdoc-1.0.jar org.apache.storm.flux.Flux --local es-crawler.flux --sleep 86400000

I fail on this:

29161 [Thread-20-__metricscom.digitalpebble.stormcrawler.elasticsearch.metrics.MetricsConsumer-executor[2 2]] ERROR c.d.s.e.m.MetricsConsumer - Can't connect to ElasticSearch java.lang.RuntimeException: http

I have no idea how to fix this and there’s essentially no information on google. Like I said, everything is out of the box; I have not made any changes to any settings files or whatever.

The script executes successfully and creates the two indices so clearly 9200 is connectable and up.

Any help at all is greatly appreciated.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

tony-boxedcommented, Oct 11, 2018

OK I used 1.10 and it appears to be fixed after following your steps. Thank you very much, I will now attempt to inject urls and perform a real crawl.

jniochecommented, Oct 11, 2018

Glad it’s sorted. Closing for now, you can use StackOverflow if you have any questions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

UnknownHostException while connecting to Elasticsearch
I get an that says "Der angegebene Host ist unbekannt ... Connecting | Elasticsearch Java API Client [8.2] | Elastic.
Read more >
Spring elasticsearch
This is a bug resulting from as change in Java 14 in the method. This has been fixed in 4.0.
Read more >
Why do I receive an Unknown Host Exception in JOC when ...
Unknown Host Exception from the JOC when trying to connect to a remote Elasticsearch server. The plugin can reach using the IP address,...
Read more >
UnknownHostException trying to hit Amazon Elasticsearch ...
I have an Amazon Elasticsearch domain with endpoint ... Inet6AddressImpl/lookupAllHostAddr 928
Read more >
API Connect: Management node runtime does not start after ...
A hostname change with the 'net set hostname' command breaks the startup of elastic search, which then prevents the management.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found