webdriver-manager 启动:错误:连接 ETIMEDOUT

webdriver-manager 启动:错误:连接 ETIMEDOUT

问题描述:

我正在通过 http://www.protractortest.org/#/配置量角器环境> 网站.执行时

I am configurating protractor environment by the http://www.protractortest.org/#/ website.When execute

webdriver-manager 启动

webdriver-manager start

webdriver-manager: using global installed version 12.0.6
events.js:183
      throw er; // Unhandled 'error' event
      ^
Error: connect ETIMEDOUT 192.30.255.116:443
    at Object._errnoException (util.js:1024:11)
    at _exceptionWithHostPort (util.js:1046:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)

但有时,它会执行成功.环境是:量角器 – 版本:5.2.0Java – 版本:1.8.0_131节点 –v:v8.9.0npm –v:5.5.1

But sometimes,it will execute success. The environment is: Protractor –version:5.2.0 Java –version:1.8.0_131 Node –v:v8.9.0 Npm –v:5.5.1

谁能告诉我这里发生了什么.感谢您的帮助.

Can someone please telling me what is happening here. Your assistance is appreciated.

如果您使用的是 VPN,则可能需要添加代理.

If you are behind a VPN, you may need to add a proxy.

> set HTTP_PROXY=http://proxy.host.blah:80
> set HTTPS_PROXY=http://proxy.host.blah:80
> webdriver-manager start

无论如何这对我有用.