You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to run the end to end test, I get a error
Error: ECONNREFUSED connect ECONNREFUSED.
I had recieved a similar error when I was trying to install protractor using npm. Since I work behind a proxy, I had to update the proxy config for the npm by following
npm config set proxy http://winUserName:winPass@proxy.company.com:8080
I think this the same issue I am getting here, because its trying to start selenium Server at the following location
Using SauceLabs selenium server at http://anandv:f1af024a-f8e0-42e0-8adf-2a09275aacaf@ondemand.saucelabs.com:80/wd/hub
Full error log
Error: ECONNREFUSED connect ECONNREFUSED
at ClientRequest.<anonymous> (C:\Users\anandv\AppData\Roaming\npm\node_modul
es\protractor\node_modules\selenium-webdriver\http\index.js:127:16)
at ClientRequest.EventEmitter.emit (events.js:95:17)
at Socket.socketErrorListener (http.js:1548:9)
at Socket.EventEmitter.emit (events.js:95:17)
at net.js:441:14
at process._tickCallback (node.js:415:13)
==== async task ====
WebDriver.createSession()
at Function.webdriver.WebDriver.acquireSession_ (C:\Users\anandv\AppData\Roa
ming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\w
ebdriver.js:131:49)
at Function.webdriver.WebDriver.createSession (C:\Users\anandv\AppData\Roami
ng\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\web
driver.js:111:30)
at Builder.build (C:\Users\anandv\AppData\Roaming\npm\node_modules\protracto
r\node_modules\selenium-webdriver\builder.js:105:20)
at runTests (C:\Users\anandv\AppData\Roaming\npm\node_modules\protractor\lib
\runner.js:246:47)
at C:\Users\anandv\AppData\Roaming\npm\node_modules\protractor\lib\runner.js
:368:12
at C:\Users\anandv\AppData\Roaming\npm\node_modules\protractor\node_modules\
selenium-webdriver\lib\goog\base.js:1178:15
at webdriver.promise.ControlFlow.runInNewFrame_ (C:\Users\anandv\AppData\Roa
ming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\p
romise.js:1445:20)
at notify (C:\Users\anandv\AppData\Roaming\npm\node_modules\protractor\node_
modules\selenium-webdriver\lib\webdriver\promise.js:328:12)
at then (C:\Users\anandv\AppData\Roaming\npm\node_modules\protractor\node_mo
dules\selenium-webdriver\lib\webdriver\promise.js:377:7)
The text was updated successfully, but these errors were encountered:
I created a sauce labs account and used this in exports.config
When I try to run the end to end test, I get a error
Error: ECONNREFUSED connect ECONNREFUSED.
I had recieved a similar error when I was trying to install protractor using npm. Since I work behind a proxy, I had to update the proxy config for the npm by following
I think this the same issue I am getting here, because its trying to start selenium Server at the following location
Full error log
The text was updated successfully, but these errors were encountered: