Bug 1213454 - [abrt] fedpkg: SSLConnection.py:140:recv:Error: [('SSL routines', 'SSL3_READ_BYTES', 'sslv3 alert certificate expired'), ('SSL routines', 'SSL3_READ_BYTES', 'ssl handshake failure')]
Summary: [abrt] fedpkg: SSLConnection.py:140:recv:Error: [('SSL routines', 'SSL3_READ_...
Keywords:
Status: CLOSED DUPLICATE of bug 1207178
Alias: None
Product: Fedora
Classification: Fedora
Component: fedpkg
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dennis Gilmore
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:779427f3db15bb1640622c10421...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-20 15:23 UTC by Karel Volný
Modified: 2015-04-21 06:58 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-04-21 06:58:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (2.45 KB, text/plain)
2015-04-20 15:23 UTC, Karel Volný
no flags Details
File: dso_list (83 bytes, text/plain)
2015-04-20 15:23 UTC, Karel Volný
no flags Details
File: environ (3.88 KB, text/plain)
2015-04-20 15:23 UTC, Karel Volný
no flags Details

Description Karel Volný 2015-04-20 15:23:23 UTC
Description of problem:
I've tried to submit a package while my certificate was expired ... it could have failed more gracefully than waiting for ages and ending in traceback ...

Version-Release number of selected component:
fedpkg-1.19-1.fc21

Additional info:
reporter:       libreport-2.3.0
cmdline:        /usr/bin/python /bin/fedpkg -v build
executable:     /bin/fedpkg
kernel:         3.19.3-200.fc21.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
SSLConnection.py:140:recv:Error: [('SSL routines', 'SSL3_READ_BYTES', 'sslv3 alert certificate expired'), ('SSL routines', 'SSL3_READ_BYTES', 'ssl handshake failure')]

Traceback (most recent call last):
  File "/bin/fedpkg", line 16, in <module>
    main()
  File "/usr/lib/python2.7/site-packages/fedpkg/__main__.py", line 68, in main
    sys.exit(client.args.command())
  File "/usr/lib/python2.7/site-packages/pyrpkg/cli.py", line 832, in build
    sets, nvr_check)
  File "/usr/lib/python2.7/site-packages/pyrpkg/__init__.py", line 1750, in build
    build_target = self.kojisession.getBuildTarget(self.target)
  File "/usr/lib/python2.7/site-packages/pyrpkg/__init__.py", line 427, in kojisession
    self.load_kojisession()
  File "/usr/lib/python2.7/site-packages/pyrpkg/__init__.py", line 277, in load_kojisession
    proxyuser=self.runas)
  File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1730, in ssl_login
    sinfo = self.callMethod('sslLogin', proxyuser)
  File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1779, in callMethod
    return self._callMethod(name, args, opts)
  File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1899, in _callMethod
    return self._sendCall(handler, headers, request)
  File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1810, in _sendCall
    return self._sendOneCall(handler, headers, request)
  File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1830, in _sendOneCall
    response = cnx.getresponse()
  File "/usr/lib64/python2.7/httplib.py", line 1067, in getresponse
    response.begin()
  File "/usr/lib64/python2.7/httplib.py", line 409, in begin
    version, status, reason = self._read_status()
  File "/usr/lib64/python2.7/httplib.py", line 365, in _read_status
    line = self.fp.readline(_MAXLINE + 1)
  File "/usr/lib64/python2.7/socket.py", line 476, in readline
    data = self._sock.recv(self._rbufsize)
  File "/usr/lib/python2.7/site-packages/koji/ssl/SSLConnection.py", line 140, in recv
    return con.recv(bufsize, flags)
Error: [('SSL routines', 'SSL3_READ_BYTES', 'sslv3 alert certificate expired'), ('SSL routines', 'SSL3_READ_BYTES', 'ssl handshake failure')]

Local variables in innermost frame:
curtime: 1428915520.28376
read: [<OpenSSL.SSL.Connection object at 0x7f47f54dbd50>]
self: <OpenSSL.SSL.Connection object at 0x7f47f54dbd50>
timeout: 60
write: []
flags: 0
starttime: 1428915519.87014
excpt: []
bufsize: 1
con: <OpenSSL.SSL.Connection object at 0x7f47f54dbd50>

Comment 1 Karel Volný 2015-04-20 15:23:27 UTC
Created attachment 1016434 [details]
File: backtrace

Comment 2 Karel Volný 2015-04-20 15:23:28 UTC
Created attachment 1016435 [details]
File: dso_list

Comment 3 Karel Volný 2015-04-20 15:23:29 UTC
Created attachment 1016436 [details]
File: environ

Comment 4 Pavol Babinčák 2015-04-21 06:58:21 UTC

*** This bug has been marked as a duplicate of bug 1207178 ***


Note You need to log in before you can comment on or make changes to this bug.