[tahoe-dev] Using allmydata.com production grid?

rob kinninmont robk-tahoe at allmydata.com
Sun May 31 03:02:06 PDT 2009


On May 31, 2009, at 10:52 AM, rob kinninmont wrote:

> ...
> (curiously allmydata/introducer/interfaces.py defines FURL as
> StringConstraint(1000) and I can't (easily) find any definition of
> allmydata.introducer.server.IntroducerService to examine anywhere...)

ahem. by which, of course I meant  
RIIntroducerPublisherAndSubscriberService

(which still begs the question why trac's search feature can't find  
symbols in source code...)

thing is, I still don't see where this 200 char furl limit it coming  
from.

I have to wonder if it's possibly coming from foolscap itself?  (long  
time ago, some of foolscap's implicit constraints on basic types were  
a bit low, and could leap out at you when you weren't expecting them.)

> On May 31, 2009, at 4:55 AM, David Abrahams wrote:
>
>>
>> on Sat May 30 2009, David Abrahams <dave-xT6NqnoQrPdWk0Htik3J/w-AT-
>> public.gmane.org> wrote:
>>
>>> on Sat May 30 2009, Peter Secor <secorp-yA4Be9i5DcKB+jHODAdFcQ-AT-
>>> public.gmane.org>
>>> wrote:
>>>
>>>> Those error messages
>>>>
>>>> David Abrahams wrote:
>>>>
>>>> Hi David,
>>>>
>>>>  Your error messages make me think that you are not connected to
>>>> the
>>>> proper grid for whatever your root cap is.
>>>
>>> The tahoe.cfg files on Solaris and OSX are basically identical:
>>>
>>>
>>> The only difference is that on OpenSolaris
>> ...
>>
>> well there's something different in twistd.log on OSX:
>>
>> 2009-05-30 23:44:05-0400 [Negotiation,client] Unhandled Error
>> 	Traceback (most recent call last):
>> 	  File "/opt/local/lib/python2.5/site-packages/foolscap-0.3.2-
>> py2.5.egg/foolscap/call.py", line 736, in receiveClose
>> 	    self.request.fail(self.failure)
>> 	  File "/opt/local/lib/python2.5/site-packages/foolscap-0.3.2-
>> py2.5.egg/foolscap/call.py", line 88, in fail
>> 	    self.deferred.errback(why)
>> 	  File "/opt/local/lib/python2.5/site-packages/twisted/internet/
>> defer.py", line 269, in errback
>> 	    self._startRunCallbacks(fail)
>> 	  File "/opt/local/lib/python2.5/site-packages/twisted/internet/
>> defer.py", line 312, in _startRunCallbacks
>> 	    self._runCallbacks()
>> 	--- <exception caught here> ---
>> 	  File "/opt/local/lib/python2.5/site-packages/twisted/internet/
>> defer.py", line 328, in _runCallbacks
>> 	    self.result = callback(self.result, *args, **kw)
>> 	  File "/opt/local/lib/python2.5/site-packages/
>> allmydata_tahoe-1.4.1-py2.5.egg/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 139, in _doReadOrWrite
>> 	    why = getattr(selectable, method)()
>> 	  File "/usr/lib/python2.5/site-packages/twisted/internet/tcp.py",
>> line 125, 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=5 obj=<allmydata.introducer.server.IntroducerService object at
>> 0x89b9b6c>
>> iface=RIIntroducerPublisherAndSubscriberService.tahoe.allmydata.com
>> methodname=subscribe>.<arguments arg[0]>.<ref-1>): ('STRING token
>> too large: 203>200',)
>> 	]
>> 	
>>
>> -- 
>> Dave Abrahams
>> BoostPro Computing
>> http://www.boostpro.com
>>
>> _______________________________________________
>> tahoe-dev mailing list
>> tahoe-dev at allmydata.org
>> http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev
>
> _______________________________________________
> tahoe-dev mailing list
> tahoe-dev at allmydata.org
> http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev



More information about the tahoe-dev mailing list