Cannot register to Red Hat Customer Portal with "InvalidURL" error
Issue
- Cannot register to Red Hat Customer Portal the following messages:
[Tue Jan 01 12:10:20 2013] rhn_register updateLoginInfo() login info
[Tue Jan 01 12:10:48 2013] rhn_register
Traceback (most recent call last):
File "/usr/share/rhn/up2date_client/rhnregGui.py", line 1450, in
callAndFilterExceptions
return function()
File "/usr/share/rhn/up2date_client/rhnregGui.py", line 346, in
_chooseServerPageApply
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 160, 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 206, 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 39, in _request1
ret = self._request(methodname, params)
File "/usr/lib/python2.6/site-packages/rhn/rpclib.py", line 383, in
_request
self._handler, request, verbose=self._verbose)
File "/usr/lib/python2.6/site-packages/rhn/transports.py", line 143, in
request
connection = self.get_connection(host)
File "/usr/lib/python2.6/site-packages/rhn/transports.py", line 308, in
get_connection
trusted_certs=self.trusted_certs)
File "/usr/lib/python2.6/site-packages/rhn/connections.py", line 234, in
__init__
HTTPProxyConnection.__init__(self, proxy, host, port, username,
password)
File "/usr/lib/python2.6/site-packages/rhn/connections.py", line 146, in
__init__
HTTPConnection.__init__(self, proxy)
File "/usr/lib/python2.6/site-packages/rhn/connections.py", line 70, in
__init__
httplib.HTTPConnection.__init__(self, host, port,
timeout=SSL.DEFAULT_TIMEOUT)
File "/usr/lib64/python2.6/httplib.py", line 661, in __init__
self._set_hostport(host, port)
File "/usr/lib64/python2.6/httplib.py", line 686, in _set_hostport
raise InvalidURL("nonnumeric port: '%s'" % host[i+1:])
<class 'httplib.InvalidURL'>: nonnumeric port: '3128/'
Environment
- Red Hat Enterprise Linux 6
- rhn_register
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.