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

server hangs indefinitely #1

Open
fayak opened this issue Mar 11, 2020 · 2 comments
Open

server hangs indefinitely #1

fayak opened this issue Mar 11, 2020 · 2 comments

Comments

@fayak
Copy link

fayak commented Mar 11, 2020

I followed all your instructions and dependencies (debian 10), however I can't make it work.
The server runs, the /test route does print test, but when I try to render an URL, it hangs forever.

Please let me know which details do you need

@fayak
Copy link
Author

fayak commented Mar 11, 2020

It appears to be because I tried to run this app as root. Using a non-root user and const browser = await puppeteer.launch({args: ['--no-sandbox', '--disable-setuid-sandbox']}); works for the moment in my docker env.

@dblazeski
Copy link
Owner

Hey @fayak - Running puppeteer as root without sandbox is not supported
Running as root without --no-sandbox is not supported.

karma-runner/karma-chrome-launcher#158

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

No branches or pull requests

2 participants