Registering a system to Red Hat Lightspeed (Insights) fails with error 401 Unauthorized
Issue
-
insights-clientcommand fails with below error:-# insights-client --test-connection Running Connection Tests... === Begin Upload URL Connection Test === Testing: https://cert-api.access.redhat.com/r/insights/uploads/ POST https://cert-api.access.redhat.com/r/insights/uploads/ HTTP Status: 401 Unauthorized HTTP Response Text: Insights services authentication failed Connection failed === End Upload URL Connection Test: FAILURE === === Begin API URL Connection Test === Testing: https://cert-api.access.redhat.com/r/insights/ GET https://cert-api.access.redhat.com/r/insights/ HTTP Status: 401 Unauthorized HTTP Response Text: Insights services authentication failed Connection failed === End API URL Connection Test: FAILURE === Connectivity tests completed with some errors See /var/log/insights-client/insights-client.log for more details.
Environment
- Red Hat Enterprise Linux
- Red Hat Lightspeed (Insights)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.