-
Notifications
You must be signed in to change notification settings - Fork 48
could not list chrome tabs: Error: connect ECONNREFUSED 127.0.0.1:9222 #61
Comments
Maybe you have too many open tabs? Are you closing the tabs you're not using? "After running for a while" means about how long? |
I always close the tab. |
Does it happen on other websites? Is the website so heavy that maybe you have no memory left? What have to tried? Thx |
No it dose not happened on other website. Also, now the error happens sometimes, not often. |
Possibly, we wait and see how things go. |
Maybe start NickJS in debug mode ( |
Sorry for late reply. I got following errors.
|
Well, it looks like the 9222 port is already in use on your system. Maybe you already have Chrome running with debug enabled, even though NickJS tries to start a new one? A fix would be to disable debug mode on this other Chrome instance, or at least change the port (which is one of the cmd line options of Chrome). |
@paps I finally found the reason why I am getting these errors every time I access to my crawler. I use pm2 for load balancing node process and port collision occurs because of multiple node process. Dose nickJS has options for the port number? |
Oh ok, I see. That means your node instances are started with debugging enabled right? You can use |
@paps |
@paps |
I often get this error after running for while.
Also, when I get this error, I have to restart the node process.
Do you have any suggestion for this?
Google Chrome 70.0.3538.110
The text was updated successfully, but these errors were encountered: