# Cannot access kibana from browser

**URL:** <https://discuss.elastic.co/t/cannot-access-kibana-from-browser/356234>\
**Category:** Kibana\
**Created:** [March 27, 2024, 8:12am UTC](https://discuss.elastic.co/t/cannot-access-kibana-from-browser/356234 "2024-03-27T08:12:29Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paras\_Madaan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/paras_madaan/32/132781_2.png) [@Paras\_Madaan](https://discuss.elastic.co/u/Paras_Madaan)\
**Post date:** [March 27, 2024, 8:12am UTC](https://discuss.elastic.co/t/cannot-access-kibana-from-browser/356234/1 "2024-03-27T08:12:29Z")

</div>

**Trying to connect kibana (7.15.2) with Elasticsearch version 7.15.2**

**i have setup a cluster with 3 master nodes 2 data nodes(ebs attached)**

**elasticsearch config for 1 of the master node (elasticsearch.yml)**

cluster.name: elkProd

node.name: master-1

#node.attr.rack: r1

path.data: /var/lib/elasticsearch

path.logs: /var/log/elasticsearch  
node.roles: [master]  
#bootstrap.memory\_lock: true

network.host: ["private ip"]

http.port: 9200

discovery.seed\_hosts: ["private-ip-master1","private-ip-master2","private-ip-master3"]  
#discovery.zen.ping.unicast.hosts: ["private-ip-master1","private-ip-master2","private-ip-master3"]  
discovery.zen.minimum\_master\_nodes: 2

cluster.initial\_master\_nodes: ["master-1", "master-2","master-3"]

#action.destructive\_requires\_name: true

**elasticsearch config for 1 of the data node (elasticsearch.yml)**

cluster.name: elkProd

node.name: data-1

#node.attr.rack: r1

path.data: /var/lib/elasticsearch

path.logs: /var/log/elasticsearch

node.roles: [data]  
#bootstrap.memory\_lock: true

network.host: ["10.5.5.13"]

http.port: 9200

#discovery.seed\_hosts: ["host1", "host2"]  
discovery.zen.ping.unicast.hosts: ["private-ip-master1","private-ip-master2","private-ip-master3"]  
discovery.zen.minimum\_master\_nodes: 2

cluster.initial\_master\_nodes: ["master-1", "master-2","master-3"]

#action.destructive\_requires\_name: true

**curl on es:- curl -X GET "[http://private-ip-master1:9200/\_cluster/health?pretty](http://private-ip-master1:9200/_cluster/health?pretty)"**  
{  
"cluster\_name" : "elkProd",  
"status" : "green",  
"timed\_out" : false,  
"number\_of\_nodes" : 5,  
"number\_of\_data\_nodes" : 2,  
"active\_primary\_shards" : 8,  
"active\_shards" : 16,  
"relocating\_shards" : 0,  
"initializing\_shards" : 0,  
"unassigned\_shards" : 0,  
"delayed\_unassigned\_shards" : 0,  
"number\_of\_pending\_tasks" : 0,  
"number\_of\_in\_flight\_fetch" : 0,  
"task\_max\_waiting\_in\_queue\_millis" : 0,  
"active\_shards\_percent\_as\_number" : 100.0  
}

**Kibana configurations:- Running kibana server on master node 1 (Kibana.yml)**

server.port: 5601  
server.host: "0.0.0.0"

#server.basePath: ""

#server.rewriteBasePath: false

#server.publicBaseUrl: ""

#server.maxPayload: 1048576

server.name: "elkKibana"

elasticsearch.hosts: ["http:private-ip-master1//:9200", "[http://private-ip-master2:9200](http://private-ip-master2:9200)", "[http://private-ip-master3:9200](http://private-ip-master3:9200)"]

#kibana.index: ".kibana"

#kibana.defaultAppId: "home"

#elasticsearch.username: "kibana\_system"  
#elasticsearch.password: "pass"

# elasticsearch.serviceAccountToken: "my\_token"

#server.ssl.enabled: false  
#server.ssl.certificate: /path/to/your/server.crt  
#server.ssl.key: /path/to/your/server.key

# xpack.security.http.ssl.client\_authentication in Elasticsearch is set to required.

#elasticsearch.ssl.certificate: /path/to/your/client.crt  
#elasticsearch.ssl.key: /path/to/your/client.key

#elasticsearch.ssl.certificateAuthorities: ["/path/to/your/CA.pem"]

#elasticsearch.ssl.verificationMode: full

#elasticsearch.pingTimeout: 1500

#elasticsearch.requestTimeout: 30000

#elasticsearch.requestHeadersWhitelist: [authorization]

#elasticsearch.customHeaders: {}

#elasticsearch.shardTimeout: 30000

#elasticsearch.logQueries: false

#pid.file: /run/kibana/kibana.pid

#logging.dest: stdout

#logging.silent: false

#logging.quiet: false

#logging.verbose: false

#ops.interval: 5000

#i18n.locale: "en"

**Curl to kibana internal :-**  
**curl -XGET [http://private-ip-master1:5601/status](http://private-ip-master1:5601/status) -I**

**HTTP/1.1 200 OK**  
content-security-policy: script-src 'unsafe-eval' 'self'; worker-src blob: 'self'; style-src 'unsafe-inline' 'self'  
x-content-type-options: nosniff  
referrer-policy: no-referrer-when-downgrade  
kbn-name: elkKibana  
kbn-license-sig: \*\*\*\*\*\*\*\*\*\*\*  
content-type: text/html; charset=utf-8  
cache-control: private, no-cache, no-store, must-revalidate  
content-length: 144351  
vary: accept-encoding  
accept-ranges: bytes  
Date: Wed, 27 Mar 2024 08:08:26 GMT  
Connection: keep-alive  
Keep-Alive: timeout=120

**But when trying to open it on browser [http://publicip-master-node-1:5601](http://publicip-master-node-1:5601)**

**Page is not opening....**

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [March 27, 2024, 10:33am UTC](https://discuss.elastic.co/t/cannot-access-kibana-from-browser/356234/5 "2024-03-27T10:33:52Z")

</div>

Hi @Paras_Madaan,

You are using an old version of Elasticsearch and Kibana that is past EOL [as per this guide](https://www.elastic.co/support/eol). We would recommend upgrading to a supported version if you can.

Are you seeing any errors in the Kibana logs or browser developer console when accessing Kibana via the browser? What do you mean by the page isn't opening? Does the connection timeout?

---

<div class="post-metadata">

**Author:** ![Paras\_Madaan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/paras_madaan/32/132781_2.png) [@Paras\_Madaan](https://discuss.elastic.co/u/Paras_Madaan)\
**Post date:** [March 27, 2024, 10:45am UTC](https://discuss.elastic.co/t/cannot-access-kibana-from-browser/356234/6 "2024-03-27T10:45:52Z")

</div>

message":"ResponseError: illegal\_argument\_exception: [illegal\_argument\_exception] Reason: node [master-3] does not have the [remote\_cluster\_client] role

Got the log saying server running at 0.0.0.0:5601

Getting Connection timeout.

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [March 27, 2024, 10:49am UTC](https://discuss.elastic.co/t/cannot-access-kibana-from-browser/356234/7 "2024-03-27T10:49:18Z")

</div>

Do you have Cross Cluster Replication (CCR) enabled? It looks like one of your nodes doesn't have the `remote_cluster_client` role. Can you try adding that role [as per this related thread](https://discuss.elastic.co/t/this-node-does-not-have-the-remote-cluster-client-role/266294).

---

<div class="post-metadata">

**Author:** ![Paras\_Madaan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/paras_madaan/32/132781_2.png) [@Paras\_Madaan](https://discuss.elastic.co/u/Paras_Madaan)\
**Post date:** [March 27, 2024, 4:24pm UTC](https://discuss.elastic.co/t/cannot-access-kibana-from-browser/356234/8 "2024-03-27T16:24:31Z")

</div>

hi, i cant see any steps to add remote cluster client

---

<div class="post-metadata">

**Author:** ![Paras\_Madaan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/paras_madaan/32/132781_2.png) [@Paras\_Madaan](https://discuss.elastic.co/u/Paras_Madaan)\
**Post date:** [March 27, 2024, 4:36pm UTC](https://discuss.elastic.co/t/cannot-access-kibana-from-browser/356234/9 "2024-03-27T16:36:58Z")

</div>

added node.role[master,remote\_cluster\_client]

now hitting [http://public-elastic-ip:5601](http://public-elastic-ip:5601) connection timeout no error on kibana  
hitting [http://0.0.0.0:5601](http://0.0.0.0:5601) gives {"statusCode":503,"error":"Service Unavailable","message":"License is not available."}

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [April 16, 2024, 8:06am UTC](https://discuss.elastic.co/t/cannot-access-kibana-from-browser/356234/10 "2024-04-16T08:06:01Z")

</div>

CCR is a licensed feature, so that's why you're getting the license is not available error. Have you tried disabling CCR?

---

<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:** [May 14, 2024, 8:06am UTC](https://discuss.elastic.co/t/cannot-access-kibana-from-browser/356234/11 "2024-05-14T08:06:20Z")

</div>

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