Running with headless Chrome crashes when provided with non-existent url.
See original GitHub issueProvide the steps to reproduce
lighthouse https://not-a-url.com --chrome-flags=--headless
What is the current behavior?
events.js:167
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET
at TCP.onStreamRead (internal/stream_base_commons.js:111:27)
Emitted 'error' event at:
at Socket.socketErrorListener (_http_client.js:391:9)
at Socket.emit (events.js:182:13)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at process._tickCallback (internal/process/next_tick.js:63:19)
No report is saved.
What is the expected behavior?
Runner:warn ... encountered an error: DNS_FAILURE
Report should save with following error:
There were issues affecting this run of Lighthouse:
DNS servers could not resolve the provided domain.
Environment Information
- Affected Channels: CLI
- Lighthouse version: 4.2.0
- Node.js version: 6.9.0
- Operating System: Debian GNU/Linux
Related issues
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (8 by maintainers)
Top Results From Across the Web
Why headless chrome crashes [duplicate] - Stack Overflow
Whenever I try to run the script on my centOS or Ubunto server the script crashes after a few minutes. from selenium import...
Read more >headless chrome & aws lambda - Google Groups
Good news: it's possible to successfully run headless Chrome in Lambda! The ERR_INSUFFICIENT_RESOURCES is indeed related to Chrome trying to use ...
Read more >Fix Chrome if it crashes or won't open - Computer
To fix: Open More More and then Settings. At the bottom, click Advanced and then System. Turn off Use hardware acceleration when available....
Read more >Common Error Messages | Sauce Labs Documentation
Failed to Download Mobile Application. Description. The capabilities you've supplied include a URL to a mobile app to install and test. This ...
Read more >Get Started with Headless Chrome and Puppeteer - YouTube
Check out this tutorial how to use headless Chrome and Puppeteer to automatically scrape Craigslist.org and turn that data into a JSON API!...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
a fix is up at #8340 if y’all want to check out the details of what happens in each environment now.
Thanks @patrickhulce, we’ll check it out and report back. 🥇