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

Proxy error #333

Closed
MethodGrab opened this issue Oct 13, 2015 · 3 comments
Closed

Proxy error #333

MethodGrab opened this issue Oct 13, 2015 · 3 comments

Comments

@MethodGrab
Copy link
Contributor

Every time I close or refresh the page it logs proxy error { [Error: socket hang up] code: 'ECONNRESET' } in the console.

From what I understand looking at #144 & http-party/node-http-proxy#527 this isn't actually an error that needs handling but without looking at the source code and then reading that thread it's somewhat confusing as it looks like there's a problem with the API.

I'd suggest checking if it's an ECONNRESET error and, if so, not logging anything to avoid confusion.

@rabet
Copy link

rabet commented Oct 13, 2015

The same here.

@artemkaint
Copy link

+1

@MethodGrab
Copy link
Contributor Author

Thanks! 👍

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