# WARN message when trying to install on windows 10

**URL:** <https://discuss.elastic.co/t/warn-message-when-trying-to-install-on-windows-10/328348>\
**Category:** Elasticsearch\
**Created:** [March 23, 2023, 12:29pm UTC](https://discuss.elastic.co/t/warn-message-when-trying-to-install-on-windows-10/328348 "2023-03-23T12:29:22Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ene\_Dragos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ene_dragos/32/118830_2.png) [@Ene\_Dragos](https://discuss.elastic.co/u/Ene_Dragos)\
**Post date:** [March 23, 2023, 12:29pm UTC](https://discuss.elastic.co/t/warn-message-when-trying-to-install-on-windows-10/328348/1 "2023-03-23T12:29:22Z")

</div>

Hi! I'm trying to install elasticsearch on windows and i've followed the guid on here: [Install Elasticsearch with .zip on Windows | Elasticsearch Guide [8.6] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/zip-windows.html).

The issue is, when I try to configure Elasticsearch I keep getting this error multiple times, and it goes on indifenetely.

[2023-03-23T12:20:53,039][WARN][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [DESKTOP-V23ASFJ] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/127.0.0.1:9200, remoteAddress=/127.0.0.1:59248}

Any ideas as to what might cause it or how I could fix it? Thank you!

---

<div class="post-metadata">

**Author:** ![William\_Brafford](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/william_brafford/32/51559_2.png) [@William\_Brafford](https://discuss.elastic.co/u/William_Brafford)\
**Post date:** [March 23, 2023, 12:38pm UTC](https://discuss.elastic.co/t/warn-message-when-trying-to-install-on-windows-10/328348/2 "2023-03-23T12:38:21Z")

</div>

Welcome!

I would expect to see that message when something like `curl` or a web browser tries to issue a request to Elasticsearch. Are you checking an Elasticsearch endpoint? If so, are you using a web browser or are you using `curl`? If so, the first thing I would check is whether I've used `http://` instead of `https://` in the URL.

Is anything else interacting with Elasticsearch yet?

---

<div class="post-metadata">

**Author:** ![Ene\_Dragos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ene_dragos/32/118830_2.png) [@Ene\_Dragos](https://discuss.elastic.co/u/Ene_Dragos)\
**Post date:** [March 23, 2023, 12:44pm UTC](https://discuss.elastic.co/t/warn-message-when-trying-to-install-on-windows-10/328348/3 "2023-03-23T12:44:54Z")

</div>

Hi and thank you!

I did trye to check elasticsearch through the browser by going to [http://localhost:9200](http://localhost:9200) - when the elasticsearch exe is not running, I get the error 'Unable to connect'.

When running the elasticsearch exe the error changes to "The connection was reset". I was also running a jupyter notebook at the time calling on elasticsearch, but it is closed now.

i should note that when trying to run the line:

action.auto\_create\_index: .monitoring\*,.watches,.triggered\_watches,.watcher-history\*,.ml\*

from the documentation, I get the error: action.auto\_create\_index: .monitoring\*,.watches,.triggered\_watches,.watcher-history\*,.ml\* 'action.auto\_create\_index:' is not recognized as an internal or external command, operable program or batch file.

Could this also be a potential issue?

---

<div class="post-metadata">

**Author:** ![Ene\_Dragos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ene_dragos/32/118830_2.png) [@Ene\_Dragos](https://discuss.elastic.co/u/Ene_Dragos)\
**Post date:** [March 23, 2023, 12:54pm UTC](https://discuss.elastic.co/t/warn-message-when-trying-to-install-on-windows-10/328348/4 "2023-03-23T12:54:30Z")

</div>

Update: so I have tried running the elasticsearch exe without any browser or anything else open and it seemed to be working fine, but it then stopped updating on the cmd so I tried checking it by going to [https://localhost:9200/](https://localhost:9200/)

Now I got different errors displayed:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/e/ae30927911f08e33f828ce96c07d70c3fcb7c460.png)

---

<div class="post-metadata">

**Author:** ![William\_Brafford](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/william_brafford/32/51559_2.png) [@William\_Brafford](https://discuss.elastic.co/u/William_Brafford)\
**Post date:** [March 23, 2023, 12:55pm UTC](https://discuss.elastic.co/t/warn-message-when-trying-to-install-on-windows-10/328348/5 "2023-03-23T12:55:14Z")

</div>

The first thing is to use [https://localhost:9200](https://localhost:9200/) to connect from the browser, which ought to prompt you for a username and password rather than reporting "the connection was reset." "https" uses a secure, encrypted connection between your browser and the Elasticsearch server that you are running, whereas "http" does not use any encryption, which is why the warning had to do with "plain text."

`action.auto_create_index: .monitoring*,.watches,.triggered_watches,.watcher-history*,.ml*` is meant to be a line in the configuration file rather than a command, but you likely don't need to put it in your config.

---

<div class="post-metadata">

**Author:** ![William\_Brafford](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/william_brafford/32/51559_2.png) [@William\_Brafford](https://discuss.elastic.co/u/William_Brafford)\
**Post date:** [March 23, 2023, 12:59pm UTC](https://discuss.elastic.co/t/warn-message-when-trying-to-install-on-windows-10/328348/6 "2023-03-23T12:59:04Z")

</div>

The `unknown_ca` issue may be a little trickier. I will see if I can find something to help you and report back.

---

<div class="post-metadata">

**Author:** ![Ene\_Dragos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ene_dragos/32/118830_2.png) [@Ene\_Dragos](https://discuss.elastic.co/u/Ene_Dragos)\
**Post date:** [March 23, 2023, 1:08pm UTC](https://discuss.elastic.co/t/warn-message-when-trying-to-install-on-windows-10/328348/7 "2023-03-23T13:08:33Z")

</div>

As of now, the cmd has stoped at [INFO][o.e.i.g.DatabaseNodeService] [DESKTOP-V23ASFJ] successfully loaded geoip database file [GeoLite2-City.mmdb] and there were no more updates

I've tried logging on the [https://localhost:9200](https://localhost:9200/) to connect to it through the browser, but unsure what username and password I should provide - I have tried the combination of 'elastic' (username) and 'changeme' (password), but the authentification was terminated.

---

<div class="post-metadata">

**Author:** ![William\_Brafford](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/william_brafford/32/51559_2.png) [@William\_Brafford](https://discuss.elastic.co/u/William_Brafford)\
**Post date:** [March 23, 2023, 1:34pm UTC](https://discuss.elastic.co/t/warn-message-when-trying-to-install-on-windows-10/328348/8 "2023-03-23T13:34:50Z")

</div>

When Elasticsearch was first starting up, its logs should have output a password for the default user, as shown [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/zip-windows.html#windows-running). Example:

```auto
The generated password for the elastic built-in superuser is:
<password>

```

It may still be in your terminal if you scroll up.

---

<div class="post-metadata">

**Author:** ![Ene\_Dragos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ene_dragos/32/118830_2.png) [@Ene\_Dragos](https://discuss.elastic.co/u/Ene_Dragos)\
**Post date:** [March 23, 2023, 1:41pm UTC](https://discuss.elastic.co/t/warn-message-when-trying-to-install-on-windows-10/328348/9 "2023-03-23T13:41:24Z")

</div>

Unfortunately I have shut down the terminal, and the password doesn't seem to show in the elasticsearch\_server logs - is there any other way I could recuperate it?

---

<div class="post-metadata">

**Author:** ![William\_Brafford](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/william_brafford/32/51559_2.png) [@William\_Brafford](https://discuss.elastic.co/u/William_Brafford)\
**Post date:** [March 23, 2023, 4:05pm UTC](https://discuss.elastic.co/t/warn-message-when-trying-to-install-on-windows-10/328348/10 "2023-03-23T16:05:35Z")

</div>

You are supposed to be able to reset the password with:

```auto
bin/elasticsearch-reset-password.bat -u elastic

```

However, this hasn't been working on my machine, which seems like a bug that I need to look into.

---

<div class="post-metadata">

**Author:** ![William\_Brafford](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/william_brafford/32/51559_2.png) [@William\_Brafford](https://discuss.elastic.co/u/William_Brafford)\
**Post date:** [March 23, 2023, 4:08pm UTC](https://discuss.elastic.co/t/warn-message-when-trying-to-install-on-windows-10/328348/11 "2023-03-23T16:08:19Z")

</div>

Try using:

```auto
 bin\elasticsearch-setup-passwords.bat auto

```

or

```auto
 bin\elasticsearch-setup-passwords.bat interactive

```

The first one can auto-generate passwords, while the second one lets you pick your password. It may not work if you have already tried the reset-password script from the previous comment.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 20, 2023, 4:09pm UTC](https://discuss.elastic.co/t/warn-message-when-trying-to-install-on-windows-10/328348/12 "2023-04-20T16:09:08Z")

</div>

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