ERROR: connect ECONNREFUSED #26
Comments
Can you provide a reproducible example? |
Hi Christian, thanks for replying. |
Why do you need this service when you run your tests on SauceLabs anyway? |
Well, we have it in wdio.conf.js to run either local or in Saucelabs, this is the part where we contemplate both: |
@albertoacn can you try to keep the current setup but add: if (process.env.SAUCE_USERNAME && process.env.SAUCE_ACCESS_KEY) {
config.protocol = 'http'
} |
Thanks for this first try, but it still fails. |
@christian-bromann is there any advance in this? It is reproducible every time. Thanks. |
This is the config I use to start the selenium standalone service in local only : the ci var is defined as You can use a similar setup with sauce variables to avoid starting a local selenium in travis. |
I experienced this at a VM due to this:
|
This issue is weird, I experienced this issue when running tests locally after changing my timeouts in More Info:
I've been running hundreds of successful and failing tests over 3 days before this happened. It seems a communication issue with |
I have a job in Travis CI which is using wdio.conf.js to run several tests in Saucelabs, the configuration was working fine until it started failing intermittently several weeks ago. This is the error message:
ERROR: connect ECONNREFUSED 127.0.0.1:4445
I have tried adding to the tunnelDomains in Saucelabs config ‘localhost’ and ‘127.0.0.1’, also I have added Travis job number as tunnelIdentifier. Even I constrained the concurrency of the job, but none of these changes have worked.
I am pretty sure that this should be a trivial thing, but I have not found any reason why this started failing, so I thought that maybe this is a malfunction in wdio-selenium-standalone-service.
The text was updated successfully, but these errors were encountered: