Hello All,
I tried starting my Kibana Server but I got the an error. I included the necessary enable CORS parameters which I need to visualize a map in Kibana but when I try to visualize the map in Kibana I get the following error:
Cannot download http://localhost:8000/Liberian_Counties.geojson file. Please ensure the CORS configuration of the server permits requests from the Kibana application on this host
In order to resolve the above error I now included the following HTTP CORS related parameters in the KIbana.yml file
http.cors.enabled: true
http.cors.allow-origin: "*"
http.cors.allow-methods: OPTIONS, HEAD, GET, POST, PUT, DELETE
http.cors.allow-headers: kbn-version, Origin, X-Requested-With, Content-Type, Accept, Engaged-Auth-Token
When I restarted the Kibana Server in order that the 4 lines above take effect, I got the following error from the kibana server at startup.
error [08:36:55.054] [fatal][root] Error: "http.cors.enabled", "http.cors.allow-origin", "http.cors.allow-methods", and "http.cors.allow-headers" settings were not applied. Check for spelling errors and ensure that expected plugins are installed.
** at KbnServer.exports.default (C:\Elastic Search Setup\kibana-6.5.4-windows-x86_64\src\server\config\complete.js:21:17)**
** at KbnServer.mixin (C:\Elastic Search Setup\kibana-6.5.4-windows-x86_64\src\server\kbn_server.js:170:16)**
** at **
Please can anyone help me to identify what the problem is and give the appropriate solution to the problem.
Thank You
Richard