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.

Karma can't stay connected to Chrome 73

See original GitHub issue

My machine updated Chrome to 73 today. Following that, I am getting the following error after my tests have run the first time, whilst waiting for file changes:

25 03 2019 11:21:23.525:WARN [HeadlessChrome 73.0.3683 (Mac OS X 10.13.6)]: Disconnected (0 times)reconnect failed before timeout of 10000ms (transport close)
HeadlessChrome 73.0.3683 (Mac OS X 10.13.6) ERROR
  Disconnectedreconnect failed before timeout of 10000ms (transport close)

If I make further changes to the file, I get the following warning:

25 03 2019 11:24:29.076:WARN [karma]: No captured browser, open http://localhost:9876/

If I open http://localhost:9876/ I see the Karma logo flash up, the tests run again, then this message:

25 03 2019 11:24:56.196:WARN [Chrome 73.0.3683 (Mac OS X 10.13.6)]: Disconnected (0 times)Client disconnected from CONNECTED state (transport error)
Chrome 73.0.3683 (Mac OS X 10.13.6) ERROR
  DisconnectedClient disconnected from CONNECTED state (transport error)

Followed by “Aw, snap!” in the browser window. Things I’ve tried for a fix:

  1. Terminal restart
  2. Killing all chrome instances before starting
  3. Restarting the machine
  4. Reinstalling all node modules
  5. Updating karma and karma-chrome-launcher

Nothing has worked.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:6

github_iconTop GitHub Comments

3reactions
maartendebalcommented, Apr 29, 2019

Thanks.

I’ve got it fixed by upgrading the Puppeteer and this downloaded a newer version of Chromium.

This thread did send me in the right direction.

0reactions
lachiehcommented, Feb 12, 2021

Thanks.

I’ve got it fixed by upgrading the Puppeteer and this downloaded a newer version of Chromium.

This thread did send me in the right direction.

Just had a similar connection timeout issue. Updated puppeteer version also worked for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem with karma-coverage - Google Groups
I have the last versions of Karma and karma-coverage and my problem is that when I run the tests with Karma in Windows...
Read more >
karma.js not returning any results following basic "karma init ...
conf.js) just shows that karma is running and that chrome is idle, but no test results are returned. edit: Added karma.conf.js
Read more >
How do I update the Karma browser extension?
Open your Google Chrome browser on your computer. 2. Click the three dots in the top-right corner of your screen.
Read more >
Fix Chrome update problems & failed updates - Google Support
If you're having problems updating Chrome on your computer, you might see: Update failed: Updates are disabled by administrator. Update failed (Error: 3...
Read more >
highlighting / underlining?? - 7Sage Forum
I'm trying to take a practice test (digital) now but I can't figure out how to underline / highlight. any help would be...
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