Cent os 8 Status code: 403

Issues related to applications and software problems and general support
Post Reply
gromazeka81
Posts: 1
Joined: 2020/09/21 06:11:12

Cent os 8 Status code: 403

Post by gromazeka81 » 2020/09/21 06:18:07

Hello !
I have a problem, when I try to get updates, I get errors:
# dnf update
CentOS-8 - AppStream 11 kB/s | 3.7 kB 00:00
Errors during downloading metadata for repository 'AppStream':
- Status code: 403 for http://mirrorlist.centos.org/?release=8 ... nfra=stock (IP: 192.168.1.40)
Error: Failed to download metadata for repo 'AppStream': Cannot prepare internal mirrorlist: Status code: 403 for http://mirrorlist.centos.org/?release=8 ... nfra=stock (IP: 192.168.1.40)

# yum -y install httpd
CentOS-8 - AppStream 32 kB/s | 3.7 kB 00:00
Errors during downloading metadata for repository 'AppStream':
- Status code: 403 for http://mirrorlist.centos.org/?release=8 ... nfra=stock (IP: 192.168.1.40)
Error: Failed to download metadata for repo 'AppStream': Cannot prepare internal mirrorlist: Status code: 403 for http://mirrorlist.centos.org/?release=8 ... nfra=stock (IP: 192.168.1.40)


/etc/yum.conf
[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=True
best=True
proxy=http://192.168.1.40:6588


«metadata_timer_sync=3600»

I can't understand what the problem is, the proxy is registered in the config, Help please

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Cent os 8 Status code: 403

Post by TrevorH » 2020/09/21 11:55:57

Your proxy id rejecting your attempts to get outside. Perhaps you need to provide it login details.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Rodd828
Posts: 2
Joined: 2021/01/06 14:38:38

Re: Cent os 8 Status code: 403

Post by Rodd828 » 2021/01/06 14:42:53

Hello! could you solve it?
I have the same problem..
Attachments
erroryum.jpg
erroryum.jpg (188.42 KiB) Viewed 3914 times

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Cent os 8 Status code: 403

Post by TrevorH » 2021/01/07 10:33:56

The 403 is coming from an ip address 172.16.1.107 which is an RFC1918 private ip address and is thus inside your own organisation. It is presumably some sort of web proxy and you will probably need to authenticate with it to be able to get access outside. Talk to your network admins if you do not understand why this is happening. It is an internal issue that only your organisation can solve.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply