While creating index through kibana it always gives timeout error

creating index code: PUT twitter
{
"settings" : {
"index" : {
"number_of_shards" : 3,
"number_of_replicas" : 2
}
}
}

ERROR:
Unhandled rejection Error: Request Timeout after 30000ms
at C:\saikiran\kibana-6.4.2-windows-x86_64\node_modules\elasticsearch\src\lib\transport.js:354:15
at Timeout. (C:\saikiran\kibana-6.4.2-windows-x86_64\node_modules\elasticsearch\src\lib\transport.js:383:7)
at ontimeout (timers.js:498:11)
at tryOnTimeout (timers.js:323:5)
at Timer.listOnTimeout (timers.js:290:5)

Are you sure Elasticsearch is running? I've just done this and it seemed to work fine.

Yes I have checked that on port 9200
The output look like
{
"name" : "SS22",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "XFsxgmJhSEeRL4xjFMOlcw",
"version" : {
"number" : "6.4.2",
"build_flavor" : "unknown",
"build_type" : "unknown",
"build_hash" : "04711c2",
"build_date" : "2018-09-26T13:34:09.098244Z",
"build_snapshot" : false,
"lucene_version" : "7.4.0",
"minimum_wire_compatibility_version" : "5.6.0",
"minimum_index_compatibility_version" : "5.0.0"
},
"tagline" : "You Know, for Search"
}

Could you try refreshing the page while on the console dev tool and try again after verifying that Elasticsearch is running?

Could you also open the network tab of your browser's dev tools and paste the request/response here?

what about logs? can you show us what you're getting there especially while you're trying to perform that request?

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