Closed ayushpjtelesoft closed 2 months ago
What is the issue exactly?
CONNREFUSED errors are normal when Elasticsearch is still starting. Your logs cover about 15 seconds, give it a minute.
ayushraj@Ayushs-Laptop email-app % docker-compose up --build
WARN[0000] /Users/ayushraj/Documents/ayush/email-app/docker-compose.yml: `version` is obsolete
[+] Building 1.9s (11/11) FINISHED docker:desktop-linux
=> [app internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 403B 0.0s
=> [app internal] load metadata for docker.io/library/node:14 1.7s
=> [app auth] library/node:pull token for registry-1.docker.io 0.0s
=> [app internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [app 1/5] FROM docker.io/library/node:14@sha256:a158d3b9b4e3fa813fa6c8c590b8f0a860e015ad4e59bbce5744d2f6fd8461aa 0.0s
=> [app internal] load build context 0.1s
=> => transferring context: 279.53kB 0.1s
=> CACHED [app 2/5] WORKDIR /app 0.0s
=> CACHED [app 3/5] COPY package*.json ./ 0.0s
=> CACHED [app 4/5] RUN npm install 0.0s
=> CACHED [app 5/5] COPY . . 0.0s
=> [app] exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:e9e95f492791a32d25e33d22878c97069788a70c25e98489ca6c4f85022d8cc3 0.0s
=> => naming to docker.io/library/email-app-app 0.0s
[+] Running 4/0
✔ Network email-app_default Created 0.0s
✔ Container elasticsearch Created 0.0s
✔ Container email_app Created 0.0s
✔ Container kibana Created 0.0s
Attaching to elasticsearch, email_app, kibana
email_app |
email_app | > email-app@1.0.0 start /app
email_app | > node index.js
email_app |
email_app | {"name":"AzureAD: OIDC Passport Strategy","hostname":"0479a2f19ce9","pid":19,"level":40,"msg":"Production environments should always validate the issuer.","time":"2024-06-12T07:14:17.061Z","v":0}
email_app | {"name":"AzureAD: OIDC Passport Strategy","hostname":"0479a2f19ce9","pid":19,"level":40,"msg":"Using http for redirectUrl is not recommended, please consider using https","time":"2024-06-12T07:14:17.063Z","v":0}
email_app | Server started on port 3000
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:18,766Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "version[7.17.9], pid[7], build[default/docker/ef48222227ee6b9e70e502f0f0daa52435ee634d/2023-01-31T05:34:43.305517834Z], OS[Linux/6.6.26-linuxkit/aarch64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/19.0.2/19.0.2+7-44]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:18,770Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "JVM home [/usr/share/elasticsearch/jdk], using bundled JDK [true]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:18,771Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "JVM arguments [-Xshare:auto, -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, -XX:+ShowCodeDetailsInExceptionMessages, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=SPI,COMPAT, --add-opens=java.base/java.io=ALL-UNNAMED, -Djava.security.manager=allow, -XX:+UseG1GC, -Djava.io.tmpdir=/tmp/elasticsearch-12858804329222051209, -XX:+HeapDumpOnOutOfMemoryError, -XX:+ExitOnOutOfMemoryError, -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, -Des.cgroups.hierarchy.override=/, -Xms512m, -Xmx512m, -XX:MaxDirectMemorySize=268435456, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, -Des.path.home=/usr/share/elasticsearch, -Des.path.conf=/usr/share/elasticsearch/config, -Des.distribution.flavor=default, -Des.distribution.type=docker, -Des.bundled_jdk=true]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,277Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [aggs-matrix-stats]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,277Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [analysis-common]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,277Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [constant-keyword]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,277Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [frozen-indices]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,277Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [ingest-common]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,278Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [ingest-geoip]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,278Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [ingest-user-agent]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,278Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [kibana]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,278Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [lang-expression]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,278Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [lang-mustache]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,278Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [lang-painless]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,278Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [legacy-geo]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,278Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [mapper-extras]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,279Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [mapper-version]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,279Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [parent-join]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,279Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [percolator]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,279Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [rank-eval]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,279Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [reindex]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,279Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [repositories-metering-api]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,279Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [repository-encrypted]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,279Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [repository-url]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,283Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [runtime-fields-common]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,283Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [search-business-rules]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,283Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [searchable-snapshots]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,283Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [snapshot-repo-test-kit]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,283Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [spatial]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,283Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [transform]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,283Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [transport-netty4]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,283Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [unsigned-long]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,283Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [vector-tile]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,284Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [vectors]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,284Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [wildcard]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,284Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-aggregate-metric]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,284Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-analytics]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-async]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-async-search]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-autoscaling]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-ccr]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-core]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-data-streams]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-deprecation]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-enrich]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-eql]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-fleet]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-graph]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-identity-provider]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-ilm]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-logstash]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-ml]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,286Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-monitoring]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,286Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-ql]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,286Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-rollup]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,286Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-security]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,286Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-shutdown]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,286Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-sql]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,286Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-stack]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,286Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-text-structure]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,286Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-voting-only-node]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,286Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-watcher]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,287Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "no plugins loaded" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,323Z", "level": "INFO", "component": "o.e.e.NodeEnvironment", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "using [1] data paths, mounts [[/usr/share/elasticsearch/data (/dev/vda1)]], net usable_space [51gb], net total_space [58.3gb], types [ext4]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,327Z", "level": "INFO", "component": "o.e.e.NodeEnvironment", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "heap size [512mb], compressed ordinary object pointers [true]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:20,367Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "node name [3eefde64abdb], node ID [jV4pnypVQiqxNUTQm2ofqA], cluster name [docker-cluster], roles [transform, data_frozen, master, remote_cluster_client, data, ml, data_content, data_hot, data_warm, data_cold, ingest]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:23,297Z", "level": "INFO", "component": "o.e.x.m.p.l.CppLogMessageHandler", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "[controller/221] [Main.cc@122] controller (64 bit): Version 7.17.9 (Build ffceceeb3d63bc) Copyright (c) 2023 Elasticsearch BV" }
kibana | {"type":"log","@timestamp":"2024-06-12T07:14:23+00:00","tags":["info","plugins-service"],"pid":7,"message":"Plugin \"metricsEntities\" is disabled."}
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:23,772Z", "level": "INFO", "component": "o.e.x.s.a.s.FileRolesStore", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "parsed [0] roles from file [/usr/share/elasticsearch/config/roles.yml]" }
kibana | {"type":"log","@timestamp":"2024-06-12T07:14:23+00:00","tags":["info","http","server","Preboot"],"pid":7,"message":"http server running at http://0.0.0.0:5601"}
kibana | {"type":"log","@timestamp":"2024-06-12T07:14:23+00:00","tags":["warning","config","deprecation"],"pid":7,"message":"Starting in 8.0, the Kibana logging format will be changing. This may affect you if you are doing any special handling of your Kibana logs, such as ingesting logs into Elasticsearch for further analysis. If you are using the new logging configuration, you are already receiving logs in both old and new formats, and the old format will simply be going away. If you are not yet using the new logging configuration, the log format will change upon upgrade to 8.0. Beginning in 8.0, the format of JSON logs will be ECS-compatible JSON, and the default pattern log format will be configurable with our new logging system. Please refer to the documentation for more information about the new logging format."}
kibana | {"type":"log","@timestamp":"2024-06-12T07:14:23+00:00","tags":["warning","config","deprecation"],"pid":7,"message":"The default mechanism for Reporting privileges will work differently in future versions, which will affect the behavior of this cluster. Set \"xpack.reporting.roles.enabled\" to \"false\" to adopt the future behavior before upgrading."}
kibana | {"type":"log","@timestamp":"2024-06-12T07:14:23+00:00","tags":["warning","config","deprecation"],"pid":7,"message":"User sessions will automatically time out after 8 hours of inactivity starting in 8.0. Override this value to change the timeout."}
kibana | {"type":"log","@timestamp":"2024-06-12T07:14:23+00:00","tags":["warning","config","deprecation"],"pid":7,"message":"Users are automatically required to log in again after 30 days starting in 8.0. Override this value to change the timeout."}
kibana | {"type":"log","@timestamp":"2024-06-12T07:14:23+00:00","tags":["info","plugins-system","standard"],"pid":7,"message":"Setting up [113] plugins: [translations,licensing,globalSearch,globalSearchProviders,features,licenseApiGuard,code,usageCollection,xpackLegacy,taskManager,telemetryCollectionManager,telemetryCollectionXpack,kibanaUsageCollection,share,embeddable,uiActionsEnhanced,screenshotMode,banners,telemetry,newsfeed,mapsEms,mapsLegacy,kibanaLegacy,fieldFormats,expressions,dataViews,charts,esUiShared,bfetch,data,savedObjects,presentationUtil,expressionShape,expressionRevealImage,expressionRepeatImage,expressionMetric,expressionImage,customIntegrations,home,searchprofiler,painlessLab,grokdebugger,management,watcher,licenseManagement,advancedSettings,spaces,security,savedObjectsTagging,reporting,canvas,lists,ingestPipelines,fileUpload,encryptedSavedObjects,dataEnhanced,cloud,snapshotRestore,eventLog,actions,alerting,triggersActionsUi,transform,stackAlerts,ruleRegistry,visualizations,visTypeXy,visTypeVislib,visTypeVega,visTypeTimelion,visTypeTagcloud,visTypeTable,visTypePie,visTypeMetric,visTypeMarkdown,tileMap,regionMap,expressionTagcloud,expressionMetricVis,console,graph,fleet,indexManagement,remoteClusters,crossClusterReplication,indexLifecycleManagement,dashboard,maps,dashboardMode,dashboardEnhanced,visualize,visTypeTimeseries,rollup,indexPatternFieldEditor,lens,cases,timelines,discover,osquery,observability,discoverEnhanced,dataVisualizer,ml,uptime,securitySolution,infra,upgradeAssistant,monitoring,logstash,enterpriseSearch,apm,savedObjectsManagement,indexPatternManagement]"}
kibana | {"type":"log","@timestamp":"2024-06-12T07:14:23+00:00","tags":["info","plugins","taskManager"],"pid":7,"message":"TaskManager is identified by the Kibana UUID: 1c2cb26f-8001-4318-a24c-31af0dff129d"}
kibana | {"type":"log","@timestamp":"2024-06-12T07:14:24+00:00","tags":["warning","plugins","security","config"],"pid":7,"message":"Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."}
kibana | {"type":"log","@timestamp":"2024-06-12T07:14:24+00:00","tags":["warning","plugins","security","config"],"pid":7,"message":"Session cookies will be transmitted over insecure connections. This is not recommended."}
kibana | {"type":"log","@timestamp":"2024-06-12T07:14:24+00:00","tags":["warning","plugins","security","config"],"pid":7,"message":"Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."}
kibana | {"type":"log","@timestamp":"2024-06-12T07:14:24+00:00","tags":["warning","plugins","security","config"],"pid":7,"message":"Session cookies will be transmitted over insecure connections. This is not recommended."}
kibana | {"type":"log","@timestamp":"2024-06-12T07:14:24+00:00","tags":["warning","plugins","reporting","config"],"pid":7,"message":"Generating a random key for xpack.reporting.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.reporting.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."}
kibana | {"type":"log","@timestamp":"2024-06-12T07:14:24+00:00","tags":["warning","plugins","encryptedSavedObjects"],"pid":7,"message":"Saved objects encryption key is not set. This will severely limit Kibana functionality. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."}
kibana | {"type":"log","@timestamp":"2024-06-12T07:14:24+00:00","tags":["warning","plugins","actions"],"pid":7,"message":"APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."}
kibana | {"type":"log","@timestamp":"2024-06-12T07:14:24+00:00","tags":["warning","plugins","alerting"],"pid":7,"message":"APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."}
kibana | {"type":"log","@timestamp":"2024-06-12T07:14:24+00:00","tags":["info","plugins","ruleRegistry"],"pid":7,"message":"Installing common resources shared between all indices"}
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:24,287Z", "level": "INFO", "component": "o.e.i.g.ConfigDatabases", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "initialized default databases [[GeoLite2-Country.mmdb, GeoLite2-City.mmdb, GeoLite2-ASN.mmdb]], config databases [[]] and watching [/usr/share/elasticsearch/config/ingest-geoip] for changes" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:24,289Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "initialized database registry, using geoip-databases directory [/tmp/elasticsearch-12858804329222051209/geoip-databases/jV4pnypVQiqxNUTQm2ofqA]" }
kibana | {"type":"log","@timestamp":"2024-06-12T07:14:24+00:00","tags":["info","plugins","reporting","config"],"pid":7,"message":"Chromium sandbox provides an additional layer of protection, and is supported for Linux Ubuntu 20.04 OS. Automatically enabling Chromium sandbox."}
kibana | {"type":"log","@timestamp":"2024-06-12T07:14:24+00:00","tags":["error","elasticsearch-service"],"pid":7,"message":"Unable to retrieve version information from Elasticsearch nodes. connect ECONNREFUSED 127.0.0.1:9200"}
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:24,714Z", "level": "INFO", "component": "o.e.t.NettyAllocator", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "creating NettyAllocator with the following configs: [name=unpooled, suggested_max_allocation_size=1mb, factors={es.unsafe.use_unpooled_allocator=null, g1gc_enabled=true, g1gc_region_size=4mb, heap_size=512mb}]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:24,735Z", "level": "INFO", "component": "o.e.i.r.RecoverySettings", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:24,763Z", "level": "INFO", "component": "o.e.d.DiscoveryModule", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "using discovery type [single-node] and seed hosts providers [settings]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:25,047Z", "level": "INFO", "component": "o.e.g.DanglingIndicesState", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:25,433Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "initialized" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:25,434Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "starting ..." }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:25,442Z", "level": "INFO", "component": "o.e.x.s.c.f.PersistentCache", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "persistent cache index loaded" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:25,442Z", "level": "INFO", "component": "o.e.x.d.l.DeprecationIndexingComponent", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "deprecation component started" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:25,520Z", "level": "INFO", "component": "o.e.t.TransportService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "publish_address {172.26.0.2:9300}, bound_addresses {[::]:9300}" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:25,789Z", "level": "INFO", "component": "o.e.c.c.Coordinator", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "cluster UUID [d14hiZS-Rf2gVK0roytiAw]" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:25,892Z", "level": "INFO", "component": "o.e.c.s.MasterService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "elected-as-master ([1] nodes joined)[{3eefde64abdb}{jV4pnypVQiqxNUTQm2ofqA}{v6kBHYI3T_27WtKMRfbYrw}{172.26.0.2}{172.26.0.2:9300}{cdfhilmrstw} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 34, version: 474, delta: master node changed {previous [], current [{3eefde64abdb}{jV4pnypVQiqxNUTQm2ofqA}{v6kBHYI3T_27WtKMRfbYrw}{172.26.0.2}{172.26.0.2:9300}{cdfhilmrstw}]}" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:25,925Z", "level": "INFO", "component": "o.e.c.s.ClusterApplierService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "master node changed {previous [], current [{3eefde64abdb}{jV4pnypVQiqxNUTQm2ofqA}{v6kBHYI3T_27WtKMRfbYrw}{172.26.0.2}{172.26.0.2:9300}{cdfhilmrstw}]}, term: 34, version: 474, reason: Publication{term=34, version=474}" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:25,948Z", "level": "INFO", "component": "o.e.h.AbstractHttpServerTransport", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "publish_address {172.26.0.2:9200}, bound_addresses {[::]:9200}", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:25,949Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "started", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:26,129Z", "level": "INFO", "component": "o.e.l.LicenseService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "license [992e84aa-7347-41eb-a3bd-3cce90ebd25d] mode [basic] - valid", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:26,130Z", "level": "INFO", "component": "o.e.x.s.s.SecurityStatusChangeListener", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "Active license is now [BASIC]; Security is disabled", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:26,131Z", "level": "WARN", "component": "o.e.x.s.s.SecurityStatusChangeListener", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.17/security-minimal-setup.html to enable security.", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA" }
elasticsearch | {"type": "deprecation.elasticsearch", "timestamp": "2024-06-12T07:14:26,131Z", "level": "CRITICAL", "component": "o.e.d.x.s.s.SecurityStatusChangeListener", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "The default behavior of disabling security on basic licenses is deprecated. In a later version of Elasticsearch, the value of [xpack.security.enabled] will default to \"true\" , regardless of the license level. See https://www.elastic.co/guide/en/elasticsearch/reference/7.17/security-minimal-setup.html to enable security, or explicitly disable security by setting [xpack.security.enabled] to false in elasticsearch.yml", "key": "security_implicitly_disabled", "category": "security", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:26,136Z", "level": "INFO", "component": "o.e.g.GatewayService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "recovered [9] indices into cluster_state", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:26,525Z", "level": "ERROR", "component": "o.e.i.g.GeoIpDownloader", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "exception during geoip databases update", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA" ,
elasticsearch | "stacktrace": ["org.elasticsearch.ElasticsearchException: not all primary shards of [.geoip_databases] index are active",
elasticsearch | "at org.elasticsearch.ingest.geoip.GeoIpDownloader.updateDatabases(GeoIpDownloader.java:137) ~[ingest-geoip-7.17.9.jar:7.17.9]",
elasticsearch | "at org.elasticsearch.ingest.geoip.GeoIpDownloader.runDownloader(GeoIpDownloader.java:284) [ingest-geoip-7.17.9.jar:7.17.9]",
elasticsearch | "at org.elasticsearch.ingest.geoip.GeoIpDownloaderTaskExecutor.nodeOperation(GeoIpDownloaderTaskExecutor.java:100) [ingest-geoip-7.17.9.jar:7.17.9]",
elasticsearch | "at org.elasticsearch.ingest.geoip.GeoIpDownloaderTaskExecutor.nodeOperation(GeoIpDownloaderTaskExecutor.java:46) [ingest-geoip-7.17.9.jar:7.17.9]",
elasticsearch | "at org.elasticsearch.persistent.NodePersistentTasksExecutor$1.doRun(NodePersistentTasksExecutor.java:42) [elasticsearch-7.17.9.jar:7.17.9]",
elasticsearch | "at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:777) [elasticsearch-7.17.9.jar:7.17.9]",
elasticsearch | "at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26) [elasticsearch-7.17.9.jar:7.17.9]",
elasticsearch | "at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) [?:?]",
elasticsearch | "at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) [?:?]",
elasticsearch | "at java.lang.Thread.run(Thread.java:1589) [?:?]"] }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:26,678Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "retrieve geoip database [GeoLite2-Country.mmdb] from [.geoip_databases] to [/tmp/elasticsearch-12858804329222051209/geoip-databases/jV4pnypVQiqxNUTQm2ofqA/GeoLite2-Country.mmdb.tmp.gz]", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:26,680Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "retrieve geoip database [GeoLite2-City.mmdb] from [.geoip_databases] to [/tmp/elasticsearch-12858804329222051209/geoip-databases/jV4pnypVQiqxNUTQm2ofqA/GeoLite2-City.mmdb.tmp.gz]", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:26,680Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "retrieve geoip database [GeoLite2-ASN.mmdb] from [.geoip_databases] to [/tmp/elasticsearch-12858804329222051209/geoip-databases/jV4pnypVQiqxNUTQm2ofqA/GeoLite2-ASN.mmdb.tmp.gz]", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:26,850Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "successfully reloaded changed geoip database file [/tmp/elasticsearch-12858804329222051209/geoip-databases/jV4pnypVQiqxNUTQm2ofqA/GeoLite2-Country.mmdb]", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:26,862Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "successfully reloaded changed geoip database file [/tmp/elasticsearch-12858804329222051209/geoip-databases/jV4pnypVQiqxNUTQm2ofqA/GeoLite2-ASN.mmdb]", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:26,881Z", "level": "INFO", "component": "o.e.c.r.a.AllocationService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[.ds-.logs-deprecation.elasticsearch-default-2024.06.10-000001][0]]]).", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA" }
elasticsearch | {"type": "server", "timestamp": "2024-06-12T07:14:27,234Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "successfully reloaded changed geoip database file [/tmp/elasticsearch-12858804329222051209/geoip-databases/jV4pnypVQiqxNUTQm2ofqA/GeoLite2-City.mmdb]", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA" }
email_app | 🚀 ~ file: passportConfig.js:47 ~ passport.use ~ profile.oid: 003c1927-a123-486a-bc11-41b9b23067cd
email_app | 🚀 ~ file: oauthService.js:7 ~ passport.authenticate ~ user: undefined
email_app | ConnectionError: connect ECONNREFUSED 127.0.0.1:9200
email_app | at SniffingTransport.request (/app/node_modules/@elastic/transport/lib/Transport.js:541:31)
email_app | at processTicksAndRejections (internal/process/task_queues.js:95:5)
email_app | at async Client.GetApi [as get] (/app/node_modules/@elastic/elasticsearch/lib/api/api/get.js:36:12)
email_app | at async Function.findById (/app/models/userModel.js:13:22)
v View in Docker Desktop w Enable Watch
thanks for quickly reply but still in 15 seconds or 1 minute the error is same i tried after 1 minute but same response i am getting. @antoineco
Kibana is reporting connect ECONNREFUSED 127.0.0.1:9200
127.0.0.1
is the address of the loopback interface, so you will not get an answer from Elasticsearch on Kibana's loopback.
I see that you are running on version 7 of the Elastic stack. As indicated in the README, this requires switching to the release-7.x
branch of this Git repository, because there are subtle differences between v7 and v8.
Are you using that branch?
I also see that your configuration seems different from docker-elk's defaults. For example, you removed the network bridge, but that part is critical to allowing name-based discovery between containers of the ELK stack (e.g. for Kibana to address Elasticsearch at http://elasticsearch:9200
without hardcoding network names).
We request in the issue template that people share their configuration so that we can reproduce issues on our end.
I just clone the repo then run docker compose up
But I have sama issues.
What should I do?
Thanks
@hendisantika
I just clone the repo then run
docker compose up
I suggest reading the README a little bit too. You will find your answer pretty quickly, even if you just stop at tl;dr.
Which part @antoineco ?
Maybe I miss something
Oh sorry @antoineco ... I miss to run docker compose setup
before running docker compose up
. I thought it was same. OK Thanks
Closing due to inactivity. Feel free to reopen if the problem persists and you are able to share enough details for us to reproduce.
Problem description
Extra information
Stack configuration
Docker setup
Client: Docker Engine - Community
Please paste the full output of the
docker-compose version
command below.Docker build output