Troubleshooting
Check the status bar first
The main FossID status bar item shows the overall state:
| Status bar | Meaning | Click to |
|---|---|---|
| FossID: Not configured | You aren't signed in yet. | Open the sign-in window. |
| FossID (check mark) | Signed in and working. | Open the FossID side bar. |
| FossID: Scanning | Scan Workspace is running. Hover to see the current step. | Open the FossID side bar. |
| FossID: Scanner unavailable | The scanner is missing from the extension, so nothing is scanned. Shown instead of Sign-in failed or Offline. See Scanning stopped working entirely. | Reload the window. |
| FossID: Sign-in failed | The server rejected your sign-in. | Open the sign-in window. |
| FossID: Offline | The server can't be reached, or is temporarily busy. | Check the server and sign-in. |
A second item shows the result of the most recent file scan (FossID: clean, FossID: N finding(s), FossID: scan failed). Click it to rescan the current file.
When the server can't be reached, FossID still shows the licenses that it finds in the file itself, in the Problems panel, if your policy prohibits them or marks them for review, or if they are modified. If there are none, or all of them are ignored, this item says FossID: scan failed, not FossID: clean. FossID scans the file again the next time you open or save it.
Connection problems
Run FossID: Test Connection to check your connection at any time. It reports FossID: Connected to <server>. or explains the problem.
When a problem occurs during scanning, FossID tells you once, not once per file. If your sign-in was rejected, FossID first tries to renew it silently and only tells you if that fails.
| Message | What to do |
|---|---|
Your FossID sign-in was rejected by <server> — it may have expired, or your account may not have access. Sign in again. | Select Sign In and sign in again. If it keeps happening, ask your administrator to check your access. |
Your FossID credential was accepted by <server>, but it isn't authorized for this operation — a capability or permission may be missing. Contact your FossID administrator. | Your account lacks a permission. Contact your FossID administrator. |
Could not reach <server>. Check the server URL and your network connection. | Check your network, VPN or proxy, and the server address. If you see this on the sign-in page, correct the Server field and select Try again. Otherwise select Reconfigure in the message, or run FossID: Reconfigure. |
Could not securely connect to <server> — its TLS certificate could not be verified. Check the certificate or the server URL. | Your network may use a custom certificate authority. Ask IT to make sure the certificate is trusted on your machine. |
Received an unexpected response from <server>. Check that the server URL points to a FossID server. | The address probably isn't a FossID server. Correct it with FossID: Reconfigure. |
| The FossID scanner is missing from the extension. Reload the window; if that does not help, reinstall the extension. | Your server and network aren't the problem. Run Developer: Reload Window. If the message comes back, reinstall the extension. |
When the server is only temporarily busy, FossID may show FossID: Offline without a notification. You don't need to sign in again.
The status bar returns to normal after the next successful scan, or when you sign in again.
For problems during sign-in itself, see When sign-in fails.
Behind a proxy
FossID follows the proxy settings of VS Code. If your network needs a proxy, set http.proxy, and http.noProxy for the addresses that bypass it, in VS Code's settings.json. The scanner uses them for its requests, including the check of your dependencies.
- The settings win over the variables
HTTP_PROXY,HTTPS_PROXY,ALL_PROXYandNO_PROXYin VS Code's environment. Without the settings, FossID uses the variables. - When the settings apply, FossID never sends
localhost,127.0.0.1and::1through the proxy. - If
http.proxySupportisoff, FossID ignores the settings and uses only the variables. - FossID doesn't use
http.proxyStrictSSL. - When a change to these settings changes the proxy, FossID restarts the scanner. It then scans the files that are visible in editors again.
To see which proxy the scanner uses, open the log (View → Output → FossID) and look for the line that starts with [fossid-mcp] proxy:. FossID hides any user name and password in the address.
Findings don't appear
- Are you signed in? The status bar should show FossID with a check mark.
- Is the file scanned? FossID doesn't scan files outside your workspace folder, files over 10 MB, files in
.fossid/,.vscode/,.cursor/or.git/, or files you have excluded. Run FossID: Rescan Current File to force a scan. - Unsaved changes? Findings are hidden while a file has unsaved changes. Save to rescan. If you undid your changes, switch to another tab and back, or run FossID: Rescan Current File.
- No license findings? The license rules need a license policy. Open License Policies to see which policy applies: a Managed by your organization banner means your organization's company policy.
- Turned off? Check Detection rules and the
fossid.autoScan.*settings. Your organization's company policy takes precedence over.fossid/policy.json. A rule that neither sets uses its default. - Ignored? The finding may be covered by an ignore. Check Manage Ignores, or look for the Suppresses N finding(s) line above wildcard entries in
ignores.yaml. - Dev dependency? Vulnerabilities and licenses of dev dependencies aren't reported by default.
Policy problems
- Changes to
.fossid/policy.jsonhave no effect. Your organization has a company policy, which replaces the repository's policy in the editor for license rules, detection rules and custom volumes. The License Policies banner says Managed by your organization. - The License Policies or Detection Rules editor is read-only. A company policy applies and your account doesn't have the
policy-writepermission. Ask your FossID administrator. - The License Policies editor says No folder is open. There is no
.fossid/policy.jsonto save rules to. Open the repository's folder to edit its license policy. - Publishing failed. The message explains why. See Publishing changes to the company policy.
- The company policy doesn't seem to apply. You need to be signed in with your organization account. If the policy service can't be reached, FossID may quietly grade license findings against the repository policy instead. Check View → Output → FossID for lines about the policy service.
Ignores suddenly stop working
If .fossid/ignores.yaml can't be read (for example, it isn't valid YAML) or has merge conflicts, no ignores apply and all findings reappear. The Problems panel shows exactly what's wrong. For merge conflicts, use Resolve Automatically. See When the ignores file has problems.
Results disappeared
FossID keeps scan results in memory for the current window only. It clears them when you:
- reload or close the window;
- run FossID: Scan Workspace, which starts from a clean slate.
They are rebuilt as you open and save files.
The AI assistant doesn't see FossID
- VS Code: open the MCP servers list (MCP: List Servers in the Command Palette) and check that fossid-mcp and fossid-editor are running. If not, start them from there.
- Cursor: enable fossid-mcp and fossid-editor in Cursor's MCP settings. They are added disabled.
- Claude Code: check that
.mcp.jsonexists in your workspace folder, and approve the servers if asked. - No folder open? FossID writes its configuration files only when a folder is open. In a multi-root workspace, it writes them to the first folder only.
- After changing server or settings, FossID may ask you to reconnect your chat client. Restart the server in the assistant, or start a new chat.
Run FossID: Set Up to write the configuration files again. If you aren't signed in, it only opens the sign-in window: sign in, then run it again.
Scanning stopped working entirely
If the background scanner crashes, FossID restarts it automatically. The findings already shown stay, and each file is scanned again the next time you open, switch to or save it. A file whose scan the crash cut short shows FossID: scan failed until then, with no findings if none were shown before (for example, right after you saved an edit). If it crashes repeatedly in a short time, FossID stops restarting it, without telling you. Scans then fail with FossID: scan failed, and FossID may show FossID: Offline and Could not reach <server> although your server and network are fine. The assistant configuration files also keep pointing at the stopped scanner, so your assistant can't use FossID's scan tools; FossID: Set Up doesn't fix this. Run Developer: Reload Window to start a new scanner and update the files, and check the log.
If the scanner stops responding without crashing, FossID doesn't restart it. Each scan waits about three minutes before it fails, so FossID scanning… can stay in the status bar for a long time. You then see the same FossID: Offline and Could not reach <server>. Run Developer: Reload Window to start a new scanner.
The scanner can be slow to start, for example on a busy machine or when several windows open at once. FossID then tries once more, with a longer limit. If that also takes too long, you see this warning once per session: FossID: the scanner took too long to start — the next file scan will try to start it again; UI tools still work. See the FossID output channel. The next file scan starts the scanner again, so you don't need to reload the window.
If the scanner fails to start for another reason, you see FossID: fossid-mcp scanner subprocess failed to start — UI tools still work; see the FossID output channel for details. Check the log, then run Developer: Reload Window. If the log shows an invalid value for --port, fix the fossid.mcpPort setting first.
If you see FossID: failed to start MCP server — …, the fossid-editor server couldn't start, so your assistant can't use FossID's editor actions. Scanning still works. Check the fossid.port setting, then run Developer: Reload Window. A port that is already in use never causes either message; FossID picks a free port instead.
If the scanner is missing from the extension, for example after an update replaced the extension's folder, you see this warning: FossID: scanning has stopped — the scanner is missing from the extension. Reload the window; if that does not help, reinstall the extension. Select Reload Window. Until the scanner is found again, files aren't scanned and the status bar shows FossID: Scanner unavailable. If reloading doesn't help, reinstall the extension.
Logs
FossID writes a detailed log to the Output panel:
- Open View → Output.
- Choose FossID from the drop-down.
Include this log when you contact FossID support.
Several windows on the same folder
Each editor window runs its own scanner with its own results. Findings aren't shared between windows. The second window uses different local ports and updates the assistant configuration files, so they then point at the second window. To connect an assistant to the window you are working in, run FossID: Set Up in that window, then reconnect the assistant.
Uninstalling
For a clean uninstall:
- Run FossID: Clean Up Workspace Configs in each workspace where you used FossID. It removes FossID's entries from
.vscode/mcp.json,.mcp.jsonand.cursor/mcp.json, keeping any other servers, and deletes files that become empty. - Uninstall the extension from the Extensions view.
After step 1, FossID stops scanning in that window. If you decide not to uninstall, run Developer: Reload Window: FossID starts scanning again and writes the configuration files back.
The uninstall also removes FossID's skills from ~/.claude/skills/, but the editor doesn't always run uninstall steps reliably, so step 1 is recommended.
Files you committed are left alone, including .fossid/policy.json, .fossid/ignores.yaml and .fossidignore. So is the copy of the scan-gate skill at .fossid/scan-gate.md.