Hi there. I've been experiencing a problem with Kibana - the indices don't show in index patterns menu even though all the indexes are present in index management menu.
if I set rewriteBasePath to true, everything's accessible outside proxy and I can see all of my indices.
Otherwise it's not accesible - I'm getting such errors: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'nonce-WlAeJVZ1TIIKfZ8U'". Either the 'unsafe-inline' keyword, a hash ('sha256-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution. bootstrap.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
Proxy is basically rewriting the link, removing basePath, packing headers and sending a request via Python urllib.request.Request.
btw, in 7.3.0(both es and kibana) error looks like that: Uncaught (in promise) Error: Loading chunk 169 failed. (missing: http://192.168.10.6/dashboard/monitoring/logs_proxy/built_assets/dlls/icon.logo_elasticsearch-js.bundle.dll.js) at requireEnsure (/dashboard/monitoring/logs_proxy/built_assets/dlls/vendors.bundle.dll.js:1) at Array.map (<anonymous>) at webpackAsyncContext (/dashboard/monitoring/logs_proxy/built_assets/dlls/vendors.bundle.dll.js:192) at EuiIcon.loadIconComponent (/dashboard/monitoring/logs_proxy/built_assets/dlls/vendors.bundle.dll.js:54) at new EuiIcon (/dashboard/monitoring/logs_proxy/built_assets/dlls/vendors.bundle.dll.js:54) at vf (/dashboard/monitoring/logs_proxy/built_assets/dlls/vendors.bundle.dll.js:224) at Og (/dashboard/monitoring/logs_proxy/built_assets/dlls/vendors.bundle.dll.js:224) at Tg (/dashboard/monitoring/logs_proxy/built_assets/dlls/vendors.bundle.dll.js:224) at bi (/dashboard/monitoring/logs_proxy/built_assets/dlls/vendors.bundle.dll.js:224) at ci (/dashboard/monitoring/logs_proxy/built_assets/dlls/vendors.bundle.dll.js:224)
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.