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

Indicate if the proxy server timed out #10895

Open
Chris7 opened this issue Apr 29, 2021 · 0 comments
Open

Indicate if the proxy server timed out #10895

Chris7 opened this issue Apr 29, 2021 · 0 comments

Comments

@Chris7
Copy link

Chris7 commented Apr 29, 2021

Is your proposal related to a problem?

I spent about an hour or so trying to debug why my backend was severing a connection to the frontend locally

Proxy error: Could not proxy request /graphql/ from localhost:3000 to http://localhost:8080.
See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNRESET).

Eventually, I figured out it's because of a timeout in the proxy (#3210). It would be very helpful to indicate that the proxy is resetting the connection so users don't needlessly try to debug their server settings.

Describe the solution you'd like

Provide an indication the connection being reset was done by the proxy. At the moment, it's identical if the backend server reset it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant