[Buildbot-devel] Slaves behind Dynamic IPs

Michael Parker parkerm at pobox.com
Mon Nov 29 20:57:19 UTC 2004


On Mon, Nov 29, 2004 at 12:51:17PM -0800, Brian Warner wrote:
> 
> Do you have any idea how frequently the address is changing? Is it a question
> of your NAT box timing out an active connection and then giving the
> reconnection-attempt a different source address? NAT boxes really shouldn't
> give up on active connections. There's a buildslave-side option to basically
> ping the master every N seconds, which might help avoid a NAT timeout.. try
> --keepalive=300 to ping the master every 5 minutes.

It's a NAT box on a DSL line that keeps an IP for awhile but does
occasionally get changed.  In this case I moved the router from one
room to another and in doing so it fetch a new IP address when booted
back up.

> If you've got some kind of dialup connection that gets spontaneously
> disconnected every once in a while.. hmm. Well, maybe this overhaul will
> help. In the meantime the 'ping builder' button might accelerate the process
> of discovering that the slave has gone away, and once the master gives up on
> it then the incoming slave is free to claim the builder that the old one left
> behind.

I'll try this.  It might be helpful if the slave could send an
authenticated msg to the master saying, "I'm over here now, forget you
ever saw me over there."

Thanks
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://buildbot.net/pipermail/devel/attachments/20041129/d85c3c85/attachment.bin>


More information about the devel mailing list