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 while making more than 5 subsequent request to socks server #18

Open
byteshiva opened this issue Jun 26, 2016 · 2 comments
Open

Comments

@byteshiva
Copy link

I'm getting the following error while making more than 5 subsequent request to locally run socks server on port 1080.

 Error: socket hang up
    at createHangUpError (_http_client.js:252:15)
    at Socks5ClientSocket.socketOnEnd (_http_client.js:344:23)
    at emitNone (events.js:86:13)
    at Socks5ClientSocket.emit (events.js:185:7)
    at Socket.<anonymous> (/home/xyz/exp/socksv5-client/node_modules/socks5-client/lib/Socket.js:129:8)
    at emitNone (events.js:91:20)
    at Socket.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:934:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9) code: 'ECONNRESET' }
@mattcg
Copy link
Owner

mattcg commented Jun 27, 2016

Thanks for filing this. Are you running the requests in parallel or serial? What version of node are you running? Would it be possible to see the some of your code?

@drawrowfly
Copy link

Same issue, here. If doing more than 10 simultaneous connections they are not getting through.
Using it with request-promise library

Node v7.4.0

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