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

fix: random puppeteer crawler (running in headful mode) failure #1348

Merged
merged 2 commits into from
May 3, 2022

Conversation

AndreyBykov
Copy link
Member

@AndreyBykov AndreyBykov commented May 3, 2022

This should fix the random failure of actor runs using puppeteer crawler in headful mode. It first appeared in SDK 2.3.0 after updating puppeteer to version 13.

Seems like the issue appeared in puppeteer a long time ago, and is still not fixed. The last puppeteer version working without this issue is 10.4.0. My bet is it's related to OOP iframes changes in v11. The issue is pretty random though and hard to reproduce. Sometimes it happens after 1-2 requests are processed, sometimes after 10-15 minutes run, sometimes run could finish successfully. Adding --disable-site-isolation-trials flag fixes it.

No need to add this flag to headless though. Also - the playwright seems to be working fine, so it's puppeteer-related only.

@AndreyBykov AndreyBykov requested a review from B4nan May 3, 2022 11:26
Copy link
Member

@B4nan B4nan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's see how it works in the tests

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

2 participants