Skip to content

HTTPS dev server crash. "req.handle.writev is not a function" #5003

Closed
@ghost

Description

Is this a bug report?

Yes

Did you try recovering your dependencies?

Yes
6.4.1

Which terms did you search for in User Guide?

https, crash, writev

Environment

npx: installed 67 in 7.907s

Environment:
OS: Linux 4.4
Node: 10.10.0
Yarn: Not Found
npm: 6.4.1
Watchman: Not Found
Xcode: N/A
Android Studio: Not Found

Packages: (wanted => installed)
react: ^16.5.0 => 16.5.0
react-dom: ^16.5.0 => 16.5.0
react-scripts: 1.1.5 => 1.1.5

Steps to Reproduce

  1. npx create-react-app test
  2. cd test
  3. echo "HTTPS=true" > .env
  4. npm start
  5. Dev server crash

Expected Behavior

I expected the development server to operate as normal with the exception of using HTTPS.

Actual Behavior

The server crashed, citing "req.handle.writev is not a function"
image

Reproducible Demo

https://github.com/kinnamonb/react-https-crash

  1. npm start

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions