Can't login to kibana using x-pack

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:

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

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

What do the Kibana logs say?

@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,


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

@TimV below code won't work either:

name: 'bi_plugin_branding',
order: 1001,

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