Failed connect to mirrorlist.nethserver.org:80; Connection refused

NethServer Version: 7.9

Since yesterday, I cannot update my server(s) with one of my GWs.

[root@srv1 ~]# curl ifconfig.io
curl: (7) Failed to connect to 2a06:98c1:3121::17: Network is unreachable

Am I banned or what is the reason? The 2nd GW (82.218.xxx.xxx) works just fine…

[root@srv1 ~]# yum --enablerepo=* clean all && yum update -y && scl enable rh-php56 -- fwconsole ma updateall
Loaded plugins: changelog, fastestmirror, nethserver_events
Cleaning repos: C7.0.1406-base C7.0.1406-centosplus C7.0.1406-extras C7.0.1406-fasttrack C7.0.1406-updates C7.1.1503-base C7.1.1503-centosplus C7.1.1503-extras C7.1.1503-fasttrack
              : C7.1.1503-updates C7.2.1511-base C7.2.1511-centosplus C7.2.1511-extras C7.2.1511-fasttrack C7.2.1511-updates C7.3.1611-base C7.3.1611-centosplus C7.3.1611-extras
              : C7.3.1611-fasttrack C7.3.1611-updates C7.4.1708-base C7.4.1708-centosplus C7.4.1708-extras C7.4.1708-fasttrack C7.4.1708-updates C7.5.1804-base C7.5.1804-centosplus
              : C7.5.1804-extras C7.5.1804-fasttrack C7.5.1804-updates C7.6.1810-base C7.6.1810-centosplus C7.6.1810-extras C7.6.1810-fasttrack C7.6.1810-updates C7.7.1908-base
              : C7.7.1908-centosplus C7.7.1908-extras C7.7.1908-fasttrack C7.7.1908-updates C7.8.2003-base C7.8.2003-centosplus C7.8.2003-extras C7.8.2003-fasttrack C7.8.2003-updates base
              : base-debuginfo base-source c7-media ce-base ce-extras ce-sclo-rh ce-sclo-sclo ce-updates centos-kernel centos-kernel-experimental centos-sclo-rh centos-sclo-rh-debuginfo
              : centos-sclo-rh-source centos-sclo-rh-testing centos-sclo-sclo centos-sclo-sclo-debuginfo centos-sclo-sclo-source centos-sclo-sclo-testing centosplus centosplus-source cr epel
              : epel-debuginfo epel-source epel-testing epel-testing-debuginfo epel-testing-source extras extras-source fasttrack mrmarkuz nethforge nethforge-testing nethserver-base
              : nethserver-testing nethserver-updates sb-base sb-centos-sclo-rh sb-centos-sclo-sclo sb-epel sb-extras sb-nethserver-base sb-nethserver-updates sb-updates stephdl
              : stephdl-dolibarr stephdl-roundcubemail updates updates-source zabbix zabbix-debuginfo zabbix-frontend zabbix-non-supported
Cleaning up list of fastest mirrors
Loaded plugins: changelog, fastestmirror, nethserver_events
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.nethserver.org/?release=7&repo=ce-base&arch=x86_64&nsrelease=7.9.2009 error was
14: curl#7 - "Failed connect to mirrorlist.nethserver.org:80; Connection refused"


 One of the configured repositories failed (Unknown),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=<repoid> ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable <repoid>
        or
            subscription-manager repos --disable=<repoid>

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

Cannot find a valid baseurl for repo: ce-base/7/x86_64

blocked by cloudflare, I believe
check if your server’s IP is blacklisted.

maybe same problem as above, anyway you can try if forcing IPv4 makes any difference:

yum update --setopt=ip_resolve=4

FWIW, mirrorlist.nethserver.org works correctly here.

No, same result/error…

Yes, I can confirm that. - This is not a Nethserver Problem! -

I directly conected a test(neth)server and it worked on the GW.

1 Like

Expired subscription installations have issues updating. But as far as i can see, your installation should not be a subscription-enabled one.

In this topic repository list review for find issues. Hope it can help you diagnose your current hiccup.

OK, I think I got it. I use IPFire to cache updates:

After reconfiguring the proxy everything works now:

[root@srv1 ~]# yum --enablerepo=* clean all && yum update -y && scl enable rh-php56 -- fwconsole ma updateall
Loaded plugins: changelog, fastestmirror, nethserver_events
Cleaning repos: C7.0.1406-base C7.0.1406-centosplus C7.0.1406-extras C7.0.1406-fasttrack C7.0.1406-updates C7.1.1503-base C7.1.1503-centosplus C7.1.1503-extras C7.1.1503-fasttrack
              : C7.1.1503-updates C7.2.1511-base C7.2.1511-centosplus C7.2.1511-extras C7.2.1511-fasttrack C7.2.1511-updates C7.3.1611-base C7.3.1611-centosplus C7.3.1611-extras
              : C7.3.1611-fasttrack C7.3.1611-updates C7.4.1708-base C7.4.1708-centosplus C7.4.1708-extras C7.4.1708-fasttrack C7.4.1708-updates C7.5.1804-base C7.5.1804-centosplus
              : C7.5.1804-extras C7.5.1804-fasttrack C7.5.1804-updates C7.6.1810-base C7.6.1810-centosplus C7.6.1810-extras C7.6.1810-fasttrack C7.6.1810-updates C7.7.1908-base
              : C7.7.1908-centosplus C7.7.1908-extras C7.7.1908-fasttrack C7.7.1908-updates C7.8.2003-base C7.8.2003-centosplus C7.8.2003-extras C7.8.2003-fasttrack C7.8.2003-updates base
              : base-debuginfo base-source c7-media ce-base ce-extras ce-sclo-rh ce-sclo-sclo ce-updates centos-kernel centos-kernel-experimental centos-sclo-rh centos-sclo-rh-debuginfo
              : centos-sclo-rh-source centos-sclo-rh-testing centos-sclo-sclo centos-sclo-sclo-debuginfo centos-sclo-sclo-source centos-sclo-sclo-testing centosplus centosplus-source cr epel
              : epel-debuginfo epel-source epel-testing epel-testing-debuginfo epel-testing-source extras extras-source fasttrack mrmarkuz nethforge nethforge-testing nethserver-base
              : nethserver-testing nethserver-updates sb-base sb-centos-sclo-rh sb-centos-sclo-sclo sb-epel sb-extras sb-nethserver-base sb-nethserver-updates sb-updates stephdl
              : stephdl-dolibarr stephdl-roundcubemail updates updates-source zabbix zabbix-debuginfo zabbix-frontend zabbix-non-supported
Cleaning up list of fastest mirrors
Loaded plugins: changelog, fastestmirror, nethserver_events
Determining fastest mirrors
epel/x86_64/metalink                                                                                                                                                   |  30 kB  00:00:00
 * ce-base: centos.mirror.garr.it
 * ce-extras: centos.mirror.garr.it
 * ce-sclo-rh: centos.mirror.garr.it
 * ce-sclo-sclo: centos.mirror.garr.it
 * ce-updates: centos.mirror.garr.it
 * epel: mirrors.colocall.net
 * nethforge: nethserver.de-labrusse.fr
 * nethserver-base: nethserver.de-labrusse.fr
 * nethserver-updates: nethserver.de-labrusse.fr
 * stephdl: stephdl.havak.nl
ce-base/7/x86_64/signature                                                                                                                                             |  811 B  00:00:00
ce-base/7/x86_64/signature                                                                                                                                             | 3.6 kB  00:00:00 !!!
ce-extras/7/x86_64/signature                                                                                                                                           |  811 B  00:00:00
ce-extras/7/x86_64/signature                                                                                                                                           | 2.9 kB  00:00:00 !!!
ce-sclo-rh                                                                                                                                                             | 3.0 kB  00:00:00
ce-sclo-sclo                                                                                                                                                           | 3.0 kB  00:00:00
ce-updates/7/x86_64/signature                                                                                                                                          |  811 B  00:00:00
ce-updates/7/x86_64/signature                                                                                                                                          | 2.9 kB  00:00:00 !!!
epel                                                                                                                                                                   | 4.7 kB  00:00:00
mrmarkuz/7/signature                                                                                                                                                   |  490 B  00:00:00
mrmarkuz/7/signature                                                                                                                                                   | 2.9 kB  00:00:00 !!!
nethforge/7/x86_64/signature                                                                                                                                           |  836 B  00:00:00
nethforge/7/x86_64/signature                                                                                                                                           | 3.6 kB  00:00:00 !!!
nethserver-base/7/x86_64/signature                                                                                                                                     |  836 B  00:00:00
nethserver-base/7/x86_64/signature                                                                                                                                     | 2.9 kB  00:00:00 !!!
nethserver-updates/7/x86_64/signature                                                                                                                                  |  836 B  00:00:00
nethserver-updates/7/x86_64/signature                                                                                                                                  | 3.6 kB  00:00:00 !!!
stephdl                                                                                                                                                                | 2.9 kB  00:00:00
zabbix                                                                                                                                                                 | 2.9 kB  00:00:00
(1/17): ce-base/7/x86_64/group_gz                                                                                                                                      | 153 kB  00:00:00
(2/17): ce-sclo-sclo/7/x86_64/primary_db                                                                                                                               | 300 kB  00:00:00
(3/17): ce-extras/7/x86_64/primary_db                                                                                                                                  | 247 kB  00:00:00
(4/17): epel/x86_64/group_gz                                                                                                                                           |  96 kB  00:00:00
(5/17): ce-sclo-rh/7/x86_64/primary_db                                                                                                                                 | 3.3 MB  00:00:01
(6/17): ce-base/7/x86_64/primary_db                                                                                                                                    | 6.1 MB  00:00:01
(7/17): epel/x86_64/updateinfo                                                                                                                                         | 1.0 MB  00:00:01
(8/17): mrmarkuz/7/primary_db                                                                                                                                          |  50 kB  00:00:00
(9/17): nethforge/7/x86_64/primary_db                                                                                                                                  | 131 kB  00:00:00
(10/17): nethforge/7/x86_64/group_gz                                                                                                                                   | 3.0 kB  00:00:00
(11/17): nethserver-updates/7/x86_64/primary_db                                                                                                                        | 871 kB  00:00:00
(12/17): epel/x86_64/primary_db                                                                                                                                        | 7.0 MB  00:00:01
(13/17): zabbix/x86_64/primary_db                                                                                                                                      | 158 kB  00:00:00
(14/17): nethserver-updates/7/x86_64/group_gz                                                                                                                          |  24 kB  00:00:00
(15/17): nethserver-base/7/x86_64/primary_db                                                                                                                           | 378 kB  00:00:00
(16/17): ce-updates/7/x86_64/primary_db                                                                                                                                |  16 MB  00:00:02
(17/17): stephdl/primary_db                                                                                                                                            | 169 kB  00:00:00
No packages marked for update
Unable to open /etc/scl/conf/rh-php56!
[root@srv1 ~]#

Thank you for you help!

I didn’t see that coming… Ipfire in front of NS! :slight_smile: Some of that distro features are great… but still lacking so many necessories for current days.

Thats the reason for me to use IPFire and OPNsense together…