quick-window-91705
05/26/2026, 10:38 PMdocker pull ghcr.io/openhands/agent-canvas:1.0.0-alpha.6
docker run -it --rm \
-p 8000:8000 \
-v ~/.openhands:/home/openhands/.openhands \
-v ${PROJECTS_PATH}:/projects \
ghcr.io/openhands/agent-canvas:1.0.0-alpha.6
2. NPM install
npm install -g @openhands/agent-canvas
agent-canvasquick-window-91705
05/26/2026, 10:40 PMnpm install -g @openhands/agent-canvas@latest instead if you installed an earlier versionelegant-branch-54423
05/26/2026, 11:38 PMgreen-greece-46378
05/27/2026, 12:26 AMgreen-greece-46378
05/27/2026, 12:31 AMgreen-greece-46378
05/27/2026, 12:32 AMgreen-greece-46378
05/27/2026, 2:47 AMThe globally installed agent-canvas binary starts the agent-server with a persisted session API key (~/.openhands/agent-canvas/session-api-key.txt) as OH_SESSION_API_KEYS_0, making auth required. However, the pre-built static frontend in the npm package has a different (or empty) VITE_SESSION_API_KEY baked in at publish time, so every API request gets 401 Unauthorized.
I created this PR to address it for both ways of launching:
https://github.com/OpenHands/agent-canvas/pull/795
I built and ran this branch locally and it seemed to solve the issue.
Just not sure why only @ancient-car-4311 and I are seeing it. Has anyone else started from scratch with the latest build?elegant-branch-54423
05/27/2026, 3:51 AMgreen-greece-46378
05/27/2026, 3:54 AMgreen-greece-46378
05/27/2026, 4:26 AMgreen-greece-46378
05/27/2026, 4:46 AMquick-window-91705
05/27/2026, 2:37 PMquick-window-91705
05/27/2026, 4:21 PM