Unable to generate the PDF error when using Kroki #600
Replies: 5 comments 2 replies
-
Hello @woprisalive I'm not really sure what is going on. As you've mentioned, the headless Chrome instance is probably exceeding the memory limit of your system and as a result Asciidoctor Web PDF cannot communicate with it (through Puppeteer).
Probably because Puppeteer wasn't able to properly close the browser instance. |
Beta Was this translation helpful? Give feedback.
-
All chrome's instances disapear when Asciidoctor Web PDF exits. They are visible with |
Beta Was this translation helpful? Give feedback.
-
I've installed 3 distributions on a virtualbox :
Have you heard about some issues on fedora distros or node v16 ? |
Beta Was this translation helpful? Give feedback.
-
Hi @Mogztter, I've tried my last penny on installing node v12.22.9 with nvm on my Fedora Server 36. Same error :,( Maybe something wrong on Fedora distors, but cannot say what... |
Beta Was this translation helpful? Give feedback.
-
Hi @Mogztter, I've seen this doc but without any success... thanks a lot. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I've installed your amazing asciidoctor-web-pdf on a Fedora Linux 36 (Server Edition Prerelease) with node v16.13.2.
I use node only for this tool. Installation was done with the following command :
npm i -g @asciidoctor/core asciidoctor-pdf asciidoctor-kroki --save-dev
When I want to generate a PDF, the error
Unable to generate the PDF - Error: Error: Navigation failed because browser has disconnected!
is returned.I've got the error with the
piracy.adoc
example on the diagram section. If I comment the nomnomol diagram the PDF is generated.This error seems to be generated by pupeteer related to a memory error...
When I look at the top command, several chrome processes are executed that use 16.6g of virtual memory !!
New with node and asciidoctor-web-pdf, I don't know where to look for...
I'm not able to use the
--preview
option, I use the Fedora remotely and cannot export the display.Bye bye !
Beta Was this translation helpful? Give feedback.
All reactions