Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid TimeoutError: Navigation timeout of 30000 ms exceeded and TimeoutError: waiting for Page.printToPDF failed: timeout 30000ms exceeded #266

Merged
merged 2 commits into from
Sep 8, 2023

Conversation

blono
Copy link

@blono blono commented Nov 12, 2021

私の MacBook Air 2012 で 2 万行くらいの Markdown を Google Chrome 95.0.4638.69(Official Build) (x86_64) で pdf 出力しようとすると、10 分くらいかかってしまい、タイトルのエラーが発生します😰
これを回避するためタイムアウトが発生しにようにしました。


When I try to output 20,000 lines of Markdown to pdf using Google Chrome 95.0.4638.69 (Official Build) (x86_64) on my MacBook Air 2012, it takes about 10 minutes and I get the error in the title 😰.
In order to avoid this, I made sure that the timeout does not occur.

@blono blono changed the title Avoid TimeoutError: Navigation timeout of 30000 ms exceeded Avoid TimeoutError: Navigation timeout of 30000 ms exceeded and TimeoutError: Navigation timeout of 30000 ms exceeded Nov 13, 2021
@blono blono changed the title Avoid TimeoutError: Navigation timeout of 30000 ms exceeded and TimeoutError: Navigation timeout of 30000 ms exceeded Avoid TimeoutError: Navigation timeout of 30000 ms exceeded and TimeoutError: waiting for Page.printToPDF failed: timeout 30000ms exceeded Nov 13, 2021
@dongshen
Copy link

i also got this issue, i use 1.4.4 (2020/03/19), and Google Chrome 105.0.5195.127.

any updated or suggestion on this issue?

@brunobottazzini
Copy link

brunobottazzini commented Feb 15, 2023

Thanks to this patch, I was finally able to generate a PDF from my 55k lines Markdown document. Previously, I had been experiencing timeouts that prevented me from generating the PDF.

I would merge it or allow the user to configure a maximum timeout for the pdf conversion.

yzane added a commit that referenced this pull request Aug 17, 2023
…and TimeoutError: waiting for Page.printToPDF failed: timeout 30000ms exceeded #266
@yzane
Copy link
Owner

yzane commented Aug 17, 2023

Thanks for the PR!

@yzane yzane added this to the 1.5.0 milestone Aug 17, 2023
@yzane yzane merged commit 3bc556f into yzane:master Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants