Cent os 8 Status code: 403
Posted: 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
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