subscription-manager コマンドが失敗し、"NetworkException: Network error code: 400" と表示される
Issue
-
subscription-manager コマンドが失敗し、
Network error code: 400
と表示されます。[user@system ~]# subscription-manager list --available --all Error updating system data on the server, see /var/log/rhsm/rhsm.log for more details. [ERROR] rhsmcertd-worker:21003:MainThread @rhsmcertd-worker:148 - Error while updating certificates using daemon [ERROR] rhsmcertd-worker:21003:MainThread @rhsmcertd-worker:150 - Network error code: 400
-
yum コマンドが失敗し、
Network error code: 400
と表示されます。# yum repolist Loaded plugins: product-id, security, subscription-manager Network error code: 400 repolist: 0
-
subscription-manager コマンドが失敗し、
HTTP error code 400: Bad Request
と表示されます。[user@system ~]subscription-manager refresh Unknown server reply (HTTP error code 400: Bad Request): <html><13> <head><title>400 The SSL certificate error</title></head><13> <body><13> <center><h1>400 Bad Request</h1></center><13> <center>The SSL certificate error</center><13> <hr><center>openresty</center><13> </body><13> </html><13>
-
/var/log/rhsm/rhsm.log
に以下のエラーがあります。rhsm.connection.UnknownContentException: Unknown content error (HTTP 400 - Bad Request, type text/html, len 212) 2024-10-09 11:55:34,181 [ERROR] rhsmcertd-worker:130542:MainThread @rhsmcertd_worker.py:281 - Error while updating certificates using daemon 2024-10-09 11:55:34,181 [ERROR] rhsmcertd-worker:130542:MainThread @rhsmcertd_worker.py:283 - [Errno 13] Permission denied Traceback (most recent call last):
Environment
- Red Hat Enterprise Linux
- Red Hat Subscription Management (RHSM)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.