[Bitkeeper-users] Lease "expires" almost immediately
Wayne Scott
wscott@bitmover.com
Fri, 30 Apr 2004 09:22:24 -0500 (EST)
From: Paul DuBois <paul@snake.net>
> Since upgrading to 3.0.4 on my Mac OS X iBook, I see this
> message often when invoking bk:
>
> % bk ci
> ================================= Error =================================
> Unable to obtain permission to use this version of BitKeeper (bk-3.0.4)
> from lease.openlogging.org. That server issues certificates to use BK
> for openlogging for 30 days at a time. The bk binary needs to be able
> to make a http connection to lease.openlogging.org at least once a month.
>
> Look at 'bk help url' if you need to tell 'bk' about a proxy.
> ============================================================================
>
>
> The message leads me to believe that I should be able to be offline
> for quite a while and still be able to run bk. What I actually observe
> is that I can be offline for not long at all before this message occurs.
> I don't know what the minimum time for this is, but it reliably happens
> within a couple of hours.
>
> Is this to be expected? I didn't see this with 3.0.3.
It is not expected. You should be able to continue to use bk on the
same machine after you are disconnected from the network for at least
a week from your last bk operation when you were connected. The lease
is tied to your username and hostname so if something changes you
might have problems.
However I am suspecting we are having problems in this area. I am
going to put together some commands to show active leases and allow
you to manually renew them.
Paul, if I send you a pre-release of that code, can you try to
reproduce your problems and see what is happening?
-Wayne