Cypress Windows - Error: read ECONNRESET at TCP.onStreamRead (internal/stream_base_commons.js:209:20)

4.1k views Asked by At

I have installed Cypress on my PC but when I try to use it at the end of test execution, it fails due to following error:

Error: read ECONNRESET at TCP.onStreamRead (internal/stream_base_commons.js:209:20) { errno: -4077, code: 'ECONNRESET', syscall: 'read' } Error: read ECONNRESET at TCP.onStreamRead (internal/stream_base_commons.js:209:20)

Someone could you help me?

N.B. I try to change also the browser version and the cypress versions used without success.

2

There are 2 answers

0
Sergey On

Currently the easiest workaround is to just switch to the Electron browser (see image below).

Based on other questions and answers, the cause of this is Sophos anti-virus software.

See:

enter image description here

0
ajling On

Apologies for editing my original answer, as I don't have a reputation I'm unable to upvote or comment to the original thread. I believe this is a duplicate of this post (see Cypress ECONNRESET