gthendean / gt-grunt

Experimenting with Grunt
Apache License 2.0
0 stars 0 forks source link

Grunt cannot start selenium standalone server #1

Open gthendean opened 10 years ago

gthendean commented 10 years ago

All the Grunt setup was done behind corporate firewall. The server started fine when behind corporate firewall.

The server failed to start when there is no firewall. Running "protractor:e2eStopOnFail" (protractor) task [D] Task source: D:\WebStorm\gt-grunt\node_modules\grunt-protractor-runner\tasks\protractor_runner.js Verifying property protractor.e2eStopOnFail exists in config...OK File: [no files] Options: configFile="test/protractor-conf.js", keepAlive=false, noColor=false, debug=false, args={}, seleniumAddress="172.25.52.111" Options: { configFile: 'test/protractor-conf.js', keepAlive: false, noColor: false, debug: false, args: {}, seleniumAddress: '172.25.52.111' } Spawn node with arguments: D:\WebStorm\gt-grunt\node_modules\protractor\bin\protractor test/protractor-conf.js --verbose Starting selenium standalone server...

D:\WebStorm\gt-grunt\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\promise.js:1643 throw error; ^ Error: Timed out waiting for the WebDriver server at http://172.25.52.111:54090/wd/hub at Error () at onResponse (D:\WebStorm\gt-grunt\node_modules\protractor\node_modules\selenium-webdriver\http\util.js:87:11) at D:\WebStorm\gt-grunt\node_modules\protractor\node_modules\selenium-webdriver\http\util.js:42:21 at D:\WebStorm\gt-grunt\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\http\http.js:96:5 at ClientRequest. (D:\WebStorm\gt-grunt\node_modules\protractor\node_modules\selenium-webdriver\http\index.js:136:7) at ClientRequest.EventEmitter.emit (events.js:95:17) at Socket.socketErrorListener (http.js:1547:9) at Socket.EventEmitter.emit (events.js:95:17) at net.js:440:14 at process._tickCallback (node.js:419:13)

Fatal error: protractor exited with code: 8

gthendean commented 10 years ago

Similar reported issue http://stackoverflow.com/questions/20555953/protractor-stand-alone-selenium-fails-error-timed-out-waiting-for-the-webdrive

gthendean commented 10 years ago

Exactly the same as the following issue https://code.google.com/p/selenium/issues/detail?id=7300