alexkirsz / dispatch-proxy

Combine internet connections, increase your download speed
MIT License
3.47k stars 244 forks source link

ECONNRESET errors #70

Open Raybo58 opened 7 years ago

Raybo58 commented 7 years ago

So I have Dispatch-Proxy setup and working with the Socks configuration for my system as well as my browsers. When I look at the debug output I'm seeing ECONNRESET errors about every 20 seconds or so. Example:

dispatch [16cef6] 192.168.0.103
   connect [16cef6] clients4.google.com:443
       end [537276] clientConnection
       end [407d50] clientConnection
       end [73013b] clientConnection
     error [537276] serverConnection
           Error: read ECONNRESET
               at exports._errnoException (util.js:1022:11)
               at TCP.onread (net.js:569:26)
     error [407d50] serverConnection
           Error: read ECONNRESET
               at exports._errnoException (util.js:1022:11)
               at TCP.onread (net.js:569:26)
       end [73013b] serverConnection
   request [c794d6] stats-public.grammarly.io:443
  dispatch [c794d6] 192.168.0.103
   connect [c794d6] stats-public.grammarly.io:443
       end [c794d6] serverConnection
       end [c794d6] clientConnection

And then on some rare occasions I see it come out like this...

    error [f689dd] clientConnection
           Error: write ECONNABORTED
               at exports._errnoException (util.js:1022:11)
               at Socket._writeGeneric (net.js:712:26)
               at Socket._write (net.js:731:8)

               at doWrite (_stream_writable.js:334:12)
               at writeOrBuffer (_stream_writable.js:320:5)
               at Socket.Writable.write (_stream_writable.js:247:11)
               at Socket.write (net.js:658:40)
               at Socket.ondata (_stream_readable.js:555:20)
               at emitOne (events.js:96:13)
               at Socket.emit (events.js:188:7)

It doesn't seem to matter whether I'm browsing or watching YouTube or downloading. The errors come at a rather consistant rate. they don't seem to be affecting performance, but I thought I'd leave some feedback in case it would be helpfull. Let me know if there's any more I can do.