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

Been getting following error Post -url-: EOF #51

Open
dovydas55 opened this issue Nov 27, 2019 · 2 comments
Open

Been getting following error Post -url-: EOF #51

dovydas55 opened this issue Nov 27, 2019 · 2 comments

Comments

@dovydas55
Copy link

Has anyone seen this kind of error before? I ran this client on a loop for the last 12 hours, and around once every hour i noticed this error. It did not return any other contextual information

@ddirkson
Copy link

ddirkson commented Feb 9, 2021

This is probably way too late to be useful to you, but I was seeing a similar issue. It boiled down to the sender (client) expecting the recipient to close the connection by default which it wasn't doing.

Adding the "ImmediatelyCloseReqBody" flag to the client instantiation fixed the issue of stale connections lying around:
client := graphql.NewClient("https://example.com/graphql", graphql.ImmediatelyCloseReqBody())

@brlala
Copy link

brlala commented Mar 23, 2023

This is probably way too late to be useful to you, but I was seeing a similar issue. It boiled down to the sender (client) expecting the recipient to close the connection by default which it wasn't doing.

Adding the "ImmediatelyCloseReqBody" flag to the client instantiation fixed the issue of stale connections lying around: client := graphql.NewClient("https://example.com/graphql", graphql.ImmediatelyCloseReqBody())

apparently it is still useful! encountering EOF but couldn't scratch my head on the reason. Will try this out! thank you.

Edit: tried the solution, doesn't work still encountering the same issue, for us it's the router we are using that causes the issue

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

3 participants