ES started but unable to open in browser (Linux)

Hi,

My yml configuration looks like below :

node.name: Cisco_Dev_Node
cluster.name: Cisco_Dev
network.host: 192.168.0.10
discovery.seed_hosts: ["192.168.0.10"]
http.port: 9201
cluster.initial_master_nodes: ["192.168.0.10"]
path.data: /apps/mad/data
path.logs: /apps/mad/logs

When i start ES in console its showing like below :

[2019-07-16T13:37:53,564][INFO ][o.e.n.Node ] [Cisco_Dev_Node] started
[2019-07-16T13:37:53,827][INFO ][o.e.l.LicenseService ] [Cisco_Dev_Node] license [76cb4fb1-9ea7-42ae-affb-122bd091dc1a] mode [basic] - valid
[2019-07-16T13:37:53,834][INFO ][o.e.g.GatewayService ] [Cisco_Dev_Node] recovered [0] indices into cluster_state

But when i open in browser its not running.

The logs folder looks like below :

[2019-07-16T13:37:45.900+0000][8546][gc] Using Concurrent Mark Sweep
[2019-07-16T13:37:45.901+0000][8546][gc,heap,coops] Heap address: 0x00000000c0000000, size: 1024 MB, Compressed Oops mode: 32-bit
[2019-07-16T13:37:45.934+0000][8546][safepoint ] Entering safepoint region: EnableBiasedLocking
[2019-07-16T13:37:45.934+0000][8546][safepoint ] Leaving safepoint region
[2019-07-16T13:37:45.934+0000][8546][safepoint ] Total time for which application threads were stopped: 0.0009198 seconds, Stopping threads took: 0.0008761 seconds
[2019-07-16T13:37:45.936+0000][8546][safepoint ] Application time: 0.0022103 seconds
[2019-07-16T13:37:45.936+0000][8546][safepoint ] Entering safepoint region: RevokeBias
[2019-07-16T13:37:45.936+0000][8546][safepoint ] Leaving safepoint region
[2019-07-16T13:37:45.936+0000][8546][safepoint ] Total time for which application threads were stopped: 0.0000489 seconds, Stopping threads took: 0.0000132 seconds
[2019-07-16T13:37:45.944+0000][8546][safepoint ] Application time: 0.0079126 seconds
[2019-07-16T13:37:45.944+0000][8546][safepoint ] Entering safepoint region: Deoptimize
[2019-07-16T13:37:45.944+0000][8546][safepoint ] Leaving safepoint region

The above things keeps on repeating. Please help on this and i dont know what is the above error. Thanks!

Please format your code, logs or configuration files using </> icon as explained in this guide and not the citation button. It will make your post more readable.

Or use markdown style like:

```
CODE
```

This is the icon to use if you are not using markdown format:

There's a live preview panel for exactly this reasons.

Lots of people read these forums, and many of them will simply skip over a post that is difficult to read, because it's just too large an investment of their time to try and follow a wall of badly formatted text.
If your goal is to get an answer to your questions, it's in your interest to make it as easy to read and understand as possible.
Please update your post.

Could you also share the full logs?
And also which URL are you trying to open in the browser?

[2019-07-16T17:12:29,311][INFO ][o.e.e.NodeEnvironment    ] [Cisco_Dev_Node] using [1] data paths, mounts [[/ (rootfs)]], net usable_space [46gb], net total_space [49.9gb], types [rootfs]
[2019-07-16T17:12:29,315][INFO ][o.e.e.NodeEnvironment    ] [Cisco_Dev_Node] heap size [990.7mb], compressed ordinary object pointers [true]
[2019-07-16T17:12:29,317][INFO ][o.e.n.Node               ] [Cisco_Dev_Node] node name [Cisco_Dev_Node], node ID [88liq_rvRiGNUC1achBvkg], cluster name [Cisco_Dev]
[2019-07-16T17:12:29,317][INFO ][o.e.n.Node               ] [Cisco_Dev_Node] version[7.2.0], pid[22057], build[default/tar/508c38a/2019-06-20T15:54:18.811730Z], OS[Linux/3.10.0-957.12.2.el7.x86_64/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/12.0.1/12.0.1+12]
[2019-07-16T17:12:29,318][INFO ][o.e.n.Node               ] [Cisco_Dev_Node] JVM home [/apps/mad/elasticsearch-7.2.0/jdk]
[2019-07-16T17:12:29,318][INFO ][o.e.n.Node               ] [Cisco_Dev_Node] JVM arguments [-Xms1g, -Xmx1g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=/tmp/elasticsearch-3289652143513069440, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -Djava.locale.providers=COMPAT, -Dio.netty.allocator.type=unpooled, -XX:MaxDirectMemorySize=536870912, -Des.path.home=/apps/mad/elasticsearch-7.2.0, -Des.path.conf=/apps/mad/elasticsearch-7.2.0/config, -Des.distribution.flavor=default, -Des.distribution.type=tar, -Des.bundled_jdk=true]
[2019-07-16T17:12:30,368][INFO ][o.e.p.PluginsService     ] [Cisco_Dev_Node] loaded module [aggs-matrix-stats]
[2019-07-16T17:12:30,368][INFO ][o.e.p.PluginsService     ] [Cisco_Dev_Node] loaded module [analysis-common]
[2019-07-16T17:12:30,368][INFO ][o.e.p.PluginsService     ] [Cisco_Dev_Node] loaded module [data-frame]
[2019-07-16T17:12:30,369][INFO ][o.e.p.PluginsService     ] [Cisco_Dev_Node] loaded module [ingest-common]
[2019-07-16T17:12:30,369][INFO ][o.e.p.PluginsService     ] [Cisco_Dev_Node] loaded module [ingest-geoip]
[2019-07-16T17:12:30,369][INFO ][o.e.p.PluginsService     ] [Cisco_Dev_Node] loaded module [ingest-user-agent]
[2019-07-16T17:12:30,369][INFO ][o.e.p.PluginsService     ] [Cisco_Dev_Node] loaded module [lang-expression]
[2019-07-16T17:12:30,369][INFO ][o.e.p.PluginsService     ] [Cisco_Dev_Node] loaded module [lang-mustache]
[2019-07-16T17:12:30,371][INFO ][o.e.p.PluginsService     ] [Cisco_Dev_Node] loaded module [transport-netty4]
[2019-07-16T17:12:30,371][INFO ][o.e.p.PluginsService     ] [Cisco_Dev_Node] loaded module [x-pack-graph]
[2019-07-16T17:12:30,371][INFO ][o.e.p.PluginsService     ] [Cisco_Dev_Node] loaded module [x-pack-ilm]
[2019-07-16T17:12:30,372][INFO ][o.e.p.PluginsService     ] [Cisco_Dev_Node] loaded module [x-pack-logstash]
[2019-07-16T17:12:30,372][INFO ][o.e.p.PluginsService     ] [Cisco_Dev_Node] loaded module [x-pack-ml]
[2019-07-16T17:12:30,372][INFO ][o.e.p.PluginsService     ] [Cisco_Dev_Node] loaded module [x-pack-security]
[2019-07-16T17:12:30,372][INFO ][o.e.p.PluginsService     ] [Cisco_Dev_Node] loaded module [x-pack-sql]
[2019-07-16T17:12:30,372][INFO ][o.e.p.PluginsService     ] [Cisco_Dev_Node] loaded module [x-pack-watcher]
[2019-07-16T17:12:30,373][INFO ][o.e.p.PluginsService     ] [Cisco_Dev_Node] no plugins loaded
[2019-07-16T17:12:33,224][INFO ][o.e.x.s.a.s.FileRolesStore] [Cisco_Dev_Node] parsed [0] roles from file [/apps/mad/elasticsearch-7.2.0/config/roles.yml]
[2019-07-16T17:12:33,644][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [Cisco_Dev_Node] [controller/22155] [Main.cc@110] controller (64 bit): Version 7.2.0 (Build 65aefcbfce449b) Copyright (c) 2019 Elasticsearch BV
[2019-07-16T17:12:33,942][DEBUG][o.e.a.ActionModule       ] [Cisco_Dev_Node] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security
[2019-07-16T17:12:34,274][INFO ][o.e.d.DiscoveryModule    ] [Cisco_Dev_Node] using discovery type [zen] and seed hosts providers [settings]
[2019-07-16T17:12:34,909][INFO ][o.e.n.Node               ] [Cisco_Dev_Node] initialized
[2019-07-16T17:12:34,910][INFO ][o.e.n.Node               ] [Cisco_Dev_Node] starting ...
[2019-07-16T17:12:35,029][INFO ][o.e.t.TransportService   ] [Cisco_Dev_Node] publish_address {192.168.0.10:9300}, bound_addresses {192.168.0.10:9300}
[2019-07-16T17:12:35,038][INFO ][o.e.b.BootstrapChecks    ] [Cisco_Dev_Node] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2019-07-16T17:12:35,067][INFO ][o.e.c.c.Coordinator      ] [Cisco_Dev_Node] cluster UUID [VIUf1WRJRn2TIsX35ORdcA]
[2019-07-16T17:12:35,187][INFO ][o.e.c.s.MasterService    ] [Cisco_Dev_Node] elected-as-master ([1] nodes joined)[{Cisco_Dev_Node}{88liq_rvRiGNUC1achBvkg}{g0iAN64MR7-lVgKcKoVmlg}{192.168.0.10}{192.168.0.10:9300}{ml.machine_memory=16656740352, xpack.installed=true, ml.max_open_jobs=20} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 16, version: 58, reason: master node changed {previous [], current [{Cisco_Dev_Node}{88liq_rvRiGNUC1achBvkg}{g0iAN64MR7-lVgKcKoVmlg}{192.168.0.10}{192.168.0.10:9300}{ml.machine_memory=16656740352, xpack.installed=true, ml.max_open_jobs=20}]}
[2019-07-16T17:12:35,247][INFO ][o.e.c.s.ClusterApplierService] [Cisco_Dev_Node] master node changed {previous [], current [{Cisco_Dev_Node}{88liq_rvRiGNUC1achBvkg}{g0iAN64MR7-lVgKcKoVmlg}{192.168.0.10}{192.168.0.10:9300}{ml.machine_memory=16656740352, xpack.installed=true, ml.max_open_jobs=20}]}, term: 16, version: 58, reason: Publication{term=16, version=58}
[2019-07-16T17:12:35,299][INFO ][o.e.h.AbstractHttpServerTransport] [Cisco_Dev_Node] publish_address {192.168.0.10:9201}, bound_addresses {192.168.0.10:9201}
[2019-07-16T17:12:35,300][INFO ][o.e.n.Node               ] [Cisco_Dev_Node] started
[2019-07-16T17:12:35,552][INFO ][o.e.l.LicenseService     ] [Cisco_Dev_Node] license [76cb4fb1-9ea7-42ae-affb-122bd091dc1a] mode [basic] - valid
[2019-07-16T17:12:35,561][INFO ][o.e.g.GatewayService     ] [Cisco_Dev_Node] recovered [0] indices into cluster_state

Im using the below 2 urls to test :
http://192.168.0.10:9201/ - ip address of my server
http://10.31.59.8:9201/ - host details

Sorry for posting the logs in incorrect format.Please help me on this. Thanks!

Your node is available on http://192.168.0.10:9201

If you can't reach it, you might have a proxy defined in your browser probably.

Thanks for your reply David.

It’s not available on http://192.168.0.10:9201/. What to do now, regarding proxy I didn’t get you.

Requesting you to please help me on this. Thanks!

Something in your browser or in you company's network is wrong.
There's nothing I can do to help.

You need to check that on your side. If you don't understand, may be ask a network administrator in your company.

Okay thank you david.

Just run tcpdump on your ES node listening on port 9201 for a traffic coming from your host. As @dadoonet wrote, probably your network setup is blocking the traffic.

Hi @skydancer,

Can you please tell how to do tcpdump on ES node. Actually i dint get you. Thanks!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.