Bug 743294

Summary: [abrt] plague-client-0.4.5.8-2.fc15: SSLConnection.py:112:sendall:Error: [('SSL routines', 'SSL3_READ_BYTES', 'sslv3 alert certificate expired'), ('SSL routines', 'SSL3_WRITE_BYTES', 'ssl handshake failure')]
Product: [Fedora] Fedora Reporter: Karel Volný <kvolny>
Component: plagueAssignee: Dan Williams <dcbw>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: bugs.michael, dcbw
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:032a8be8db1164c723c8b85301bbbcd8b7afa6fd
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-07 16:05:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Karel Volný 2011-10-04 14:24:16 UTC
abrt version: 2.0.3
architecture:   x86_64
cmdline:        
comment:        My client certificate has expired and I've tried to do "make build". I guess there could be a nicer way to tell than throwing a traceback - that even doesn't say *which* certificate has expired (it took me a while to find out, as I suspected the server at first ...)
component:      plague
executable:     /usr/bin/plague-client
kernel:         2.6.40.4-5.fc15.x86_64
os_release:     Fedora release 15 (Lovelock)
package:        plague-client-0.4.5.8-2.fc15
reason:         SSLConnection.py:112:sendall:Error: [('SSL routines', 'SSL3_READ_BYTES', 'sslv3 alert certificate expired'), ('SSL routines', 'SSL3_WRITE_BYTES', 'ssl handshake failure')]
time:           Tue Oct  4 16:07:53 2011
uid:            500
username:       kvolny

backtrace:
:SSLConnection.py:112:sendall:Error: [('SSL routines', 'SSL3_READ_BYTES', 'sslv3 alert certificate expired'), ('SSL routines', 'SSL3_WRITE_BYTES', 'ssl handshake failure')]
:
:Traceback (most recent call last):
:  File "/usr/bin/plague-client", line 423, in <module>
:    cli = PlagueClient(os.path.expanduser(cfg_file))
:  File "/usr/bin/plague-client", line 85, in __init__
:    self._check_api_version(self._server)
:  File "/usr/bin/plague-client", line 90, in _check_api_version
:    server_ver = server.api_version()
:  File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in __call__
:    return self.__send(self.__name, args)
:  File "/usr/lib64/python2.7/xmlrpclib.py", line 1570, in __request
:    verbose=self.__verbose
:  File "/usr/lib64/python2.7/xmlrpclib.py", line 1264, in request
:    return self.single_request(host, handler, request_body, verbose)
:  File "/usr/lib64/python2.7/xmlrpclib.py", line 1292, in single_request
:    self.send_content(h, request_body)
:  File "/usr/lib64/python2.7/xmlrpclib.py", line 1439, in send_content
:    connection.endheaders(request_body)
:  File "/usr/lib64/python2.7/httplib.py", line 937, in endheaders
:    self._send_output(message_body)
:  File "/usr/lib64/python2.7/httplib.py", line 797, in _send_output
:    self.send(msg)
:  File "/usr/lib64/python2.7/httplib.py", line 773, in send
:    self.sock.sendall(data)
:  File "/usr/lib/python2.7/site-packages/plague/SSLConnection.py", line 112, in sendall
:    sent = con.send(data, flags)
:Error: [('SSL routines', 'SSL3_READ_BYTES', 'sslv3 alert certificate expired'), ('SSL routines', 'SSL3_WRITE_BYTES', 'ssl handshake failure')]
:
:Local variables in innermost frame:
:curtime: 1317737273.466994
:read: []
:self: <socket._socketobject object at 0xa52d70>
:timeout: 20
:write: [<OpenSSL.SSL.Connection object at 0xaa4598>]
:flags: 0
:starttime: 1317737273.062562
:excpt: []
:con: <OpenSSL.SSL.Connection object at 0xaa4598>
:data: "POST /RPC2 HTTP/1.1\r\nHost: buildsys.rpmfusion.org:8887\r\nAccept-Encoding: gzip\r\nUser-Agent: pyOpenSSL_XMLRPC/0.12 - xmlrpclib.py/1.0.1 (by www.pythonware.com)\r\nContent-Type: text/xml\r\nContent-Length: 105\r\n\r\n<?xml version='1.0'?>\n<methodCall>\n<methodName>api_version</methodName>\n<params>\n</params>\n</methodCall>\n"
:sent: -1
:origlen: 311

Comment 1 Michael Schwendt 2011-11-11 20:03:16 UTC
Sure, one could add some checking in plague-client, e.g. call cert.has_expired() early and possibly retrieve/examine values such as cert.get_notAfter() afterwards, but: I'm not sure it makes much sense to spend time on developing such "beautification" features in 2011. The user-cert contains a human-readable part,and this traceback hasn't resulted in anything like a FAQ since (and during) the Fedora Extras era. ;)

Comment 2 Fedora End Of Life 2012-08-07 16:05:29 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping