-
-
Notifications
You must be signed in to change notification settings - Fork 282
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
Disable --single-process option #15
Comments
Hi @alekseykulikov, I apologise for my brief reply. In short: I don't really know. I haven't had a chance to dig into it much myself—but, like you've discovered, headless Chrome doesn't run correctly without the My best guess is that it has something to do with the sandboxing of Chrome and it's processes. It's possible that there may also be a bug in headless Chrome itself. In the Lambda environment, AWS has things pretty restricted and I suspect some combination of things Chrome is trying to do to isolate / restrict the different layers of processes relies on Linux OS features which aren't available within Lambda. For example, if you listen to stderr on the spawned chrome process, without I'll raise this issue on the headless-dev group and follow up here with any news. |
Thank you very much @adieuadieu for detailed reply! |
I've asked about |
This is a bit late: but anyone have any update on running Lighthouse via headless Chrome on Lambda? Try as we can, we can't get it working without due to the need for |
Did someone manage to run it without |
I am looking for the solution too |
Hey, thank you for great work on compiling chrome for Lambda.
I'm trying to run perf audits, but it seems
--single-process
option, breaks performance metrics significantly.No
--single-process
:With
--single-process
:Could you explain, why there's
--single-process
option and how to avoid it? I've tried to run without it, but in this case http://127.0.0.1:9222/json returns empty value and chrome just does not work.The text was updated successfully, but these errors were encountered: