meteorhacks / cluster

Clustering solution for Meteor with load balancing and service discovery
https://meteorhacks.com/cluster-a-different-kind-of-load-balancer-for-meteor.html
MIT License
632 stars 80 forks source link

Error: write after end #52

Closed maxpain closed 9 years ago

maxpain commented 9 years ago

Sometimes my app throws that error:

Cluster: Exiting worker 2 with exitCode=7 signalCode=null
Error: write after end
    at writeAfterEnd (_stream_writable.js:133:12)
    at Socket.Writable.write (_stream_writable.js:181:5)
    at Socket.write (net.js:616:40)
    at Socket.Writable.end (_stream_writable.js:341:10)
    at Socket.end (net.js:397:31)
    at App.exports.GenericApp.GenericApp.handle_error (/opt/easydrop/app/programs/server/npm/ddp/node_modules/sockjs/lib/webjs.js:148:13)
    at execute_request (/opt/easydrop/app/programs/server/npm/ddp/node_modules/sockjs/lib/webjs.js:33:30)
    at Object.req.next_filter (/opt/easydrop/app/programs/server/npm/ddp/node_modules/sockjs/lib/webjs.js:105:18)
    at Listener.webjs_handler (/opt/easydrop/app/programs/server/npm/ddp/node_modules/sockjs/lib/webjs.js:107:13)
    at Listener.handler (/opt/easydrop/app/programs/server/npm/ddp/node_modules/sockjs/lib/sockjs.js:147:12)
arunoda commented 9 years ago

Okay. I will look into this. On 2015 මැයි 5, අඟහ at ප.ව. 5.06 maxpain notifications@github.com wrote:

Sometimes my app throws that error:

[94.23.32.107] Cluster: Exiting worker 2 with exitCode=7 signalCode=null [94.23.32.107] Error: write after end at writeAfterEnd (_stream_writable.js:133:12) at Socket.Writable.write (_stream_writable.js:181:5) at Socket.write (net.js:616:40) at Socket.Writable.end (_stream_writable.js:341:10) at Socket.end (net.js:397:31) at App.exports.GenericApp.GenericApp.handle_error (/opt/d2lavka/app/programs/server/npm/ddp/node_modules/sockjs/lib/webjs.js:148:13) at execute_request (/opt/d2lavka/app/programs/server/npm/ddp/node_modules/sockjs/lib/webjs.js:33:30) at Object.req.next_filter (/opt/d2lavka/app/programs/server/npm/ddp/node_modules/sockjs/lib/webjs.js:105:18) at Listener.webjs_handler (/opt/d2lavka/app/programs/server/npm/ddp/node_modules/sockjs/lib/webjs.js:107:13) at Listener.handler (/opt/d2lavka/app/programs/server/npm/ddp/node_modules/sockjs/lib/sockjs.js:147:12)

— Reply to this email directly or view it on GitHub https://github.com/meteorhacks/cluster/issues/52.

arunoda commented 9 years ago

Did a new release. With that this should get fixed.