EasyMTProto icon indicating copy to clipboard operation
EasyMTProto copied to clipboard

TypeError: Cannot read property 'writable' of undefined

Open narbehaj opened this issue 6 years ago • 2 comments

I'm getting this error once a day:

                    if (!socket.server_socket.writable) {
                                              ^

TypeError: Cannot read property 'writable' of undefined
    at Socket.<anonymous> (/root/EasyMTProto/emtproto.js:257:47)
    at Socket.emit (events.js:182:13)
    at addChunk (_stream_readable.js:283:12)
    at readableAddChunk (_stream_readable.js:264:11)
    at Socket.Readable.push (_stream_readable.js:219:10)
    at TCP.onread (net.js:635:20)
[nodemon] app crashed - waiting for file changes before starting...

narbehaj avatar Jun 17 '18 11:06 narbehaj

which javascript and nodejs version do you use?

sadra avatar Jun 24 '18 09:06 sadra

nodejs v10.5.0 and nodemon 1.17.5

narbehaj avatar Jun 24 '18 09:06 narbehaj