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

Waiting for chrome to became available #11

Open
bkopin-bfg opened this issue Aug 29, 2017 · 6 comments
Open

Waiting for chrome to became available #11

bkopin-bfg opened this issue Aug 29, 2017 · 6 comments

Comments

@bkopin-bfg
Copy link

I got following error:
`Using /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome
Waiting for chrome to became available
events.js:160
throw er; // Unhandled 'error' event
^

Error: spawn /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome ENOENT
at exports._errnoException (util.js:1022:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:359:16)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)`

chrome version 60.0.3112.113

@Szpadel
Copy link
Owner

Szpadel commented Sep 7, 2017

can you maybe check if reverting changes from #1 solves this issue?

@mikefogg
Copy link

@Szpadel I'm getting the same error now, is there any info you need that would help?

@firvida
Copy link

firvida commented Oct 24, 2022

I'm getting this error in Manjaro

@jacobkauffmann
Copy link

jacobkauffmann commented Oct 31, 2022

For me, it stops at "Waiting for chrome to became available". This is on MacOS Monterey with Chrome 107.0.5304.87.
It stopped working a few days ago. I can see that Chrome is starting in the process manager. Port 9222 stays closed, though. If I manually start a Chrome instance with remote debugging, the port opens, but the script stays stuck at "Waiting for..."

As a workaround, it works for some time after restarting the computer. I have no idea why it stops working at some point.

Edit: not true, restarting does not fix the problem. I also tried Canary and Chromium, both don't work.
However, I get a line "Chrome port open!" after every 15 minutes or so.

@winterstein
Copy link

I'm also seeing this issue -- on Linux Mint with up-to-date Chrome.

@firvida
Copy link

firvida commented Feb 10, 2023

In my case the reason was that chrome binds to the IPv6 interface, while the client is trying to connect to "localhost" using the IPv4 interface. The solution is to remove "localhost" from resolving IPv6.

In /etc/hosts

Standard host addresses

::1 ip6-localhost ip6-loopback
127.0.0.1 localhost

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants