On 8/13/05, Nathaniel Smith <[EMAIL PROTECTED]> wrote: > On Sat, Aug 13, 2005 at 10:45:19AM +0200, Julio M. Merino Vidal wrote: > > [ibook monotone] $ monotone --db=monotone.db push venge.net > > net.venge.monotone > > monotone: connecting to venge.net > > monotone: finding items to synchronize: > > monotone: certs | keys | revisions > > monotone: 8123 | 29 | 2107 > > monotone: read from fd 4 (peer venge.net) failed, disconnecting > > monotone: bytes in | bytes out | certs out | revs out > > monotone: 0 | 345 | 0 | 0 > > Err... yeah, that's monotone's helpful way of saying "I don't know > this key". (I've put "make netsync more helpful about error > messages" on the quickies page.) It looks like I just never added > your key to the server; it's on the allowed keys list in the hook > file, but not actually present in the db... > > Could you re-send your key?
Sure; I've attached it.
BTW, I tried to do a push from my laptop to my server and got the
same error. In the server, I've the following:
function get_netsync_write_permitted (branch, identity)
if (branch == "net.venge.monotone") then
if (identity == "[EMAIL PROTECTED]") then return true end
end
...
(which is just the same as I have in the read hook, which seems to work)
But monotone says:
monotone: accepted new client connection from 192.168.2.19:32787
monotone: allowed '[EMAIL PROTECTED]' read permission for
'net.venge.monotone' excluding ''
monotone: warning: denied '[EMAIL PROTECTED]' write permission for
'net.venge.monotone' excluding ''
monotone: fd 6 (peer 192.168.2.19:32787) processing finished, disconnecting
Why is my configuration incorrect?
Thanks,
--
Julio M. Merino Vidal <[EMAIL PROTECTED]>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/
[email protected]
Description: Binary data
_______________________________________________ Monotone-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/monotone-devel
