Skip to content

Websocket connections incorrectly timing out after 2 minutes in node 14.11? Possible regression #35261

Description

@liamuk

Hi,

After upgrading to node 14.11, one of our services that is a websocket server using https://github.com/websockets/ws started mysteriously disconnecting clients every 2 minutes.

Downgrading to node 14.9 seems to fix the issue.

This line on commit 753f3b247a, combined with the fact that the documentation says the default value for this is 0, and it is 0 in lib/_http_server.js, makes me suspicious. Especially given that clients are getting disconnected precisely every 2 minutes.
image

cc @ronag

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

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