Modify ↓
Ticket #970 (closed defect: fixed)
ssl traceback; bcfg2-server process wedged
Reported by: | Jim Rowan <[email protected]…> | Owned by: | laszlo |
---|---|---|---|
Priority: | major | Milestone: | Bcfg2 1.2.0 Release |
Component: | bcfg2-server | Version: | 1.0 |
Keywords: | Cc: |
Description
My bcfg2-server process has hung again. strace says it's stuck in a read() call. kill -TERM does not kill it. The server is running on ubuntu lucid, both server and clients are Version: 1.1.1-1~lucid1.
The following was found on the controlling terminal where bcfg2-server was running.
File "/usr/lib/python2.6/ssl.py", line 94, in <lambda> self.send = lambda data, flags=0: SSLSocket.send(self, data, flags) File "/usr/lib/python2.6/ssl.py", line 174, in send v = self._sslobj.write(data) SSLError: The write operation timed out ---------------------------------------- Error sending response (<class 'ssl.SSLError'>): The write operation timed out ---------------------------------------- Exception happened during processing of request from ('10.222.149.214', 42468) Traceback (most recent call last): File "/usr/lib/python2.6/SocketServer.py", line 558, in process_request_thread self.finish_request(request, client_address) File "/usr/lib/python2.6/SocketServer.py", line 320, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python2.6/SocketServer.py", line 615, in __init__ self.handle() File "/usr/lib/python2.6/BaseHTTPServer.py", line 329, in handle self.handle_one_request() File "/usr/lib/python2.6/BaseHTTPServer.py", line 323, in handle_one_request method() File "/usr/lib/pymodules/python2.6/Bcfg2/SSLServer.py", line 249, in do_POST self.wfile.write(response) File "/usr/lib/python2.6/socket.py", line 300, in write self.flush() File "/usr/lib/python2.6/socket.py", line 286, in flush self._sock.sendall(buffer) File "/usr/lib/python2.6/ssl.py", line 203, in sendall v = self.send(data[count:]) File "/usr/lib/python2.6/ssl.py", line 94, in <lambda> self.send = lambda data, flags=0: SSLSocket.send(self, data, flags) File "/usr/lib/python2.6/ssl.py", line 174, in send v = self._sslobj.write(data) SSLError: The write operation timed out ----------------------------------------
Attachments
Change History
Changed 12 years ago by laszlo
- Attachment ssl_write_error.patch added
comment:1 Changed 12 years ago by laszlo
- Owner changed from desai to laszlo
- Status changed from new to accepted
Try the attached path. I tested that path out as well as I could on rhel 5 w/ python 2.4. I don't have lucid handy.
comment:2 Changed 12 years ago by laszlo
- Status changed from accepted to closed
- Resolution set to fixed
Resolved in 8394f59acd639f4a89c8010590819c773b1b803e
Note: See
TracTickets for help on using
tickets.
Patch to fix SSLError.py