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
cdp.Target: CreateBrowserContext: rpc error: Not allowed. (code = -32000) #80
Comments
I suspect this might be a Chrome version issue. In fact, I'm a bit surprised it works for you locally. At least historically, a browser context could not be created from a There's an example of using the browser endpoint in the incognito example, basically you'd change thecodingmachine/gotenberg/internal/pkg/printer/html.go#L41-L52 with: Lines 23 to 35 in 1dba954
Does making this change fix the issue? |
Travis CI is now working as expected 🎉 thank you for the quick answer! |
Glad to hear, no problem 😄! |
…00),time:2019-01-28T20:54:13-06:00} as per mafredri/cdp#80"
Hello again,
The following error is thrown in Travis CI and has also been reported here gotenberg/gotenberg#15:
It happens here in my code: https://github.com/thecodingmachine/gotenberg/blob/master/internal/pkg/printer/html.go#L55
Google Chrome is installed in a Debian/stretch Docker image: https://github.com/thecodingmachine/gotenberg/blob/master/build/base/Dockerfile#L33.
And it is launched with PM2 using those options:
🤔 I have now idea why it is happening. I cannot reproduce it locally (macOS with Docker) as those commands works as expected:
Thank you! 😄
The text was updated successfully, but these errors were encountered: