Issue while running subscription-manager commands on host connected to RedHat Capsule server fail with an error Connection reset by peer.

Solution Verified - Updated -

Issue

  • Getting error when running subscription-manager commands:

    [ERROR] package-cleanup:26866:MainThread @entcertlib.py:121 - [Errno 104] Connection reset by peer
    Traceback (most recent call last):
    File "/usr/lib64/python3.6/site-packages/subscription_manager/entcertlib.py", line 119, in perform
    expected = self._get_expected_serials()
    File "/usr/lib64/python3.6/ssl.py", line 1070, in do_handshake
    self._sslobj.do_handshake()
    File "/usr/lib64/python3.6/ssl.py", line 648, in do_handshake
    self._sslobj.do_handshake()
    ConnectionResetError: [Errno 104] Connection reset by peer
    

Environment

  • Red Hat Satellite 6.16
  • Red Hat Capsule 6.16

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