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

Set timeout setting for puppeteer #199

Open
yantakus opened this issue Jun 18, 2018 · 6 comments
Open

Set timeout setting for puppeteer #199

yantakus opened this issue Jun 18, 2018 · 6 comments

Comments

@yantakus
Copy link

Is this possible to set timeout settings as in this example: puppeteer/puppeteer#782 (comment) ?

"reactSnap": {
    "puppeteer": {
      "networkIdleTimeout": 5000,
      "waitUntil": "networkidle",
      "timeout": 3000000
    }
  },

doesn't work.

I'm getting Error: Navigation Timeout Exceeded: 30000ms exceeded error and rolling back to 1.10 as stated here: #131 doesn't help.

@stereobooster
Copy link
Owner

At the moment it is not possible. Can you specify version of react-snap and puppeteer? I hopped this issue was fixed in latest puppeteer.

@yantakus
Copy link
Author

I'm using 1.14.0. It is using "puppeteer": "^1.4.0",. I see there's already 1.15.0. Is there any updates in it regarding my question? I don't see a changelog anywhere.

@stereobooster
Copy link
Owner

This is peterbe/minimalcss#213 what made me think it was fixed

@mikemfleming
Copy link

mikemfleming commented Feb 12, 2019

@yantakus I was running into the same problem and updating my react-snap version to current (1.23.0) resolved the issue.

@d1ab
Copy link

d1ab commented Feb 25, 2019

Same problems here, happens on Debian and iOS aswell.
Im running react-snap v 1.23.0, puppeteer v 1.12.2

@pommedepain
Copy link

I had the same problem with react-snap v1.23.0 and I fixed it by npm i the latest version of puppeteer in my package-json (so v1.20.0) :)

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

6 participants
@stereobooster @yantakus @mikemfleming @d1ab @pommedepain and others