FWIW, this message is raised when ZServer detects that the headers are too long. It is intentional and can be controlled up or down using the "http-header-max-length" directive in zope.conf. - C On Sep 8, 2006, at 3:44 PM, Dieter Maurer wrote:
Chris Withers wrote at 2006-9-8 07:46 +0100:
... and got this entry on the last "hangup":
2006-09-06T19:44:34 ERROR(200) ZServer uncaptured python exception, closing channel <ZServer.HTTPServer.zhttp_channel connected 212.96.102.29:3207 at 0x9c0326c channel#: 149 requests:> (exceptions.ValueError:HTTP headers invalid (too long) (got: 8760 bytes, allowed 8192 bytes [/sw1/packages/python235/lib/python2.3/asyncore.py|read|69] [/sw1/packages/python235/lib/python2.3/asyncore.py| handle_read_event|390] [/sw1/packages/python235/lib/python2.3/asynchat.py|handle_read|148] [/sw0/sbzope_3_2/lib/python/ZServer/HTTPServer.py| collect_incoming_data|378])
Ah, so you're exposing Zope to the big wide internet without a protective proxy like Apache in from?
I have seen this kind of error *ALTHOUGH* we do have Apache in front of Zope -- probably, because Apache is less stupid about the header size than Zope.
-- Dieter _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )