Yum error was 14: HTTPS Error 302 - Found

Issues related to applications and software problems
Post Reply
lmontanes
Posts: 1
Joined: 2018/03/07 12:03:56

Yum error was 14: HTTPS Error 302 - Found

Post by lmontanes » 2018/03/07 12:12:30

Hello,

I've just intalled CentOS server in a VM. When I go to install any software using yum I have this error:

Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7 ... nfra=stock error was
14: HTTPS Error 302 - Found

I've checked the firewall rules and they seem to be fine, but no traffic is detected when using yum. If I ping the server mirrorlist.centos.org, I can reach it and the traffic is detected in the firewall.

Could you please help me with this issue?

Thanks in advance.

Luis.

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Yum error was 14: HTTPS Error 302 - Found

Post by avij » 2018/03/07 12:20:02

Your firewall or proxy is redirecting you to somewhere else than mirrorlist.centos.org. 302 is the redirect code, and https is something that is not used by CentOS mirrors.

See what happens with curl -v 'http://mirrorlist.centos.org/?release=7 ... nfra=stock'

The output from the above command may give you some hints for determining where the problem is.

If you are using a proxy, you should configure it in /etc/yum.conf

Post Reply