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

TimeoutError: Navigation Timeout Exceeded: 30000ms exceeded #33

Open
ashvin-acid opened this issue May 27, 2020 · 3 comments
Open

TimeoutError: Navigation Timeout Exceeded: 30000ms exceeded #33

ashvin-acid opened this issue May 27, 2020 · 3 comments

Comments

@ashvin-acid
Copy link

I got the following error when long HTML data.

TimeoutError: Navigation Timeout Exceeded: 30000ms exceeded
    at /home/pct-22/projects/node-api/node_modules/puppeteer/lib/LifecycleWatcher.js:142:21
  -- ASYNC --
    at Frame.<anonymous> (/home/pct-22/projects/node-api/node_modules/puppeteer/lib/helper.js:111:15)
    at Page.goto (/home/pct-22/projects/node-api/node_modules/puppeteer/lib/Page.js:674:49)
    at Page.<anonymous> (/home/pct-22/projects/node-api/node_modules/puppeteer/lib/helper.js:112:23)
    at Object.convertHTMLToPDF [as default] (/home/pct-22/projects/node-api/node_modules/pdf-puppeteer/src/convertHTMLToPDF.js:22:20)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5) {
  name: 'TimeoutError'
}
@yangyang158
Copy link

请问一下 这个问题解决了吗

@shaun-wild
Copy link

Same here. Anyways to speed up PDF generation or increase the timeout would be much appreciated.

@cr7boulos
Copy link
Collaborator

Hi folks,
There is a PR up here to resolve the issue. Looking to add a unit test to prove out the fix works as expected but this should be merged in soon.

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

No branches or pull requests

4 participants