Can't login to kibana using x-pack


(Karan Sharma) #1

I have ES 5.6, kibana 5.6 and x-pack 5.6.
I was just trying out x-pack. i changed the password of 'elastic' user. i can login using curl, so username and password is correct. However in kibana when i click 'login' the page just refreshes and nothing happens. Below is the screen shot, any idea what is happening:


(Karan Sharma) #2

Elasticsearch.yml has :
http.cors.enabled: true
http.cors.allow-origin: "*"

kibana.yml has:
elasticsearch.username: "kibana"
elasticsearch.password: <the_password>


(Tim Vernum) #3

What do the Kibana logs say?


(Karan Sharma) #4

@TimV No logs on terminal, but browser consol is like:
Unknown provider: $routeProvider <- $route <- biPluginBrandingController

I am using a custom plugin with x-pack and looks like they are conflicting. The code in my plugin that coflicts with x-pack is the registring to chromeNavControlsRegistry, ie:

function discoverControlProvider() {
return {
name: 'bi_plugin_branding',
order: 1001,
template
};
}

chromeNavControlsRegistry.register(discoverControlProvider);

Is there anything wrong with the way is register the bi plugin?


(Karan Sharma) #5

@TimV below code won't work either:

chromeNavControlsRegistry.register(constant({
name: 'bi_plugin_branding',
order: 1001,
template
}));


(system) #6

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