Red Hat Insights - Bad status from server: 401
Since two days I'm experiencing an issue with insights-client
- I receive the message "Bad status from server: 401 | This machine has not yet been registered". As one can see in the screenshot down below, the systems are already registered. The same happened some days ago, but as the problem only occurred once, I assumed that it was just a temporary outage of the insights service. Now it turned into being a permanent problem ...
Does anybody have an idea what's going on and how (if it's possible to be done from users side at all) to solve this problem ? Here are more details :
$ sudo insights-client
Bad status from server: 401
Bad status from server: 401
Bad status from server: 401
This machine has not yet been registered.
Use --register to register this machine.
$ sudo insights-client --status
Bad status from server: 401
Bad status from server: 401
Bad status from server: 401
System is NOT registered locally via .registered file.
Insights API could not be reached to confirm registration status.
$ sudo insights-client --test-connection
Bad status from server: 401
Connection test config:
Proxy config: None
Certificate Verification: /etc/insights-client/cert-api.access.redhat.com.pem
=== Begin Certificate Chain Test ===
depth=1
verify error:num=0
verify return:1
depth=0
verify error:num=0
verify return:1
---
Certificate chain
0 s :/C=US/ST=NORTH CAROLINA/L=Raleigh/O=Red Hat/OU=Red Hat Network/CN=cert-api.access.redhat.com
i :/C=US/ST=North Carolina/L=Raleigh/O=Red Hat, Inc./OU=Red Hat Network/CN=Entitlement Master CA/emailAddress=ca-support@redhat.com
1 s :/C=US/ST=North Carolina/L=Raleigh/O=Red Hat, Inc./OU=Red Hat Network/CN=Entitlement Master CA/emailAddress=ca-support@redhat.com
i :/C=US/ST=North Carolina/L=Raleigh/O=Red Hat, Inc./OU=Red Hat Network/CN=Entitlement Master CA/emailAddress=ca-support@redhat.com
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIFfTCCA2WgAwIBAgIJAJGKz8qFAAADMA0GCSqGSIb3DQEBBQUAMIGwMQswCQYD
VQQGEwJVUzEXMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmExEDAOBgNVBAcMB1JhbGVp
Z2gxFjAUBgNVBAoMDVJlZCBIYXQsIEluYy4xGDAWBgNVBAsMD1JlZCBIYXQgTmV0
d29yazEeMBwGA1UEAwwVRW50aXRsZW1lbnQgTWFzdGVy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q+
NZfBi1iq0uuSus9JI/Uu8aRhoxTK56qGRed/JNixOHEmFn891cahIPpF0exWwtYD
ThwXo7Z6PI7t8EMKdSrGTOowp58yho8xYFL/Z7JmjL55Pf85GIrdiniNZd4i178J
07R9zsiLvdXq9mT33iJwkm+uhO+FA9d8OE3ji21pBbGUAQSWOdkemvUCsy8zANW9
fT+dBrMr5Buk7eaBBJ2PxECNiWLCRQJWmyff1O5zMT0daS2lBdEGUNhBZ0hnX13Q
kabUp0bxRrNRq+WkomP7onZhfZS6SjKm0UmwoV6o3V1ED6y7muQNRmgDpA5PcbvO
gl7OexNL4zcpyfMdAmTYf5yTRSvB42Yg5hVfuzPEnOIqupwES3mWkEHRlqbMUkHw
qIQAxIwQqZd5PdPpElQ/6j/ZT9DwW/I6zgndX2rsS0oGYcwFTkSj0/rKKkC13hk7
LchXMZu5ckdustM79U6OZIBairrJaL2OpR08un2nwIjgEGqhVFYc44UK1VpkE8mr
qvqJS6OHVlTlKcEDnhVkPS3i5qjuS/PtSq0CwH8bzYKFJayLDY/z36Zv6PdttzmU
Yb1NSDcJejHJ80pMINutyYQ=
-----END CERTIFICATE-----
subject=/C=US/ST=NORTH CAROLINA/L=Raleigh/O=Red Hat/OU=Red Hat Network/CN=cert-api.access.redhat.com
issuer=/C=US/ST=North Carolina/L=Raleigh/O=Red Hat, Inc./OU=Red Hat Network/CN=Entitlement Master CA/emailAddress=ca-support@redhat.com
---
=== End Certificate Chain Test: SUCCESS ===
=== Begin Upload URL Connection Test ===
Testing: https://cert-api.access.redhat.com/r/insights/uploads/
HTTP Status Code: 401
HTTP Status Text: Unauthorized
Connection failed
=== End Upload URL Connection Test: FAILURE ===
=== Begin API URL Connection Test ===
Testing: https://cert-api.access.redhat.com/r/insights/
HTTP Status Code: 200
HTTP Status Text: OK
Successfully connected to: https://cert-api.access.redhat.com/r/insights/
=== End API URL Connection Test: SUCCESS ===
Connectivity tests completed with some errors
Failed connection test. See /var/log/insights-client/insights-client.log for details.
$ sudo insights-client --version
Client: 3.0.2-2
Core: 3.0.3-1