If you're using a reverse proxy, you may also need to specify the hostname, unless you're connecting through localhost. Whatever URL you use to connect to Kibana as a user, you need to configure in the kibana.yml file. For example, if Kibana is running at http://localhost:5601, but you connect through http://hostname.tld, you'll need to provide the hostname and the port. If you've added SSL to the proxy, you'll also need the protocol.
You can set these with xpack.reporting.kibanaServer.protocol, xpack.reporting.kibanaServer.hostname, and xpack.reporting.kibanaServer.port (which you already have).
From the description, I'm not sure you need to change anything else though. The GET and POST endpoints you shared I'd expect to work, Reporting happens in the background, as though you had a user on the same box loading Kibana through the proxy. Those routes simply talk to Kibana like any other request.
Maybe see if you can connect to the Kibana server from the box hosting Kibana, but using the proxy settings. That's effectively what reporting is trying to do, so if that connection doesn't work, that would be the cause of the error.
Thank you for the reply. I found that request was somehow not properly mapped to the server block I had.
Thus, I eluded the situation by modifying the nginx configuration to have just one server block and make sure requests to KIbana are mapped to only server block that I have.
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.