question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

webdriver-update still cannot work offline, fails in case of DNS error

See original GitHub issue

I saw in the changelog that “feat(start): start selenium without making web requests” #232 has been implemented, so I updated webdriver-manager to 12.0.6 in our build system.

We had some DNS problems in our network, and this has proven that unfortunately webdriver-manager still cannot work offline, even though I provide the exact versions of selenium and chrome driver (see below). These selenium and chrome driver versions have been previously installed by webdriver-manager.

webdriver-manager was started as:

webdriver-manager start --versions.standalone 3.3.1 --versions.chrome 2.29 --chrome_logs /path/to/chromedriver_7270.log --seleniumPort 7270

and now in case of a network failure I got the following error:

webdriver-manager: using global installed version 12.0.6
events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: getaddrinfo EAI_AGAIN chromedriver.storage.googleapis.com:443
    at Object.exports._errnoException (util.js:1022:11)
    at errnoException (dns.js:33:15)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)

Are you aware of this? Is webdriver-manager supposed to work fully offline with #232? It would be very nice to fix this, please, so webdriver-manager based build systems would not need to depend on Internet access. (Reproduced under Linux (Centos 7), Node.js version is 6.9.5 if that matters.)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:6
  • Comments:14 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
kishorrangacommented, Jul 3, 2018

I am also facing the same issue while running Angular2 e2e tests

ng e2e webpack: Compiled successfully. [15:33:36] I/config_source - curl -oc:\test\elastic-alert\node_modules\protractor\node_modules\webdriver-manager\selenium\chrome-response.xml https://c hromedriver.storage.googleapis.com/ events.js:183 throw er; // Unhandled ‘error’ event ^

Error: getaddrinfo ENOTFOUND chromedriver.storage.googleapis.com chromedriver.storage.googleapis.com:443 at errnoException (dns.js:50:10) at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)

3reactions
attila123commented, Oct 9, 2017

One more fail, now with api.github.com:

webdriver-manager: using global installed version 12.0.6
events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: getaddrinfo ENOTFOUND api.github.com api.github.com:443
    at errnoException (dns.js:28:10)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix the error DNS PROBE FINISHED NO INTERNET?
This particular error (DNS PROBE FINISHED NO INTERNET) means that the browser is trying to find the Dynamic Name Servers (DNS) to direct...
Read more >
How to Fix the DNS_PROBE_FINISHED_BAD_CONFIG Error ...
The DNS_PROBE_FINISHED_BAD_CONFIG error tells you there's an incorrect DNS configuration preventing access to a web page. Here are 7 ways to ...
Read more >
How to Fix "DNS Server Not Responding" Error (11 Methods)
Running into "DNS Server Not Responding" error? Find out the possible causes and 11 easy ways to immediately solve the problem!
Read more >
DNS Server Unavailable | How to Fix DNS Server Issues
But don't worry, we're here to talk you down from the ledge and walk you through some DNS troubleshooting. How Do DNS Servers...
Read more >
How to Fix DNS Server Not Responding Problem - wikiHow
1. Try connecting with a different device. If you can connect a phone, tablet, or computer to the network and access the webpage...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found