I am trying to generate PDF reports on Kibana and while doing so I am getting the below error:
HeadlessError: Request() error evaluating createPage() call: Error: connect ECONNREFUSED 127.0.0.1:33395
We are running all 3 components of ELK stack(v6.8) on the same LPAR (hence firewall issues out of question?)
I followed various remedies mentioned in forums. I have added correct values for below parameters in kibana.yml :
After triggering PDF generation, I checked for the phantomjs process which is spawned:
/var/lib/kibana/phantomjs-2.1.1-linux-x86_64/bin/phantomjs --load-images=true --ssl-protocol=any --ignore-ssl-errors=true /usr/share/kibana/node_modules/@elastic/node-phantom-simple/bridge.js 127.0.0.1 33761
I cannot understand why the phantomjs process is still picking up localhost. I looked for all settings, but could not understand what decides the host (A random port is used for every attempt I believe)
Can you please suggest, what I am missing here.