Red Hat Bugzilla – Bug 88270
Exception not being handled for SSL.SysCallError
Last modified: 2007-04-18 12:52:51 EDT
Description of problem:
an Exception of type SSL.SysCallError was received on the applet and reported as
a bug with a question mark icon
Version-Release number of selected component (if applicable):
probably related to some maintenance on the RHN servers, i could try to block
the RHN servers and see if i can reproduce the error, but my guess is that i
could reproduce it re routing the RHN servers to a server not listening or
rejecting XMLRPC over HTTPS connections
Exception type SSL.SysCallError
Exception Handler Information
Traceback (most recent call last):
File "/usr/bin/../share/rhn/rhn_applet/rhn_applet.py", line 448, in refresh
File "/usr/bin/../share/rhn/rhn_applet/rhn_applet_model.py", line 264, in refresh
File "/usr/bin/../share/rhn/rhn_applet/rhn_applet_rpc.py", line 84, in refresh
status = server.applet.poll_status()
File "/usr/lib/python2.2/xmlrpclib.py", line 821, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.2/site-packages/rhn/rpclib.py", line 126, in _request
File "/usr/lib/python2.2/site-packages/rhn/transports.py", line 130, in request
headers, fd = req.send_http(host, handler)
File "/usr/lib/python2.2/site-packages/rhn/transports.py", line 614, in send_http
File "/usr/lib/python2.2/httplib.py", line 701, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.2/httplib.py", line 723, in _send_request
File "/usr/lib/python2.2/httplib.py", line 695, in endheaders
File "/usr/lib/python2.2/httplib.py", line 581, in _send_output
File "/usr/lib/python2.2/httplib.py", line 560, in send
File "/usr/lib/python2.2/site-packages/rhn/SSL.py", line 191, in write
sent = self._connection.send(data)
SysCallError: (104, 'Connection reset by peer')
the usual "ok" icon
the problem was gone once i "reconfigure" the rhn-applet
interesting also that just after the problem i got a report that my kernel was
not up2date as reported on bug #84757.
both problems disapeered once i right click on the applet and went thru the
"configure" process again
couldn't add this same comment to ticket #84757 tough as the ticket broken as
explained on bug #87920
Well it's an error connecting to the server, I doubt it's a registration
based problem. Are you using a free RHN slot or a paid one ? Anyway
I tried to make sure the exception will be properly caught in future
version of the rhn-applet package.
i am using a paid RHN slot (uuid=6931413a-6673-11d7-80a0-00d059543bd1).
after giving it some more thought, i think the problem should maybe better be
handled on the SSL.py package for rhnlib 1.0 where there is no exception
handling an SSL.SysCallError on the write method as it is currently being
handled on the read method, otherwise the SSL subsystem wouldn't give consistent
the problem couldn't be replicated just trying to fool rhnsd or blocking access
to the RHN server as the problem was presented while writing to the established
and authenticated SSL connection
This same error happened to me on Shrike. I am a paid RHN customer.
The applet (nor the SSL layer) do not catch up all the connection errors,
however it tries to recover from them. Did the icon turned grey with an
interrogation mark (i.e. it got stuck in the error state) or did it indicated
a connection error (double arrow on grey background crossed with a red strike) ?
In the last case it will retry the connection automatically until it succeeds
and the error message is then purely informative.
as i reported initially i got an interrogation mark (AKA question mark), a gray
Red Hat apologizes that these issues have not been resolved yet. We do want to
make sure that no important bugs slip through the cracks.
Red Hat Linux 7.3 and Red Hat Linux 9 are no longer supported by Red Hat, Inc.
They are maintained by the Fedora Legacy project (http://www.fedoralegacy.org/)
for security updates only. If this is a security issue, please reassign to the
'Fedora Legacy' product in bugzilla. Please note that Legacy security update
support for these products will stop on December 31st, 2006.
If this is not a security issue, please check if this issue is still present
in a current Fedora Core release. If so, please change the product and version
to match, and check the box indicating that the requested information has been
If you are currently still running Red Hat Linux 7.3 or 9, please note that
Fedora Legacy security update support for these products will stop on December
31st, 2006. You are strongly advised to upgrade to a current Fedora Core release
or Red Hat Enterprise Linux or comparable. Some information on which option may
be right for you is available at http://www.redhat.com/rhel/migrate/redhatlinux/.
Any bug still open against Red Hat Linux 7.3 or 9 at the end of 2006 will be
closed 'CANTFIX'. Again, if this bug still exists in a current release, or is a
security issue, please change the product as necessary. We thank you for your
help, and apologize again that we haven't handled these issues to this point.