#11564 epel-release-latest-7.noarch.rpm sometimes returns 401 instead of the rpm
Closed: Fixed a year ago by kevin. Opened a year ago by nunofernandes.

Hello,

Since 2 weeks ago (22nd of Sep), I started to get errors when trying to download epel-release-latest-7.noarch.rpm returning Forbidden on one of the mirrors (38.145.60.24). If I get lucky in DNS, I connect to a mirror that is working but most of the times I’m not.
Here’s an example:

$ wget  https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
--2023-10-07 09:35:59--  https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Resolving dl.fedoraproject.org (dl.fedoraproject.org)... 38.145.60.22, 38.145.60.23, 38.145.60.24
Connecting to dl.fedoraproject.org (dl.fedoraproject.org)|38.145.60.22|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15608 (15K) [application/x-rpm]
Saving to: ‘epel-release-latest-7.noarch.rpm’
.....

Here’s one where it doesn’t work:

$ wget  https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
--2023-10-07 09:36:02--  https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Resolving dl.fedoraproject.org (dl.fedoraproject.org)... 38.145.60.24, 38.145.60.23, 38.145.60.22
Connecting to dl.fedoraproject.org (dl.fedoraproject.org)|38.145.60.24|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2023-10-07 09:36:02 ERROR 403: Forbidden.

Please let me know if I should request help somewhere else…
Thank you
Nuno Fernandes


I thought this might be related to a specific download server, but I was able to get 403 permission failed on dl01 and dl02 and then get success on the same servers.

timestamp of attempts was just before Sat Oct 7 15:03:50 UTC 2023

All 5 download servers that are dl.fedoraproject.org (dl01 -> dl05.fedoraproject.org) all use the same backend NFS partition. I have checked the permissions on the files on the Netapp and the file is listed as -rw-r--r-- so I am guessing the problem is with the apache servers on the dl servers somehow. A restart of all the httpd services may be needed ?

The problem seems to be that the new-updates-sync script is replacing the link every time it runs and thus sometimes it's being replaced and broken.

I am not sure what happened to cause that or if it's always done it.

See also: https://pagure.io/releng/issue/11713

CC: @fodbot

Metadata Update from @phsmoura:
- Issue assigned to kevin
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: medium-gain, medium-trouble, ops

a year ago

Hi Team,

Is there an expected release date for the merge request?

Kind Regards
Ben

Sorry for the delay here.

The PR has been merged, the fix has been pushed out.

Please re-open this, or let us know if anyone sees this issue after this comment.

Metadata Update from @kevin:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

a year ago

Log in to comment on this ticket.

Metadata
Boards 1
ops Status: Backlog