#12949 distgit API and extras requests are blocked by Anubis
Closed: Fixed by kevin. Opened by gotmax23.

Describe what you would like us to do:


Scripted requests to the Pagure API and the extras data (static JSON files located under https://src.fedoraproject.org/extras/) on https://src.fedoraproject.org from my tool goorphans (used for parts of the orphaned packages process and for things like https://pagure.io/fesco/issue/3475) are being blocked by anubis. Can these rules be bypassed for the endpoints that are meant for legitimate programmatic usage?

When do you need this to be done by? (YYYY/MM/DD)


As soon as possible.


It seems setting Accept: application/json fixes the Pagure API, but the extras files are still inaccessible. This seems to have broken some time within the past two weeks.

Meanwhile, setting Accept: application/json on requests to the extras data causes an HTTP 501.

501 is very odd. I see it in the httpd logs, but nothing in errors or anything in anubis. ;(

In any case, I guess a manual exception for the extras is still needed?

501 is very odd. I see it in the httpd logs, but nothing in errors or anything in anubis. ;(

Indeed. Thanks for taking a look!

Metadata Update from @zlopez:
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: anubis, high-gain, medium-trouble

Metadata Update from @kevin:
- Issue assigned to kevin

ok. I have just allowlisted it for now.

Can you check and make sure it's working?

Please re-open if you still see any issues.

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

Thank you! It seems to work now.

Metadata