Comments (4)
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.
Thank you for your bug report.
Could you please check that the PR #110 solves your problem ?
from gql.
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.
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)
- Pre-releases on conda HOT 5
- Set request header on request HOT 4
- DSL Question HOT 5
- `KeyError` when parsing result using fragment and nested field HOT 3
- 3.5 Beta: overlapping_fields_can_be_merged: directives are None HOT 9
- DSL, Fragments and unions HOT 4
- gql should have a websockets-client transport HOT 4
- Unable to print schema with gql and error is an SSL error HOT 1
- Cannot use gql with httpx transport and trio HOT 3
- Tests fail out of the box. HOT 2
- Any best practice using async gql with FastAPI? HOT 2
- DSL how to select fields which are Python reserved keywords HOT 2
- [Feature] Support Subscriptions HTTP Multipart Protocol HOT 6
- Handling decimals with longer than 6 scale? HOT 7
- Timeout error during execution of mutation when no of async tasks is above 5000 + HOT 1
- Request/Response payloads logged at level INFO HOT 5
- requests_toolbelt isn't listed as an optional dependency although required for logging changes HOT 1
- Add retry logic to httpx Transport HOT 4
- Shopify error: Prefix "query" when sending a mutation HOT 3
- retry_execute can not handle TransportQueryError HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gql.