I have Xpack installed on ELK 5.6 but unable to generate report . When i try to generate report i get the following error "There was an error generating your report for the "1" dashboard: HeadlessError: Request() error evaluating createPage() call: Error: connect ECONNREFUSED" I have libfreetype6, libfontconfig1,libxrender1 already installed and i am logging in using the default x-pack username and password. I tried to find reporting setting in kibana.yml but there is none.
I just downloaded 5.6 and I was able to generate a report successfully on the dashboard I had created. Logs looked clean as well. Can you provide more details like screenshot, detailed steps, any special environment setting like proxy etc ?
My first guess was there might be a firewall which is blocking access to the port that Kibana is trying to talk to PhantomJS using. Pls set logging.verbose: true in your kibana.yml and trying to generate the report again and attaching the logs.
Hey @imortalsolitude Reporting uses a headless browser (PhantomJS) to create the actual screenshots, and the communication between Kibana and PhantomJS occurs over a random port. Could you try disabling your firewall to see if it's blocking communication between Kibana and PhantomJS?
@FRoodt Reporting launches a separate PhantomJS process that is communicated with via websockets, and it appears that communication occurring over port 38125 is being blocked, is there a firewall enabled on the server that is blocking this communication?
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.