monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] need 69 bytes to decode cert val at 151, only have 42


From: Ole Dalgaard
Subject: [Monotone-devel] need 69 bytes to decode cert val at 151, only have 42
Date: Thu, 13 Jan 2005 21:31:15 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040922

Hi

I just upgraded both my netsync server and my clients from 0.14 to 0.16. I used the upgrade procedure described in the bottom of http://www.venge.net/monotone/README.rebuild

After the upgrade I am unable to use netsync. When pushing I get serverside errors, and when pulling I get clientside errors. The errors looks like these:

$ monotone address@hidden --db=~/.monotone.db pull b.knis.dk dk.giraf.misc
monotone: rebuilding merkle trees for collection dk.giraf.misc
monotone: connecting to b.knis.dk
enter passphrase for key ID address@hidden:
monotone: [bytes in: 12503] [bytes out: 2286] [certs in: 30] [revs in: 0]
monotone: warning: caught bad_decode exception processing peer b.knis.dk: 'need 960368 bytes to decode cert val at 90, only have 100'
monotone: terminated exchange with b.knis.dk
$


on the server with --debug
monotone: db.fetch("SELECT id FROM 'revision_certs' WHERE id = '00f3724d952627c77188d311f40e2200e0384349' AND name = 'date' AND value = 'MjAwNC0wNi0yMFQxMzoxMDowNA== ' AND keypair = 'address@hidden' AND signature = 'NpR/mkaiHpYRWY2TTNOUsvCQkmkhNX0Yo6YumVoW7hujd monotone: db.fetch("SELECT id FROM 'revisions' WHERE id = '00f3724d952627c77188d311f40e2200e0384349'")
monotone: delaying revision cert on 00f3724d952627c77188d311f40e2200e0384349
monotone: db.fetch("SELECT id FROM 'revisions' WHERE id = '00f3724d952627c77188d311f40e2200e0384349'") monotone: queueing request for data of revision item '00f3724d952627c77188d311f40e2200e0384349' monotone: updating rcert collection 'dk.giraf.misc' with item f4f1d05ff2e6a2d84f2ff2c2cc8e5cfa3c1c8f01
monotone: -- beginning top level insert --
monotone: inserting live leaf f4f1d05ff2e6a2d84f2ff2c2cc8e5cfa3c1c8f01 into slot 0x4 at rcert node with prefix , level 0 monotone: db.fetch("SELECT COUNT(*) FROM merkle_nodes WHERE type = 'rcert' AND collection = 'dk.giraf.misc' AND level = 0 AND prefix = '' ") monotone: db.fetch("SELECT body FROM merkle_nodes WHERE type = 'rcert' AND collection = 'dk.giraf.misc' AND level = 0 AND prefix = ''") monotone: taking f4f1d05ff2e6a2d84f2ff2c2cc8e5cfa3c1c8f01 to subtree in slot 0x4 of rcert node , level 0 monotone: inserting live leaf f4f1d05ff2e6a2d84f2ff2c2cc8e5cfa3c1c8f01 into slot 0xf at rcert node with prefix 04, level 1 monotone: db.fetch("SELECT COUNT(*) FROM merkle_nodes WHERE type = 'rcert' AND collection = 'dk.giraf.misc' AND level = 1 AND prefix = '04' ") monotone: db.fetch("SELECT body FROM merkle_nodes WHERE type = 'rcert' AND collection = 'dk.giraf.misc' AND level = 1 AND prefix = '04'") monotone: placing leaf f4f1d05ff2e6a2d84f2ff2c2cc8e5cfa3c1c8f01 in previously empty slot 0xf of rcert node 04, level 1 monotone: db.execute("INSERT OR REPLACE INTO merkle_nodes VALUES ('rcert', 'dk.giraf.misc ...") monotone: updating subtree setting to 7646709b39bc86a4cf8969afd204928f51aa6900 at slot 0x4 of node , level 0
monotone: -- finished top level insert --
monotone: db.execute("INSERT OR REPLACE INTO merkle_nodes VALUES ('rcert', 'dk.giraf.misc ...")
monotone: db.execute("COMMIT")
monotone: fd 6 is armed
monotone: i/o probe with 1 armed
monotone: read 734 bytes from fd 6 (peer 213.150.52.147:56254)
monotone: wrote 28 bytes to fd 6 (peer 213.150.52.147:56254), 0 remain in output buffer
monotone: db.execute("BEGIN")
monotone: processing 19001 byte input buffer from peer 213.150.52.147:56254
monotone: db.fetch("SELECT id FROM revision_certs WHERE hash = '45dc25b1978157fb4b336edbe949185eafdab33a'")
monotone: db.execute("ROLLBACK")
monotone: warning: caught bad_decode exception processing peer 213.150.52.147:56254: 'need 69 bytes to decode cert val at 151, only have 42' monotone: fd 6 (peer 213.150.52.147:56254) processing finished, disconnecting
monotone: i/o probe with 0 armed


BR
Ole Dalgaard






reply via email to

[Prev in Thread] Current Thread [Next in Thread]