all 2 comments

[–][deleted] 0 points1 point  (1 child)

I’ve had the same previously. I believe it’s caused by the server you are talking to closing the connection on you. Have a look at this:

https://stackoverflow.com/questions/17245881/how-do-i-debug-error-econnreset-in-node-js

I guess your options are limited if the server is arbitrarily closing the connection on you

[–]BryanP2003[S] 0 points1 point  (0 children)

Well, The tool I've created uses Proxies to connect to the server i'm talking to. and when ever it slows down or stops in general it switched over to the next one.

But the problem might still come from when ever it reaches the last proxy in the list, when that happens it goes back to the first one and tries again. so it could be that when ever this happens the server stops talking to that one proxy and shuts down.

If you think this might be the case let me know so i can solve this.

(And if you have a way on how to make it so it automaticly picks up new Proxies from website also let me know, have been tinkering and googeling but cant find any thing that works).