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

Failed (104: Connection reset by peer) while reading response header from upstream #1358

Open
sarathrajan opened this issue Sep 11, 2023 · 2 comments

Comments

@sarathrajan
Copy link

When the schema increases, getting 502 Bad Gateway error. And the log is as below
failed (104: Connection reset by peer) while reading response header from upstream, client: 172.18.0.6, server: , request: "GET /en/admin/config/graphql/servers/manage/test/explorer HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.sock:", host: "test.ddev.site", referrer: "https://test.ddev.site/en/admin/config/graphql"

If we remove some of the fields in the schema, site is again up and running.

Anybody facing this issue? Thanks in advance.

@c-theriot
Copy link

We ran into this as well. We tried reverting to a previously known "Good" version of our schema, but still saw 502s. When we tried using an empty schema with a single field, our endpoint was up again.

We tried the patch described here: #1268, and that seems to have fixed it for us, including being able to use our updated schema that originally gave us 502.

@sarathrajan
Copy link
Author

@c-theriot Thanks for the quick response. Yes, this fixed my issue. Hopefully this is not affecting anything in the graphql module workflow.

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