question-mark
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.

Can not connect to the es node, only connect to the bridge ip address

See original GitHub issue

execute command: docker run --rm --name spark-dependencies --env STORAGE=elasticsearch --env ES_NODES=http://172.31.60.138:9200 jaegertracing/spark-dependencies error log shows:

ERROR NetworkClient: Node [172.18.0.1:9200] failed (Connection refused (Connection refused)); no other nodes left - aborting...
Exception in thread "main" org.elasticsearch.hadoop.rest.EsHadoopNoNodesLeftException: Connection error (check network and/or proxy settings)- all nodes failed; tried [[172.18.0.1:9200]]

Is that a bug?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
pavolloffaycommented, Dec 12, 2019

Yes we know this behaviour, it’s always better to specify the ports.

0reactions
pavolloffaycommented, Dec 12, 2019

From readme in this repository

* `ES_NODES`: A comma separated list of elasticsearch hosts advertising http. Defaults to
              localhost. Add port section if not listening on port 9200. Only one of these hosts
              needs to be available to fetch the remaining nodes in the cluster. It is
              recommended to set this to all the master nodes of the cluster. Use url format for
              SSL. For example, "https://yourhost:8888"
Read more comments on GitHub >

github_iconTop Results From Across the Web

Networking with standalone containers - Docker Documentation
This tutorial will connect two containers to the bridge network. ... containers can not only communicate by IP address, but can also resolve...
Read more >
Troubleshooting Network Visualization on AHV cluster
Tips for investigating issues with Network Visualization setup on an AHV cluster.
Read more >
Networking | Elasticsearch Guide [8.5] | Elastic
Elasticsearch can only bind to an address if it is running on a host that has a network interface with that address. If...
Read more >
Connect GNS3 to the Internet (local server)
Use of the NAT node to allow topology nodes to access the internet is also an ... Result: An IP address is allocated...
Read more >
Ethernet Bridging | OpenVPN
Multiple clients will be able to connect to the bridge, and each client's TAP interface will be assigned an IP address that is...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found