PearsonEducation / thalassa-aqueduct

Dynamic haproxy load balancer and configuration. Part of Thalassa
Other
37 stars 17 forks source link

Websocket not opened #8

Closed mbrevoort closed 10 years ago

mbrevoort commented 10 years ago

Aqueduct is logging errors to stderr.log:

Error: not opened at WebSocket.send (/home/appuser/thalassa-aqueduct/app/node_modules/thalassa-aqueduct/node_modules/ws/lib/WebSocket.js:187:16) at WebsocketStream._write (/home/appuser/thalassa-aqueduct/app/node_modules/thalassa-aqueduct/node_modules/websocket-stream/index.js:72:15) at WebsocketStream.write (/home/appuser/thalassa-aqueduct/app/node_modules/thalassa-aqueduct/node_modules/websocket-stream/index.js:65:10) at Stream.ondata (stream.js:51:26) at Stream.EventEmitter.emit (events.js:95:17) at Stream.stream.emit (/home/appuser/thalassa-aqueduct/app/node_modules/thalassa-aqueduct/node_modules/stream-serializer/index.js:60:33) at Stream.stream._data (/home/appuser/thalassa-aqueduct/app/node_modules/thalassa-aqueduct/node_modules/duplex/index.js:53:14) at Stream. (/home/appuser/thalassa-aqueduct/app/node_modules/thalassa-aqueduct/node_modules/mux-demux/inject.js:97:10) at Stream.stream.write (/home/appuser/thalassa-aqueduct/app/node_modules/thalassa-aqueduct/node_modules/through/index.js:26:11) at /home/appuser/thalassa-aqueduct/app/node_modules/thalassa-aqueduct/lib/WebsocketStream.js:70:7 npm ERR! weird error 8 npm ERR! not ok code 0

This error is showing of frequently in all users error logs and appears to be related to writing activity data to the collection of activity streams in WebSocketStream.js.