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

Error: socket hang up #64

Open
harishh486 opened this issue Feb 20, 2020 · 4 comments
Open

Error: socket hang up #64

harishh486 opened this issue Feb 20, 2020 · 4 comments

Comments

@harishh486
Copy link

I was using thius library for a while, but suddenly it starts to throw this error:

AWS ES cluster available at http://0.0.0.0:443
Kibana available at http://0.0.0.0:443/_plugin/kibana/
/usr/lib/node_modules/aws-es-kibana/node_modules/http-proxy/lib/http-proxy/index.js:120
throw err;
^

Error: socket hang up
at connResetException (internal/errors.js:604:14)
at TLSSocket.socketCloseListener (_http_client.js:400:25)
at TLSSocket.emit (events.js:333:22)
at TLSSocket.EventEmitter.emit (domain.js:482:12)
at net.js:668:12
at TCP.done (_tls_wrap.js:556:7) {
code: 'ECONNRESET'

Is there a fix for this error?

@zoellner
Copy link

Are you using aws-cli v2? I'm seeing these issues as well since I updated aws-cli

@monken
Copy link

monken commented Mar 6, 2020

I got frustrated with this package so I just released https://github.com/monken/aws4-proxy. Would you mind giving it a try? It has much less dependencies and should hopefully just work for you.

@harishh486
Copy link
Author

harishh486 commented Mar 6, 2020 via email

@harishh486
Copy link
Author

harishh486 commented Mar 6, 2020 via email

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