Graylog docker, no route to host

So basically I set up graylog with docker, documents - quick start with

-p 9000:9000 -p 12201:12201 -p 1514:1514 -p 5555:5555

and I’m able to send some msgs.

image

However, when I try to retrieve msgs, I encountered:

While retrieving data for this widget, the following error(s) occurred:
No route to host (Host unreachable).

in search tab under both Message Count and All Messages widget

2020-05-12 07:24:08,918 ERROR: org.graylog2.indexer.fieldtypes.IndexFieldTypePollerPeriodical - Couldn’t update field types for index set <Default index set/5eba4d8152faff0012428515>
org.graylog2.indexer.ElasticsearchException: Couldn’t collect indices for alias graylog_deflector
at org.graylog2.indexer.cluster.jest.JestUtils.execute(JestUtils.java:52) ~[graylog.jar:?]
at org.graylog2.indexer.cluster.jest.JestUtils.execute(JestUtils.java:63) ~[graylog.jar:?]
at org.graylog2.indexer.indices.Indices.aliasTarget(Indices.java:336) ~[graylog.jar:?]
at org.graylog2.indexer.MongoIndexSet.getActiveWriteIndex(MongoIndexSet.java:204) ~[graylog.jar:?]
at org.graylog2.indexer.fieldtypes.IndexFieldTypePollerPeriodical.lambda$schedule$4(IndexFieldTypePollerPeriodical.java:201) ~[graylog.jar:?]

Caused by: java.net.NoRouteToHostException: No route to host (Host unreachable)
at java.net.PlainSocketImpl.socketConnect(Native Method) ~[?:1.8.0_242]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_242]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_242]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_242]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_242]
at java.net.Socket.connect(Socket.java:607) ~[?:1.8.0_242]

Am I missing something ?
thanks.

Does you elastic container runing well?
Does the GL container can access to the elastic container?

Right

fix

max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

with

sudo sysctl -w vm.max_map_count=262144

Thanks.

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