System registration failed with "Proxy connection failed: 403"

Solution Verified - Updated -


  • Subscription-manager command fails with Proxy connection failed: 403
# subscription-manager register
Network error, unable to connect to server.
Please see /var/log/rhsm/rhsm.log for more information.
  • Traceback in /var/log/rhsm/rhsm.log:-
2021-07-16 18:40:33,764 [INFO] - Server Versions: {'candlepin': 'Unknown', 'server-type': 'This system is currently not registered.'} 
2021-07-16 18:40:33,765 [INFO] - Client Versions: {'python-rhsm': '1.1.8-1.el6', 'subscription-manager': '1.1.23-1.el6'} 
2021-07-16 18:40:33,765 [INFO] - Using basic authentication as: xxx
2021-07-16 18:40:33,766 [INFO] - Connection Built: host:, port: 443, handler: /subscription
2021-07-16 18:40:33,766 [DEBUG] - Loading CA PEM certificates from: /etc/rhsm/ca/
2021-07-16 18:40:33,767 [DEBUG] - Loading CA certificate: '/etc/rhsm/ca/redhat-uep.pem'
2021-07-16 18:40:33,767 [DEBUG] - Loading CA certificate: '/etc/rhsm/ca/candlepin-stage.pem'
2021-07-16 18:40:33,767 [DEBUG] - Using proxy: PROXY:PORT
2021-07-16 18:40:33,768 [DEBUG] - Making request: GET
2021-07-16 18:40:33,770 [ERROR] - Error during registration: Proxy connection failed: 403
2021-07-16 18:40:33,770 [ERROR] - Proxy connection failed: 403
Traceback (most recent call last):
  File "/usr/share/rhsm/subscription_manager/", line 956, in _do_command
    owner_key = self._determine_owner_key(admin_cp)
  File "/usr/share/rhsm/subscription_manager/", line 1057, in _determine_owner_key
    owners = cp.getOwnerList(self.username)
  File "/usr/lib64/python2.6/site-packages/rhsm/", line 697, in getOwnerList
    return self.conn.request_get(method)
  File "/usr/lib64/python2.6/site-packages/rhsm/", line 437, in request_get
    return self._request("GET", method)
  File "/usr/lib64/python2.6/site-packages/rhsm/", line 387, in _request
    conn.request(request_type, handler, body=body, headers=headers)
  File "/usr/lib64/python2.6/", line 914, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib64/python2.6/", line 951, in _send_request
  File "/usr/lib64/python2.6/site-packages/rhsm/", line 140, in endheaders
  File "/usr/lib64/python2.6/", line 908, in endheaders
  File "/usr/lib64/python2.6/", line 780, in _send_output
  File "/usr/lib64/python2.6/", line 739, in send
  File "/usr/lib64/python2.6/site-packages/M2Crypto/", line 203, in connect
    raise socket.error, "Proxy connection failed: %d" % code
error: Proxy connection failed: 403


  • Red Hat Enterprise Linux 6
  • Red hat Subscription Management (RHSM)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content