Skip to content

Add Keep-Alive to keep the subscription WebSocket open #240

Open
@cdongieux

Description

@cdongieux

Summary
Playground fails with an error after playing with subscriptions.

Version
Not applicable

Description
In step 11. of the Apollo tutorial for Android (1), playing with the Subscription in the Playground (2) stopped working after some time with this error:

{
  "error": "Could not connect to websocket endpoint wss://apollo-fullstack-tutorial.herokuapp.com/graphql. Please check if the endpoint url is correct."
}

apollo_android_step11_subscription_playground_failure

(1) https://www.apollographql.com/docs/android/tutorial/11-subscriptions/
(2) https://apollo-fullstack-tutorial.herokuapp.com/

Let me know if you need further information.

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