Alb
Alb

Reputation: 31

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.

Upvotes: 3

Views: 4519

Answers (2)

Sergey
Sergey

Reputation: 1660

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

Upvotes: 1

ajling
ajling

Reputation: 61

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

Upvotes: 1

Related Questions