Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rate limit exceeded when building the documentation in CI #919

Open
pfultz2 opened this issue Aug 15, 2024 · 2 comments
Open

Rate limit exceeded when building the documentation in CI #919

pfultz2 opened this issue Aug 15, 2024 · 2 comments

Comments

@pfultz2
Copy link

pfultz2 commented Aug 15, 2024

Our CI for migraphx fails when building the documentation, from a timeout error. It looks like its trying to fetch things from the internet and then we it a rate limit that then never finishes causing the job to timeout. This is the output from the logs:

Remote mappings will be fetched from ROCm/rocm-docs-core branch=develop
Request GET /repos/ROCm/rocm-docs-core failed with 403: rate limit exceeded
Setting next backoff to 2500.125815s
Request GET /repos/ROCm/rocm-docs-core failed with 403: rate limit exceeded
Setting next backoff to 938.828504s
Request GET /repos/ROCm/rocm-docs-core failed with 403: rate limit exceeded
Setting next backoff to 1446.826964s
Request GET /repos/ROCm/rocm-docs-core failed with 403: rate limit exceeded
Setting next backoff to 2272.82957s

Is there way to either disable it downloading from the internet? Or fallback on something when it hits a 403 or 404?

It seems like documentation should be able to be built completely offline without needing an internet connection.

@samjwu
Copy link
Member

samjwu commented Sep 6, 2024

Yes, overwriting the external_projects_remote_repository in the conf.py will disable fetching the projects.yaml, which is what tells intersphinx where to download inventory files

external_projects_remote_repository = ""

@samjwu
Copy link
Member

samjwu commented Sep 6, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants