You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We did not send the GQL_CONNECTION_INIT message when creating a websocket which meant a server would not start sending keepalive messages. Not sure why the websocket doesn't time out in the example but it does for me in production.
I have a quick fix ready but the subscription part should be rebuilt to use only a single websocket for multiple queries to the same server.
The text was updated successfully, but these errors were encountered:
Appollos protocol which extremely loosely defines what messages can be sent but with very little detail on what should happen when the client sends undefined messages. It also doesn't mention authorization (maybe assuming that is sent in the request headers?) but since it's not defined, some libraries require it in the headers and some in the connection_init payload.
This protocol defines way more specific what will happen when certain messages are sent and Apollo is moving to this right now: graphql/graphql-playground#1295
I originally based my subscriptions on the first protocol but we should look at supporting the new protocol, possibly with backwards compatibility.
We did not send the GQL_CONNECTION_INIT message when creating a websocket which meant a server would not start sending keepalive messages. Not sure why the websocket doesn't time out in the example but it does for me in production.
I have a quick fix ready but the subscription part should be rebuilt to use only a single websocket for multiple queries to the same server.
The text was updated successfully, but these errors were encountered: