[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2862: introducers.yaml causes foolscap assertion
Tahoe-LAFS
trac at tahoe-lafs.org
Tue Jan 10 17:38:39 UTC 2017
#2862: introducers.yaml causes foolscap assertion
--------------------------------+--------------------
Reporter: warner | Owner: warner
Type: defect | Status: closed
Priority: major | Milestone: 1.12.1
Component: code-nodeadmin | Version: 1.12.0
Resolution: fixed | Keywords:
Launchpad Bug: |
--------------------------------+--------------------
Comment (by meejah):
A comment on https://blog.torproject.org/blog/tor-heart-tahoe-lafs
(January 6, 2017 by Anonymous) sounds possibly related to this (can't link
directly to the comment):
After a series of tests and debugging, I managed to have the test Tahoe-
LAFS tor hidden service Storage-Client nodes connect to one another
without a Introducer and only using the servers.yaml file. It appears
there is a slight bug in the servers.yaml coding which makes it presently
necessary to add a #comment between the storage node entrys to be
successful. To save the readers the effort and time I'll paste in a
working server.yaml file with fictional node names, onion addresses and id
strings. However the spaces and syntax must be exactly copied if you want
this to work for you after changing to your Storage nicnames, Onion
addresses and the Storage key Id strings located after ann: in your
introducer_default_cache.yaml file.
example of locating the desired announce string to copy to your
server.yaml file
~/.tahoe/private/introducer_default_cache.yaml
search for
{{{
key_s: v0-admjvlr3czr4w7fact5flbp2r4hawtqg6yz1l542ajrcp2lkyn3r
}}}
and
{{{
- ann:
anonymous-storage-FURL:
pb://hrshycb12ngpiz4qs2jevzvmjsk34zne@tor:abcqea4xsfgpmbac.onion:20100/sm1owyxjoi23fohajeqgdevh7dxrc1mr
}}}
Create, add these strings to your new server.yaml file keeping the
#storage: comment line between each added storage node using a text
editor.
{{{
storage:
v0-admjvlr3czr4w7fact5flbp2r4hawtqg6yz1l542ajrcp2lkyn3r:
ann:
nickname: Someone
anonymous-storage-FURL:
pb://hrshycb12ngpiz4qs2jevzvmjsk34zne@tor:abcqea4xsfgpmbac.onion:20100/sm1owyxjoi23fohajeqgdevh7dxrc1mr
#storage:
v0-3rpxlixushufwhh4fqnxsitmk1ys4nmusgadjgrtjfb2lk1s34ic:
ann:
nickname: Someonelse
anonymous-storage-FURL:
pb://4l26hnjjcoxnvrcrhhycinplpen6zhur@tor:l12nvioyiufz4cwb.onion:20200/szdpxq5uv2cmagkr2lzzcduiuawvjhnp
}}}
Next, comment the introducer in your tahoe.cfg file #introducer.furl =
pb:/ and then start/restart your tahoe node which in a few seconds should
then successfully only connect to your Tahoe-LAFS tor hidden service
storage nodes without a Introducer.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2862#comment:4>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list