_http_client.js:468
socket._readableState.flowing = null;
^
TypeError: Cannot set property 'flowing' of undefined
at Socks5ClientSocket.socketOnData (_http_client.js:468:37)
at emitOne (events.js:115:13)
at Socks5ClientSocket.emit (events.js:210:7)
at TLSSocket.<anonymous> (/Users/serge/repos/pt/pt-4/node_modules/socks5-client/lib/Socket.js:137:8)
at emitOne (events.js:115:13)
at TLSSocket.emit (events.js:210:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at TLSSocket.Readable.push (_stream_readable.js:208:10)
at TLSWrap.onread (net.js:595:20)
I'm sure in my settings for proxy, I've tested it with curl and request library and it works.
I'm trying to use this Agent with socket.io-client library
But it fails with error stack:
I'm sure in my settings for proxy, I've tested it with
curl
andrequest
library and it works.