X-Pack Generate PDF report fails, HeadlessError

Elasticsearch, KIbana, X-Pack ver: 5.5.0
Operating system: Windows 10

I have a saved search. There are 20 hits in the search and I choose to "Generate Printable PDF".
The following error message:

Unhandled rejection HeadlessError: Request() error evaluating createPage() call: Error: getaddrinfo ENOENT localhost:50039
at ClientRequest. (C:\elastic\kibana-5.5.0\plugins\x-pack\node_modules@elastic\node-phantom-simple\node-phantom-simple.js:510:18)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at Socket.socketErrorListener (_http_client.js:309:9)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at connectErrorNT (net.js:1025:8)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickDomainCallback (internal/process/next_tick.js:128:9)

Have read (1) on the forum and (2) regarding Win 10 specific issues regarding host address resolution and took following actions, without success:

  • set the following in kibana.yml
    server.host: "127.0.0.1"

  • disabled ipv6 on all interfaces according to KB929852

Any ideas in the Forum?

Hello,

Did you also allow Node.Js from the firewall when the prompt was displayed? It usually is displayed on Windows when you first try to generate a report.

Hi, thx for feed-back. No I didn't do that, but I disabled the Firewall. Forgot to mention that.
However, I can't recall that I got prompted the first time regarding to allow Node.js while the Firewall was active though.
I'll try to enable some more debugging.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.