subscription-manager command piped to less outputs error if not viewed to the end

Solution Verified - Updated -

Issue

Executing the command:

# subscription-manager repos --list | less 

Returns error of either

'[Errno 32] Broken pipe'

or

'Network error, unable to connect to server.'

If SCA is enabled and the user does not scroll to the end.

Environment

Red Hat Enterprise Linux 8
Red Hat Enterprise Linux Server 7

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