I'm trying to access my server's kibana dashboard (that works perfectly locally) through an IIS reverse proxy with URL rewrite.
But it give me a console error:
"[warning][environment] Detected an unhandled Promise rejection. TypeError: Cannot read property 'statusCodes' of undefined"
And to the browser it sends {status code:"404","error":"Not found","message":"Not Found"}
Hey, thanks for the fast response @mattkime
It seems that if I delete "server.rewriteBasePath" I get
"You should set server.basePath along with server.rewritebasepath" warning
an "redirected too many times" error in the browser, and end up in
"/spaces/enter" for some reason (getting no error in the console this time)
And if I delete also the server.basepath Im also getting "redirected too many times" browser error, this time without the desired subdomain (which is the subdomain of my reverse proxy)
Unfortunately, I'm behind strict company proxy, so I will not be able to share har files.
In the kibana logs, when rewritebasepath set to true, I see the promise rejection- status codes error.
It sounds to me like there's some sort of redirect loop but its difficult for me to comment on what might be happening without more information. It might be helpful to stand up a simpler service that you can access through the proxy to separate proxy problems from kibana config problems. I'm not sure if this is solely a proxy problem, a kibana config problem, or both.
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.