Skip to content

netlify dev terminates unexpectedly with Error: read ECONNRESET at TLSWrap.onStreamRead #6100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jqlee85 opened this issue Oct 27, 2023 · 2 comments
Labels
type: bug code to address defects in shipped code

Comments

@jqlee85
Copy link

jqlee85 commented Oct 27, 2023

Describe the bug

Getting this error message which prevents me from running our local environment (which uses netlify dev).

 ›   Error: Netlify CLI has terminated unexpectedly
This is a problem with the Netlify CLI, not with your application.
If you recently updated the CLI, consider reverting to an older version by running:

npm install -g netlify-cli@VERSION

You can use any version from https://ntl.fyi/cli-versions.

Please report this problem at https://ntl.fyi/cli-error including the error details below.

Error: read ECONNRESET
    at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)

  System:
    OS: macOS 13.6
    CPU: (10) arm64 Apple M1 Max
  Binaries:
    Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node
    npm: 9.5.1 - ~/.nvm/versions/node/v18.16.0/bin/npm
  Browsers:
    Chrome: 118.0.5993.117
    Firefox: 119.0
    Safari: 17.0

Using version 16.9.3

Steps to reproduce

Not sure, this just happens occasionally while using our local env, which uses netlify dev.

Configuration

No response

Environment

See info above! This happens pretty frequently for me and my teammates. The only fix seems to be restarting our machines, or sometimes fulling clearing out all build artifacts and node_modules and reinstalling. Thanks.

@jqlee85 jqlee85 added the type: bug code to address defects in shipped code label Oct 27, 2023
@sarahetter sarahetter changed the title Please replace with a clear and descriptive title netlify dev terminates unexpectedly with Error: read ECONNRESET at TLSWrap.onStreamRead Nov 17, 2023
@pmelab
Copy link

pmelab commented Jun 25, 2024

This happens to me too. But only when running a request via playwright.

@serhalp
Copy link
Collaborator

serhalp commented Apr 23, 2025

As this issue is very stale, I'm going to close it out. Please feel free to reply or open a new issue if you're still experiencing this.

If you need additional support, please check out our support page: https://www.netlify.com/support/. Thank you!

@serhalp serhalp closed this as not planned Won't fix, can't repro, duplicate, stale Apr 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

No branches or pull requests

3 participants