System registration fails with error HTTPConnectionPool(host='169.xxx.xxx.xxx', port=80): Read timed out. (read timeout=10.0)

Solution Verified - Updated -

Issue

  • System registration fails with below error for the VMs running on Microsoft Hyper-V host.

    # subscription-manager register
    Registering to: subscription.rhsm.redhat.com:443/subscription
    Username: <login-id>
    Password: 
    Network error, unable to connect to server. Please see /var/log/rhsm/rhsm.log for more information.
    
    # cat /var/log/rhsm/rhsm.log
    2022-04-20 13:18:43,237 [ERROR] subscription-manager:9123:MainThread @managercli.py:218 - Error during registration: HTTPConnectionPool(host='169.xxx.xxx.xxx', port=80): Read timed out. (read timeout=10.0)
    2022-04-20 13:18:43,237 [ERROR] subscription-manager:9123:MainThread @managercli.py:219 - HTTPConnectionPool(host='169.xxx.xxx.xxx', port=80): Read timed out. (read timeout=10.0)
    

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Subscription Manager (RHSM)
  • Microsoft Hyper-V

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