Skip to main content

Install on locked-down computers and networks

Work and university computers are often managed. A rule about where programs may run, or a network that inspects secure traffic, can stop the first-time setup.

Planning a rollout? Start with the addresses below. Setup already failed? Pick the error you see.

Which addresses setup needs

Setup downloads from these. They need to be reachable, and not inspected.

AddressWhat it is used forIf it is blocked
micro.mamba.pmthe program that builds the analysis environmentsetup cannot start
conda.anaconda.orgthe packages that environment is built fromsetup fails
pypi.org and files.pythonhosted.orgmore packagessetup fails
download.pytorch.orgthe parts that use your graphics cardsetup fails
huggingface.co and *.hf.cothe AI models themselvesno model can be downloaded
raw.githubusercontent.comthe list of available modelsonly the models that shipped with your version are listed

The model files are large, so they are served from *.hf.co and not from huggingface.co itself. Allowing only the second one is not enough.

After setup, analysis runs offline. AddaxAI still checks the model list and looks for a new version at start, and both fail quietly.

Problems

The app is blocked by group policy"This program is blocked by group policy". Needs AddaxAI 7.0.9 or newer.#

Some organizations only allow programs to run from certain folders. Setup then fails with an error like "This program is blocked by group policy".

You need AddaxAI 7.0.9 or newer.

Why it fails

The app installs where you pick. The AI runs from a separate data folder, by default C:\Users\<your user name>\AddaxAI (macOS and Linux: ~/AddaxAI). That folder holds your database, the models, and the software they run in. When the policy blocks programs in user folders, that folder is what fails, even though the app opens fine.

The fix

Easiest: ask IT to allow programs under that folder. If they cannot, move both.

  1. Install the app in an allowed folder. The installer lets you pick. For a script, see silent install.
  2. Set ADDAXAI_USER_DATA_DIR to a path in an allowed location, for example C:\Apps\AddaxAI-data. See environment variables for how to set it. On Windows, set it machine wide so it applies to every user.

Things to know

  • The folder must be writable by the user who runs the app. If it is not, startup shows an error naming the folder.
  • The variable moves nothing. You start with an empty database, and setup downloads the models again. To keep earlier work, close the app and move the old folder's contents across first.
Access denied at the last step of setup"[WinError 5] Access denied" while the finished environment is moved into place. Windows only.#

Setup runs for a long while, reaches "Finalizing environment", and then fails:

Failed to create environment env-addaxai-base: [WinError 5] Access denied:
'C:\Users\<your user name>\AddaxAI\envs\.env-addaxai-base.tmp' ->
'C:\Users\<your user name>\AddaxAI\envs\env-addaxai-base'

Windows only. The "Access denied" part shows in the language of your Windows, for example "Accès refusé".

Why it fails

The environment is built in a temporary folder and moved into place once it is complete. Windows refuses that move while another program holds any file inside it open. Right after setup writes thousands of fresh files, that is usually the antivirus still scanning them. Installing as administrator makes no difference: this is a lock, not a missing permission.

The fix

Press Try again first. The lock is often gone by the time the build finishes again. If it keeps failing at the same point, ask IT to add an antivirus exclusion for the AddaxAI data folder, by default C:\Users\<your user name>\AddaxAI, and press Try again once more.

Things to know

  • AddaxAI 7.2.1 and newer retry the move for about 30 seconds before reporting this error. If you still see it there, the lock is holding on longer than a routine scan, and the exclusion is the way out.
  • The unfinished folder is removed after the error, so Try again rebuilds the environment from the start.
Certificate errors during setupCRYPT_E_NO_REVOCATION_CHECK (0x80092012). Windows only. Needs AddaxAI 7.0.12 or newer.#

Setup stops while it downloads the analysis environment:

schannel: next InitializeSecurityContext failed: CRYPT_E_NO_REVOCATION_CHECK
(0x80092012) - The revocation function was unable to check revocation for the
certificate.

You may also see CRYPT_E_REVOCATION_OFFLINE (0x80092013). Same cause, same fix. Windows only.

You need AddaxAI 7.0.12 or newer.

Why it fails

Windows checks whether a certificate has been withdrawn since it was issued. A network that inspects secure traffic re-signs every connection with its own certificate. Those carry no address to check against, so Windows gives up and stops the download.

This is not your computer, and turning off your antivirus does not help. The inspection happens on a network device.

Best fix: ask IT

Ask them to exempt the addresses under which addresses setup needs from traffic inspection. Allowing the withdrawal lists through the firewall does not help, because the replacement certificates name no list to reach.

If that is not possible

Setup offers a button, Continue without revocation checks, under the error next to Try again.

The setup screen showing the error and the Continue without revocation checks button
  • It stops one check: whether the download servers' certificates have been withdrawn.
  • Still checked: who issued them, that they match the address, and that they have not expired.
  • Nothing outside the environment download changes.

Your choice is remembered, so later downloads do not ask again.

How to undo it

AddaxAI writes the choice to one file:

C:\Users\<your user name>\AddaxAI\.allow-no-revocation-check

The file explains itself. Delete it and the check comes back.

Administrators can set this per machine instead, with MAMBA_SSL_NO_REVOKE set to true. Use true, not 1. A silent install shows no screen, so set it before you deploy.

We can only download through our own mirrorArtifactory, Nexus or another repository manager instead of the public addresses.#

Some organizations do not open the firewall, but do run their own copy of the public repositories. AddaxAI can be pointed at those. Set the ones you need, see environment variables.

WhatSettingExample value
AI modelsADDAXAI_HF_ENDPOINThttps://artifactory.example.com/artifactory/api/huggingfaceml/hf-remote
Model listADDAXAI_MODEL_CATALOG_URLyour own copy of models.json
pip packagesPIP_INDEX_URL, or a pip.conf / pip.iniyour PyPI mirror
PyTorchADDAXAI_PYTORCH_INDEX_URLyour copy of https://download.pytorch.org/whl
conda packagesMAMBA_CHANNEL_ALIASyour conda-forge mirror

Two things have no mirror setting. micro.mamba.pm is fetched from a fixed address, and the model files that huggingface.co redirects to have to come through the same endpoint you set. If neither can be reached, use the section below instead.

Before you deploy it

Repository managers differ in how much of the HuggingFace interface they answer. Two requests decide it, so check them from a managed computer first:

curl -i "<your endpoint>/api/models/Addax-Data-Science/MD5A-0-0/tree/main?recursive=true"
curl -L -o test.pt "<your endpoint>/Addax-Data-Science/MD5A-0-0/resolve/main/md_v5a.0.0.pt"

The first must answer with a list of files, the second with a 280 MB file. If both work, AddaxAI works. If either does not, email me with what came back.

If the endpoint needs a login

Set ADDAXAI_HF_TOKEN to the token. Needs AddaxAI 7.0.14 or newer. It is sent to whatever address ADDAXAI_HF_ENDPOINT points at, and to nothing else.

Only the models are blockedEverything downloads except Hugging Face. Copy the models from one prepared computer.#

If the other addresses are reachable and only huggingface.co and *.hf.co are blocked, you do not need to copy the whole data folder. Copy only the models.

  1. Set ADDAXAI_USER_DATA_DIR on every machine, see environment variables.
  2. On one computer that can reach the models, or one that uses your own mirror, install AddaxAI and download the models you need.
  3. Copy its models folder into the data folder on the other machines, for example from a network share.
  4. Set ADDAXAI_DISABLE_MODEL_UPDATES to true on the other machines.

The environment still downloads on each machine at first launch. New models and model fixes only arrive when you copy the folder again.

We cannot download anything at allPrepare one computer, then copy the result to the rest.#

Set up one computer that does have access, then copy what it produced onto the others. Nothing on those computers needs to reach the internet.

  1. Pick a folder that exists on every machine, for example C:\Apps\AddaxAI-data, and set ADDAXAI_USER_DATA_DIR to it everywhere. See environment variables. The folder has to be the same path on every machine.
  2. On the prepared computer, install AddaxAI and run the setup, or run it from a script as described under pre-install the models and environments.
  3. Delete addaxai.db and the backups folder from that folder, or every machine starts with the first one's projects.
  4. Copy the folder to the other machines, along with the app itself.
  5. Set ADDAXAI_DISABLE_MODEL_UPDATES to true so AddaxAI stops looking for a newer model list at start.

Repeat this whenever you deploy a new version of AddaxAI.

Blocked in a different way?

This page covers the cases I have seen so far. If AddaxAI is blocked differently on your machines, email peter@addaxdatascience.com with a diagnostic report. Say which security software or proxy you use, if you know it. I will help you through it and add your case to this page.