-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[2.16.1 -> 2.17.0] graphql codegen container gets rejected (ECONNRESET) #9393
Comments
There were no changes to connection limits in 2.17. Happy to check this out in more detail / try to reproduce if you could provide some additional detail on how / where you're seeing this. |
I'll try to share more details asap. So far I've figured out that hasura closes the connection if too much requests happen in a short timeframe, it works fine if I add a 1 second sleep between the requests. Strangely everything works (even without the 1 second sleep) if I route the requests through my reverse proxy (caddy) instead directly between my two docker containers (hasura & graphql codegen). #9400 might be related? |
Hi!
it's a connection between two pods in a k3s kubernetes cluster. Downgrading to 16.1 solve the problem Perhaps a clue, in my team more you computer is powerfull more you can launch request before error … |
Downgrading to 16.1 solve the problem, too. |
I have the same issue when upgrading from 2.16.1 to 2.17.0 or later. |
I have the same problem. |
Downgrading node version solve the problem there is a bug in a sub package of graphql lib. I don't remember exacly and i havent check recently if it's fix … sorry |
switch from node 20 to node 21 - helped for me |
Was there any undocumented change regarding connection limits in the 2.17.0 update?
After the update my graphql codegen container instance receives the following error every time I'm generating my graphql code:
FetchError: request to http://hasura:8080/v1/graphql failed, reason: socket hang up
The text was updated successfully, but these errors were encountered: