Topic: CentOS 7 yum error on Remi repository

I have 8 Centos 7 systems with the Remi yum repository enabled. On 6 of them a "yum update" will work to completion without error. However on two of the systems a "yum update" errors out with this message:

Could not retrieve mirrorlist http://rpms.remirepo.net/enterprise/7/remi/mirror error was
14: curl#7 -"Failed to connect to 2001:bc8:33a1:100::1: Network is unreacheable"

Why is this error occurring and how do I fix it. The error started occurring mayb e 3 or 4 days ago.

Re: CentOS 7 yum error on Remi repository

look like a network connectivity issue on your side
perhaps related to IPV6

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 24 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.8 x86_64 + EPEL + remi + remi-php70

Re: CentOS 7 yum error on Remi repository

And everything seems ok (from home)

$ wget -4 http://rpms.remirepo.net/enterprise/7/remi/mirror
--2017-06-24 08:55:04--  http://rpms.remirepo.net/enterprise/7/remi/mirror
Résolution de rpms.remirepo.net (rpms.remirepo.net)… 195.154.241.117
Connexion à rpms.remirepo.net (rpms.remirepo.net)|195.154.241.117|:80… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 2216 (2,2K) [text/plain]
Sauvegarde en : « mirror »

mirror                                       100%[=============================================================================================>]   2,16K  --.-KB/s    in 0s      

2017-06-24 08:55:04 (658 MB/s) — « mirror » sauvegardé [2216/2216]

$ wget -6 http://rpms.remirepo.net/enterprise/7/remi/mirror
--2017-06-24 08:55:09--  http://rpms.remirepo.net/enterprise/7/remi/mirror
Résolution de rpms.remirepo.net (rpms.remirepo.net)… 2001:bc8:33a1:100::1
Connexion à rpms.remirepo.net (rpms.remirepo.net)|2001:bc8:33a1:100::1|:80… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 2216 (2,2K) [text/plain]
Sauvegarde en : « mirror.1 »

mirror.1                                     100%[=============================================================================================>]   2,16K  --.-KB/s    in 0s      

2017-06-24 08:55:09 (312 MB/s) — « mirror.1 » sauvegardé [2216/2216]
Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 24 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.8 x86_64 + EPEL + remi + remi-php70

Re: CentOS 7 yum error on Remi repository

could try ip_resolve=4 in yum.conf

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 24 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.8 x86_64 + EPEL + remi + remi-php70

Re: CentOS 7 yum error on Remi repository

Remi wrote:

look like a network connectivity issue on your side
perhaps related to IPV6

I finally figured it out. On the two machines with the issue, I blocked a large subnet of French hosts because of spam originating from a particular block of IPs. Apparently the collateral damage was to take out the Remi repository. I have since modified my firewall blocks and now everything is good again.

Thanks for your help.

Re: CentOS 7 yum error on Remi repository

smile

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 24 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.8 x86_64 + EPEL + remi + remi-php70