title: kibana-Unable to retrieve version information from Elasticsearch nodes.missing authentication credentials for REST request
body: <p>Im trying to Install kibana 8.1.1 on windows10 the thing is when it starts installions it stops on an error like that
  <code>[2022-04-16T01:16:59.744+00:00][ERROR][elasticsearch-service] Unable to retrieve version  information from Elasticsearch nodes. security_exception: [security_exception] Reason: missing  authentication credentials for REST request [/_nodes?  filter_path=nodes..version%2Cnodes..http.publish_address%2Cnodes.*.ip] </code></p>
  <p>i tried so many solutions like, I did change the elastisearch.yml file
  <code>xpack.security.enabled: false </code></p>
  <p>but it is still doesn't work an i did it on kibana.yml too still same
  i did add this folowing lines too</p>
  <pre><code>`xpack.security.enabled: true  
  xpack.monitoring.enabled: true  
  xpack.monitoring.ui.enabled: true  
  xpack.security.encryptionKey: &quot;XXX&quot;`
  </code></pre>
  <p>still nothing.</p>
  <p>i removed the # on kibana.yml too before the
  <code>elasticsearch.hosts: [&quot;http://localhost:9200&quot;]</code></p>
  <p>and stiiiill noothing
  here is
  kibana.yml:
  <code>server.port: 5601   server.host: &quot;localhost&quot;   server.name: &quot;your-hostname&quot;   elasticsearch.hosts: [&quot;http://localhost:9200&quot;]</code></p>
  <p>elasticsearch.yml:</p>
  <pre><code>`cluster.name: my-application  
  network.host: 192.168.0.1  
  node.name: node-1  
  discovery.seed_hosts: [&quot;host1&quot;, &quot;host2&quot;]  
  cluster.initial_master_nodes: [&quot;node-1&quot;, &quot;node-2&quot;]` 
  </code></pre>
  <p>im soo sorry about my english its not my first langage and for not knowing what to do its for studies project and im still a beginner
  google is not helping too<br />
  thank u for helping me</p>