nightwatch: "socket hang up" error immediately on running nightwatch 1.0.4
I tried upgrading to 1.0.4 and immediately on running nightwatch I get:
connect ECONNREFUSED 127.0.0.1:4444
socket hang up
at createHangUpError (_http_client.js:302:15)
at Socket.socketCloseListener (_http_client.js:334:23)
Meaning I can’t run the tests at all. This is on Mac with the following config:
"webdriver": {
"start_process": true,
"server_path": "./bin/mac/chromedriver-v2.37",
"port": 4444,
"host": "localhost"
}
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 38 (11 by maintainers)
Also get this error, using “nightwatch”: “^1.0.11”:
I’ve updated to v1.0.12 and now get the following error;
Error: Timeout while trying to connect to Selenium Server on port 4444.
15:37:27.551 INFO [GridLauncherV3.launch] - Selenium build info: version: ‘3.11.0’, revision: ‘e59cfb3’ 15:37:27.555 INFO [GridLauncherV3$1.launch] - Launching a standalone Selenium Server on port 4444 2018-11-15 15:37:28.033:INFO::main: Logging initialized @1330ms to org.seleniumhq.jetty9.util.log.StdErrLog
I am getting the same error using
"nightwatch": "^1.0.19"and"chromedriver": "^2.46.0"on macOS High Sierra Version10.13.6.Seems like this is still an issue.
@lynscott I just switched back to
0.9.xuntil a fix is released.@RyanSadowski Ditto. It breaks in my GitLab runner for both Chrome and Firefox. This is the container I am using
@wallzero
Same, failing in my gitlab runner but excellent otherwise. Have you found a workaround for this?
@beatfactor I’m experiencing the same issue with
"nightwatch": ^1.1.11,"chromedriver": "^2.46.0"and"selenium-server": "^3.141.59"on macOS. This issue still exist in latest version.I get the same error. I had to run the command several times to make the tests run.
I’m running on macOS Mojave 10.14.3. Same happening when I run against Windows 10 machine.