Hi All,
It appears that with the addition of either the realtime stuff or the passport stuff in v0.6 the default hostname value of 'null' in lib/base_config.js was changed to locahost. This causes geddy to start up and attempt to bind to 127.0.0.1 if no hostname is specified in config/<insert-environment-name>.js. In v0.5.x the default behavior was to bind to any available address which worked fine with Heroku.
Unfortunately, now in v0.6.x leaving the default value in config/production.js to null now causes an error on deployment to Heroku:
Error R11 (Bad bind) -> Process bound to address localhost, should be 0.0.0.0
Trying to modify the value by placing the instance name in the hostname field of config/production.js also fails with an error. Something like this, for example:
The error in this case is:
stderr.2012-11-12T20:52:10.log:[Tue, 13 Nov 2012 01:50:35 GMT] ERROR listen EADDRNOTAVAIL
stderr.2012-11-12T20:52:10.log:Error: listen EADDRNOTAVAIL
I've tried several permutations of values in the hostname field and tinkering with my forked copy of geddy in my spare time but, so far, no luck. At this point, I just wanted to let you guys know of the issues because there are Heroku deployment instructions in the tutorial that might not work with v0.6. Maybe someone else can fix it faster than me. If not, I may be able to look at it over the weekend.
Regards,
-b