client can't connect to introducer via i2p
Vladislav
vladislav.by at gmail.com
Thu Sep 1 08:12:25 UTC 2016
Thanks! I update tahoe-lafs, correct introducer url and got new error:
(tahoe) vlad at tahoe:~$ tahoe run
STARTING '/home/vlad/.tahoe'
running node in '/home/vlad/.tahoe'
2016-09-01T13:06:53+0500 [-] Foolscap logging initialized
2016-09-01T13:06:53+0500 [-] Note to developers: twistd.log does not
receive very much.
2016-09-01T13:06:53+0500 [-] Use 'flogtool tail -c
NODEDIR/private/logport.furl' instead
2016-09-01T13:06:53+0500 [-] and read docs/logging.rst
2016-09-01T13:06:53+0500
[twisted.scripts._twistd_unix.UnixAppLogger#info] twistd 16.4.0
(/home/vlad/.virtualenvs/tahoe/bin/python 2.7.9) starting up.
2016-09-01T13:06:53+0500
[twisted.scripts._twistd_unix.UnixAppLogger#info] reactor class:
twisted.internet.epollreactor.EPollReactor.
2016-09-01T13:06:53+0500 [-] NevowSite starting on 3456
2016-09-01T13:06:53+0500 [nevow.appserver.NevowSite#info] Starting
factory <nevow.appserver.NevowSite instance at 0xb56230ec>
2016-09-01T13:06:53+0500 [-] My pid: 18984
2016-09-01T13:06:53+0500 [-] Listener starting on 43490
2016-09-01T13:06:53+0500 [foolscap.pb.Listener#info] Starting factory
<Listener at 0xb561f68c on
<twisted.internet.endpoints.TCP4ServerEndpoint object at 0xb561f94c>
with tub r6y7zev72nl5ukl2nnwej4ajtvse56lt>
2016-09-01T13:06:53+0500 [-] Listener starting on 41636
2016-09-01T13:06:53+0500 [foolscap.pb.Listener#info] Starting factory
<Listener at 0xb561ff2c on
<twisted.internet.endpoints.TCP4ServerEndpoint object at 0xb561fe0c>
with tub x2cax2x47u3ffcit7gq2wcokdxo25lsd>
2016-09-01T13:06:53+0500 [-] Listener starting on 56470
2016-09-01T13:06:53+0500 [foolscap.pb.Listener#info] Starting factory
<Listener at 0xb561ff4c on
<twisted.internet.endpoints.TCP4ServerEndpoint object at 0xb561fc6c>
with tub 2qsag3hgsdc3viwxljvbkly6z4b52ifl>
2016-09-01T13:06:53+0500 [txi2p.sam.session.SessionCreateFactory#info]
Starting factory <txi2p.sam.session.SessionCreateFactory instance at
0xb562610c>
2016-09-01T13:06:53+0500 [-] client running
2016-09-01T13:06:54+0500 [txi2p.sam.session.SessionCreateFactory#info]
Stopping factory <txi2p.sam.session.SessionCreateFactory instance at
0xb562610c>
2016-09-01T13:06:54+0500 [-] Unhandled Error
Traceback (most recent call last):
File "/home/vlad/.virtualenvs/tahoe/local/lib/python2.7/site-packages/twisted/application/app.py",
line 310, in runReactorWithLogging
reactor.run()
File "/home/vlad/.virtualenvs/tahoe/local/lib/python2.7/site-packages/twisted/internet/base.py",
line 1195, in run
self.mainLoop()
File "/home/vlad/.virtualenvs/tahoe/local/lib/python2.7/site-packages/twisted/internet/base.py",
line 1204, in mainLoop
self.runUntilCurrent()
File "/home/vlad/.virtualenvs/tahoe/local/lib/python2.7/site-packages/twisted/internet/base.py",
line 825, in runUntilCurrent
call.func(*call.args, **call.kw)
--- <exception caught here> ---
File "/home/vlad/.virtualenvs/tahoe/local/lib/python2.7/site-packages/foolscap/eventual.py",
line 26, in _turn
cb(*args, **kwargs)
File "/home/vlad/tahoe-lafs/src/allmydata/storage_client.py", line
144, in _got_announcement
precondition(isinstance(key_s, str), key_s)
File "/home/vlad/tahoe-lafs/src/allmydata/util/assertutil.py", line
39, in precondition
raise AssertionError, "".join(msgbuf)
exceptions.AssertionError: precondition:
u'v0-myl4clrthvchbjn77vkojeadtaprngcubxuyjxcfimyb6irvdola' <type
'unicode'>
2016-09-01T13:06:57+0500 [txi2p.sam.session.SessionCreateFactory#info]
Starting factory <txi2p.sam.session.SessionCreateFactory instance at
0xb561c44c>
2016-09-01T13:06:57+0500 [txi2p.sam.session.SessionCreateFactory#info]
Stopping factory <txi2p.sam.session.SessionCreateFactory instance at
0xb561c44c>
in status:
ntroducer not connected
pb://opol4lv3xk4cyw36jvsgjl5abrfvx6dn@i2p:qcjukqq6qe2z757v7bx347kvw772547reh2ycsmtfghlrr3zdjxq.b32.i2
tahoe.cfg:
# lives in this directory. It is only read at node startup.
# For details about the keys that can be set here, please
# read the 'docs/configuration.rst' file that came with your
# Tahoe installation.
[node]
nickname = mistralbkru_home
web.port = tcp:3456:interface=192.168.0.20
web.static = public_html
#tub.port =
#tub.location =
#log_gatherer.furl =
#timeout.keepalive =
#timeout.disconnect =
#ssh.port = 8022
#ssh.authorized_keys_file = ~/.ssh/authorized_keys
[client]
# Which services should this client connect to?
#introducer.furl =
pb://opol4lv3xk4cyw36jvsgjl5abrfvx6dn@tcp:127.0.0.1:58525,tcp:192.168.0.20:58525/oevcxqdpoidc2cnddrf5cckb2afag4lz
introducer.furl =
pb://opol4lv3xk4cyw36jvsgjl5abrfvx6dn@i2p:qcjukqq6qe2z757v7bx347kvw772547reh2ycsmtfghlrr3zdjxq.b32.i2p/oevcxqdpoidc2cnddrf5cckb2afag4lz
helper.furl =
#stats_gatherer.furl =
# Encoding parameters this client will use for newly-uploaded files
# This can be changed at any time: the encoding is saved in
# each filecap, and we can download old files with any encoding
# settings
#shares.needed = 3
#shares.happy = 7
#shares.total = 10
shares.needed = 1
shares.happy = 2
shares.total = 3
[storage]
# Shall this node provide storage service?
enabled = true
#readonly =
reserved_space = 1G
#expire.enabled =
#expire.mode =
[helper]
# Shall this node run a helper service that clients can use?
enabled = false
[i2p]
enable = true
#sam.port =
launch = false
(tahoe) vlad at tahoe:~$ tahoe -V
tahoe-lafs: 1.11.0.post493 [master: a03f68b787fffe0e840e6abf0177b4c3c9811966]
foolscap: 0.12.2
pycryptopp: 0.7.1.869544967005693312591928092448767568728501330214
zfec: 1.4.24
Twisted: 16.4.0
Nevow: 0.14.2
zope.interface: unknown
python: 2.7.9
platform: Linux-debian_8.5-i686-32bit_ELF
pyOpenSSL: 16.1.0
OpenSSL: 1.0.1t [ 3 May 2016]
simplejson: 3.8.2
pycrypto: 2.6.1
pyasn1: 0.1.9
service-identity: 16.0.0
characteristic: 14.3.0
pyasn1-modules: 0.0.8
cryptography: 1.5
cffi: 1.7.0
six: 1.10.0
enum34: 1.1.6
pycparser: 2.14
PyYAML: 3.12
setuptools: 26.1.1
attrs: 16.1.0 [according to pkg_resources]
ipaddress: 1.0.16 [according to pkg_resources]
idna: 2.1 [according to pkg_resources]
shutilwhich: 1.1.0 [according to pkg_resources]
2016-08-31 22:32 GMT+05:00 Brian Warner <warner at lothar.com>:
> On 8/31/16 3:10 AM, Vladislav wrote:
>> I add 'i2p' : introducer.furl = pb://i2p:557brm5u7uqoamuaf.......... -
>> same result
>
> Oops, that's the wrong place for it. Connection-hint types need to go on
> the connection-hint, not the TubID.
>
> The first base32 string (right after "pb://", the one that starts with
> "557.." in your FURL) is the Foolscap TubID. The TubID is a hash of the
> server's expected TLS certificate.
>
> The connection hint is the second (longer) big base32 string, "wlhw.."
> in your example, that comes *after* the "@" sign. The connection-hint is
> what needs the "i2p:" prefix. My example should have it in the right
> place:
>
>>>> [client]
>>>> introducer.furl =
>>>> pb://557brm5u7uqoamuafn54l7kgega22dp5@i2p:wlhwbsf4njp3mo4pcjavpdu76tdevs3r6h2gn5qpakvozuuolptq.b32.i2p/llchk6qaudgjm3zpz2tmht6zxmlflbrh
> ^- not here (tubid) ^- yes here (connection hint)
>
> (also, once you get everything running, you might want to move the
> introducer to a new address, since this one is now plastered all over
> the internet :-)
>
> cheers,
> -Brian
--
-----------------
Best regards,
Vladislav
More information about the tahoe-dev
mailing list