Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Error: CryptoStream is not writable #820

Closed
@mranney

Description

After calling req.socket.destroy() on an HTTPS connection:

Error: CryptoStream is not writable
    at EncryptedStream.end (tls.js:172:11)
    at Socket.onend (stream.js:55:12)
    at Socket.emit (events.js:61:17)
    at Socket._onReadable (net.js:651:51)
    at IOWatcher.onReadable [as callback] (net.js:177:10)

This only happens occasionally on a busy server, so I'm not sure exactly how to reproduce.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions