-
Notifications
You must be signed in to change notification settings - Fork 48
Heroku: Error: connect ECONNREFUSED 127.0.0.1:9222 #47
Comments
@wbelk possibly, it is similar to this? |
Well...when I deploy to production environment I am getting the same error. node: v8.12.0 |
I figure this out, but, this is really weird for me. Before, start taking about how I figure this out, nodejs and pm2 are installed globally. ■Steps to figure this out. ① Execute my old nodejs based API with 1 process. I do not know why I have to keep running my old API. Of course, when I get this error, chrome is not up and running. If you have any idea, please let me know. |
If I understand correctly, your NickJS script, for some reason, cannot start the chrome subprocess in your environment. But in older Heroku environments, it does work like it should. Can you please add In containerized/dockerized environments, starting chrome can be a pain. A simple google search shows many people having difficulties. For example chrome must be started with |
I have the same error on Ubuntu 16.04, I tried node v8 and v11.6, chromium, chrome 70, 71,72,73(unstable).. I specified Edit: I solved it by starting chrome 71 like this: |
@elhenro are you starting chrome by hand alongside NickJS? |
affirmative, the only way for me right now is to quit chrome completely and then start it with those options |
Can you please add |
Sorry for late reply. |
I'm having the same issue on windows ubuntu wsl here's the output of the debug |
@bbathel12 |
@paps I got following errors. CHROME STDERR: [0412/123550.772631:ERROR:gpu_process_transport_factory.cc(980)] Lost UI shared context. |
I am still getting the same error and so I have to do the follow the steps that I mentioned. |
It might be because it's a too recent version of Chrome. Can you try with Chrome 65? I know it's old but it might do the trick |
@paps when I have a chance for that, I will switch to chrome 65. |
Then, I guess you had better to write what chrome version supported, otherwise, people get stacked like me. |
I'll update the readme if you can confirm that it's working with an older version :) |
could not connect to chrome debugger after 24 tries (10s): Error: connect ECONNREFUSED 127.0.0.1:9222
this just popped up for some reason on heroku, i have legacy dynos running the same code and working perfectly. tried to add a fresh dyno and getting this error for the first time
settings are:
Stack:
heroku-16
node:
8.9.0
npm:
5.5.1
The text was updated successfully, but these errors were encountered: