dgs-framework icon indicating copy to clipboard operation
dgs-framework copied to clipboard

bug: Implement Keep-alives in Websocket subscriptions

Open srinivasankavitha opened this issue 3 years ago • 1 comments

Expected behavior

Connection KAs are sent periodically for websocket subscriptions per spec: https://github.com/apollographql/subscriptions-transport-ws/blob/master/PROTOCOL.md#gql_connection_keep_alive

Actual behavior

The connection times out and is closed. This is missing in the current implementation in the framework.

srinivasankavitha avatar Feb 14 '22 18:02 srinivasankavitha

Discussed in https://github.com/Netflix/dgs-framework/discussions/880

srinivasankavitha avatar Feb 14 '22 18:02 srinivasankavitha

We have moved to the newer graphql-transport-ws protocol and the older will no longer be actively maintained.

srinivasankavitha avatar Sep 01 '22 18:09 srinivasankavitha