webdriverio-boneyard / wdio-sauce-service

WebdriverIO v4 service for better Sauce Labs integration
http://webdriver.io
MIT License
18 stars 21 forks source link

Running sauce service through SauceConnect Proxy throws errors #21

Closed brownad closed 7 years ago

brownad commented 7 years ago

If I use this service it throws errors on completion of each test:

Error: connect ETIMEDOUT 1xx.2xx.75.243:443 at Object.exports._errnoException (util.js:1026:11) at exports._exceptionWithHostPort (util.js:1049:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1085:14)

Removing sauce service and tests run quickly without errors. I am using http protocol inside my wdio.config.js but forced on to https - undesirable. I think there's a problem with this service under those conditions

christian-bromann commented 7 years ago

Please also set port to 80 as well. duplicate webdriverio/webdriverio#1911

brownad commented 7 years ago

Where for the SauceConnect port you mean? Instead of 4445, then open that up too?

christian-bromann commented 7 years ago

Port 80 is wrong, sorry. Please set host (localhost) and port (4445) in your config as well as protocol (http) to http.

brownad commented 7 years ago

I have set host, port and protocol. With this plugin it is throwing errors back:

host: sauceconnect.dns port: 4445 protocol: http

Tests run as https on saucelabs as you mentioned, then throws the error at the end of each test:

christian-bromann commented 7 years ago

Do you have any Sauce Connect logs?