LearnBoost/kue — Issue #84: redis-IP got changed on single job in kue? 
Author: larsemann
Created: 2011-11-09 20:15:56+00:00
State: open

Hi,

I'm really thrilled by the new possibilites of node.js and using kue and cluster since a couple of weeks.
Now I had started a small home project with a virtual-boxed ubuntu64-server and my host macbook.

Here's my issue:
I'm saving kue-jobs on the guest-os ubuntu64-server to a redis-server.
And I'm trying to get these jobs on the mac-os at the same time.

The jobList jobs, which i get by jobs = kue.createQueue(); has the right ip of my guest-os ( 192.168.1.120 ), but if it comes to the single job on process ( jobs.process('tm service', function(job, done) { // .. } ) there comes up the following error:
"Error: Redis connection to 127.0.0.1:6379 failed - ECONNREFUSED, Connection refused
at Socket. (/opt/tmcluster_slave/node_modules/kue/node_modules/redis/index.js:120:28)
at Socket.emit (events.js:64:17)
at Array. (net.js:830:27)
at EventEmitter._tickCallback (node.js:126:26)
"
Am I doing something wrong? Why is the redis connection ip changend?
I've read something in the issues-board about a similiar problem, but it was an old issue.

I'm really interested in getting this fixed.
Thanks for your help!