Troubleshooting#

Find your symptom in the table for the task you were doing.

Install#

Symptom

Cause

Fix

uv sync reports no compatible Python

The server requires Python >=3.12,<3.14

Add --python 3.12 to uv sync --locked --all-packages --extra dev

geonemo-mcp will not install

The MCP package requires Python 3.12 or later; the client alone needs 3.11

Use Python 3.12

pip install geonemo-client finds nothing

No packages are on a public index

Install from the checkout: pip install ./contracts/client

The server image build cannot find the bundled skills catalog

The local skills catalog has not been assembled

Run sh ci/prepare-public-skills.sh from the checkout, then retry the build

Sign-in and tokens#

Symptom

Cause

Fix

GeoNeMo authorization expired; run geonemo login

The stored sign-in expired and could not refresh

Run geonemo --url <server> login again

Sign-in timed out; headless users can use login --token

The browser flow did not complete

On a headless host, create a personal token in the console and run geonemo --url <server> login --token

local GeoNeMo login requires a POSIX host; use an explicit bearer token

Saved sign-in is not available on Windows

Pass the token to the client or tool explicitly

HTTP 401

The token is missing, expired or has the wrong audience

Use an API token for REST and an MCP token for /mcp; they are not interchangeable

HTTP 403

The credential lacks the scope the route needs

Check geonemo whoami; create a token with the needed scope (Sign in and tokens)

The Python client ignores GEONEMO_SERVICES_TOKEN

Only the stdio MCP bridge reads it

Pass token= to GeoNeMoClient

--url is refused

The URL must be HTTPS, except for localhost

Use the HTTPS address of the server

MCP connections#

Symptom

Cause

Fix

geonemo-mcp calls fail with an authorization error

No saved sign-in and no token

Run geonemo login, or set GEONEMO_SERVICES_TOKEN in the harness environment

The bridge calls http://127.0.0.1:8000

No scope file and no GEONEMO_SERVICES_API_ENDPOINT

Pass --scope-file or set the variable (Connect an MCP client)

scope file must be a regular non-symlink file

The scope file is a symlink or not a regular file

Point --scope-file at a regular file

scope file exceeds 64 KiB

The scope file is too large

Shorten the allow lists

services_endpoint must be an HTTP(S) origin or ... must not contain credentials, query, or fragment

The scope file’s services_endpoint is malformed

Use an origin such as https://geonemo.example.com

collection is outside the deployment scope

The collection is not in allowed_collections

Add it to the scope file, or use "*"

source is outside the deployment scope or dataset is outside the deployment scope

The retrieval source is not in allowed_collections or allowed_datasets

Add it to the scope file

tool is outside the deployment scope

The tool is not in the scope file’s allowed_tools

Add it to the scope file; do not work around it with raw REST calls

A tool is missing from tools/list

The pack that provides it is not installed or not in the parts list

Install the pack and list it (Choose the parts)

A scope file with an unknown key is rejected

Unknown keys are not allowed

Remove the key

Local stack#

Symptom

Cause

Fix

dev.sh up warns that private agent image pulls will fail

You are not logged in to the GeoNeMo image registry

Ignore it unless you need agents or the L1B ortho image; see Run the local stack

up stops at the schema step with the access records login ... does not exist; provision it first

The PostgreSQL volume was created by an older version; the database roles are made only when the volume is new

Run deploy/development/dev.sh down -v to delete the stack’s volumes, or set GEONEMO_POSTGRES_VOLUME to a new name

A port is already in use

Another process holds one of the stack’s ports

Change the port in deploy/development/development.env. Defaults: Toolkit API 8101, MCP 8201, Console 3101, PostgreSQL 55432, Phoenix 16006 and 14317

The Milvus image cannot be pulled

The default image is on Docker Hub

Check access to Docker Hub, or set GEONEMO_MILVUS_IMAGE to a mirror of the same digest (Run the local stack)

up --sign-in is refused with seeding on

The seed step has no credentials

Add --no-seed

--l1b-ortho fails

It needs a GPU and registry access

Pass --l1b-ortho-gpu N on a host with a GPU

Building the docs#

Symptom

Cause

Fix

The strict build fails on a warning

-W turns every warning into an error, including broken links and cross-references

Fix the reported file; build with uv run --project docs sphinx-build -W --keep-going -n -b html docs docs/_build/html

A page is reported as in no toctree

The page is missing from its section’s index.md

Add it to the toctree (Documentation)

A change to docs/_parts/ or docs/_generated/ disappears

The build writes these folders

Edit the source page, contract or generator instead

Get help#

Report bugs and questions as issues in the repository. Report a security issue as described in SECURITY.md at the repository root, not in an issue.