-
-
Notifications
You must be signed in to change notification settings - Fork 217
Description
Issue
I am trying to run my WDIO tests. When i run the tests in local it is running fine. But when i Try to run in docker (CentOS) below error is thrown.
I am using nodejs version v15.2.1
Error logs
root/node_modules/selenium-standalone/lib/install.js:626
cb(new Error("Could not request headers from " + url + ": " + err));
^
Error: Callback was already called.
at /root/node_modules/selenium-standalone/node_modules/async/dist/async.js:318:36
at Request. (/root/node_modules/selenium-standalone/lib/install.js:626:7)
at Object.onceWrapper (node:events:436:26)
at Request.emit (node:events:329:20)
at Request.EventEmitter.emit (node:domain:467:12)
at IncomingMessage. (/root/node_modules/request/request.js:1079:12)
at IncomingMessage.emit (node:events:329:20)
at IncomingMessage.EventEmitter.emit (node:domain:467:12)
at TLSSocket.socketCloseListener (node:_http_client:430:13)
at TLSSocket.emit (node:events:341:22)
Steps to reproduce:
running command inside docker - npx wdio ./config/desktopWeb.config.js