Closed sedge closed 11 years ago
It appears that reloading the web app during its initial calls causes a crash on both the server and the client.
Client:
info: finish file=/home/senecacd/_github/virt-node/client-virt.js, line=115 stats: { err: null, iowait: '0.0', idle: '98.2', system: '0.3', user: '1.5', usage: '1.8' } cpuStats callback callback status: { err: null, iowait: '0.0', idle: '98.2', system: '0.3', user: '1.5', usage: '1.8' } error: Error: socket hang up file=/home/senecacd/_github/virt-node/client-virt.js, line=103 cpuStats callback callback status: { [Error: socket hang up] code: 'ECONNRESET' } events.js:71 throw arguments[1]; // Unhandled 'error' event ^ Error: socket hang up at createHangUpError (http.js:1360:15) at ServerResponse.OutgoingMessage._writeRaw (http.js:507:26) at ServerResponse.OutgoingMessage._send (http.js:476:15) at ServerResponse.OutgoingMessage.write (http.js:749:16) at ServerResponse.OutgoingMessage.end (http.js:882:16) at ServerResponse.res.send (/home/senecacd/_github/virt-node/node_modules/express/lib/response.js:149:8) at ServerResponse.res.json (/home/senecacd/_github/virt-node/node_modules/express/lib/response.js:191:15) at Controller.cpuStats (/home/senecacd/_github/virt-node/routes/index.js:102:9) at Function.Virt.cpuStats.sendResponse [as handleException] (/home/senecacd/_github/virt-node/client-virt.js:104:5) at next (/home/senecacd/_github/virt-node/node_modules/step/lib/step.js:55:36)
Server:
ip: 10.0.0.4 body: { err: null, hypervisor: 'QEMU 0.9.13', api: 'libvir 0.9.13', library: 'libvir 0.9.13' } err: null body: { err: null, hypervisor: 'QEMU 0.9.13', api: 'libvir 0.9.13', library: 'libvir 0.9.13' } resDaemons: { err: null, hypervisor: 'QEMU 0.9.13', api: 'libvir 0.9.13', library: 'libvir 0.9.13' } version callback status: { err: null, hypervisor: 'QEMU 0.9.13', api: 'libvir 0.9.13', library: 'libvir 0.9.13' } events.js:71 throw arguments[1]; // Unhandled 'error' event ^ Error: socket hang up at createHangUpError (http.js:1360:15) at ServerResponse.OutgoingMessage._writeRaw (http.js:507:26) at ServerResponse.OutgoingMessage._send (http.js:476:15) at ServerResponse.OutgoingMessage.write (http.js:749:16) at ServerResponse.OutgoingMessage.end (http.js:882:16) at ServerResponse.module.exports.res.end (/home/senecacd/_github/virt-node/node_modules/express/node_modules/connect/lib/middleware/logger.js:148:13) at res.end (/home/senecacd/_github/virt-node/node_modules/express/node_modules/connect/lib/middleware/session.js:282:13) at /home/senecacd/_github/virt-node/node_modules/express/node_modules/connect/lib/middleware/session/memory.js:73:11 at process.startup.processNextTick.process._tickCallback (node.js:244:9)
It appears that reloading the web app during its initial calls causes a crash on both the server and the client.
Client:
Server: