Do you want the application google chrome.app to accept incoming network connections

I have a node application that uses puppeteer to test a internet website. Up until we updated to latest puppeteer 1.12.2 we had actually no problem.

You watching: Do you want the application google chrome.app to accept incoming network connections

Node launches puppeteer on timerOn eextremely launch, device asks: "Do you desire to the application Chromium.app to accept incoming network connections"

In the Firewall tab of the "Security and also Privacy" settings, ACCEPT is particularly collection for Chromium. (and also we"ve tried turning it off too) Tright here appears to be no pleasing MacOS on this allude.

Any suggestions around exactly how to quiet MacOS and also recognize/persist the firewall preference?


*

We were having the exact same concern after upgrade our puppeteer and MacOS. One solution we have is to instruct puppeteer to usage our very own Chrome rather of the bundled chromium by specifying the executablePath. Below is a Typescript snippet just how we specify it. Same point if you usage vanilla JS.

See more: Lenovo Yoga 2 Pro Not Turning On, Lenovo Yoga Unable To Power On

Sometimes that still is not enough, we have to make headless option false to make it continuously occupational, which is really annoying.

/** * produce a puppeteer "Browser" object. */ public static createBrowser(): Promise return puppeteer.launch( // ... various other options headless: false, executablePath: "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" ); Hope it additionally works for you. :-)


*

Another option is self authorize a certificate, follow the instructions in this comment:

https://github.com/GoogleChrome/puppeteer/issues/4752#issuecomment-524086077

Here in even more information how to open up the Certificate creator: https://support.apple.com/en-gb/guide/keychain-access/kyca2686/mac)

And then in the root of your repo run:

suexecute coarchitecture -s MyCertificateName -f ./node_modules/puppeteer/.local-chromium/mac-674921/chrome-mac/Chromium.application --deep


*

Thanks for contributing a solution to Stack Overflow!

Please be certain to answer the question. Provide details and share your research!

But avoid

Asking for assist, clarification, or responding to other answers.Making statements based upon opinion; back them up through references or individual endure.

See more: Which Mode Hides All Commands And Just Displays A Document ?

To learn even more, check out our tips on creating good answers.


Message Your Answer Discard

By clicking “Article Your Answer”, you agree to our terms of organization, privacy policy and also cookie plan


Not the answer you're looking for? Browse various other inquiries tagged macos chromium firewall or ask your own question.


*

website style / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev2021.4.1.38970


Stack Overcirculation works ideal with JavaScript enabled
*

Your privacy

By clicking “Accept all cookies”, you agree Stack Exreadjust have the right to store cookies on your device and also discshed indevelopment in accordance via our Cookie Policy.