On kibana - manage web interface, I created one new role that give ALL permission to one index and also assigned the new role to one user. When I logged in as this user, all functions do not work. No index was shown on the right side. If I assigned Superuser role to this user, it works fine like built-in user elastic. Note that XPACK has been installed in elasticsearch and kibana. By checking the logs, it seems that the connection can not be established between kibana and elasticsearch if it is logged in as this user? Could anyone know what happened? Much appreciated.
2016/12/22 15:09:23 [error] 5771#5771: *1300 connect() failed (111: Connection refused) while connecting to upstream, client: XX.XX.XX.XX, server: YY.YY.YY.YY, request: "GET /api/reporting/jobs/list_completed_since?since=2016-12-22T13:30:14.294Z HTTP/1.1", upstream: "http://[::1]:5601/api/reporting/jobs/list_completed_since?since=2016-12-22T13:30:14.294Z", host: "YY.YY.YY.YY", referrer: "http://YY.YY.YY.YY/app/kibana"