Reputation: 1125
I followed the instruction of how to install protractor. While executing webdriver-manager update, i am getting this kind of issue.
events.js:183
throw er; // Unhandled 'error' event
Error: read ECONRESET
at _ernoException<util.js:1022:11>
at TLSWrap.onread (net.js:628:25)
I am behind a corporate proxy. Can somebody help on this?
Upvotes: 0
Views: 1196
Reputation: 13722
If your network behind proxy, you need to tell webdriver-manager
your proxy.
Option 1) Specify proxy in webdriver-manager CLI
webdriver-manager update --proxy <your proxy>
In this way, you have to specify proxy every time when execute webdrvier-manager
start or update
Option 2) Add proxy setting in Environment Variable
HTTP_PROXY=<your proxy>
HTTPS_PROXY=<your proxy>
NO_PROXY=localhost, 127.0.0.1, .yourcompany.com
By this approach, no need to specify proxy in webdriver-manager CLI. However retry in new CMD window opened after adding proxy Environment Variables.
Upvotes: 1