chrome-launcher icon indicating copy to clipboard operation
chrome-launcher copied to clipboard

I'm stuck with chrome launch with ngnix

Open khanani92 opened this issue 5 years ago • 2 comments

I'm unable to launch chrome using chrome-launch, I'm stuck with port thing as I'm using ngnix for reverse proxy. I'm hosting my server at digital ocean.

The problem is when i use common port for my node.js app and chrome launcher I get this response:

{pid: undefined , port: 8085, kill: , process: undefined}

And when I used different port for chrome-launcher I get this error

error connect econnrefused 127.0.0.1:39817 chrome

Kindly Help ME Thanks in Advance

khanani92 avatar Jun 13 '19 12:06 khanani92

You definitely don't want to launch Chrome on the same port as your web server. I'm not sure what nginx and reverse proxy setup has to do with anything. Are you trying to load a page that's behind a reverse proxy? Are you trying to stand up a reverse proxy in front of your Chrome remote debugging port?

error connect econnrefused 127.0.0.1:39817 chrome is usually a sign that Chrome crashed and therefore refused the connection.

patrickhulce avatar Jun 13 '19 13:06 patrickhulce

@patrickhulce I'm using chrome to convert HTML to PDF using html-pdf-chrome module. Secondly what might be the reason of Chrome is crashing?

khanani92 avatar Jun 14 '19 06:06 khanani92