[rhn-users] Up2date : SSL error (104 : connection reset by peer )

Roselinda.Ackermans at cec.eu.int Roselinda.Ackermans at cec.eu.int
Mon Mar 7 14:16:10 UTC 2005


Hi all,

When using up2date, I get SSL errors (104, connection reset by peer ) from
time to time. Up2date will work for some time, and then suddenly stop with
this error. (see traceback below )
I also get the errors when I set 'useNoSSLForPackages=1' in
/etc/sysconfig/rhn/up2date.
It never stops at the same point.


For example, this is what happened when I asked two package installs + a
package list refresh :

at-3.1.8-60_EL3.i386.rpm:   ########################## Done.
bash-2.05b-29.0.3.i386.rpm: ########################## Done.
Preparing              ########################################### [100%]

Installing...
   1:bash                   ###########################################
[100%]
   2:at                     ###########################################
[100%]
packages.refresh_list ()
https://xmlrpc.rhn.redhat.com/XMLRPC
Traceback (most recent call last):
  File "/usr/sbin/rhn_check", line 349, in ?
    handle_action(action)
  File "/usr/sbin/rhn_check", line 222, in handle_action
    (status, message, data) = run_action(method, params)
  File "/usr/sbin/rhn_check", line 177, in run_action
    (status, message, data) = do_call(method, params)
  File "/usr/sbin/rhn_check", line 94, in do_call
    retval = apply(method, params)
  File "/usr/share/rhn/actions/packages.py", line 412, in refresh_list
    rhnPackageInfo.updatePackageProfile()
  File "rhnPackageInfo.py", line 111, in updatePackageProfile
  File "rpcServer.py", line 308, in doCall
  File "/usr/lib/python2.2/xmlrpclib.py", line 821, in __call__
    return self.__send(self.__name, args)
  File "rpcServer.py", line 51, in _request1
  File "/usr/lib/python2.2/site-packages/rhn/rpclib.py", line 302, in
_request
    verbose=self._verbose
  File "/usr/lib/python2.2/site-packages/rhn/transports.py", line 167, in
request
    headers, fd = req.send_http(host, handler)
  File "/usr/lib/python2.2/site-packages/rhn/transports.py", line 688, in
send_http
    headers=self.headers)
  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 726, in _send_request
    self.send(body)
  File "/usr/lib/python2.2/httplib.py", line 560, in send
    self.sock.sendall(str)
  File "/usr/lib/python2.2/site-packages/rhn/SSL.py", line 191, in write
    sent = self._connection.send(data)
SSL.SysCallError: (104, 'Connection reset by peer')


Linde Ackermans




More information about the rhn-users mailing list