Skip to content

Sockets closed by the server don't contain a "Close Code" or "Close Reason" #2

@andyrichardson

Description

@andyrichardson

About

API Gateway's current socket closing functionality doesn't support any kind of close code or close reason. Along with this, graphql-ws won't support error messages (which is understandable).

Feature request on AWS Discussion Forums

Constraint

Because of this limitation, there is no clear way to communicate subprotocol errors to the client.

In the case of a subprotocol error the socket will be closed by the server (with no meaningful disconnect payload).

Metadata

Metadata

Assignees

No one assigned

    Labels

    awsAn issue in AWS

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions