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.

Tests sometimes (frequently) lose connection

See original GitHub issue

Sometimes when I launch tests, the tests suddenly stops; I get this error message when I look at the console.

It doesn’t matter what browser I use. I am on MacOS

.../node_modules/testcafe-hammerhead/lib/request-pipeline/connection-reset-guard.js:20
        throw new Error(err);
        ^

Error: Error: write EPIPE
    at Domain.<anonymous> (.../node_modules/testcafe-hammerhead/lib/request-pipeline/connection-reset-guard.js:20:15)
    at Domain.emit (events.js:182:13)
    at Domain.EventEmitter.emit (domain.js:442:20)
    at Domain._errorHandler (domain.js:224:23)
    at Object.setUncaughtExceptionCaptureCallback (domain.js:140:29)
    at process._fatalException (internal/bootstrap/node.js:447:31)```

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:21 (10 by maintainers)

github_iconTop GitHub Comments

4reactions
LavrovArtemcommented, Oct 8, 2018

@NickCis The fix is published in 0.22.1-alpha.3.

3reactions
sirgallifreycommented, Jul 2, 2018

I’m experiencing this as well, was working fine with testcafe v0.18, it started when I upgraded to testcafe v0.20.4

If I run it inside my docker env it runs fine. On my host I get this error 100% of the time.

On my docker I have node v8.7.0 and yarn v1.2.0. On my host node v10.4.1 and yarn v1.7.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

5 Reasons Why Your Internet Keeps Disconnecting—and ...
The network cabling in your home can cause your internet connection to disconnect if it's damaged, loose, or configured poorly. Here's what to ......
Read more >
Internet Keeps Dropping? Here's why, and what you need to ...
Loose or broken cables are one of the main reasons you can see a frequent drop in your internet connection. A lot of...
Read more >
Reasons Wi-Fi Connections Drop - Lifewire
There often seems to be no reason behind Wi-Fi connections that randomly drop off or weaken. However, there are actually several common ...
Read more >
How to perform packet loss tests and how they work
Packet loss tests help network engineers to identify problems along a network path and determine whether the problem is persistent or transient.
Read more >
Does Your Wi-Fi Speed Drop? Here's Why and 7 Tips to Fix It
wifi-speed-drop-fix ... Test Your Internet Connection ... These updates often come with many bug fixes along with essential security patches ...
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