webdriver-manager update throwing Error: connect ETIMEDOUT

情到浓时终转凉″ 提交于 2021-02-20 19:30:09

问题


I'm getting ETIMEDOUT error while installing webdriver-manager updated. Find the error details as below:

C:\Users\....> webdriver-manager update

webdriver-manager: using global installed version 12.0.6
events.js:160

      throw er; // Unhandled 'error' event
  ^
Error: connect ETIMEDOUT XX.XXX.XX.XXX:XXX

at Object.exports._errnoException (util.js:1018:11)
at exports._exceptionWithHostPort (util.js:1041:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1086:14)

Also when I tried to ping the host XX.XXX.XX.XXX. Got Destination net unreachable message. Could you please anyone help me to overcome this issue.


回答1:


By giving the below comment I can update the webdriver-manager:

webdriver-manager update --proxy=http://xxx.xxxxxx.xxx:8080

Thanks all for the comments.



来源:https://stackoverflow.com/questions/44180407/webdriver-manager-update-throwing-error-connect-etimedout

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!