-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hi all,
I'm trying to configure the proxy (ie2 branch).
I've used the ansible role to deploy it in the Galaxy head only and the service seems to start fine and register the ITs running ok, or at least it's not showing any errors. But when I try to connect to a launched IT I get this error in the gie proxy:
Apr 29 11:43:46 vgcn-galaxy-head.usegalaxy.be.novalocal node[2421162]: Proxy error: { Error: connect ECONNREFUSED 127.0.0.1:32770
Apr 29 11:43:46 vgcn-galaxy-head.usegalaxy.be.novalocal node[2421162]: at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1113:14)
Apr 29 11:43:46 vgcn-galaxy-head.usegalaxy.be.novalocal node[2421162]: errno: 'ECONNREFUSED',
Apr 29 11:43:46 vgcn-galaxy-head.usegalaxy.be.novalocal node[2421162]: code: 'ECONNREFUSED',
Apr 29 11:43:46 vgcn-galaxy-head.usegalaxy.be.novalocal node[2421162]: syscall: 'connect',
Apr 29 11:43:46 vgcn-galaxy-head.usegalaxy.be.novalocal node[2421162]: address: '127.0.0.1',
Apr 29 11:43:46 vgcn-galaxy-head.usegalaxy.be.novalocal node[2421162]: port: 32770 }
seems like it's trying to redirect the connection to localhost on that specific port but on the localhost, not on the compute node that is actually running the docker container (The ITs jobs are queued by condor and run on separate nodes. ).
Am I missing something in the proxy configuration? does it needs to be run on all the compute nodes too? or could this be just an error of connection with the host?
Something else also related with this....is there a way to restrict the range of the ports used by the proxy to forward connections to the containers?
I would need to configure ingress rules in the VMs acting as compute nodes and not sure which range of ports is being used.
Cheers,
Ignacio