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

Adding --no-sandbox param to the pyppeteer #3

Closed
mdisec opened this issue Nov 7, 2019 · 4 comments
Closed

Adding --no-sandbox param to the pyppeteer #3

mdisec opened this issue Nov 7, 2019 · 4 comments
Labels
duplicate This issue or pull request already exists

Comments

@mdisec
Copy link

mdisec commented Nov 7, 2019

When you try to run witness me with root user, pyppeteer will be ignoring to initiate chrome process. In order to avoid from that, we gotta pass args=['--no-sandbox'] to launch() function.

browser = await pyppeteer.launch(headless=True, ignoreHTTPSErrors=True)

I do propose following fix. I've tested it on locally.

browser = await pyppeteer.launch(headless=True, ignoreHTTPSErrors=True, args=['--no-sandbox'])
@mdisec
Copy link
Author

mdisec commented Nov 7, 2019

Actually #2 related with that issue.

@korang
Copy link

korang commented Nov 7, 2019

The fix above worked for me

@byt3bl33d3r
Copy link
Owner

Ah, I never ran it with root privs. That explains why I didn't run into this. Thanks, I'll push a fix soon.

byt3bl33d3r added a commit that referenced this issue Nov 7, 2019
@byt3bl33d3r
Copy link
Owner

Done. Thanks

@byt3bl33d3r byt3bl33d3r added the duplicate This issue or pull request already exists label Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants