I have a unique application that allows users to generate PDFs from HTML using a node server.
This application utilizes the wkhtmltopdf 0.12.3-dev-79ff51e engine (with patched qt) integrated with node-wkhtmltopdf module.
Occasionally, an error message pops up:
Error: Exit with code 1 due to network error: TimeoutError
at Socket.<anonymous> (/srv/exporter/utils/wkhtmltopdf.js:117:19)
at Socket.g (events.js:260:16)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:146:16)
at Socket.Readable.push (_stream_readable.js:110:10)
at Pipe.onread (net.js:523:20)
Why does wkhtmltopdf need network connectivity?