Novice trying to setup Kibana

I have installed ELK stack myself on our staging and production VPS. It was all working absolutely fine a week ago. I'd set it up with authentication so we had to use our login credentials.

I can see both kibana and Elasticsearch are active, however, I am hitting two errors.

When I go to the kibana page I get "Elastic did not load properly
Please reload this page. If the issue persists, check the browser console and server logs."

and when I try to debug I get the following response

curl -X GET "localhost:9200/_cluster/health?pretty"
curl: (52) Empty reply from server

I've tried searching through topics, but they all seem to be slightly different. Does anyone have any idea why this has randomly stopped working?

Thanks in advance!

Hello @SallySattary

Welcome to the community.

Without security , login was working fine.

Could you confirm which is the current behaviour 1 or 2 from below?

Post enabling security :

  1. Login was working & it stopped suddenly.
  2. It never worked after enabling security.

As you have enabled security could you please try below URL with user/password :

curl -k -u elastic:password https://localhost:9200

In Elasticsearch & Kibana logs do you see any errors?

Other blogs to review :
['Elastic did not load properly' error from AdBlocker]

[Kibana did not load properly. Check the server output for more information - Kibana not working - #17 by rajeev.tripathi]

Thanks!!

Hi Tortoise,

Thanks for helping and sorry for the delay in coming back to you. It worked fine after enabling security. I then got pulled into something else, came back to it a week later and could no longer get passed the issues described.

The only errors I can see are in elasticsearch.log

[o.e.h.n.Netty4HttpServerTransport] [decent-production] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{
[INFO ][o.e.x.s.a.RealmsAuthenticator] [decent-production] Authentication of [elastic] was terminated by realm [reserved] - failed to authenticate user [elastic]

I have already looked into the AdBlocker, but it's not that one, I'm looking into the second link you sent now

Thanks in advance
Sally

1 Like

If elastic pass is not OK, reset it with .\elasticsearch-reset-password

Hi @SallySattary Welcome to the community.

Items that always help with these discussions.

What version are you running?

How did you install?

Share your elasticsearch and Kibana . ymls