[Zope] - ZopeHTTPServer winsock errors on Win32?

Stefan Franke sfranke@cdc-group.com
Thu, 21 Jan 1999 19:51:27 +0100


When I run Zope using ZopeHTTPServer on my Win NT4 SP3 Box (both multi
and 
single threaded) I get lots of winsock error-exceptions like those
below, when I open
the management screen with any browser and click the reload button very
heavily
(or synchronously on two machines even not so heavily). Is this normal,
due to interrupted
requests? I've no idea about socket communication (my knowledge start on
the http text 
stream level) so this could just be an upset naive "Oh my God, this Red
Light started flashing" post.

stefan

----------------------------------------
Exception happened during processing of request from ('194.163.81.32',
2017)
Traceback (innermost last):
  File "D:\Programme\Zope\Koelnzope\ZopeHTTPServer\ZopeHTTPServer.py",
line 419, in handle_request
    self.process_request(request, client_address)
  File "D:\Programme\Zope\Koelnzope/lib/python1.5\SocketServer.py", line
239, in process_request
    self.finish_request(request, client_address)
  File "D:\Programme\Zope\Koelnzope/lib/python1.5\SocketServer.py", line
243, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "D:\Programme\Zope\Koelnzope/lib/python1.5\SocketServer.py", line
362, in __init__
    self.handle()
  File "D:\Programme\Zope\Koelnzope/lib/python1.5\BaseHTTPServer.py",
line 228, in handle
    self.raw_requestline = self.rfile.readline()
  File "D:\Programme\Zope\Koelnzope\lib\python1.5\plat-win\socket.py",
line 117, in readline
    new = self._sock.recv(self._rbufsize)
error: (10054, 'winsock error')
----------------------------------------
FRANKE1 - - [21/Jan/1999 19:44:53] "GET /manage HTTP/1.1" 200 -
----------------------------------------
Exception happened during processing of request from ('194.163.81.32',
2018)
Traceback (innermost last):
  File "D:\Programme\Zope\Koelnzope\ZopeHTTPServer\ZopeHTTPServer.py",
line 419, in handle_request
    self.process_request(request, client_address)
  File "D:\Programme\Zope\Koelnzope/lib/python1.5\SocketServer.py", line
239, in process_request
    self.finish_request(request, client_address)
  File "D:\Programme\Zope\Koelnzope/lib/python1.5\SocketServer.py", line
243, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "D:\Programme\Zope\Koelnzope/lib/python1.5\SocketServer.py", line
362, in __init__
    self.handle()
  File "D:\Programme\Zope\Koelnzope/lib/python1.5\BaseHTTPServer.py",
line 258, in handle
    method()
  File "D:\Programme\Zope\Koelnzope\ZopeHTTPServer\ZopeHTTPServer.py",
line 328, in do_GET
    self.publish_module()
  File "D:\Programme\Zope\Koelnzope\ZopeHTTPServer\ZopeHTTPServer.py",
line 342, in publish_module
    publish_module(
  File "D:\Programme\Zope\Koelnzope\lib\python\ZPublisher\Publish.py",
line 895, in publish_module
    if response: stdout.write(response)
  File "D:\Programme\Zope\Koelnzope\ZopeHTTPServer\ZopeHTTPServer.py",
line 277, in write
    self.handler.send_response(string.atoi(code),message)
  File "D:\Programme\Zope\Koelnzope/lib/python1.5\BaseHTTPServer.py",
line 304, in send_response
    self.wfile.write("%s %s %s\r\n" %
  File "D:\Programme\Zope\Koelnzope\lib\python1.5\plat-win\socket.py",
line 91, in write
    self.flush()
  File "D:\Programme\Zope\Koelnzope\lib\python1.5\plat-win\socket.py",
line 78, in flush
    self._sock.send(self._wbuf)
error: (10054, 'winsock error')
----------------------------------------