indus / ncc

node-chrome-canvas || a simple to use and performant HTML5 canvas for Node.js
Other
172 stars 6 forks source link

connection failed #5

Closed pixelass closed 4 years ago

pixelass commented 7 years ago

OS X 10.12.4 (16E195) Chrome 58.0.3029.110 (64-bit) node v6.10.0

ChromeLauncher created /var/folders/dc/_638b5l12vv8ltt22j1nvvym0000gn/T/ncc.XXXXXXX.YinKOGZj
ChromeLauncher Chrome running with pid 30961 on port 9222.
ChromeLauncher Waiting for browser.
ChromeLauncher Waiting for browser...
ChromeLauncher Waiting for browser.....
ChromeLauncher Waiting for browser.....
[ncc] chrome started
[ncc] connecting [retry 1/9]
[ncc] connecting [retry 2/9]
[ncc] connecting [retry 3/9]
[ncc] connecting [retry 4/9]
[ncc] connecting [retry 5/9]
[ncc] connecting [retry 6/9]
[ncc] connecting [retry 7/9]
[ncc] connecting [retry 8/9]
[ncc] connecting [retry 9/9]
[ncc] connection failed
indus commented 7 years ago

Can you try to open http://localhost:9222/json after starting ncc. You should get something like:

[ {
   "description": "",
   "faviconUrl": "file:///D:/dev_test/ncc/lib/ncc.ico",
   "id": "79a1e9dd-ce90-49c9-853c-01260a2e94a3",
   "title": "ncc",
   "type": "page",
   "url": "file:///D:/dev_test/ncc/lib/index.html"
} ]

Can you then paste it here to give me a look?

indus commented 7 years ago

I also made some adjustments that may have fixed the problem. You can try them by updating to v0.3.5 v0.3.6.

pixelass commented 7 years ago

Will try and report back later. Thx