After upgrading RHUI setup pulp-admin fails with "ssl.SSLError: [Errno 8] _ssl.c:492: EOF occurred in violation of protocol"
Issue
- After upgrading RHUI setup pulp-admin fails with "ssl.SSLError: [Errno 8] _ssl.c:492: EOF occurred in violation of protocol"
[root@rhua ~]# rhui-manager
Previous authentication credentials could not be found. Logging into
the RHUI.
If this is the first time using the RHUI, it is recommended to change
the user's password in the User Management section of RHUI Tools.
RHUI Username: admin
RHUI Password:
Network error, please check the pulp server is available and running
Error while running pulp-admin
[root@rhua ~]# pulp-admin auth login --username admin
Enter password:
Traceback (most recent call last):
File "/usr/bin/pulp-admin", line 24, in <module>
admin.main()
File "/usr/lib/python2.6/site-packages/pulp/client/lib/cli.py", line 152, in main
command.main(self.args[1:])
File "/usr/lib/python2.6/site-packages/pulp/client/pluginlib/command.py", line 129, in main
action.main(args[1:])
File "/usr/lib/python2.6/site-packages/pulp/client/pluginlib/command.py", line 213, in main
self.run()
File "/usr/lib/python2.6/site-packages/pulp/client/admin/plugins/auth.py", line 55, in run
crt = self.user_api.admin_certificate()
File "/usr/lib/python2.6/site-packages/pulp/client/api/user.py", line 51, in admin_certificate
return self.server.GET(path)[1]
File "/usr/lib/python2.6/site-packages/pulp/client/api/server.py", line 317, in GET
return self._request('GET', path, queries)
File "/usr/lib/python2.6/site-packages/pulp/client/api/server.py", line 264, in _request
connection.request(method, url, body=body, headers=self.headers)
File "/usr/lib64/python2.6/httplib.py", line 914, in request
self._send_request(method, url, body, headers)
File "/usr/lib64/python2.6/httplib.py", line 951, in _send_request
self.endheaders()
File "/usr/lib64/python2.6/httplib.py", line 908, in endheaders
self._send_output()
File "/usr/lib64/python2.6/httplib.py", line 780, in _send_output
self.send(msg)
File "/usr/lib64/python2.6/httplib.py", line 739, in send
self.connect()
File "/usr/lib64/python2.6/httplib.py", line 1116, in connect
self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file)
File "/usr/lib64/python2.6/ssl.py", line 342, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/usr/lib64/python2.6/ssl.py", line 120, in __init__
self.do_handshake()
File "/usr/lib64/python2.6/ssl.py", line 279, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [Errno 8] _ssl.c:492: EOF occurred in violation of protocol
Environment
- Red Hat Update Infrastructure (RHUI) 2.1
- RHUI Upgrade
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
