My Oracle Support Banner

<class 'up2date_client.up2dateErrors.NetworkError'>: Rhn-plugin: Network Error (Doc ID 2335332.1)

Last updated on MAY 26, 2021

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Linux OS - Version Oracle Linux 6.0 with Unbreakable Enterprise Kernel [2.6.32] and later
Linux x86
Linux x86-64

Symptoms


When attempting to register the spacewalk client with spacewalk server we are getting the following errors


# rhnreg_ks --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT --serverUrl=https://<SW-HOSTNAME>.<DOMAIN_NAME>.COM/XMLRPC --activationkey=1-<key> --force
An error has occurred:
rhn-plugin: Network error:
See /var/log/up2date for more information
# more /var/log/up2date

Traceback (most recent call last):
  File "/usr/sbin/rhnreg_ks", line 221, in
  cli.run()
  File "/usr/share/rhn/up2date_client/rhncli.py", line 84, in run
  sys.exit(self.main() or 0)
  File "/usr/sbin/rhnreg_ks", line 91, in main
  rhnreg.getCaps()
  File "/usr/share/rhn/up2date_client/rhnreg.py", line 249, in getCaps
  s.capabilities.validate()
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 164, in __get_capabilities
  self.registration.welcome_message()
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 51, in __call__
  return rpcServer.doCall(method, *args, **kwargs)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 210, in doCall
  ret = method(*args, **kwargs)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
  return self.__send(self.__name, args)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 40, in _request1
  ret = self._request(methodname, params)
  File "/usr/lib/python2.6/site-packages/rhn/rpclib.py", line 386, in _request
  self._handler, request, verbose=self._verbose)
  File "/usr/lib/python2.6/site-packages/rhn/transports.py", line 171, in request
  headers, fd = req.send_http(host, handler)
  File "/usr/lib/python2.6/site-packages/rhn/transports.py", line 721, in send_http
  self._connection.connect()
  File "/usr/lib/python2.6/site-packages/rhn/connections.py", line 228, in connect
  self.sock.init_ssl()
  File "/usr/lib/python2.6/site-packages/rhn/SSL.py", line 76, in init_ssl
  self._ctx.load_verify_locations(f)
<class 'up2date_client.up2dateErrors.NetworkError'>: rhn-plugin: Network error:

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.