I tried to check if the server running by typing "http://localhost:9200/_status" but i got on the browser "ERR_EMPTY_RESPONSE"

i tried to check if the server running by typing "http://localhost:9200/_status" but i got on the browser "ERR_EMPTY_RESPONSE"

and here what is printed on the cmd (windows)

[2022-02-24T18:48:46,917][INFO ][o.e.g.GatewayService ] [DESKTOP-FQ1TMTF] recovered [2] indices into cluster_state
[2022-02-24T18:48:47,396][INFO ][o.e.c.r.a.AllocationService] [DESKTOP-FQ1TMTF] current.health="GREEN" message="Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[.geoip_databases][0], [.security-7][0]]])." previous.health="RED" reason="shards started [[.geoip_databases][0], [.security-7][0]]"
[2022-02-24T18:48:47,786][INFO ][o.e.i.g.DatabaseNodeService] [DESKTOP-FQ1TMTF] successfully loaded geoip database file [GeoLite2-Country.mmdb]
[2022-02-24T18:48:47,812][INFO ][o.e.i.g.DatabaseNodeService] [DESKTOP-FQ1TMTF] successfully loaded geoip database file [GeoLite2-ASN.mmdb]
[2022-02-24T18:48:48,613][INFO ][o.e.i.g.DatabaseNodeService] [DESKTOP-FQ1TMTF] successfully loaded geoip database file [GeoLite2-City.mmdb]
[2022-02-24T18:49:28,371][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [DESKTOP-FQ1TMTF] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/[0:0:0:0:0:0:0:1]:9200, remoteAddress=/[0:0:0:0:0:0:0:1]:61362}
[2022-02-24T18:49:28,371][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [DESKTOP-FQ1TMTF] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/[0:0:0:0:0:0:0:1]:9200, remoteAddress=/[0:0:0:0:0:0:0:1]:61361}
[2022-02-24T18:49:28,372][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [DESKTOP-FQ1TMTF] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/[0:0:0:0:0:0:0:1]:9200, remoteAddress=/[0:0:0:0:0:0:0:1]:61363}
[2022-02-24T18:49:29,458][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [DESKTOP-FQ1TMTF] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/[0:0:0:0:0:0:0:1]:9200, remoteAddress=/[0:0:0:0:0:0:0:1]:61365}
[2022-02-24T18:49:29,460][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [DESKTOP-FQ1TMTF] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/[0:0:0:0:0:0:0:1]:9200, remoteAddress=/[0:0:0:0:0:0:0:1]:61366}
[2022-02-24T18:49:29,464][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [DESKTOP-FQ1TMTF] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/[0:0:0:0:0:0:0:1]:9200, remoteAddress=/[0:0:0:0:0:0:0:1]:61367}
[2022-02-24T18:49:34,484][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [DESKTOP-FQ1TMTF] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/[0:0:0:0:0:0:0:1]:9200, remoteAddress=/[0:0:0:0:0:0:0:1]:61369}
[2022-02-24T18:49:34,486][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [DESKTOP-FQ1TMTF] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/[0:0:0:0:0:0:0:1]:9200, remoteAddress=/[0:0:0:0:0:0:0:1]:61370}
[2022-02-24T18:49:34,490][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [DESKTOP-FQ1TMTF] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/[0:0:0:0:0:0:0:1]:9200, remoteAddress=/[0:0:0:0:0:0:0:1]:61371}

Your issue seems to be using http instead of https.

I suggest you try changing in both elasticsearch.yml and elasticsearch-xpack.yml in the /modules.d directory, hosts to use https.

For example, here’s elasticsearch-xpack.yml :
- module: elasticsearch xpack.enabled: true period: 10s hosts: ["[https://localhost:9200](https://localhost:9200/)"] #username: "user" #password: "secret"

What do you get if you just try

http://localhost:9200

What version of the stack are you on

http://localhost:9200/_status I don't believe this is a valid endpoint...

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