I keep getting two exceptions on my server that close the process even though the entire script is wrapped in a try catch block. The exceptions are:
events.js:160
throw er; // Unhandled 'error' event
^
Error: write EPIPE
at exports._errnoException (util.js:1022:11)
at WriteWrap.afterWrite [as oncomplete] (net.js:804:14)
and
Error: invalid opcode: 7
at Receiver.start (/home/mysite/public_html/node_modules/ws/lib/Receiver.js:211:18)
at Receiver.add (/home/mysite/public_html/node_modules/ws/lib/Receiver.js:134:14)
at Socket._ultron.on (/home/mysite/public_html/node_modules/ws/lib/WebSocket.js:139:22)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)
at TCP.onread (net.js:551:20)
From the sockets lib.
Does anyone know what is causing this and how to prevent it?
via John
No comments:
Post a Comment