Topic: Difficulty using cdn.remirepo.net

We have some automated pipelines that installs remi's repo (via https://rpms.remirepo.net/enterprise/re … se-8.rpm), that works just fine. But when trying to install some packages, we get very often connection reset or refused when trying to reach cdn.remirepo.net, regardless of location (tried VMs in azure, aws, on-prem using 4 different ISP and routers). Looking into it, cdn.remirepo.net has 2 ip (I don't know if it will have different ones depending on geographical locoations). but, it's allways when using 176.31.103.194 that we get errors.

It's been doing this since the last couple of days.

Re: Difficulty using cdn.remirepo.net

WHat is your configuration ?

the cdn is only used to retrieve the mirrorlist
by design, you cannot use it to download packages

P.E. The provided configuration for remi-safe is

[remi-safe]
name=Safe Remi's RPM repository for Enterprise Linux 8 - $basearch
#baseurl=http://rpms.remirepo.net/enterprise/8/safe/$basearch/
#mirrorlist=https://rpms.remirepo.net/enterprise/8/safe/$basearch/httpsmirror
mirrorlist=http://cdn.remirepo.net/enterprise/8/safe/$basearch/mirror
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi.el8


P.S. cdn is only there to avoid failure when primary is down, there is only 2 servers there, so not suitable for massive download (the mirrorlist have >30 servers)

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Difficulty using cdn.remirepo.net

I do this on a freshly installed Rocky Linux docker image :

dnf -y --setopt=tsflags=nodocs install epel-release (remi-release url)
dnf module enable -y php:remi-8.0
dnf -y --setopt=tsflags=nodocs --setopt=install_weak_deps=false --enablerepo=remi install httpd php (...)

It then failes with :

Error: Error downloading packages:
  Curl error (56): Failure when receiving data from the peer for URL [Recv failure: Connection reset by peer]

Re: Difficulty using cdn.remirepo.net

Sorry not enough information.

For a proper installation / configuration
simply follow the wizard instructions
https://rpms.remirepo.net/wizard/

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Difficulty using cdn.remirepo.net

Seriously ? Looking at those instructions, it's exactly what I posted. I my first post, I also pointed out that it was 176.31.103.194 (one of the 2 ips of cdn.remirepo.net) that was giving connection refused or connection reset. A connection refused indicates that the tcp connection works, but the service that respond on that port isn't.

Anyway, now it seems to be working fine.