# Plugin troubleshooting

> Index of the TerraLab docs for agents: [llms.txt](https://terra-lab.ai/docs/llms.txt). Every docs page is also served as markdown: add .md to its URL.

The fixes below cover AI Agent, AI Segmentation and AI Edit. Find the message the plugin shows, then follow its fix. If nothing here helps, use **Report a problem** or **Send feedback** in the plugin and write to [support](https://terra-lab.ai/docs/support).

## Connection

| Message | What to do |
| --- | --- |
| Cannot reach the server | Check your internet connection. On a company network, ask your IT team to allow `terra-lab.ai` and its subdomains. |
| Request timed out | Try again. On a slow network, raise the timeout in QGIS **Settings**, **Options**, **Network**. |
| Proxy connection failed, or a proxy password is asked | Set the proxy, with its user and password, in QGIS **Settings**, **Options**, **Network**, then restart QGIS. |
| SSL certificate error, or "Your network inspects secure connections" | Your network re-signs secure connections. Ask your IT team to add its certificate to QGIS (**Settings**, **Options**, **Authentication**), or to exclude `terra-lab.ai` from inspection. |
| The reply did not come from the service | A hotel or guest network shows a sign-in page first. Open any website in your browser, accept it, then try again. |
| The service is temporarily unavailable, busy or waking up | Our side is restarting or busy. Wait a minute and try again; nothing is counted. |

## Sign-in

| Problem | What to do |
| --- | --- |
| The browser does not open | QGIS copies the sign-in address: paste it in your browser. |
| The browser says signed in but QGIS keeps waiting | Type the code your browser shows (6 characters, like `K7P-4QX`) in the plugin. |
| This sign-in code has expired, or too many wrong codes | Click **Cancel**, then **Sign in** again to get a new code. |
| Session expired, or Authentication failed | Click **Sign in** again. Your plan and history are kept. |
| Your plan is no longer active | Restart the plan from [Dashboard, Settings](https://terra-lab.ai/dashboard/settings), or keep using the free plan. |
| Your plan is already running on its maximum number of computers | Sign out of the plugin on a computer you no longer use, or write to [support](https://terra-lab.ai/docs/support). |

One account signs in to all three plugins. To use another account, sign out from the plugin settings first.

## Usage limits

When a monthly allowance is used up, the plugin says so and shows the date it renews. Nothing is billed beyond it.

| Plugin | Message | Options |
| --- | --- | --- |
| AI Agent | You used your last task | Wait for the reset date, or move to Pro |
| AI Segmentation | You used your Automatic allowance for this month | Semi-Auto on your computer keeps working, free; or move to Pro |
| AI Segmentation | You saved your cloud objects for this month | Switch Semi-Auto to **My computer**, or move to Pro |
| AI Edit | Monthly limit reached | Wait for the reset date, or move to Pro |

A message saying the free plan was already used by other accounts on this computer means the free allowance of that computer is taken. Sign in with the account you used first, or move to Pro. Plans: [Account, plans and billing](https://terra-lab.ai/docs/plugins/account).

## Install and Windows errors

- **`DLL load failed`, "A required DLL failed to initialize" or "Missing Visual C++ Redistributable"**: install the latest Microsoft Visual C++ Redistributable (x64), restart the computer, then click **Retry** in the plugin. More in [DLL load failed while importing _C](https://terra-lab.ai/blog/dll-load-failed-while-importing-c-qgis).
- **An antivirus or IT policy blocks the install**: the plugin lists the folder to allow. Ask your IT team to allow it, then click **Retry**.
- **The install folder is in OneDrive or Dropbox, or the path is too long**: move it with the `AI_SEGMENTATION_CACHE_DIR` environment variable to a local folder with a short path, such as `C:\terralab`.
- **Out of disk space**: Semi-Auto on My computer needs about 5 GB free. Free space, or move the folder with `AI_SEGMENTATION_CACHE_DIR`.
- **Package versions conflict**, or the install stops halfway: click **Install** again to repair it. The plugin's environment is separate from QGIS, so this never changes your QGIS.

Only Semi-Auto on My computer installs anything. AI Agent, AI Edit and the cloud modes of AI Segmentation need no install beyond the plugin.

## Linux and macOS

- **QGIS from Flatpak or Snap**: local Semi-Auto is not available there; use Cloud AI. If a plugin reports `No module named pip`, see [QGIS Flatpak: No module named pip](https://terra-lab.ai/blog/qgis-flatpak-no-module-named-pip).
- **Intel Mac with QGIS 4**: local Semi-Auto is not available; use Cloud AI.

## Something else

- Update the plugin: QGIS lists updates under **Plugins**, **Manage and Install Plugins**, **Upgradeable**. Many fixes ship there first.
- Restart QGIS after an update or an install.
- Write to [support](https://terra-lab.ai/docs/support) with the plugin name and version, your QGIS version and system, the message you saw and the time it happened. **Report a problem** in AI Segmentation and **Send feedback** in AI Agent attach the logs for you.

Source: https://terra-lab.ai/docs/plugins/troubleshooting · Updated 2026-11-23
