Elasticsearch 8.11.4 Windows installation from zip not completing

Hello!

I am having difficulty installing Elasticsearch 8.11.4 on a laptop running Windows 10. Running elasticsearch.bat creates the following log in the command window. Shortly after running the command the install hangs indefinitely. I have been following the documentation and cannot find the source of my issue in other posts.

Any guidance would be appreciated.

Microsoft Windows [Version 10.0.19045.3930]
(c) Microsoft Corporation. All rights reserved.

C:\elasticsearch\bin>elasticsearch.bat
Jan 16, 2024 8:24:57 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider will be removed in a future release
[2024-01-16T08:24:59,194][INFO ][o.a.l.i.v.PanamaVectorizationProvider] [DESKTOP-PKVTLIK] Java vector incubator API enabled; uses preferredBitSize=256
[2024-01-16T08:25:00,535][INFO ][o.e.n.Node               ] [DESKTOP-PKVTLIK] version[8.11.4], pid[14068], build[zip/da06c53fd49b7e676ccf8a32d6655c5155c16d81/2024-01-08T10:05:08.438562403Z], OS[Windows 10/10.0/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/21.0.1/21.0.1+12-29]
[2024-01-16T08:25:00,538][INFO ][o.e.n.Node               ] [DESKTOP-PKVTLIK] JVM home [C:\elasticsearch\jdk], using bundled JDK [true]
[2024-01-16T08:25:00,538][INFO ][o.e.n.Node               ] [DESKTOP-PKVTLIK] JVM arguments [-Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -Djava.security.manager=allow, -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, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=SPI,COMPAT, --add-opens=java.base/java.io=org.elasticsearch.preallocate, -XX:+UseG1GC, -Djava.io.tmpdir=C:\Users\EMERSO~1\AppData\Local\Temp\elasticsearch, --add-modules=jdk.incubator.vector, -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,level,pid,tags:filecount=32,filesize=64m, -Xms8123m, -Xmx8123m, -XX:MaxDirectMemorySize=4259315712, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, -Des.distribution.type=zip, --module-path=C:\elasticsearch\lib, --add-modules=jdk.net, --add-modules=ALL-MODULE-PATH, -Djdk.module.main=org.elasticsearch.server]
[2024-01-16T08:25:06,076][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [repository-url]
[2024-01-16T08:25:06,077][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [rest-root]
[2024-01-16T08:25:06,078][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-core]
[2024-01-16T08:25:06,081][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-redact]
[2024-01-16T08:25:06,082][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [ingest-user-agent]
[2024-01-16T08:25:06,083][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-async-search]
[2024-01-16T08:25:06,084][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-monitoring]
[2024-01-16T08:25:06,084][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [repository-s3]
[2024-01-16T08:25:06,085][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-analytics]
[2024-01-16T08:25:06,086][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-ent-search]
[2024-01-16T08:25:06,087][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-autoscaling]
[2024-01-16T08:25:06,087][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [lang-painless]
[2024-01-16T08:25:06,088][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-ml]
[2024-01-16T08:25:06,089][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [lang-mustache]
[2024-01-16T08:25:06,092][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [legacy-geo]
[2024-01-16T08:25:06,092][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-ql]
[2024-01-16T08:25:06,094][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [rank-rrf]
[2024-01-16T08:25:06,095][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [analysis-common]
[2024-01-16T08:25:06,096][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [transport-netty4]
[2024-01-16T08:25:06,096][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [aggregations]
[2024-01-16T08:25:06,097][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [ingest-common]
[2024-01-16T08:25:06,098][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [frozen-indices]
[2024-01-16T08:25:06,099][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-identity-provider]
[2024-01-16T08:25:06,099][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-shutdown]
[2024-01-16T08:25:06,100][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-text-structure]
[2024-01-16T08:25:06,101][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [snapshot-repo-test-kit]
[2024-01-16T08:25:06,102][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [ml-package-loader]
[2024-01-16T08:25:06,103][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [kibana]
[2024-01-16T08:25:06,103][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [constant-keyword]
[2024-01-16T08:25:06,104][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-logstash]
[2024-01-16T08:25:06,105][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-ccr]
[2024-01-16T08:25:06,106][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-graph]
[2024-01-16T08:25:06,109][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-esql]
[2024-01-16T08:25:06,110][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [parent-join]
[2024-01-16T08:25:06,110][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-enrich]
[2024-01-16T08:25:06,111][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [repositories-metering-api]
[2024-01-16T08:25:06,111][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [transform]
[2024-01-16T08:25:06,112][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [repository-azure]
[2024-01-16T08:25:06,113][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [repository-gcs]
[2024-01-16T08:25:06,114][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [spatial]
[2024-01-16T08:25:06,114][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [apm]
[2024-01-16T08:25:06,115][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [mapper-extras]
[2024-01-16T08:25:06,116][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [mapper-version]
[2024-01-16T08:25:06,117][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-rollup]
[2024-01-16T08:25:06,117][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [percolator]
[2024-01-16T08:25:06,118][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [data-streams]
[2024-01-16T08:25:06,119][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-stack]
[2024-01-16T08:25:06,119][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [rank-eval]
[2024-01-16T08:25:06,120][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [reindex]
[2024-01-16T08:25:06,123][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-security]
[2024-01-16T08:25:06,124][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [blob-cache]
[2024-01-16T08:25:06,125][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [searchable-snapshots]
[2024-01-16T08:25:06,126][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-slm]
[2024-01-16T08:25:06,126][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [snapshot-based-recoveries]
[2024-01-16T08:25:06,127][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-watcher]
[2024-01-16T08:25:06,128][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [old-lucene-versions]
[2024-01-16T08:25:06,129][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-ilm]
[2024-01-16T08:25:06,129][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-voting-only-node]
[2024-01-16T08:25:06,131][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-deprecation]
[2024-01-16T08:25:06,132][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-fleet]
[2024-01-16T08:25:06,133][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-aggregate-metric]
[2024-01-16T08:25:06,133][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-downsample]
[2024-01-16T08:25:06,134][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-profiling]
[2024-01-16T08:25:06,134][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [ingest-geoip]
[2024-01-16T08:25:06,135][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [inference]
[2024-01-16T08:25:06,136][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-write-load-forecaster]
[2024-01-16T08:25:06,139][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [search-business-rules]
[2024-01-16T08:25:06,139][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [ingest-attachment]
[2024-01-16T08:25:06,140][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [wildcard]
[2024-01-16T08:25:06,141][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [unsigned-long]
[2024-01-16T08:25:06,142][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-sql]
[2024-01-16T08:25:06,142][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [runtime-fields-common]
[2024-01-16T08:25:06,143][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-async]
[2024-01-16T08:25:06,144][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [vector-tile]
[2024-01-16T08:25:06,144][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [lang-expression]
[2024-01-16T08:25:06,145][INFO ][o.e.p.PluginsService     ] [DESKTOP-PKVTLIK] loaded module [x-pack-eql]
[2024-01-16T08:25:09,739][INFO ][o.e.e.NodeEnvironment    ] [DESKTOP-PKVTLIK] using [1] data paths, mounts [[(C:)]], net usable_space [163.5gb], net total_space [465.1gb], types [NTFS]
[2024-01-16T08:25:09,740][INFO ][o.e.e.NodeEnvironment    ] [DESKTOP-PKVTLIK] heap size [7.9gb], compressed ordinary object pointers [true]
[2024-01-16T08:25:09,846][INFO ][o.e.n.Node               ] [DESKTOP-PKVTLIK] node name [DESKTOP-PKVTLIK], node ID [BIRPZoHmT-WYHFOkaMWfjw], cluster name [elasticsearch], roles [transform, data_hot, ml, data_frozen, ingest, data_cold, data, remote_cluster_client, master, data_warm, data_content]
[2024-01-16T08:25:12,899][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [DESKTOP-PKVTLIK] [controller/28412] [Main.cc@123] controller (64 bit): Version 8.11.4 (Build 53b28b969d0b18) Copyright (c) 2023 Elasticsearch BV
[2024-01-16T08:25:13,410][INFO ][o.e.x.s.Security         ] [DESKTOP-PKVTLIK] Security is enabled
[2024-01-16T08:25:13,864][INFO ][o.e.x.s.a.s.FileRolesStore] [DESKTOP-PKVTLIK] parsed [0] roles from file [C:\elasticsearch\config\roles.yml]
[2024-01-16T08:25:14,663][INFO ][o.e.x.p.ProfilingPlugin  ] [DESKTOP-PKVTLIK] Profiling is enabled
[2024-01-16T08:25:14,688][INFO ][o.e.x.p.ProfilingPlugin  ] [DESKTOP-PKVTLIK] profiling index templates will not be installed or reinstalled
[2024-01-16T08:25:15,474][INFO ][o.e.t.n.NettyAllocator   ] [DESKTOP-PKVTLIK] creating NettyAllocator with the following configs: [name=elasticsearch_configured, chunk_size=1mb, suggested_max_allocation_size=1mb, factors={es.unsafe.use_netty_default_chunk_and_page_size=false, g1gc_enabled=true, g1gc_region_size=4mb}]
[2024-01-16T08:25:15,508][INFO ][o.e.i.r.RecoverySettings ] [DESKTOP-PKVTLIK] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]
[2024-01-16T08:25:15,559][INFO ][o.e.d.DiscoveryModule    ] [DESKTOP-PKVTLIK] using discovery type [multi-node] and seed hosts providers [settings]
[2024-01-16T08:25:17,227][INFO ][o.e.n.Node               ] [DESKTOP-PKVTLIK] initialized
[2024-01-16T08:25:17,229][INFO ][o.e.n.Node               ] [DESKTOP-PKVTLIK] starting ...
[2024-01-16T08:25:17,248][INFO ][o.e.x.s.c.f.PersistentCache] [DESKTOP-PKVTLIK] persistent cache index loaded
[2024-01-16T08:25:17,249][INFO ][o.e.x.d.l.DeprecationIndexingComponent] [DESKTOP-PKVTLIK] deprecation component started
[2024-01-16T08:25:17,415][INFO ][o.e.t.TransportService   ] [DESKTOP-PKVTLIK] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300}
[2024-01-16T08:25:17,848][WARN ][o.e.b.BootstrapChecks    ] [DESKTOP-PKVTLIK] the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured; for more information see [https://www.elastic.co/guide/en/elasticsearch/reference/8.11/_discovery_configuration_check.html]
[2024-01-16T08:25:17,848][WARN ][o.e.b.BootstrapChecks    ] [DESKTOP-PKVTLIK] Transport SSL must be enabled if security is enabled. Please set [xpack.security.transport.ssl.enabled] to [true] or disable security by setting [xpack.security.enabled] to [false]; for more information see [https://www.elastic.co/guide/en/elasticsearch/reference/8.11/bootstrap-checks-xpack.html#bootstrap-checks-tls]
[2024-01-16T08:25:17,854][INFO ][o.e.c.c.ClusterBootstrapService] [DESKTOP-PKVTLIK] this node is locked into cluster UUID [I91JUlteSQ6l2pMnZIMKlw] and will not attempt further cluster bootstrapping
[2024-01-16T08:25:17,865][INFO ][o.e.c.c.ClusterBootstrapService] [DESKTOP-PKVTLIK] no discovery configuration found, will perform best-effort cluster bootstrapping after [3s] unless existing master is discovered
[2024-01-16T08:25:18,029][INFO ][o.e.c.s.MasterService    ] [DESKTOP-PKVTLIK] elected-as-master ([1] nodes joined in term 3)[_FINISH_ELECTION_, {DESKTOP-PKVTLIK}{BIRPZoHmT-WYHFOkaMWfjw}{fFL9aWW1Q0eUW7kzp6Z9Bw}{DESKTOP-PKVTLIK}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}{8.11.4}{7000099-8500003} completing election], term: 3, version: 41, delta: master node changed {previous [], current [{DESKTOP-PKVTLIK}{BIRPZoHmT-WYHFOkaMWfjw}{fFL9aWW1Q0eUW7kzp6Z9Bw}{DESKTOP-PKVTLIK}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}{8.11.4}{7000099-8500003}]}
[2024-01-16T08:25:18,150][INFO ][o.e.c.s.ClusterApplierService] [DESKTOP-PKVTLIK] master node changed {previous [], current [{DESKTOP-PKVTLIK}{BIRPZoHmT-WYHFOkaMWfjw}{fFL9aWW1Q0eUW7kzp6Z9Bw}{DESKTOP-PKVTLIK}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}{8.11.4}{7000099-8500003}]}, term: 3, version: 41, reason: Publication{term=3, version=41}
[2024-01-16T08:25:18,198][INFO ][o.e.c.f.AbstractFileWatchingService] [DESKTOP-PKVTLIK] starting file watcher ...
[2024-01-16T08:25:18,205][INFO ][o.e.c.f.AbstractFileWatchingService] [DESKTOP-PKVTLIK] file settings service up and running [tid=75]
[2024-01-16T08:25:18,216][INFO ][o.e.c.c.NodeJoinExecutor ] [DESKTOP-PKVTLIK] node-join: [{DESKTOP-PKVTLIK}{BIRPZoHmT-WYHFOkaMWfjw}{fFL9aWW1Q0eUW7kzp6Z9Bw}{DESKTOP-PKVTLIK}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}{8.11.4}{7000099-8500003}] with reason [completing election]
[2024-01-16T08:25:18,221][INFO ][o.e.h.AbstractHttpServerTransport] [DESKTOP-PKVTLIK] publish_address {127.0.0.1:9200}, bound_addresses {[::1]:9200}, {127.0.0.1:9200}
[2024-01-16T08:25:18,222][INFO ][o.e.n.Node               ] [DESKTOP-PKVTLIK] started {DESKTOP-PKVTLIK}{BIRPZoHmT-WYHFOkaMWfjw}{fFL9aWW1Q0eUW7kzp6Z9Bw}{DESKTOP-PKVTLIK}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}{8.11.4}{7000099-8500003}{ml.max_jvm_size=8518631424, ml.allocated_processors_double=8.0, ml.allocated_processors=8, ml.machine_memory=17036132352, transform.config_version=10.0.0, xpack.installed=true, ml.config_version=11.0.0}
[2024-01-16T08:25:18,624][INFO ][o.e.l.ClusterStateLicenseService] [DESKTOP-PKVTLIK] license [e9e68bba-0a16-46bd-a43c-5a748d06c58e] mode [basic] - valid
[2024-01-16T08:25:18,626][INFO ][o.e.x.s.a.Realms         ] [DESKTOP-PKVTLIK] license mode is [basic], currently licensed security realms are [reserved/reserved,file/default_file,native/default_native]
[2024-01-16T08:25:18,631][INFO ][o.e.g.GatewayService     ] [DESKTOP-PKVTLIK] recovered [0] indices into cluster_state
[2024-01-16T08:25:18,782][INFO ][o.e.h.n.s.HealthNodeTaskExecutor] [DESKTOP-PKVTLIK] Node [{DESKTOP-PKVTLIK}{BIRPZoHmT-WYHFOkaMWfjw}] is selected as the current health node.

Hi,

The first warning is about discovery settings: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured . This warning is because you're running a single node cluster and haven't configured the discovery settings.

Regards

Not sure what is the issue here, if you are running elasticsearch.bat on the command line, it will print the logs on the screen, what you shared is expected as you will need to keep the command prompt open to keep elasticsearch running.

Don't think there are any issues in what you shared.

Are you able to query your cluster? What you got when you open a browser and goes to 127.0.0.1:9200 while this command prompt is open?

When I connect to the address I get a login request and this log;, though I have not created a login yet.

root_cause	
0	
type	"security_exception"
reason	"unable to authenticate user [elastic] for REST request [/]"
header	
WWW-Authenticate	
0	'Basic realm="security" charset="UTF-8"'
1	"ApiKey"
type	"security_exception"
reason	"unable to authenticate user [elastic] for REST request [/]"
header	
WWW-Authenticate	
0	'Basic realm="security" charset="UTF-8"'
1	"ApiKey"
status	401

Also- thank you for the prompt reply!

If you followed the documentation the credentials for the elastic user were show on the screen after you first run it.

Did you followed this documentation ?

As @leandrojmp says the elastic password is auto-generated and displayed once on the screen. However, if you didn't catch it you can reset it. Then when you run curl commands you can pass in your basic auth credentials to validate that the service is up and running and accepting requests.

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