Skip to content

GraphQL Client subscriptions fail on keep-alive (Invalid message 'type' property "ka") #11943

Open
@kemsar

Description

Is there an existing issue for this?

  • I have searched the tracker for existing similar issues and I know that duplicates will be closed

Describe the Issue

When attempting to subscribe to a GraphQL subscription, the handshake is successful but the websocket is disconnected on the first keep-alive message.

image

When subscribing in GraphQL Playground (which works fine), you can see that the keep-alive messages ({"type":"ka"}) occur regularly:

image

But it seems the Postman GraphQL Client doesn't know how to handle them.

The subscription is being served by a graphql-java server using the graphql-ws protocol.

Steps To Reproduce

  1. Attempt to start a subscription
  2. See the subscription fail

Screenshots or Videos

No response

Operating System

macOS

Postman Version

10.13.3

Postman Platform

Postman App

User Account Type

Signed In User

Additional Context?

No response

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions