Wondering how to resolve Redhat error HTTPS Errno 404 Not Found? We can help you.
As part of our Server Management Services, we assist our customers with similar queries.
Today, let us see how our Support techs perform this.
How to resolve Redhat error HTTPS Errno 404 Not Found?
Typical error will look as shown below:
[Errno 14] HTTPS Error 404 - Not Found
Usually, this issue occurs when yum trying to download repomd.xml.asc file on RHEL client while running yum update.
Error from Satellite/Customer Portal Client:
https://satellite.example.com/pulp/repos/Org/Library/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml.asc: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
rhel-7-server-rpms/x86_64
https://satellite.example.com/pulp/repos/Org/Library/content/dist/rhel/server/7/7Server/x86_64/sat-tools/6.2/os/repodata/repomd.xml.asc: [Errno 14] HTTPS Error 404 - Not Found
Error from RHUI client:
https://cds.example.com/pulp/repos//rhui-client-config/rhel/server/7/x86_64/os/repodata/repomd.xml.asc: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
rhui-REGION-client-config-server-7
.
.
failure: repodata/repomd.xml.asc from rhui-REGION-client-config-server-7: [Errno 256] No more mirrors to try.
https://cds.example.com/pulp/repos//rhui-client-config/rhel/server/7/x86_64/os/repodata/repomd.xml.asc: [Errno 14] HTTPS Error 404 - Not Found
https://cds.example.com/pulp/repos//rhui-client-config/rhel/server/7/x86_64/os/repodat/repomd.xml.asc: [Errno 14] HTTPS Error 404 - Not Found
Today, let us see the root cause and resolution provided by our Support Techs.
- Currently Red Hat products (Customer Portal, Red Hat Satellite, RHUI, etc) does not support repo gpgcheck option yet.
- yum was trying to download repomd.xml.asc and repo_gpgcheck was set as 1.
- As yum was unable to locate repomd.xml.asc on the server due to GPG armor disabled, it was failing.
- On RHEL 7.4, the stig-rhel7-disa profile will add “repo_gpgcheck=1” to /etc/yum.conf.
1. As GPG armor is not enabled on server side, so ensure repo_gpgcheck is set to 0 in yum.conf file for RHEL clients.
NOTE : repo_gpgcheck either 1 or 0 tells yum whether or not it should perform a GPG signature check on the repodata.
When this is set in the [main] section, it sets the default for all repositories. The default is 0.
2. Then, run yum update to confirm.
Alternately you can create your own local repository with a custom repo_gpgkey based on the How to create a repo gpgkey for a local repository article.
[Stuck in between? We’d be glad to assist you]
Conclusion
In short, today we saw steps followed by our Support Techs to resolve Redhat error HTTPS Errno 404 Not Found.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
0 Comments