Skip to content

TypeError: Cannot read property 'writable' of undefined #4

@narbehaj

Description

@narbehaj

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...

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions