title: Cypress + ECONNRESET
body: <p>We've suddenly been having an issue with cypress automation, and it is impacting a number of people / different pc's.</p>
  <p>It will run then stop with this error</p>
  <pre><code>Error: read ECONNRESET
      at TCP.onStreamRead (node:internal/stream_base_commons:211:20)
   {
    errno: -4077,
    code: 'ECONNRESET',
    syscall: 'read'
  }
  Error: read ECONNRESET
      at TCP.onStreamRead (node:internal/stream_base_commons:211:20)
  </code></pre>
  <p>Details...</p>
  <p>Cypress Version 9.5.0 (but we have rolled back all the way to 9.2 and issue is present in all)</p>
  <p>Node.js Version 16 (again, we've rolled back various version of Node 16 and tried 17)</p>
  <p>Browser - Edge, Chrome, Firefox, all have this issue, (ONLY electron will run and stay alive)</p>
  <p>Our Infrastructure team has helped roll back patching, group policy, proxy has been opened.....to the point its a standard pc with a direct connection to internet and the issue is still present.</p>
  <p>Running Cypress in Debug mode gives us...</p>
  <pre><code>  cypress:server:api request to url: POST https://api.cypress.io/exceptions with params: {&quot;body&quot;:{&quot;err&quot;:{&quot;name&quot;:&quot;Error&quot;,&quot;message&quot;:&quot;read ECONNRESET&quot;,&quot;stack&quot;:&quot;Error: read ECONNRESET\n    at TCP.onStreamRead (node:internal&lt;stripped-path&gt;stream_base_commons:211:20)\n&quot;},&quot;version&quot;:&quot;9.5.0&quot;,&quot;osName&quot;:&quot;win32&quot;,&quot;osVersion&quot;:&quot;10.0.19043&quot;,&quot;osCpus&quot;:[{&quot;model&quot;:&quot;Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz&quot;,&quot;speed&quot;:4008,&quot;times&quot;:{&quot;user&quot;:35718,&quot;nice&quot;:0,&quot;sys&quot;:34734,&quot;idle&quot;:522062,&quot;irq&quot;:1421}},{&quot;model&quot;:&quot;Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz&quot;,&quot;speed&quot;:4008,&quot;times&quot;:{&quot;user&quot;:26468,&quot;nice&quot;:0,&quot;sys&quot;:18562,&quot;idle&quot;:547484,&quot;irq&quot;:171}},{&quot;model&quot;:&quot;Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz&quot;,&quot;speed&quot;:4008,&quot;times&quot;:{&quot;user&quot;:48437,&quot;nice&quot;:0,&quot;sys&quot;:32609,&quot;idle&quot;:511328,&quot;irq&quot;:250}},{&quot;model&quot;:&quot;Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz&quot;,&quot;speed&quot;:4008,&quot;times&quot;:{&quot;user&quot;:29453,&quot;nice&quot;:0,&quot;sys&quot;:15000,&quot;idle&quot;:547921,&quot;irq&quot;:281}},{&quot;model&quot;:&quot;Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz&quot;,&quot;speed&quot;:4008,&quot;times&quot;:{&quot;user&quot;:36593,&quot;nice&quot;:0,&quot;sys&quot;:20656,&quot;idle&quot;:535125,&quot;irq&quot;:187}},{&quot;model&quot;:&quot;Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz&quot;,&quot;speed&quot;:4008,&quot;times&quot;:{&quot;user&quot;:50828,&quot;nice&quot;:0,&quot;sys&quot;:13906,&quot;idle&quot;:527640,&quot;irq&quot;:234}},{&quot;model&quot;:&quot;Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz&quot;,&quot;speed&quot;:4008,&quot;times&quot;:{&quot;user&quot;:37796,&quot;nice&quot;:0,&quot;sys&quot;:19703,&quot;idle&quot;:534875,&quot;irq&quot;:46}},{&quot;model&quot;:&quot;Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz&quot;,&quot;speed&quot;:4008,&quot;times&quot;:{&quot;user&quot;:27937,&quot;nice&quot;:0,&quot;sys&quot;:13546,&quot;idle&quot;:550890,&quot;irq&quot;:140}}],&quot;osMemory&quot;:{&quot;free&quot;:26111950848,&quot;total&quot;:34228842496}},&quot;headers&quot;:{&quot;x-os-name&quot;:&quot;win32&quot;,&quot;x-cypress-version&quot;:&quot;9.5.0&quot;}} and token: undefined +0ms
    cypress:network:agent addRequest called { isHttps: true, href: 'https://api.cypress.io/exceptions' } +11s
    cypress:network:connect beginning getAddress { hostname: 'api.cypress.io', port: 443 } +14s
  Error: read ECONNRESET
      at TCP.onStreamRead (node:internal/stream_base_commons:211:20)
   {
    errno: -4077,
    code: 'ECONNRESET',
    syscall: 'read'
  }
  Error: read ECONNRESET
      at TCP.onStreamRead (node:internal/stream_base_commons:211:20)
  </code></pre>
  <p><a href="https://api.cypress.io" rel="noreferrer">https://api.cypress.io</a> has been opened up in the proxy and even bypassing the proxy completely so the pc has a direct connection to the internet still had the same result.</p>
  <p>Any suggestions?</p>