baalexander/rosserverjs-web-app — Issue #3: rosserver_app.js crashes with EADDRINUSE
Author: trevorjay
Created: 2012-02-26 10:01:33+00:00
State: open

Using the current (February 26 2012) default git clone versions of rosserverjs-web-app, rosserverjs, and rosenodejs and the npm versions of their dependencies (except for express, which is a manual checkout of 2.5.4), rosserver_app.js will crash upon page load with an EADDRINUSE error. This is true even if the listening port is changed. ps aux reveals no previously running incarnations. The full stack (which unfortunately doesn't refer to any project specific line-numbers) follows:

info - socket.io started
rosserver listening on port 4545
debug - served static content /socket.io.js

node.js:197
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: listen EADDRINUSE
at errnoException (net.js:676:11)
at Array.1 (net.js:777:26)
at EventEmitter._tickCallback (node.js:188:41)