403 Forbidden Error with conda.software.inl.gov/public - Cloudflare Bot Protection Blocking Conda Access #31919
-
Check these boxes if you have followed the posting rules.
Issue or question about MOOSEI am unable to access the MOOSE conda channel at Is this a known/recent change? Has Cloudflare bot protection been recently enabled or strengthened on conda.software.inl.gov? Could the MOOSE/INL team please investigate the Cloudflare configuration for conda.software.inl.gov to allow legitimate conda client access? The current bot protection appears to be blocking all programmatic access, which breaks the conda package distribution system. Any guidance on workarounds or timeline for a fix would be greatly appreciated. Thank you for any assistance! more information, that might be useful below: Environment Details
Channel Configuration$ conda config --show channels
channels:
- https://conda.software.inl.gov/public
- conda-forgeSymptoms
$ conda env update --name moose --file conda_env_moose.yaml
Channels:
- conda-forge
- https://conda.software.inl.gov/public
Platform: linux-64
Collecting package metadata (repodata.json): ...working... failed
UnavailableInvalidChannel: HTTP 403 Forbidden for channel public <https://conda.software.inl.gov/public>
The channel is not accessible or is invalid.
You will need to adjust your conda configuration to proceed.
Use `conda config --show channels` to view your configuration's current state,
and use `conda config --show-sources` to view config file locations.
$ conda search moose --channel https://conda.software.inl.gov/public --override-channels
Loading channels: failed
UnavailableInvalidChannel: HTTP 403 Forbidden for channel public <https://conda.software.inl.gov/public>Root Cause AnalysisUsing curl to inspect the HTTP response headers reveals that Cloudflare is blocking the requests: $ curl -I https://conda.software.inl.gov/public/linux-64/repodata.json
HTTP/2 403
content-type: text/html; charset=UTF-8
cf-mitigated: challengeThe cf-mitigated: challenge header indicates that Cloudflare is presenting a JavaScript challenge page (the "Just a moment..." page), which conda/Python's requests library cannot solve because it requires JavaScript execution and cookie handling. Why Browser Works but Conda Doesn't: Additional TestingTesting with different user agents shows that all programmatic access is blocked, not just conda: # Using conda's user-agent
$ curl -H "User-Agent: conda/25.9.1 requests/2.32.5 CPython/3.12.7 Linux/4.18.0" \
https://conda.software.inl.gov/public/channeldata.json
<!DOCTYPE html><html lang="en-US"><head><title>Just a moment...</title>...
# Using browser user-agent - also blocked
$ curl -H "User-Agent: Mozilla/5.0" https://conda.software.inl.gov/public/channeldata.json
<!DOCTYPE html><html lang="en-US"><head><title>Just a moment...</title>...
# Python requests library - also blocked
$ python -c "import requests; r = requests.get('https://conda.software.inl.gov/public/channeldata.json'); print(r.status_code)"
403as additional infoSystem Configuration FilesMy conda_env_moose.yaml includes standard MOOSE packages: name: moose
channels:
- conda-forge
- https://conda.software.inl.gov/public
dependencies:
- moose-dev=2025.09.04=mpich
- moose-libmesh=2025.08.06=mpich_0
- moose-tools=2025.06.26=py313h831f05b_0
# ... [other dependencies]Attempted Workarounds (None Successful)✗ Verified channel URL is correct (/public suffix included) (Optional) code in question / simulation log / errorsNo response Encountering Errors? Please include diagnostic output |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 11 replies
-
|
Not only is updating failing, but the initial installation also fails in my case. The same error (403: invalid channel) occurs. |
Beta Was this translation helpful? Give feedback.
-
|
There is a potential workaround to avoid using the Conda-INL_channel, =if= you have an explicit package list saved However, you need to have this explicit list saved first. For example, on a working conda environment you could to create such a file, or the moose-developers decide to host such a comprehensive list (if applicable, what do you think @GiudGiud)? |
Beta Was this translation helpful? Give feedback.
-
|
We've setup the proper exclusions for conda.software.inl.gov. Workarounds should no longer be needed. |
Beta Was this translation helpful? Give feedback.
-
|
@loganharbour @GiudGiud I'm getting a 502 error for the channel: https://conda.software.inl.gov/public Logs when trying to setup the conda environment: (I have commented the same in another issue that seemed related: #28885) |
Beta Was this translation helpful? Give feedback.

We've setup the proper exclusions for conda.software.inl.gov. Workarounds should no longer be needed.