GithubHelp home page GithubHelp logo

Comments (4)

leszekhanusz avatar leszekhanusz commented on June 14, 2024 3

Websockets are indeed done on top of TCP.
What may be confusing is that there is two types of keep alive at different levels of the network model.

The Keep-Alive in the transport level are managed by the TCP stack of the operating system. We don't see them in our code.

The keep alive we are talking about here are simply message exchanged in the application level. This is an optional feature of the different GraphQL servers.

from gql.

leszekhanusz avatar leszekhanusz commented on June 14, 2024 1

Thank you for your bug report.
Could you please check that the PR #110 solves your problem ?

from gql.

hugbubby avatar hugbubby commented on June 14, 2024

Thank you for your bug report.
Could you please check that the PR #110 solves your problem ?

How do you replace your local version of gql in a python venv with the version from this pull request?

Edit: Figgered it out, WFM in client creation but still debuggging some further errors down the line

from gql.

KingDarBoja avatar KingDarBoja commented on June 14, 2024

Not well versed on webscokets but as far as I know, it uses TCP (Transmission Control Protocol) which is the one that sends the Keep-Alive messages and is causing this issue. A good resource to understand for anyone willing to learn is appsync-websockets-python (from AWS).

Reviewing right now the linked PR, this should be release with the next beta version.

from gql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.