readthedocs / readthedocs.org

The source code that powers readthedocs.org
https://readthedocs.org/
MIT License
8.05k stars 3.59k forks source link

403 when pulling additional files from github via "rawusercontent" URL #11769

Closed AKuederle closed 5 hours ago

AKuederle commented 6 hours ago

Details

My build downloads some additional files from a secondary github repo using raw.githubusercontent.com URLs. For example in the build above the file https://raw.githubusercontent.com/mobilise-d/mobgap_validation/main/results_file_registry.txt. This is done using the Python requests library (acutally I am using pooch which uses requests under the hood).

This worked fine when I first tested it, but at some point I was getting 403s (Last build that succeeded: https://app.readthedocs.org/projects/mobgap/builds/26255329/). I assumed that I might have hit some type of rate limit, but even after waiting for 24h+ the error remains.

Running the build locally and in the Github CI works, so it seems to be specific to the RTD infrastructure.

humitos commented 5 hours ago

Duplicate of #11763. Please subscribe there or add more details.