Describe the bug
I have configured OpenRouter API (OpenAI-compatible endpoint) during setup, but the workflow fails during execution with a custom endpoint validation error.
Even though the API key and base URL are correctly set, Shannon fails to validate the router endpoint.
This issue occurs specifically when running in npx mode with the router enabled.
Steps to reproduce
Run Shannon using npx:
npx @keygraph/shannon start -u http://127.0.0.1:3000 -r "" --router
-
Wait for containers (temporal + router) to start
-
Open workflow UI
-
Observe failure at runPreflightValidation stage
Expected behaviour
Shannon should successfully validate the OpenRouter endpoint and proceed with the workflow execution.
Actual behaviour
Workflow fails with the following error:
Custom endpoint (http://shannon-router:3456) validation failed unexpectedly.
Check your credentials in .env
Failure occurs during runPreflightValidation.
Pre-submission checklist (required)
If applicable
Debugging details
No response
Screenshots
CLI mode
npx (@keygraph/shannon)
Provider
Router - OpenRouter
Full command with all flags used (with redactions)
npx @keygraph/shannon start -u http://127.0.0.1:3000 -r "E:\Company Dedicated\juice-shop" --router
OS (with version)
windows 10
Node.js version ('node -v')
Node.js: v20.x
Docker version ('docker -v')
Docker version 29.3.1, build c2be9cc
Additional context
No response
Describe the bug
I have configured OpenRouter API (OpenAI-compatible endpoint) during setup, but the workflow fails during execution with a custom endpoint validation error.
Even though the API key and base URL are correctly set, Shannon fails to validate the router endpoint.
This issue occurs specifically when running in npx mode with the router enabled.
Steps to reproduce
Run Shannon using npx:
npx @keygraph/shannon start -u http://127.0.0.1:3000 -r "" --router
Wait for containers (temporal + router) to start
Open workflow UI
Observe failure at runPreflightValidation stage
Expected behaviour
Shannon should successfully validate the OpenRouter endpoint and proceed with the workflow execution.
Actual behaviour
Workflow fails with the following error:
Custom endpoint (http://shannon-router:3456) validation failed unexpectedly.
Check your credentials in .env
Failure occurs during runPreflightValidation.
Pre-submission checklist (required)
shannon.If applicable
Debugging details
No response
Screenshots
CLI mode
npx (@keygraph/shannon)
Provider
Router - OpenRouter
Full command with all flags used (with redactions)
npx @keygraph/shannon start -u http://127.0.0.1:3000 -r "E:\Company Dedicated\juice-shop" --router
OS (with version)
windows 10
Node.js version ('node -v')
Node.js: v20.x
Docker version ('docker -v')
Docker version 29.3.1, build c2be9cc
Additional context
No response