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

Navigation Timeout Exceeded: 30000ms exceeded #395

Closed
DB-Alex opened this issue Jul 20, 2019 · 13 comments
Closed

Navigation Timeout Exceeded: 30000ms exceeded #395

DB-Alex opened this issue Jul 20, 2019 · 13 comments

Comments

@DB-Alex
Copy link

DB-Alex commented Jul 20, 2019

No matter what i try, 1.23.0 or 1.10.0. I always get this error:

Am i doing something wrong?

error at / { TimeoutError: Navigation Timeout Exceeded: 30000ms exceeded
at Promise.then (/Users/alexvdvegt/Sites/DirectBasing/Core/direct-basing/webapp/node_modules/puppeteer/lib/LifecycleWatcher.js:142:21)
at
-- ASYNC --
at Frame. (/Users/alexvdvegt/Sites/DirectBasing/Core/direct-basing/webapp/node_modules/puppeteer/lib/helper.js:111:15)
at Page.goto (/Users/alexvdvegt/Sites/DirectBasing/Core/direct-basing/webapp/node_modules/puppeteer/lib/Page.js:629:49)
at Page. (/Users/alexvdvegt/Sites/DirectBasing/Core/direct-basing/webapp/node_modules/puppeteer/lib/helper.js:112:23)
at fetchPage (/Users/alexvdvegt/Sites/DirectBasing/Core/direct-basing/webapp/node_modules/react-snap/src/puppeteer_utils.js:232:22)
at
at process._tickCallback (internal/process/next_tick.js:189:7) name: 'TimeoutError' }

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Process finished with exit code 1

@stereobooster
Copy link
Owner

Hard to tell do you use built-in server or external? Can you post reproducible example?

@DB-Alex
Copy link
Author

DB-Alex commented Jul 20, 2019

I use the build in server and very basic setup from the readme. Only the index.js is edited to hydrate and thats it.

@stereobooster
Copy link
Owner

stereobooster commented Jul 20, 2019

First time I see this error. This is not the same error as #240. If you would post example, I can run it. If it would work on my machine then the problem is in your machine. The server for some reason doesn't work

@DB-Alex
Copy link
Author

DB-Alex commented Jul 22, 2019

The server is starting, because i see some console.log messages from my CRA:

$ react-snap
️️️💬 console.log at /: Content is cached for offline use.
️️️💬 console.log at /: This web app is being served cache-first by a service worker. To learn more, visit https://bit.ly/CRA-PWA
🔥 error at / { TimeoutError: Navigation Timeout Exceeded: 30000ms exceeded

@DB-Alex
Copy link
Author

DB-Alex commented Jul 22, 2019

When i use headless = false then it boots and i see it is crashing at an user form:
️️️💬 console.log at /: [DOM] Password field is not contained in a form: (More info: https://goo.gl/9p2vKq) %o

Is it possible to give some kind of sitemap to react-snap? I dont need my login page to snapped.

@DB-Alex
Copy link
Author

DB-Alex commented Jul 22, 2019

After fixing all autocomplete suggestions puppeteer does not crash anymore :)

@DB-Alex DB-Alex closed this as completed Jul 22, 2019
@nickjuntilla
Copy link

After fixing all autocomplete suggestions puppeteer does not crash anymore :)

Where do you find the auto-complete suggestions?

@kamami
Copy link

kamami commented Jun 17, 2020

Same Problem

@insivika
Copy link

same problem

1 similar comment
@yellowbang
Copy link

same problem

@dang1412
Copy link

dang1412 commented Nov 22, 2020

same problem with firebase page, is there any option to use the result after a certain time ex. 20s, no need to wait for network idle then throw error, should use the current result instead of throwing error.

@JulianPhillips
Copy link

same problem

1 similar comment
@everdrone
Copy link

same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants