Karma can't stay connected to Chrome 73
See original GitHub issueMy 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:
- Terminal restart
- Killing all chrome instances before starting
- Restarting the machine
- Reinstalling all node modules
- Updating karma and karma-chrome-launcher
Nothing has worked.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:6
Top 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 >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
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.