'Cypress Windows - Error: read ECONNRESET at TCP.onStreamRead (internal/stream_base_commons.js:209:20)
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.
Solution 1:[1]
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
Solution 2:[2]
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:
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | |
Solution 2 |