Here is a simple exercise leading to a reproducible bug.
Install FreeBSD 11.1
pkg install elasticsearch5
pkg install kibana5
Place startup files in /etc/rc.conf.d/
Test Kibana, it'll work fine.
service kibana stop
service elasticsearch stop
pkg install kibana5-x-pack
service elasticsearch start
service kibana start
Check Kibana, this is what it says with Chrome
This page isn’t working
192.168.56.254 redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS
These are the packages installed.
elasticsearch5-5.3.0_1
kibana5-5.3.0_1
kibana5-x-pack-5.3.0
Log is full of this:
{"type":"log","@timestamp":"2017-12-04T02:52:02Z","tags":["license","warning","xpack"],"pid":690,"message":"License information could not be obtained from Elasticsearch. [illegal_argument_exception] No endpoint or operation is available at [_xpack] :: {"path":"/_xpack","statusCode":400,"response":"{\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"No endpoint or operation is available at [_xpack]\"}],\"type\":\"illegal_argument_exception\",\"reason\":\"No endpoint or operation is available at [_xpack]\"},\"status\":400}"}"}
I am new to Elastic, I have the Gormley & Tong book, perhaps this is a simple thing to fix, but I am not sure what to do. It really seems like this should either work, or produce a sensible error.