Error “http.client.BadStatusLine” in rhsm.log while executing subscription-manager commands on RHEL System.
Issue
- Subscription-manager command shows error when it ran as a root user, but works fine as sudo.
-
Below error observed while running subscription-manager command on RHEL system:
# subscription-manager status +-------------------------------------------+ System Status Details +-------------------------------------------+ Remote server error. Please check the connection details, or see /var/log/rhsm/rhsm.log for more information.
Environment
- Red Hat Enterprise Linux 8
- Red Hat Satellite 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.