Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kibana fatal error starting without Elasticsearch #7106

Closed
LeeDr opened this issue May 2, 2016 · 3 comments
Closed

Kibana fatal error starting without Elasticsearch #7106

LeeDr opened this issue May 2, 2016 · 3 comments
Labels
blocker bug Fixes for quality problems that affect the customer experience v5.0.0

Comments

@LeeDr
Copy link

LeeDr commented May 2, 2016

Maybe this was an intentional change? It used to be I could start Kibana even if Elasticsearch wasn't running and Kibana would just keep trying.
Now on 5.0.0-Alpha2 (with X-Pack installed) it logs an error and then a fatal message and exits.

  log   [20:21:54.329] [warning][elasticsearch] No living connections
  log   [20:21:54.347] [error][status][plugin:elasticsearch] Status changed from yellow to red - Unable to connect to Elasticsearch at http://localhost:9200.
  log   [20:21:54.353] [fatal] Error: No Living connections
    at sendReqWithConnection (D:\k5.0-a2\kibana-5.0.0-alpha2-rc2-windows\node_modules\elasticsearch\src\lib\transport.js:210:15)
    at next (D:\k5.0-a2\kibana-5.0.0-alpha2-rc2-windows\node_modules\elasticsearch\src\lib\connection_pool.js:213:7)
    at nextTickCallbackWith0Args (node.js:415:9)
    at process._tickDomainCallback (node.js:385:13)
FATAL { [Error: No Living connections]
  message: 'No Living connections',
  body: undefined,
  status: undefined }
@LeeDr LeeDr added bug Fixes for quality problems that affect the customer experience P2 labels May 2, 2016
@epixa
Copy link
Contributor

epixa commented May 23, 2016

This appears to only be an issue when xpack is installed. /cc @djschny

@djschny
Copy link
Contributor

djschny commented May 23, 2016

FYI - this appears to be an issue with x-pack only. Using alpha2, notice the following behavior difference:

Fresh install of Kibana with no x-pack

 log   [15:17:33.328] [info][status][plugin:table_vis] Status changed from uninitialized to green - Ready
 log   [15:17:33.337] [info][listening] Server running at http://0.0.0.0:5601
 log   [15:17:35.800] [warning][elasticsearch] Unable to revive connection: http://localhost:9200/
 log   [15:17:35.801] [warning][elasticsearch] No living connections
 log   [15:17:38.308] [warning][elasticsearch] Unable to revive connection: http://localhost:9200/
 log   [15:17:38.309] [warning][elasticsearch] No living connections
 log   [15:17:40.815] [warning][elasticsearch] Unable to revive connection: http://localhost:9200/
 log   [15:17:40.815] [warning][elasticsearch] No living connections

After installing x-pack

log   [15:20:03.449] [error][status][plugin:elasticsearch] Status changed from yellow to red - Unable to connect to Elasticsearch at http://localhost:9200.
 log   [15:20:03.450] [warning][elasticsearch] Unable to revive connection: http://localhost:9200/
 log   [15:20:03.451] [warning][elasticsearch] No living connections
 log   [15:20:03.454] [fatal] Error: No Living connections
   at sendReqWithConnection (/Users/djschny/training/sandbox/v5/kibana-5.0.0-alpha2-darwin-x64/node_modules/elasticsearch/src/lib/transport.js:210:15)
   at next (/Users/djschny/training/sandbox/v5/kibana-5.0.0-alpha2-darwin-x64/node_modules/elasticsearch/src/lib/connection_pool.js:213:7)
   at nextTickCallbackWith0Args (node.js:415:9)
   at process._tickDomainCallback (node.js:385:13)
FATAL { [Error: No Living connections]
 message: 'No Living connections',
 body: undefined,
 status: undefined }

@lukasolson
Copy link
Member

Seems as if this was fixed by #7285.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker bug Fixes for quality problems that affect the customer experience v5.0.0
Projects
None yet
Development

No branches or pull requests

4 participants