Windows Local Magento Installation Elastic Search Unknown 503 error from Elasticsearch null

Installed Magento 2.45 in windows 10 local setup. From the admin panel i do see Catalog Search index notification.
Actually the notification says "One or more indexers are invalid. Make sure your Magento cron job is running." but its Windows 10. Did some search online and tried to use reindex commands

C:\M\xampp8.1\htdocs\magento2>php bin/magento indexer:reindex
Design Config Grid index has been rebuilt successfully in 00:00:00
Customer Grid index has been rebuilt successfully in 00:00:00
Category Products index has been rebuilt successfully in 00:00:00
Product Categories index has been rebuilt successfully in 00:00:00
Catalog Rule Product index has been rebuilt successfully in 00:00:00
Product EAV index has been rebuilt successfully in 00:00:00
Stock index has been rebuilt successfully in 00:00:00
Inventory index has been rebuilt successfully in 00:00:00
Catalog Product Rule index has been rebuilt successfully in 00:00:00
Product Price index has been rebuilt successfully in 00:00:01
****Catalog Search index process error during indexation process:**
**Unknown 503 error from Elasticsearch null****

and Even i got his error when i am trying to install Sample database for Magento

I had two directories of Elastic search earlier, i deleted one and used the existing one for installing Magento.

Elastic search running well on localhost:9200 as supposed to be.

Do see these warning in Elasticsearch running cmd

enter image description here

Please help how to solve this issue with Elastic Search.

tried to reindex and deleted the old directory of Elasticsearch but still getting 503 unexpected error

found from Elasticsearch logs

path: /_alias/magento2_product_1, params: {name=magento2_product_1}
org.elasticsearch.discovery.MasterNotDiscoveredException: null
	at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction$2.onTimeout(TransportMasterNodeAction.java:297) [elasticsearch-7.17.0.jar:7.17.0]
	at org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onTimeout(ClusterStateObserver.java:345) [elasticsearch-7.17.0.jar:7.17.0]
	at org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:263) [elasticsearch-7.17.0.jar:7.17.0]
	at org.elasticsearch.cluster.service.ClusterApplierService$NotifyTimeout.run(ClusterApplierService.java:660) [elasticsearch-7.17.0.jar:7.17.0]
	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:718) [elasticsearch-7.17.0.jar:7.17.0]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
	at java.lang.Thread.run(Thread.java:833) [?:?]
[2022-12-29T13:14:58,517][WARN ][o.e.c.c.ClusterFormationFailureHelper] [] master not discovered or elected yet, an election requires two nodes with ids [9vMxUNvOQe6K-uF-beID0Q, o0-gGk_2SquCXSYgS7n9WA], have only discovered non-quorum 

Elasticsearch YML file.

# ======================== Elasticsearch Configuration =========================
#
# NOTE: Elasticsearch comes with reasonable defaults for most settings.
#       Before you set out to tweak and tune the configuration, make sure you
#       understand what are you trying to accomplish and the consequences.
#
# The primary way of configuring a node is via this file. This template lists
# the most important settings you may want to configure for a production cluster.
#
# Please consult the documentation for further information on configuration options:
# https://www.elastic.co/guide/en/elasticsearch/reference/index.html
#
# ---------------------------------- Cluster -----------------------------------
#
# Use a descriptive name for your cluster:
#
#cluster.name: my-application
#
# ------------------------------------ Node ------------------------------------
#
# Use a descriptive name for the node:
#
#node.name: node-1
#
# Add custom attributes to the node:
#
#node.attr.rack: r1
#
# ----------------------------------- Paths ------------------------------------
#
# Path to directory where to store the data (separate multiple locations by comma):
#
#path.data: /path/to/data
#
# Path to log files:
#
#path.logs: /path/to/logs
#
# ----------------------------------- Memory -----------------------------------
#
# Lock the memory on startup:
#
#bootstrap.memory_lock: true
#
# Make sure that the heap size is set to about half the memory available
# on the system and that the owner of the process is allowed to use this
# limit.
#
# Elasticsearch performs poorly when the system is swapping the memory.
#
# ---------------------------------- Network -----------------------------------
#
# By default Elasticsearch is only accessible on localhost. Set a different
# address here to expose this node on the network:
#
#network.host: 192.168.0.1
#
# By default Elasticsearch listens for HTTP traffic on the first free port it
# finds starting at 9200. Set a specific HTTP port here:
#
#http.port: 9200
#
# For more information, consult the network module documentation.
#
# --------------------------------- Discovery ----------------------------------
#
# Pass an initial list of hosts to perform discovery when this node is started:
# The default list of hosts is ["127.0.0.1", "[::1]"]
#
#discovery.seed_hosts: ["host1", "host2"]
#discovery.seed_hosts: false
#
# Bootstrap the cluster using an initial set of master-eligible nodes:
#
#cluster.initial_master_nodes: ["node-1", "node-2"]
#
# For more information, consult the discovery and cluster formation module documentation.
#
# ---------------------------------- Various -----------------------------------
#
# Require explicit names when deleting indices:
#
#action.destructive_requires_name: true
#
# ---------------------------------- Security ----------------------------------
#
#                                 *** WARNING ***
#
# Elasticsearch security features are not enabled by default.
# These features are free, but require configuration changes to enable them.
# This means that users don’t have to provide credentials and can get full access
# to the cluster. Network connections are also not encrypted.
#
# To protect your data, we strongly encourage you to enable the Elasticsearch security features. 
# Refer to the following documentation for instructions.
#
# https://www.elastic.co/guide/en/elasticsearch/reference/7.16/configuring-stack-security.html

Also tried the following setting in elasticsearch.yml with all other values default
discovery.seed_hosts: false
also no use and commented.

Welcome to our community! :smiley:

This is likely the issue you have, but it'd be good if you could please share your entire elasticsearch.yml and your Elasticsearch logs.

Thanks and appreciate your reply. Kindly forgive my ignorance , for some reason i dont an option to attach the log file , while i copy and paste the content the limit is exceeding. Just wanted to say that i have added yml file and looking for a way to add log too. Thanks.

[2022-12-30T09:31:12,437][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9303], node [null], requesting [false] connection failed: [][[::1]:9303] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9303: Connection refused: no further information
[2022-12-30T09:31:13,069][WARN ][o.e.c.c.ClusterFormationFailureHelper] [-] master not discovered or elected yet, an election requires two nodes with ids [9vMxUNvOQe6K-uF-beID0Q, o0-gGk_2SquCXSYgS7n9WA], have only discovered non-quorum [{-}{9vMxUNvOQe6K-uF-beID0Q}{Ue8E86rnTk-wEH4kKXKFVQ}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}]; discovery will continue using [127.0.0.1:9301, 127.0.0.1:9302, 127.0.0.1:9303, 127.0.0.1:9304, 127.0.0.1:9305, [::1]:9301, [::1]:9302, [::1]:9303, [::1]:9304, [::1]:9305] from hosts providers and [{-}{9vMxUNvOQe6K-uF-beID0Q}{Ue8E86rnTk-wEH4kKXKFVQ}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}] from last-known cluster state; node term 2, last-accepted version 0 in term 0
[2022-12-30T09:31:13,440][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9303], node [null], requesting [false] connection failed: [][127.0.0.1:9303] connect_exception: Connection refused: no further information: /127.0.0.1:9303: Connection refused: no further information
[2022-12-30T09:31:13,442][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9305], node [null], requesting [false] connection failed: [][[::1]:9305] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9305: Connection refused: no further information
[2022-12-30T09:31:13,442][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9305], node [null], requesting [false] connection failed: [][127.0.0.1:9305] connect_exception: Connection refused: no further information: /127.0.0.1:9305: Connection refused: no further information
[2022-12-30T09:31:13,442][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9304], node [null], requesting [false] connection failed: [][[::1]:9304] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9304: Connection refused: no further information
[2022-12-30T09:31:13,440][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9302], node [null], requesting [false] connection failed: [][127.0.0.1:9302] connect_exception: Connection refused: no further information: /127.0.0.1:9302: Connection refused: no further information
[2022-12-30T09:31:13,440][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9301], node [null], requesting [false] connection failed: [][127.0.0.1:9301] connect_exception: Connection refused: no further information: /127.0.0.1:9301: Connection refused: no further information
[2022-12-30T09:31:13,440][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9301], node [null], requesting [false] connection failed: [][[::1]:9301] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9301: Connection refused: no further information
[2022-12-30T09:31:13,440][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9302], node [null], requesting [false] connection failed: [][[::1]:9302] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9302: Connection refused: no further information
[2022-12-30T09:31:13,442][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9304], node [null], requesting [false] connection failed: [][127.0.0.1:9304] connect_exception: Connection refused: no further information: /127.0.0.1:9304: Connection refused: no further information
[2022-12-30T09:31:13,442][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9303], node [null], requesting [false] connection failed: [][[::1]:9303] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9303: Connection refused: no further information
[2022-12-30T09:31:14,445][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9301], node [null], requesting [false] connection failed: [][127.0.0.1:9301] connect_exception: Connection refused: no further information: /127.0.0.1:9301: Connection refused: no further information
[2022-12-30T09:31:14,446][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9302], node [null], requesting [false] connection failed: [][[::1]:9302] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9302: Connection refused: no further information
[2022-12-30T09:31:14,446][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9302], node [null], requesting [false] connection failed: [][127.0.0.1:9302] connect_exception: Connection refused: no further information: /127.0.0.1:9302: Connection refused: no further information
[2022-12-30T09:31:14,446][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9305], node [null], requesting [false] connection failed: [][127.0.0.1:9305] connect_exception: Connection refused: no further information: /127.0.0.1:9305: Connection refused: no further information
[2022-12-30T09:31:14,446][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9303], node [null], requesting [false] connection failed: [][[::1]:9303] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9303: Connection refused: no further information
[2022-12-30T09:31:14,446][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9305], node [null], requesting [false] connection failed: [][[::1]:9305] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9305: Connection refused: no further information
[2022-12-30T09:31:14,445][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9303], node [null], requesting [false] connection failed: [][127.0.0.1:9303] connect_exception: Connection refused: no further information: /127.0.0.1:9303: Connection refused: no further information
[2022-12-30T09:31:14,445][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9301], node [null], requesting [false] connection failed: [][[::1]:9301] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9301: Connection refused: no further information
[2022-12-30T09:31:14,445][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9304], node [null], requesting [false] connection failed: [][[::1]:9304] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9304: Connection refused: no further information
[2022-12-30T09:31:14,445][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9304], node [null], requesting [false] connection failed: [][127.0.0.1:9304] connect_exception: Connection refused: no further information: /127.0.0.1:9304: Connection refused: no further information
[2022-12-30T09:31:15,447][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9302], node [null], requesting [false] connection failed: [][127.0.0.1:9302] connect_exception: Connection refused: no further information: /127.0.0.1:9302: Connection refused: no further information
[2022-12-30T09:31:15,448][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9301], node [null], requesting [false] connection failed: [][[::1]:9301] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9301: Connection refused: no further information
[2022-12-30T09:31:15,448][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9305], node [null], requesting [false] connection failed: [][127.0.0.1:9305] connect_exception: Connection refused: no further information: /127.0.0.1:9305: Connection refused: no further information
[2022-12-30T09:31:15,448][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9304], node [null], requesting [false] connection failed: [][127.0.0.1:9304] connect_exception: Connection refused: no further information: /127.0.0.1:9304: Connection refused: no further information
[2022-12-30T09:31:15,448][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9304], node [null], requesting [false] connection failed: [][[::1]:9304] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9304: Connection refused: no further information
[2022-12-30T09:31:15,447][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9302], node [null], requesting [false] connection failed: [][[::1]:9302] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9302: Connection refused: no further information
[2022-12-30T09:31:15,447][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9303], node [null], requesting [false] connection failed: [][127.0.0.1:9303] connect_exception: Connection refused: no further information: /127.0.0.1:9303: Connection refused: no further information
[2022-12-30T09:31:15,447][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9303], node [null], requesting [false] connection failed: [][[::1]:9303] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9303: Connection refused: no further information
[2022-12-30T09:31:15,448][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9301], node [null], requesting [false] connection failed: [][127.0.0.1:9301] connect_exception: Connection refused: no further information: /127.0.0.1:9301: Connection refused: no further information
[2022-12-30T09:31:15,448][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9305], node [null], requesting [false] connection failed: [][[::1]:9305] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9305: Connection refused: no further information
[2022-12-30T09:31:15,592][WARN ][r.suppressed             ] [-] path: /_alias/magento2_product_1, params: {name=magento2_product_1}
org.elasticsearch.discovery.MasterNotDiscoveredException: null
	at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction$2.onTimeout(TransportMasterNodeAction.java:297) [elasticsearch-7.17.0.jar:7.17.0]
	at org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onTimeout(ClusterStateObserver.java:345) [elasticsearch-7.17.0.jar:7.17.0]
	at org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:263) [elasticsearch-7.17.0.jar:7.17.0]
	at org.elasticsearch.cluster.service.ClusterApplierService$NotifyTimeout.run(ClusterApplierService.java:660) [elasticsearch-7.17.0.jar:7.17.0]
	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:718) [elasticsearch-7.17.0.jar:7.17.0]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
	at java.lang.Thread.run(Thread.java:833) [?:?]
[2022-12-30T09:31:16,451][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9303], node [null], requesting [false] connection failed: [][127.0.0.1:9303] connect_exception: Connection refused: no further information: /127.0.0.1:9303: Connection refused: no further information
[2022-12-30T09:31:16,452][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9304], node [null], requesting [false] connection failed: [][[::1]:9304] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9304: Connection refused: no further information
[2022-12-30T09:31:16,452][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9302], node [null], requesting [false] connection failed: [][127.0.0.1:9302] connect_exception: Connection refused: no further information: /127.0.0.1:9302: Connection refused: no further information
[2022-12-30T09:31:16,452][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9302], node [null], requesting [false] connection failed: [][[::1]:9302] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9302: Connection refused: no further information
[2022-12-30T09:31:16,452][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9301], node [null], requesting [false] connection failed: [][[::1]:9301] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9301: Connection refused: no further information
[2022-12-30T09:31:16,452][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9305], node [null], requesting [false] connection failed: [][127.0.0.1:9305] connect_exception: Connection refused: no further information: /127.0.0.1:9305: Connection refused: no further information
[2022-12-30T09:31:16,452][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9301], node [null], requesting [false] connection failed: [][127.0.0.1:9301] connect_exception: Connection refused: no further information: /127.0.0.1:9301: Connection refused: no further information
[2022-12-30T09:31:16,452][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9305], node [null], requesting [false] connection failed: [][[::1]:9305] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9305: Connection refused: no further information
[2022-12-30T09:31:16,451][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9304], node [null], requesting [false] connection failed: [][127.0.0.1:9304] connect_exception: Connection refused: no further information: /127.0.0.1:9304: Connection refused: no further information
[2022-12-30T09:31:16,452][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9303], node [null], requesting [false] connection failed: [][[::1]:9303] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9303: Connection refused: no further information
[2022-12-30T09:31:17,455][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9302], node [null], requesting [false] connection failed: [][127.0.0.1:9302] connect_exception: Connection refused: no further information: /127.0.0.1:9302: Connection refused: no further information
[2022-12-30T09:31:17,456][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9301], node [null], requesting [false] connection failed: [][[::1]:9301] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9301: Connection refused: no further information
[2022-12-30T09:31:17,456][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9305], node [null], requesting [false] connection failed: [][[::1]:9305] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9305: Connection refused: no further information
[2022-12-30T09:31:17,456][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9304], node [null], requesting [false] connection failed: [][127.0.0.1:9304] connect_exception: Connection refused: no further information: /127.0.0.1:9304: Connection refused: no further information
[2022-12-30T09:31:17,456][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9302], node [null], requesting [false] connection failed: [][[::1]:9302] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9302: Connection refused: no further information
[2022-12-30T09:31:17,456][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9303], node [null], requesting [false] connection failed: [][127.0.0.1:9303] connect_exception: Connection refused: no further information: /127.0.0.1:9303: Connection refused: no further information
[2022-12-30T09:31:17,456][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9305], node [null], requesting [false] connection failed: [][127.0.0.1:9305] connect_exception: Connection refused: no further information: /127.0.0.1:9305: Connection refused: no further information
[2022-12-30T09:31:17,456][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9301], node [null], requesting [false] connection failed: [][127.0.0.1:9301] connect_exception: Connection refused: no further information: /127.0.0.1:9301: Connection refused: no further information
[2022-12-30T09:31:17,456][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9304], node [null], requesting [false] connection failed: [][[::1]:9304] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9304: Connection refused: no further information
[2022-12-30T09:31:17,456][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9303], node [null], requesting [false] connection failed: [][[::1]:9303] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9303: Connection refused: no further information
[2022-12-30T09:31:18,459][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9303], node [null], requesting [false] connection failed: [][[::1]:9303] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9303: Connection refused: no further information
[2022-12-30T09:31:18,460][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9302], node [null], requesting [false] connection failed: [][127.0.0.1:9302] connect_exception: Connection refused: no further information: /127.0.0.1:9302: Connection refused: no further information
[2022-12-30T09:31:18,460][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9304], node [null], requesting [false] connection failed: [][[::1]:9304] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9304: Connection refused: no further information
[2022-12-30T09:31:18,460][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9303], node [null], requesting [false] connection failed: [][127.0.0.1:9303] connect_exception: Connection refused: no further information: /127.0.0.1:9303: Connection refused: no further information
[2022-12-30T09:31:18,460][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9301], node [null], requesting [false] connection failed: [][127.0.0.1:9301] connect_exception: Connection refused: no further information: /127.0.0.1:9301: Connection refused: no further information
[2022-12-30T09:31:18,460][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9302], node [null], requesting [false] connection failed: [][[::1]:9302] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9302: Connection refused: no further information
[2022-12-30T09:31:18,460][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9305], node [null], requesting [false] connection failed: [][[::1]:9305] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9305: Connection refused: no further information
[2022-12-30T09:31:18,459][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9301], node [null], requesting [false] connection failed: [][[::1]:9301] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9301: Connection refused: no further information
[2022-12-30T09:31:18,460][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9304], node [null], requesting [false] connection failed: [][127.0.0.1:9304] connect_exception: Connection refused: no further information: /127.0.0.1:9304: Connection refused: no further information
[2022-12-30T09:31:18,460][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9305], node [null], requesting [false] connection failed: [][127.0.0.1:9305] connect_exception: Connection refused: no further information: /127.0.0.1:9305: Connection refused: no further information
[2022-12-30T09:31:19,462][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9302], node [null], requesting [false] connection failed: [][127.0.0.1:9302] connect_exception: Connection refused: no further information: /127.0.0.1:9302: Connection refused: no further information
[2022-12-30T09:31:19,463][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9304], node [null], requesting [false] connection failed: [][[::1]:9304] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9304: Connection refused: no further information
[2022-12-30T09:31:19,463][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9301], node [null], requesting [false] connection failed: [][[::1]:9301] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9301: Connection refused: no further information
[2022-12-30T09:31:19,463][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9301], node [null], requesting [false] connection failed: [][127.0.0.1:9301] connect_exception: Connection refused: no further information: /127.0.0.1:9301: Connection refused: no further information
[2022-12-30T09:31:19,462][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9303], node [null], requesting [false] connection failed: [][127.0.0.1:9303] connect_exception: Connection refused: no further information: /127.0.0.1:9303: Connection refused: no further information
[2022-12-30T09:31:19,462][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9305], node [null], requesting [false] connection failed: [][127.0.0.1:9305] connect_exception: Connection refused: no further information: /127.0.0.1:9305: Connection refused: no further information
[2022-12-30T09:31:19,462][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9305], node [null], requesting [false] connection failed: [][[::1]:9305] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9305: Connection refused: no further information
[2022-12-30T09:31:19,462][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9303], node [null], requesting [false] connection failed: [][[::1]:9303] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9303: Connection refused: no further information
[2022-12-30T09:31:19,463][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9302], node [null], requesting [false] connection failed: [][[::1]:9302] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9302: Connection refused: no further information
[2022-12-30T09:31:19,463][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9304], node [null], requesting [false] connection failed: [][127.0.0.1:9304] connect_exception: Connection refused: no further information: /127.0.0.1:9304: Connection refused: no further information
[2022-12-30T09:31:20,464][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9301], node [null], requesting [false] connection failed: [][127.0.0.1:9301] connect_exception: Connection refused: no further information: /127.0.0.1:9301: Connection refused: no further information
[2022-12-30T09:31:20,465][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9303], node [null], requesting [false] connection failed: [][127.0.0.1:9303] connect_exception: Connection refused: no further information: /127.0.0.1:9303: Connection refused: no further information
[2022-12-30T09:31:20,465][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9303], node [null], requesting [false] connection failed: [][[::1]:9303] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9303: Connection refused: no further information
[2022-12-30T09:31:20,465][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9302], node [null], requesting [false] connection failed: [][127.0.0.1:9302] connect_exception: Connection refused: no further information: /127.0.0.1:9302: Connection refused: no further information
[2022-12-30T09:31:20,465][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9304], node [null], requesting [false] connection failed: [][[::1]:9304] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9304: Connection refused: no further information
[2022-12-30T09:31:20,464][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9305], node [null], requesting [false] connection failed: [][127.0.0.1:9305] connect_exception: Connection refused: no further information: /127.0.0.1:9305: Connection refused: no further information
[2022-12-30T09:31:20,464][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9305], node [null], requesting [false] connection failed: [][[::1]:9305] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9305: Connection refused: no further information
[2022-12-30T09:31:20,464][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9301], node [null], requesting [false] connection failed: [][[::1]:9301] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9301: Connection refused: no further information
[2022-12-30T09:31:20,465][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9302], node [null], requesting [false] connection failed: [][[::1]:9302] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9302: Connection refused: no further information
[2022-12-30T09:31:20,465][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9304], node [null], requesting [false] connection failed: [][127.0.0.1:9304] connect_exception: Connection refused: no further information: /127.0.0.1:9304: Connection refused: no further information
[2022-12-30T09:31:21,464][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9302], node [null], requesting [false] connection failed: [][127.0.0.1:9302] connect_exception: Connection refused: no further information: /127.0.0.1:9302: Connection refused: no further information
[2022-12-30T09:31:21,464][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9303], node [null], requesting [false] connection failed: [][127.0.0.1:9303] connect_exception: Connection refused: no further information: /127.0.0.1:9303: Connection refused: no further information
[2022-12-30T09:31:21,464][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9304], node [null], requesting [false] connection failed: [][[::1]:9304] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9304: Connection refused: no further information
[2022-12-30T09:31:21,464][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9301], node [null], requesting [false] connection failed: [][[::1]:9301] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9301: Connection refused: no further information
[2022-12-30T09:31:21,464][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9302], node [null], requesting [false] connection failed: [][[::1]:9302] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9302: Connection refused: no further information
[2022-12-30T09:31:21,464][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9304], node [null], requesting [false] connection failed: [][127.0.0.1:9304] connect_exception: Connection refused: no further information: /127.0.0.1:9304: Connection refused: no further information
[2022-12-30T09:31:21,464][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9303], node [null], requesting [false] connection failed: [][[::1]:9303] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9303: Connection refused: no further information
[2022-12-30T09:31:21,464][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9305], node [null], requesting [false] connection failed: [][[::1]:9305] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9305: Connection refused: no further information
[2022-12-30T09:31:21,464][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9305], node [null], requesting [false] connection failed: [][127.0.0.1:9305] connect_exception: Connection refused: no further information: /127.0.0.1:9305: Connection refused: no further information
[2022-12-30T09:31:21,464][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9301], node [null], requesting [false] connection failed: [][127.0.0.1:9301] connect_exception: Connection refused: no further information: /127.0.0.1:9301: Connection refused: no further information
[2022-12-30T09:31:22,471][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9303], node [null], requesting [false] connection failed: [][[::1]:9303] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9303: Connection refused: no further information
[2022-12-30T09:31:22,472][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9302], node [null], requesting [false] connection failed: [][[::1]:9302] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9302: Connection refused: no further information
[2022-12-30T09:31:22,472][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9305], node [null], requesting [false] connection failed: [][[::1]:9305] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9305: Connection refused: no further information
[2022-12-30T09:31:22,472][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9304], node [null], requesting [false] connection failed: [][[::1]:9304] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9304: Connection refused: no further information
[2022-12-30T09:31:22,472][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9302], node [null], requesting [false] connection failed: [][127.0.0.1:9302] connect_exception: Connection refused: no further information: /127.0.0.1:9302: Connection refused: no further information
[2022-12-30T09:31:22,472][WARN ][o.e.d.PeerFinder         ] [-] address [[::1]:9301], node [null], requesting [false] connection failed: [][[::1]:9301] connect_exception: Connection refused: no further information: /[0:0:0:0:0:0:0:1]:9301: Connection refused: no further information
[2022-12-30T09:31:22,472][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9303], node [null], requesting [false] connection failed: [][127.0.0.1:9303] connect_exception: Connection refused: no further information: /127.0.0.1:9303: Connection refused: no further information
[2022-12-30T09:31:22,472][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9305], node [null], requesting [false] connection failed: [][127.0.0.1:9305] connect_exception: Connection refused: no further information: /127.0.0.1:9305: Connection refused: no further information
[2022-12-30T09:31:22,472][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9301], node [null], requesting [false] connection failed: [][127.0.0.1:9301] connect_exception: Connection refused: no further information: /127.0.0.1:9301: Connection refused: no further information
[2022-12-30T09:31:22,472][WARN ][o.e.d.PeerFinder         ] [-] address [127.0.0.1:9304], node [null], requesting [false] connection failed: [][127.0.0.1:9304] connect_exception: Connection refused: no further information: /127.0.0.1:9304: Connection refused: no further information
[2022-12-30T09:31:23,085][WARN ][o.e.c.c.ClusterFormationFailureHelper] [-] master not discovered or elected yet, an election requires two nodes with ids [9vMxUNvOQe6K-uF-beID0Q, o0-gGk_2SquCXSYgS7n9WA], have only discovered non-quorum [{-}{9vMxUNvOQe6K-uF-beID0Q}{Ue8E86rnTk-wEH4kKXKFVQ}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}]; discovery will continue using [127.0.0.1:9301, 127.0.0.1:9302, 127.0.0.1:9303, 127.0.0.1:9304, 127.0.0.1:9305, [::1]:9301, [::1]:9302, [::1]:9303, [::1]:9304, [::1]:9305] from hosts providers and [{-}{9vMxUNvOQe6K-uF-beID0Q}{Ue8E86rnTk-wEH4kKXKFVQ}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}] from last-known cluster state; node term 2, last-accepted version 0 in term 0

Thanks, just wanted to check if this post need more information. Thank you.

Are you able to post the log from when Elasticsearch starts up to when it says it's running?

I just closed the active cmd window and started the bat file as admin and made sure the localhost:9200 is working good and copied the log

[2023-01-04T15:14:33,076][INFO ][o.e.n.Node               ] [-] version[7.17.0], pid[3960], build[default/zip/bee86328705acaa9a6daede7140defd4d9ec56bd/2022-01-28T08:36:04.875279988Z], OS[Windows 10/10.0/amd64], JVM[Eclipse Adoptium/OpenJDK 64-Bit Server VM/17.0.1/17.0.1+12]
[2023-01-04T15:14:33,083][INFO ][o.e.n.Node               ] [-] JVM home [C:\M\xampp8.1\htdocs\elasticsearch-7.17.0\jdk], using bundled JDK [true]
[2023-01-04T15:14:33,084][INFO ][o.e.n.Node               ] [-] JVM arguments [-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, -XX:+UseG1GC, -Djava.io.tmpdir=C:\Users\USER\AppData\Local\Temp\elasticsearch, -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, -Xms16224m, -Xmx16224m, -XX:MaxDirectMemorySize=8506048512, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=25, -Delasticsearch, -Des.path.home=C:\M\xampp8.1\htdocs\elasticsearch-7.17.0, -Des.path.conf=C:\M\xampp8.1\htdocs\elasticsearch-7.17.0\config, -Des.distribution.flavor=default, -Des.distribution.type=zip, -Des.bundled_jdk=true]
[2023-01-04T15:14:45,204][INFO ][o.e.p.PluginsService     ] [-] loaded module [aggs-matrix-stats]
[2023-01-04T15:14:45,205][INFO ][o.e.p.PluginsService     ] [-] loaded module [analysis-common]
[2023-01-04T15:14:45,205][INFO ][o.e.p.PluginsService     ] [-] loaded module [constant-keyword]
[2023-01-04T15:14:45,205][INFO ][o.e.p.PluginsService     ] [-] loaded module [frozen-indices]
[2023-01-04T15:14:45,205][INFO ][o.e.p.PluginsService     ] [-] loaded module [ingest-common]
[2023-01-04T15:14:45,206][INFO ][o.e.p.PluginsService     ] [-] loaded module [ingest-geoip]
[2023-01-04T15:14:45,207][INFO ][o.e.p.PluginsService     ] [-] loaded module [ingest-user-agent]
[2023-01-04T15:14:45,207][INFO ][o.e.p.PluginsService     ] [-] loaded module [kibana]
[2023-01-04T15:14:45,207][INFO ][o.e.p.PluginsService     ] [-] loaded module [lang-expression]
[2023-01-04T15:14:45,207][INFO ][o.e.p.PluginsService     ] [-] loaded module [lang-mustache]
[2023-01-04T15:14:45,208][INFO ][o.e.p.PluginsService     ] [-] loaded module [lang-painless]
[2023-01-04T15:14:45,208][INFO ][o.e.p.PluginsService     ] [-] loaded module [legacy-geo]
[2023-01-04T15:14:45,208][INFO ][o.e.p.PluginsService     ] [-] loaded module [mapper-extras]
[2023-01-04T15:14:45,208][INFO ][o.e.p.PluginsService     ] [-] loaded module [mapper-version]
[2023-01-04T15:14:45,209][INFO ][o.e.p.PluginsService     ] [-] loaded module [parent-join]
[2023-01-04T15:14:45,209][INFO ][o.e.p.PluginsService     ] [-] loaded module [percolator]
[2023-01-04T15:14:45,209][INFO ][o.e.p.PluginsService     ] [-] loaded module [rank-eval]
[2023-01-04T15:14:45,210][INFO ][o.e.p.PluginsService     ] [-] loaded module [reindex]
[2023-01-04T15:14:45,210][INFO ][o.e.p.PluginsService     ] [-] loaded module [repositories-metering-api]
[2023-01-04T15:14:45,210][INFO ][o.e.p.PluginsService     ] [-] loaded module [repository-encrypted]
[2023-01-04T15:14:45,210][INFO ][o.e.p.PluginsService     ] [-] loaded module [repository-url]
[2023-01-04T15:14:45,210][INFO ][o.e.p.PluginsService     ] [-] loaded module [runtime-fields-common]
[2023-01-04T15:14:45,211][INFO ][o.e.p.PluginsService     ] [-] loaded module [search-business-rules]
[2023-01-04T15:14:45,211][INFO ][o.e.p.PluginsService     ] [-] loaded module [searchable-snapshots]
[2023-01-04T15:14:45,211][INFO ][o.e.p.PluginsService     ] [-] loaded module [snapshot-repo-test-kit]
[2023-01-04T15:14:45,211][INFO ][o.e.p.PluginsService     ] [-] loaded module [spatial]
[2023-01-04T15:14:45,211][INFO ][o.e.p.PluginsService     ] [-] loaded module [transform]
[2023-01-04T15:14:45,211][INFO ][o.e.p.PluginsService     ] [-] loaded module [transport-netty4]
[2023-01-04T15:14:45,212][INFO ][o.e.p.PluginsService     ] [-] loaded module [unsigned-long]
[2023-01-04T15:14:45,212][INFO ][o.e.p.PluginsService     ] [-] loaded module [vector-tile]
[2023-01-04T15:14:45,212][INFO ][o.e.p.PluginsService     ] [-] loaded module [vectors]
[2023-01-04T15:14:45,212][INFO ][o.e.p.PluginsService     ] [-] loaded module [wildcard]
[2023-01-04T15:14:45,212][INFO ][o.e.p.PluginsService     ] [-] loaded module [x-pack-aggregate-metric]
[2023-01-04T15:14:45,212][INFO ][o.e.p.PluginsService     ] [-] loaded module [x-pack-analytics]
[2023-01-04T15:14:45,213][INFO ][o.e.p.PluginsService     ] [-] loaded module [x-pack-async]
[2023-01-04T15:14:45,213][INFO ][o.e.p.PluginsService     ] [-] loaded module [x-pack-async-search]
[2023-01-04T15:14:45,213][INFO ][o.e.p.PluginsService     ] [-] loaded module [x-pack-autoscaling]
[2023-01-04T15:14:45,214][INFO ][o.e.p.PluginsService     ] [-] loaded module [x-pack-ccr]
[2023-01-04T15:14:45,214][INFO ][o.e.p.PluginsService     ] [-] loaded module [x-pack-core]
[2023-01-04T15:14:45,214][INFO ][o.e.p.PluginsService     ] [-] loaded module [x-pack-data-streams]
[2023-01-04T15:14:45,214][INFO ][o.e.p.PluginsService     ] [-] loaded module [x-pack-deprecation]
[2023-01-04T15:14:45,215][INFO ][o.e.p.PluginsService     ] [-] loaded module [x-pack-enrich]
[2023-01-04T15:14:45,215][INFO ][o.e.p.PluginsService     ] [-] loaded module [x-pack-eql]
[2023-01-04T15:14:45,215][INFO ][o.e.p.PluginsService     ] [-] loaded module [x-pack-fleet]
[2023-01-04T15:14:45,216][INFO ][o.e.p.PluginsService     ] [-] loaded module [x-pack-graph]
[2023-01-04T15:14:45,216][INFO ][o.e.p.PluginsService     ] [-] loaded module [x-pack-identity-provider]
[2023-01-04T15:14:45,217][INFO ][o.e.p.PluginsService     ] [-] loaded module [x-pack-ilm]
[2023-01-04T15:14:45,221][INFO ][o.e.p.PluginsService     ] [-] loaded module [x-pack-logstash]
[2023-01-04T15:14:45,223][INFO ][o.e.p.PluginsService     ] [-] loaded module [x-pack-ml]
[2023-01-04T15:14:45,223][INFO ][o.e.p.PluginsService     ] [-] loaded module [x-pack-monitoring]
[2023-01-04T15:14:45,223][INFO ][o.e.p.PluginsService     ] [-] loaded module [x-pack-ql]
[2023-01-04T15:14:45,224][INFO ][o.e.p.PluginsService     ] [-] loaded module [x-pack-rollup]
[2023-01-04T15:14:45,224][INFO ][o.e.p.PluginsService     ] [-] loaded module [x-pack-security]
[2023-01-04T15:14:45,224][INFO ][o.e.p.PluginsService     ] [-] loaded module [x-pack-shutdown]
[2023-01-04T15:14:45,225][INFO ][o.e.p.PluginsService     ] [-] loaded module [x-pack-sql]
[2023-01-04T15:14:45,225][INFO ][o.e.p.PluginsService     ] [-] loaded module [x-pack-stack]
[2023-01-04T15:14:45,225][INFO ][o.e.p.PluginsService     ] [-] loaded module [x-pack-text-structure]
[2023-01-04T15:14:45,226][INFO ][o.e.p.PluginsService     ] [-] loaded module [x-pack-voting-only-node]
[2023-01-04T15:14:45,226][INFO ][o.e.p.PluginsService     ] [-] loaded module [x-pack-watcher]
[2023-01-04T15:14:45,227][INFO ][o.e.p.PluginsService     ] [-] no plugins loaded
[2023-01-04T15:14:45,760][INFO ][o.e.e.NodeEnvironment    ] [-] using [1] data paths, mounts [[Windows (C:)]], net usable_space [1.5tb], net total_space [1.8tb], types [NTFS]
[2023-01-04T15:14:45,761][INFO ][o.e.e.NodeEnvironment    ] [-] heap size [15.8gb], compressed ordinary object pointers [true]
[2023-01-04T15:14:45,864][INFO ][o.e.n.Node               ] [-] node name [-], node ID [9vMxUNvOQe6K-uF-beID0Q], cluster name [elasticsearch], roles [transform, data_frozen, master, remote_cluster_client, data, ml, data_content, data_hot, data_warm, data_cold, ingest]
[2023-01-04T15:14:50,250][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [-] [controller/39052] [Main.cc@122] controller (64 bit): Version 7.17.0 (Build 447aed7cba032c) Copyright (c) 2022 Elasticsearch BV
[2023-01-04T15:14:50,763][INFO ][o.e.x.s.a.s.FileRolesStore] [-] parsed [0] roles from file [C:\M\xampp8.1\htdocs\elasticsearch-7.17.0\config\roles.yml]
[2023-01-04T15:14:51,360][INFO ][o.e.i.g.ConfigDatabases  ] [-] initialized default databases [[GeoLite2-Country.mmdb, GeoLite2-City.mmdb, GeoLite2-ASN.mmdb]], config databases [[]] and watching [C:\M\xampp8.1\htdocs\elasticsearch-7.17.0\config\ingest-geoip] for changes
[2023-01-04T15:14:51,362][INFO ][o.e.i.g.DatabaseNodeService] [-] initialized database registry, using geoip-databases directory [C:\Users\USER\AppData\Local\Temp\elasticsearch\geoip-databases\9vMxUNvOQe6K-uF-beID0Q]
[2023-01-04T15:14:52,172][INFO ][o.e.t.NettyAllocator     ] [-] 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=8mb}]
[2023-01-04T15:14:52,254][INFO ][o.e.d.DiscoveryModule    ] [-] using discovery type [zen] and seed hosts providers [settings]
[2023-01-04T15:14:52,728][INFO ][o.e.g.DanglingIndicesState] [-] gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually
[2023-01-04T15:14:53,217][INFO ][o.e.n.Node               ] [-] initialized
[2023-01-04T15:14:53,218][INFO ][o.e.n.Node               ] [-] starting ...
[2023-01-04T15:14:53,234][INFO ][o.e.x.s.c.f.PersistentCache] [-] persistent cache index loaded
[2023-01-04T15:14:53,235][INFO ][o.e.x.d.l.DeprecationIndexingComponent] [-] deprecation component started
[2023-01-04T15:14:53,401][INFO ][o.e.t.TransportService   ] [-] publish_address {127.0.0.1:9300}, bound_addresses {127.0.0.1:9300}, {[::1]:9300}
[2023-01-04T15:14:53,634][WARN ][o.e.b.BootstrapChecks    ] [-] 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
[2023-01-04T15:14:53,646][INFO ][o.e.c.c.ClusterBootstrapService] [-] no discovery configuration found, will perform best-effort cluster bootstrapping after [3s] unless existing master is discovered
[2023-01-04T15:15:03,650][WARN ][o.e.c.c.ClusterFormationFailureHelper] [-] master not discovered or elected yet, an election requires two nodes with ids [9vMxUNvOQe6K-uF-beID0Q, o0-gGk_2SquCXSYgS7n9WA], have only discovered non-quorum [{-}{9vMxUNvOQe6K-uF-beID0Q}{-DWd4ZeMTSCe4rybuLU0LA}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}]; discovery will continue using [127.0.0.1:9301, 127.0.0.1:9302, 127.0.0.1:9303, 127.0.0.1:9304, 127.0.0.1:9305, [::1]:9301, [::1]:9302, [::1]:9303, [::1]:9304, [::1]:9305] from hosts providers and [{-}{9vMxUNvOQe6K-uF-beID0Q}{-DWd4ZeMTSCe4rybuLU0LA}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}] from last-known cluster state; node term 2, last-accepted version 0 in term 0
[2023-01-04T15:15:13,668][WARN ][o.e.c.c.ClusterFormationFailureHelper] [-] master not discovered or elected yet, an election requires two nodes with ids [9vMxUNvOQe6K-uF-beID0Q, o0-gGk_2SquCXSYgS7n9WA], have only discovered non-quorum [{-}{9vMxUNvOQe6K-uF-beID0Q}{-DWd4ZeMTSCe4rybuLU0LA}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}]; discovery will continue using [127.0.0.1:9301, 127.0.0.1:9302, 127.0.0.1:9303, 127.0.0.1:9304, 127.0.0.1:9305, [::1]:9301, [::1]:9302, [::1]:9303, [::1]:9304, [::1]:9305] from hosts providers and [{-}{9vMxUNvOQe6K-uF-beID0Q}{-DWd4ZeMTSCe4rybuLU0LA}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}] from last-known cluster state; node term 2, last-accepted version 0 in term 0
[2023-01-04T15:15:23,668][WARN ][o.e.n.Node               ] [-] timed out while waiting for initial discovery state - timeout: 30s
[2023-01-04T15:15:23,684][WARN ][o.e.c.c.ClusterFormationFailureHelper] [-] master not discovered or elected yet, an election requires two nodes with ids [9vMxUNvOQe6K-uF-beID0Q, o0-gGk_2SquCXSYgS7n9WA], have only discovered non-quorum [{-}{9vMxUNvOQe6K-uF-beID0Q}{-DWd4ZeMTSCe4rybuLU0LA}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}]; discovery will continue using [127.0.0.1:9301, 127.0.0.1:9302, 127.0.0.1:9303, 127.0.0.1:9304, 127.0.0.1:9305, [::1]:9301, [::1]:9302, [::1]:9303, [::1]:9304, [::1]:9305] from hosts providers and [{-}{9vMxUNvOQe6K-uF-beID0Q}{-DWd4ZeMTSCe4rybuLU0LA}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}] from last-known cluster state; node term 2, last-accepted version 0 in term 0
[2023-01-04T15:15:23,703][INFO ][o.e.h.AbstractHttpServerTransport] [-] publish_address {127.0.0.1:9200}, bound_addresses {127.0.0.1:9200}, {[::1]:9200}
[2023-01-04T15:15:23,703][INFO ][o.e.n.Node               ] [-] started
[2023-01-04T15:15:33,694][WARN ][o.e.c.c.ClusterFormationFailureHelper] [-] master not discovered or elected yet, an election requires two nodes with ids [9vMxUNvOQe6K-uF-beID0Q, o0-gGk_2SquCXSYgS7n9WA], have only discovered non-quorum [{-}{9vMxUNvOQe6K-uF-beID0Q}{-DWd4ZeMTSCe4rybuLU0LA}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}]; discovery will continue using [127.0.0.1:9301, 127.0.0.1:9302, 127.0.0.1:9303, 127.0.0.1:9304, 127.0.0.1:9305, [::1]:9301, [::1]:9302, [::1]:9303, [::1]:9304, [::1]:9305] from hosts providers and [{-}{9vMxUNvOQe6K-uF-beID0Q}{-DWd4ZeMTSCe4rybuLU0LA}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}] from last-known cluster state; node term 2, last-accepted version 0 in term 0
[2023-01-04T15:15:43,710][WARN ][o.e.c.c.ClusterFormationFailureHelper] [-] master not discovered or elected yet, an election requires two nodes with ids [9vMxUNvOQe6K-uF-beID0Q, o0-gGk_2SquCXSYgS7n9WA], have only discovered non-quorum [{-}{9vMxUNvOQe6K-uF-beID0Q}{-DWd4ZeMTSCe4rybuLU0LA}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}]; discovery will continue using [127.0.0.1:9301, 127.0.0.1:9302, 127.0.0.1:9303, 127.0.0.1:9304, 127.0.0.1:9305, [::1]:9301, [::1]:9302, [::1]:9303, [::1]:9304, [::1]:9305] from hosts providers and [{-}{9vMxUNvOQe6K-uF-beID0Q}{-DWd4ZeMTSCe4rybuLU0LA}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}] from last-known cluster state; node term 2, last-accepted version 0 in term 0
[2023-01-04T15:15:53,722][WARN ][o.e.c.c.ClusterFormationFailureHelper] [-] master not discovered or elected yet, an election requires two nodes with ids [9vMxUNvOQe6K-uF-beID0Q, o0-gGk_2SquCXSYgS7n9WA], have only discovered non-quorum [{-}{9vMxUNvOQe6K-uF-beID0Q}{-DWd4ZeMTSCe4rybuLU0LA}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}]; discovery will continue using [127.0.0.1:9301, 127.0.0.1:9302, 127.0.0.1:9303, 127.0.0.1:9304, 127.0.0.1:9305, [::1]:9301, [::1]:9302, [::1]:9303, [::1]:9304, [::1]:9305] from hosts providers and [{-}{9vMxUNvOQe6K-uF-beID0Q}{-DWd4ZeMTSCe4rybuLU0LA}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}] from last-known cluster state; node term 2, last-accepted version 0 in term 0
[2023-01-04T15:16:03,733][WARN ][o.e.c.c.ClusterFormationFailureHelper] [-] master not discovered or elected yet, an election requires two nodes with ids [9vMxUNvOQe6K-uF-beID0Q, o0-gGk_2SquCXSYgS7n9WA], have only discovered non-quorum [{-}{9vMxUNvOQe6K-uF-beID0Q}{-DWd4ZeMTSCe4rybuLU0LA}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}]; discovery will continue using [127.0.0.1:9301, 127.0.0.1:9302, 127.0.0.1:9303, 127.0.0.1:9304, 127.0.0.1:9305, [::1]:9301, [::1]:9302, [::1]:9303, [::1]:9304, [::1]:9305] from hosts providers and [{-}{9vMxUNvOQe6K-uF-beID0Q}{-DWd4ZeMTSCe4rybuLU0LA}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}] from last-known cluster state; node term 2, last-accepted version 0 in term 0
[2023-01-04T15:16:13,746][WARN ][o.e.c.c.ClusterFormationFailureHelper] [-] master not discovered or elected yet, an election requires two nodes with ids [9vMxUNvOQe6K-uF-beID0Q, o0-gGk_2SquCXSYgS7n9WA], have only discovered non-quorum [{-}{9vMxUNvOQe6K-uF-beID0Q}{-DWd4ZeMTSCe4rybuLU0LA}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}]; discovery will continue using [127.0.0.1:9301, 127.0.0.1:9302, 127.0.0.1:9303, 127.0.0.1:9304, 127.0.0.1:9305, [::1]:9301, [::1]:9302, [::1]:9303, [::1]:9304, [::1]:9305] from hosts providers and [{-}{9vMxUNvOQe6K-uF-beID0Q}{-DWd4ZeMTSCe4rybuLU0LA}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}] from last-known cluster state; node term 2, last-accepted version 0 in term 0
[2023-01-04T15:16:23,751][WARN ][o.e.c.c.ClusterFormationFailureHelper] [-] master not discovered or elected yet, an election requires two nodes with ids [9vMxUNvOQe6K-uF-beID0Q, o0-gGk_2SquCXSYgS7n9WA], have only discovered non-quorum [{-}{9vMxUNvOQe6K-uF-beID0Q}{-DWd4ZeMTSCe4rybuLU0LA}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}]; discovery will continue using [127.0.0.1:9301, 127.0.0.1:9302, 127.0.0.1:9303, 127.0.0.1:9304, 127.0.0.1:9305, [::1]:9301, [::1]:9302, [::1]:9303, [::1]:9304, [::1]:9305] from hosts providers and [{-}{9vMxUNvOQe6K-uF-beID0Q}{-DWd4ZeMTSCe4rybuLU0LA}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}] from last-known cluster state; node term 2, last-accepted version 0 in term 0
[2023-01-04T15:16:33,763][WARN ][o.e.c.c.ClusterFormationFailureHelper] [-] master not discovered or elected yet, an election requires two nodes with ids [9vMxUNvOQe6K-uF-beID0Q, o0-gGk_2SquCXSYgS7n9WA], have only discovered non-quorum [{-}{9vMxUNvOQe6K-uF-beID0Q}{-DWd4ZeMTSCe4rybuLU0LA}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}]; discovery will continue using [127.0.0.1:9301, 127.0.0.1:9302, 127.0.0.1:9303, 127.0.0.1:9304, 127.0.0.1:9305, [::1]:9301, [::1]:9302, [::1]:9303, [::1]:9304, [::1]:9305] from hosts providers and [{-}{9vMxUNvOQe6K-uF-beID0Q}{-DWd4ZeMTSCe4rybuLU0LA}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}] from last-known cluster state; node term 2, last-accepted version 0 in term 0

Hope this is what you have asked.. Thank you.

Not sure what you did here but that's likely the issue.

I would shut down Elasticsearch and entirely delete the data directory and start again.

Thanks and much appreciate your reply. I solved my issue with your advice and what i observed from the logs and going through Elasticsearch documents. From the AppData\local\temp\elasticsearch and geoipdirectories i do see two folders and see the same relevant data from the Elasticsearch logs.. i stopped alll Magento Apache services, deleted Elasticsearch directory and also all data from AppData\local\temp\elasticsearch. Extracted the Elasticsearch zip file to the same Magento installation directory as before.. started Elastic Search bat file (this time the log is different and created a new folders in AppData and started.. started Magento services and all went good.

Cant thank you enough for your time , checking my logs and patiently guiding me through the solution.

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