Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to connect http://elasticsearch:9200 #13

Closed
PayteR opened this issue Jun 17, 2019 · 2 comments
Closed

Unable to connect http://elasticsearch:9200 #13

PayteR opened this issue Jun 17, 2019 · 2 comments

Comments

@PayteR
Copy link
Contributor

PayteR commented Jun 17, 2019

On docker-compose up still getting this error. Maybe it's related to #8

beam_1           | [17-Jun-2019 19:05:13] NOTICE: ready to handle connections
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed connect to elasticsearch:9200; Connection refused
@rootpd
Copy link
Member

rootpd commented Jun 26, 2019

Can you please paste what docker-compose logs elasticsearch returns? It might be big one, so please find some reasonable block that's not repeating itself and paste it here.

There might be an issue with start of Elasticsearch in your environment we haven't experienced yet.

@PayteR
Copy link
Contributor Author

PayteR commented Jun 26, 2019

I definetly see there something. It looks that i reached <5% disk space limit for Elasticsearch.

elasticsearch_1  | [2019-06-21T00:04:36,577][INFO ][o.e.n.Node               ] [] initializing ...
elasticsearch_1  | [2019-06-21T00:04:37,273][INFO ][o.e.e.NodeEnvironment    ] [jvaE3T1] using [1] data paths, mounts [[/usr/share/elasticsearch/data (/dev/sda1)]], net usable_space [51.1gb], net total_space [58.8gb], types [ext4]
elasticsearch_1  | [2019-06-21T00:04:37,293][INFO ][o.e.e.NodeEnvironment    ] [jvaE3T1] heap size [1007.3mb], compressed ordinary object pointers [true]
elasticsearch_1  | [2019-06-21T00:04:37,314][INFO ][o.e.n.Node               ] node name [jvaE3T1] derived from node ID [jvaE3T1OSU-_CItbMrhqoQ]; set [node.name] to override
elasticsearch_1  | [2019-06-21T00:04:37,314][INFO ][o.e.n.Node               ] version[6.2.2], pid[8], build[10b1edd/2018-02-16T19:01:30.685723Z], OS[Linux/4.9.60-linuxkit-aufs/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/1.8.0_161/25.161-b14]
elasticsearch_1  | [2019-06-21T00:04:37,314][INFO ][o.e.n.Node               ] JVM arguments [-Xms1g, -Xmx1g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -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.l0nl03dC, -XX:+HeapDumpOnOutOfMemoryError, -XX:+PrintGCDetails, -XX:+PrintGCDateStamps, -XX:+PrintTenuringDistribution, -XX:+PrintGCApplicationStoppedTime, -Xloggc:logs/gc.log, -XX:+UseGCLogFileRotation, -XX:NumberOfGCLogFiles=32, -XX:GCLogFileSize=64m, -Des.cgroups.hierarchy.override=/, -Des.path.home=/usr/share/elasticsearch, -Des.path.conf=/usr/share/elasticsearch/config]

I have free more space, but error didn't vanisched, so i deleted all and start over by steps in #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants