angular / protractor

E2E test framework for Angular apps
http://www.protractortest.org
MIT License
8.74k stars 2.31k forks source link

Unable to Start webdriver-manager start getting events.js:170 #5243

Open bhushan921 opened 5 years ago

bhushan921 commented 5 years ago

Error_170

C:\Users\bharat.bh>webdriver-manager start [17:12:33] I/config_source - curl -oC:\Users\bharat.bh\AppData\Roaming\npm\node_modules\protractor\node_modules\webdriver-manager\selenium\chrome-response.xml https://chromedriver.storage.googleapis.com/ [17:12:33] I/config_source - curl -oC:\Users\bharat.bh\AppData\Roaming\npm\node_modules\protractor\node_modules\webdriver-manager\selenium\gecko-response.json https://api.github.com/repos/mozilla/geckodriver/releases events.js:170 throw er; // Unhandled 'error' event ^

Error: connect ETIMEDOUT 216.58.196.208:443 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1088:14) Emitted 'error' event at: at Request.onRequestError (C:\Users\bharat.bh\AppData\Roaming\npm\node_modules\protractor\node_modules\request\request.js:881:8) at ClientRequest.emit (events.js:198:15) at TLSSocket.socketErrorListener (_http_client.js:397:9) at TLSSocket.emit (events.js:193:13) at emitErrorNT (internal/streams/destroy.js:91:8) at emitErrorAndCloseNT (internal/streams/destroy.js:59:3) at processTicksAndRejections (internal/process/task_queues.js:81:17)

Also, how can i setup proxy?

Agoni1 commented 5 years ago

I had the same problem

cnishina commented 5 years ago

What version of webdriver-manager are you using? webdriver-manager start making a curl call hasn't been a thing for a year or two.