Is it possible to ignore/skip the file .treeinfo at the top of a remote YUM repository?

Problem:
We have an external repository, which is extremely (hmm, too extremely) strict with their HTTP permissions. You cannot browse it nor can you access the .treeinfo file. You can, however, access the respond.xml file which lists all the packages in it (and you can download them).

Unfortunately, when pulling the repository it stops with this error:
Katello::Errors::Pulp3Error: 403, message='Forbidden', url=URL('http://repo.somewhere.net/yum/abc-1.0/el7-x86_64/.treeinfo')

We used Spacewalk before and it was able to replicate the repo. Is there any setting I can make to allow pulp to mirror such a repository?

Expected outcome:
Pulp should be able to continue and go for the /repodata/repomd.xml file.

Foreman and Proxy versions:
Foreman 2.2.1, Katello 3.17

Foreman and Proxy plugin versions:

Distribution and version:
CentOS 7.9

Other relevant data:

Hey @rbremer,

Sorry to hear about the trouble, what content type is the repository?

-John

I see it’s yum now :slight_smile: @Justin_Sherrill have you seen anything like this with pulp3?

Indeed, yum. I can give you the real URL as a PM, if you need it.