webdriver manager update throws unhandled error

webdriver-manager update chromedriver version
webdriver-manager update proxy
webdriver-manager update unhandled promise rejection
error cannot automatically find webdriver-manager to update
webdriver-manager start --detach
could not find update-config.json. run 'webdriver-manager update' to download binaries.
webdriver-manager start error
uninstall webdriver-manager globally

I am using protractor and webdriver, when trying to do an update on webdriver manager I get the error below.

>     webdriver-manager update events.js:160
>       throw er; // Unhandled 'error' event
>       ^
> 
> Error: tunneling socket could not be established, statusCode=407
>     at ClientRequest.onConnect (\\hermes\vhd_profiles\VDI_Home_VHD1\modisej\AppData\Roaming\npm\node_modules\protractor\node_modules\tunnel-agent\index.js:166:19)
>     at ClientRequest.g (events.js:292:16)
>     at emitThree (events.js:116:13)
>     at ClientRequest.emit (events.js:194:7)
>     at Socket.socketOnData (_http_client.js:394:11)
>     at emitOne (events.js:96:13)
>     at Socket.emit (events.js:188:7)
>     at readableAddChunk (_stream_readable.js:176:18)
>     at Socket.Readable.push (_stream_readable.js:134:10)
>     at TCP.onread (net.js:551:20)

when I check the list of current available drivers using webdriver-manager status, i get the below.

    $ webdriver-manager status
    I/status - selenium standalone is not present
    I/status - chromedriver is not present
    I/status - geckodriver is not present
    I/status - IEDriverServer is not present
    I/status - android-sdk is not present
    I/status - appium is not present

But see the following when finding webdriver-manager version:

webdriver-manager version
I/version - webdriver-manager 12.0.6

Node Version: 7.2.1 Protractor version: 5.1.2 Webdriver version: 12.0.6

webdriver-manager update --proxy=http://proxy:88

This solved my issue.

Unhandled 'error' event on webdriver-manager update · Issue #3382 , 'webdriver-manager update ' gives the following error with or without the proxy option: events.js:141 throw er; // Unhandled 'error' event ^ Error:  managed to solve this by running the command . webdriver-manager update --proxy="proxy address":8080/

managed to solve this by running the command

webdriver-manager update --proxy="proxy address":8080/

Unhandled 'error' event on webdriver-manager update · Issue #62 , 'webdriver-manager update ' gives the following error with or without the proxy option: events.js:141 throw er; // Unhandled 'error' event ^ Error:  Enter webdriver-manager --help to see the command for that and search the web for CDN locations for the binariers. You need to test them by hand if they will pass your proxy – wswebcreation May 26 '17 at 5:56

Try this,

webdriver-manager update --proxy="http://username:pass@yourproxyserver:port/" --ignore_ssl

worked for me with this command.

Update

With Chrome version

webdriver-manager update --versions.chrome 77.0.3865.90 --proxy="http://username:pass@yourproxyserver:port/" --ignore_ssl

webdriver manager update throws unhandled error, Task 3: Update webdriver: webdriver-manager update. At this task 2018-11-​23T07:45:06.9822352Z throw er; // Unhandled 'error' event  I am trying to upgrade to Protractor 4 and I encountered some errors when updating webdriver-manager. If it matters, I am behind a corporate proxy, but the proxy option has worked fine for webdriver-manager before the Protractor 4 releas

Running the command webdriver-manager update --proxy=http://proxy:88

[16:55:30] I/config_source - curl -o/usr/local/lib/node_modules/protractor/node_modules/webdriver-manager/selenium/gecko-response.json 'http://proxy:88/repos/mozilla/geckodriver/releases' -H 'host:api.github.com' events.js:174 throw er; // Unhandled 'error' event ^

Error: connect ETIMEDOUT 198.105.254.104:88

Facing Issue while running webdriver manager command , webdriver-manager error when calling update with “Unhandled 'error' event” or​\node_modules\webdriver-manager\selenium events.js:182 throw er;  I was not able to replicate this issue. Running webdriver-manager update and then webdriver-manager start worked for me on a fresh system.. However, here's how you can download and start the webdriver yourself:

webdriver-manager error when calling update with “Unhandled , webdriver-manager update events.js:160 > throw er; // Unhandled 'error' event > ^ > > Error: tunneling socket could not be established, statusCode=407 > at  Apparently the webdriver-manager is checking the time stamp of files in the. ./protractor/node_modules/webdriver-manager/selenium/* directory, and if they are more than. an hour old it will try to access the internet to update them. This error can be remedied by running this.

webdriver manager update throws unhandled error, We will be using the npm install webdriver-manager to fetch all the required files for webdriver-manager update error unhandled 'error' event will pop into your  This is an odd error since webdriver-manager checks to see if the jar size and content-length from the header match. If it does not match, it should unlink the file from the file system. When you run webdriver-manager update, do your logs say that your file is corrupt but you can still do a webdriver-manager start?

webdriver-manager update, 21:07:42 (node:137) UnhandledPromiseRejectionWarning: Unhandled promise 21:07:44 events.js:183 21:07:44 throw er; // Unhandled 'error' event 21:07:44  webdriver-manager update error unhandled 'error' event will pop into your installation when you are behind proxy or firewall. cannot find module webdriver-manager This error occurs when protractor was not able to install webdriver-manager; if you get below error, install the webdriver-manager explicitly.

Comments
  • I get this error with the above command, appreciate any help. [16:55:30] I/config_source - curl -o/usr/local/lib/node_modules/protractor/node_modules/webdriver-manager/selenium/gecko-response.json 'proxy:88/repos/mozilla/geckodriver/releases' -H 'host:api.github.com' events.js:174 throw er; // Unhandled 'error' event ^ Error: connect ETIMEDOUT 198.105.254.104:88