[ZODB-Dev] Odd DisconnectedError with ZEO (HEAD)

Christian Reis kiko at async.com.br
Mon Jul 28 20:12:49 EDT 2003


On Mon, Jul 28, 2003 at 03:28:55PM -0300, Christian Reis wrote:
> -- and if I ignore this error (using a try: except: clause, for
> instance), the next access to registry.catalogs works fine. No idea here :-(

Okay, enough chasing red herrings. The real problem seems to be
something on the server side:

2003-07-28T19:06:15 ERROR(200) zrpc:5101 can't decode message:
'\xf1\x0b\x81\xba\r\x97g\xf7\x8a\r\xb9F\x1d\xe6\x8eA\xd9...'
------
2003-07-28T19:06:15 ERROR(200) zrpc-conn:anthem:4000 Error caught in
asyncore
Traceback (most recent call last):
  File "/usr/lib/python2.1/asyncore.py", line 92, in poll
    obj.handle_read_event()
  File "/usr/lib/python2.1/asyncore.py", line 386, in handle_read_event
    self.handle_read()
  File "/tmp//lib/python2.1/site-packages/ZEO/zrpc/smac.py", line 188,
in handle_read
    self.message_input(msg)
  File "/tmp//lib/python2.1/site-packages/ZEO/zrpc/connection.py", line
226, in message_input
    msgid, flags, name, args = self.marshal.decode(message)
  File "/tmp//lib/python2.1/site-packages/ZEO/zrpc/marshal.py", line 39,
in decode
    return unpickler.load() # msgid, flags, name, args
UnpicklingError: invalid load key, 'ñ'.
------

This error does *not* occur when connecting to the ZEO over localhost;
only when over a network connection. Hmmm. I'm going to try running the
server off another box to see how it goes. Nope, no dice.

(Is the ZEO protocol optimized/different for localhost connections, I
wonder...)

This error pretty much is making authentication unusable (at least for
me). Has anyone else on the list used it at all?

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL



More information about the ZODB-Dev mailing list