Encountering Registration Error when Registering System to Red Hat Satellite 6: Error during registration: [Errno 32] Broken pipe

Solution Verified - Updated -

Issue

  • Unable to register the system to Redhat Subscription Management: errors out with " BrokenPipeError: [Errno 32] Broken pipe"
  • What are the possible causes of the [Errno 32] Broken pipe error in subscription-manager?
  • How can I troubleshoot and resolve the [Errno 32] Broken pipe error during registration?
  • Encountering Registration Error when Registering System to Red Hat Satellite 6

    023-06-05 12:50:33,607 [ERROR] subscription-manager:199196:MainThread @cli.py:70 - Error during registration: [Errno 32] Broken pipe
    2023-06-05 12:50:33,607 [ERROR] subscription-manager:199196:MainThread @cli.py:71 - [Errno 32] Broken pipe
    Traceback (most recent call last):
    File "/usr/lib64/python3.9/site-packages/subscription_manager/cli_command/register.py", line 351, in _do_command
    consumer = service.register(
    File "/usr/lib64/python3.9/site-packages/rhsmlib/services/register.py", line 133, in register
    cp_provider.close_all_connections()
    File "/usr/lib64/python3.9/site-packages/subscription_manager/cp_provider.py", line 171, in close_all_connections
    self.consumer_auth_cp.conn.close_connection()
    File "/usr/lib64/python3.9/site-packages/rhsm/connection.py", line 675, in close_connection
    self.__conn.sock.unwrap()
    File "/usr/lib64/python3.9/ssl.py", line 1286, in unwrap
    s = self._sslobj.shutdown()
    BrokenPipeError: [Errno 32] Broken pipe
    

Environment

  • Red Hat Satellite 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

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