Page 1 of 1

yum commands not working - connection reset by peer

Posted: 2022/08/17 03:34:01
by dave94
New centos stream 9 distro created as a virtual machine on vmware ESXI 7.0.3 behind a cisco meraki mx80 firewall. Ports allowed are: 22,80,443,3478,4000-65535

no yum commands are working, see below for example

Code: Select all

[root@openvidumaster ~]# [root@openvidumaster ~]# yum update
CentOS Stream 9 - BaseOS                                                  0.0  B/s |   0  B     00:00
Errors during downloading metadata for repository 'baseos':
  - Curl error (35): SSL connect error for https://mirrors.centos.org/metalink?repo=centos-baseos-9-stream&arch=x86_64&protocol=https,http [OpenSSL SSL_connect: Connection reset by peer in connection to mirrors.centos.org:443 ]
Error: Failed to download metadata for repo 'baseos': Cannot prepare internal mirrorlist: Curl error (35): SSL connect error for https://mirrors.centos.org/metalink?repo=centos-baseos-9-stream&arch=x86_64&protocol=https,http [OpenSSL SSL_connect: Connection reset by peer in connection to mirrors.centos.org:443 ]

Re: yum commands not working - connection reset by peer

Posted: 2022/08/18 12:18:36
by TrevorH
I'd guess your Meraki is fiddling with the SSL connection.

Re: yum commands not working - connection reset by peer

Posted: 2023/05/26 00:17:40
by dave94
Found the issue -

Meraki by default has a content filtering mechanism that blocks shareware and freeware websites and mirrors.centos.org is classified as in this content category.

The options are to either add a whitelist exception to the allowlist or take off the shareware and freeware filter.