On 07/14/2010 05:09 PM, Matthew B Treinish wrote:
I have been playing around with a koji 1.3.2 server on my machine for the
past couple of weeks. Today I tried updating the server to v1.4.0 and am
having some difficulty getting the koji-web interface working. Koji-hub,
kojira, kojid, and the koji cli are working fine but koji-web won't run. I
have a mod_python traceback of the error:
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/mod_python/importer.py", line
1537, in HandlerDispatch
default=default_handler, arg=req, silent=hlist.silent)
File "/usr/lib64/python2.6/site-packages/mod_python/importer.py", line
1229, in _process_target
result = _execute_target(config, req, object, arg)
File "/usr/lib64/python2.6/site-packages/mod_python/importer.py", line
1128, in _execute_target
result = object(arg)
File "/usr/share/koji-web/lib/kojiweb/publisher.py", line 39, in handler
return mod_python.publisher.handler(req)
File "/usr/lib64/python2.6/site-packages/mod_python/publisher.py", line
213, in handler
published = publish_object(req, object)
File "/usr/share/koji-web/lib/kojiweb/publisher.py", line 34, in
publish_object
return old_publish_object(req, _genHTML(req, 'error.chtml'))
File "/usr/share/koji-web/lib/kojiweb/util.py", line 69, in _genHTML
req._values['mavenEnabled'] = req._session.mavenEnabled()
File "/usr/lib/python2.6/site-packages/koji/__init__.py", line 1468, in
__call__
return self.__func(self.__name,args,opts)
File "/usr/lib/python2.6/site-packages/koji/__init__.py", line 1698, in
_callMethod
return proxy.__getattr__(name)(*args)
File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
File "/usr/lib64/python2.6/xmlrpclib.py", line 1235, in request
self.send_content(h, request_body)
File "/usr/lib64/python2.6/xmlrpclib.py", line 1349, in send_content
connection.endheaders()
File "/usr/lib64/python2.6/httplib.py", line 868, in endheaders
self._send_output()
File "/usr/lib64/python2.6/httplib.py", line 740, in _send_output
self.send(msg)
File "/usr/lib64/python2.6/httplib.py", line 699, in send
self.connect()
File "/usr/lib64/python2.6/httplib.py", line 1073, in connect
self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file)
File "/usr/lib64/python2.6/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/usr/lib64/python2.6/ssl.py", line 118, in __init__
self.do_handshake()
File "/usr/lib64/python2.6/ssl.py", line 293, in do_handshake
self._sslobj.do_handshake()
SSLError: [Errno 1] _ssl.c:480: error:14094410:SSL
routines:SSL3_READ_BYTES:sslv3 alert handshake failure
Everything was working fine in v1.3.2 so I'm at a loss at what could cause
the SSL certificate to fail after the upgrade. I'd appreciate any insight
into what I'm doing wrong.
There were some SSL changes in 1.4.0, did you make those changes to your
ssl.conf, kojihub.conf, and kojiweb.conf in /etc/httpd/conf.d? 1.4.0
should continue to work with the old config if you haven't touched
anything. Could you post your kojihub.conf and kojiweb.conf somewhere?
Also, have you upgraded both the hub and web to 1.4.0?