[GH-ISSUE #148] Failed at Pre-recon Stage #49

Closed
opened 2026-02-27 07:20:10 +03:00 by kerem · 1 comment
Owner

Originally created by @d4nt0x14o on GitHub (Feb 20, 2026).
Original GitHub issue: https://github.com/KeygraphHQ/shannon/issues/148

I am currently facing the issue when trying to run a pentest using OPENROUTER key.

Error code:
{ "type": "workflowExecutionFailedEventAttributes", "failure": { "message": "Activity task failed", "cause": { "message": "Authentication failed: Invalid API key · Fix external API key", "source": "TypeScriptSDK", "stackTrace": "ApplicationFailure: Authentication failed: Invalid API key · Fix external API key\n at ApplicationFailure.nonRetryable (/app/node_modules/@temporalio/common/lib/failure.js:207:16)\n at runAgentActivity (file:///app/dist/temporal/activities.js:137:48)\n at async Activity.execute (/app/node_modules/@temporalio/worker/lib/activity.js:101:20)\n at async NativeConnection.withAbortSignal (/app/node_modules/@temporalio/worker/lib/connection.js:172:16)\n at async Client.withAbortSignal (/app/node_modules/@temporalio/client/lib/base-client.js:65:16)\n at async /app/node_modules/@temporalio/worker/lib/activity.js:161:32\n at async /app/node_modules/@temporalio/worker/lib/worker.js:725:30", "applicationFailureInfo": { "type": "AgentExecutionError", "nonRetryable": true, "details": { "payloads": [ [ { "agentName": "pre-recon", "attemptNumber": 1, "elapsed": 48971 } ] ] } } }, "activityFailureInfo": { "scheduledEventId": "11", "startedEventId": "12", "identity": "1@b2801cffeb98", "activityType": { "name": "runPreReconAgent" }, "activityId": "2", "retryState": "RETRY_STATE_NON_RETRYABLE_FAILURE" } }, "retryState": "RETRY_STATE_RETRY_POLICY_NOT_SET", "workflowTaskCompletedEventId": "22" }

Image

This is my current env setup.

Image

I have also ensured that I run the command with ROUTER=true.

I am currently running shannon on windows and I have followed the documentation on the setup.

Please assist. Thank you! :)

Originally created by @d4nt0x14o on GitHub (Feb 20, 2026). Original GitHub issue: https://github.com/KeygraphHQ/shannon/issues/148 I am currently facing the issue when trying to run a pentest using OPENROUTER key. **Error code:** `{ "type": "workflowExecutionFailedEventAttributes", "failure": { "message": "Activity task failed", "cause": { "message": "Authentication failed: Invalid API key · Fix external API key", "source": "TypeScriptSDK", "stackTrace": "ApplicationFailure: Authentication failed: Invalid API key · Fix external API key\n at ApplicationFailure.nonRetryable (/app/node_modules/@temporalio/common/lib/failure.js:207:16)\n at runAgentActivity (file:///app/dist/temporal/activities.js:137:48)\n at async Activity.execute (/app/node_modules/@temporalio/worker/lib/activity.js:101:20)\n at async NativeConnection.withAbortSignal (/app/node_modules/@temporalio/worker/lib/connection.js:172:16)\n at async Client.withAbortSignal (/app/node_modules/@temporalio/client/lib/base-client.js:65:16)\n at async /app/node_modules/@temporalio/worker/lib/activity.js:161:32\n at async /app/node_modules/@temporalio/worker/lib/worker.js:725:30", "applicationFailureInfo": { "type": "AgentExecutionError", "nonRetryable": true, "details": { "payloads": [ [ { "agentName": "pre-recon", "attemptNumber": 1, "elapsed": 48971 } ] ] } } }, "activityFailureInfo": { "scheduledEventId": "11", "startedEventId": "12", "identity": "1@b2801cffeb98", "activityType": { "name": "runPreReconAgent" }, "activityId": "2", "retryState": "RETRY_STATE_NON_RETRYABLE_FAILURE" } }, "retryState": "RETRY_STATE_RETRY_POLICY_NOT_SET", "workflowTaskCompletedEventId": "22" }` <img width="951" height="408" alt="Image" src="https://github.com/user-attachments/assets/4e61e171-7676-451e-ac69-e1a6f41a11ba" /> This is my current env setup. <img width="759" height="554" alt="Image" src="https://github.com/user-attachments/assets/83a20f5b-0785-48fe-9aa7-f62e81955c29" /> I have also ensured that I run the command with `ROUTER=true`. I am currently running shannon on windows and I have followed the documentation on the setup. Please assist. Thank you! :)
kerem closed this issue 2026-02-27 07:20:10 +03:00
Author
Owner

@ezl-keygraph commented on GitHub (Feb 20, 2026):

Thanks for reporting! Fixed in #152.

<!-- gh-comment-id:3937121517 --> @ezl-keygraph commented on GitHub (Feb 20, 2026): Thanks for reporting! Fixed in #152.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shannon-KeygraphHQ#49
No description provided.