Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cdongieux opened this issue Nov 6, 2020 · 1 comment
Open

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

cdongieux opened this issue Nov 6, 2020 · 1 comment

Comments

@cdongieux
Copy link

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.

@martinbonnin martinbonnin changed the title [Apollo Android Tutorial] Subscription stopped working in Playground Add Keep-Alive to keep the subscription WebSocket open Oct 11, 2021
@martinbonnin
Copy link
Contributor

martinbonnin commented Oct 11, 2021

I believe this is a side effect of the Heroku timeouts: https://devcenter.heroku.com/articles/http-routing#timeouts

I'll move this ticket to the apollo-tutorial repo as it's not related to apollo-android (edit: it's moved 🎉 )

@martinbonnin martinbonnin transferred this issue from apollographql/apollo-kotlin Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants