[tahoe-dev] Cannot start peer: STRING token too large

Adrian Georgescu ag at ag-projects.com
Sun Apr 26 10:13:51 UTC 2009


Hello,

I have installed tahoe on +10 servers. I run into this situation, on  
two of the servers I cannot start the peer software, the errors are  
similar:

2009/04/26 12:03 +0200 [-] Log opened.
2009/04/26 12:03 +0200 [-] twistd 2.5.0 (/usr/bin/python 2.5.2)  
starting up
2009/04/26 12:03 +0200 [-] reactor class: <class  
'twisted.internet.selectreactor.SelectReactor'>
2009/04/26 12:03 +0200 [-] Loading tahoe-client.tac...
2009-04-26 10:03:56.147Z [-] Loaded.
2009-04-26 10:03:56.155Z [-] foolscap.pb.Listener starting on 53877
2009-04-26 10:03:56.157Z [-] nevow.appserver.NevowSite starting on 3456
2009-04-26 10:03:56.157Z [-] Starting factory  
<nevow.appserver.NevowSite instance at 0x8b62d4c>
2009-04-26 10:03:56.160Z [-]  
twisted.internet.protocol.DatagramProtocol starting on 58120
2009-04-26 10:03:56.160Z [-] Starting protocol  
<twisted.internet.protocol.DatagramProtocol instance at 0x8b62fcc>
2009-04-26 10:03:56.166Z [-] (Port 58120 Closed)
2009-04-26 10:03:56.168Z [-] Stopping protocol  
<twisted.internet.protocol.DatagramProtocol instance at 0x8b62fcc>
2009-04-26 10:03:56.385Z [Negotiation,client] Unhandled Error
	Traceback (most recent call last):
	  File "/usr/lib/python2.5/site-packages/foolscap/call.py", line 736,  
in receiveClose
	    self.request.fail(self.failure)
	  File "/usr/lib/python2.5/site-packages/foolscap/call.py", line 88,  
in fail
	    self.deferred.errback(why)
	  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py",  
line 261, in errback
	    self._startRunCallbacks(fail)
	  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py",  
line 304, in _startRunCallbacks
	    self._runCallbacks()
	--- <exception caught here> ---
	  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py",  
line 317, in _runCallbacks
	    self.result = callback(self.result, *args, **kw)
	  File "/usr/lib/python2.5/site-packages/allmydata/util/rrefutil.py",  
line 45, in _wrap_server_failure
	    raise ServerFailure(f)
	allmydata.util.rrefutil.ServerFailure: [CopiedFailure instance:  
Traceback from remote host -- Traceback (most recent call last):
	  File "/usr/lib/python2.5/site-packages/twisted/internet/ 
selectreactor.py", line 146, in _doReadOrWrite
	    why = getattr(selectable, method)()
	  File "/usr/lib/python2.5/site-packages/twisted/internet/tcp.py",  
line 121, in doRead
	    return Connection.doRead(self)
	  File "/usr/lib/python2.5/site-packages/twisted/internet/tcp.py",  
line 362, in doRead
	    return self.protocol.dataReceived(data)
	  File "/usr/lib/python2.5/site-packages/foolscap/banana.py", line  
638, in dataReceived
	    self.handleData(chunk)
	--- <exception caught here> ---
	  File "/usr/lib/python2.5/site-packages/foolscap/banana.py", line  
796, in handleData
	    top.checkToken(typebyte, header)
	  File "/usr/lib/python2.5/site-packages/foolscap/referenceable.py",  
line 220, in checkToken
	    self.urlConstraint.checkToken(typebyte, size)
	  File "/usr/lib/python2.5/site-packages/foolscap/constraint.py",  
line 115, in checkToken
	    (tokenNames[typebyte], size, limit))
	foolscap.tokens.Violation: Violation (<RootUnslicer>.<methodcall  
reqID=6 obj=<allmydata.introducer.server.IntroducerService object at  
0x868a0ac>  
iface=RIIntroducerPublisherAndSubscriberService.tahoe.allmydata.com  
methodname=subscribe>.<arguments arg[0]>.<ref-1>): ('STRING token too  
large: 220>200',)
	]
	

2009-04-26 12:09:13+0200 [-] Log opened.
2009-04-26 12:09:13+0200 [-] twistd 8.1.0 (/usr/bin/python 2.5.2)  
starting up
2009-04-26 12:09:13+0200 [-] reactor class: <class  
'twisted.internet.selectreactor.SelectReactor'>
2009-04-26 12:09:13+0200 [-] foolscap.pb.Listener starting on 36033
2009-04-26 12:09:13+0200 [-] nevow.appserver.NevowSite starting on 3456
2009-04-26 12:09:13+0200 [-] Starting factory  
<nevow.appserver.NevowSite instance at 0x8d9ea8c>
2009-04-26 12:09:13+0200 [-]  
twisted.internet.protocol.DatagramProtocol starting on 55948
2009-04-26 12:09:13+0200 [-] Starting protocol  
<twisted.internet.protocol.DatagramProtocol instance at 0x8d9ee6c>
2009-04-26 12:09:13+0200 [-] (Port 55948 Closed)
2009-04-26 12:09:13+0200 [-] Stopping protocol  
<twisted.internet.protocol.DatagramProtocol instance at 0x8d9ee6c>
2009-04-26 12:09:13+0200 [Negotiation,client] Unhandled Error
	Traceback (most recent call last):
	  File "/usr/lib/python2.5/site-packages/foolscap/call.py", line 736,  
in receiveClose
	    self.request.fail(self.failure)
	  File "/usr/lib/python2.5/site-packages/foolscap/call.py", line 88,  
in fail
	    self.deferred.errback(why)
	  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py",  
line 269, in errback
	    self._startRunCallbacks(fail)
	  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py",  
line 312, in _startRunCallbacks
	    self._runCallbacks()
	--- <exception caught here> ---
	  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py",  
line 328, in _runCallbacks
	    self.result = callback(self.result, *args, **kw)
	  File "/usr/lib/python2.5/site-packages/allmydata/util/rrefutil.py",  
line 45, in _wrap_server_failure
	    raise ServerFailure(f)
	allmydata.util.rrefutil.ServerFailure: [CopiedFailure instance:  
Traceback from remote host -- Traceback (most recent call last):
	  File "/usr/lib/python2.5/site-packages/twisted/internet/ 
selectreactor.py", line 146, in _doReadOrWrite
	    why = getattr(selectable, method)()
	  File "/usr/lib/python2.5/site-packages/twisted/internet/tcp.py",  
line 121, in doRead
	    return Connection.doRead(self)
	  File "/usr/lib/python2.5/site-packages/twisted/internet/tcp.py",  
line 362, in doRead
	    return self.protocol.dataReceived(data)
	  File "/usr/lib/python2.5/site-packages/foolscap/banana.py", line  
638, in dataReceived
	    self.handleData(chunk)
	--- <exception caught here> ---
	  File "/usr/lib/python2.5/site-packages/foolscap/banana.py", line  
796, in handleData
	    top.checkToken(typebyte, header)
	  File "/usr/lib/python2.5/site-packages/foolscap/referenceable.py",  
line 220, in checkToken
	    self.urlConstraint.checkToken(typebyte, size)
	  File "/usr/lib/python2.5/site-packages/foolscap/constraint.py",  
line 115, in checkToken
	    (tokenNames[typebyte], size, limit))
	foolscap.tokens.Violation: Violation (<RootUnslicer>.<methodcall  
reqID=6 obj=<allmydata.introducer.server.IntroducerService object at  
0x868a0ac>  
iface=RIIntroducerPublisherAndSubscriberService.tahoe.allmydata.com  
methodname=subscribe>.<arguments arg[0]>.<ref-1>): ('STRING token too  
large: 252>200',)
	]

The tahoe.cfg file is standard, I have not set anything special on  
these two nodes compared with the others.

Can somebody provide a clue how to solve this?

Regards,
Adrian




More information about the tahoe-dev mailing list