mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-04-25 17:45:53 +03:00
[GH-ISSUE #62] agent pre recon failed #20
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shannon-KeygraphHQ#20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @raltheo on GitHub (Feb 6, 2026).
Original GitHub issue: https://github.com/KeygraphHQ/shannon/issues/62
I killed at 3 retry because it keep increase time but never do the pre recon
output logs :
@Mr-Neutr0n commented on GitHub (Feb 6, 2026):
Hi @raltheo,
This error typically occurs when the pre-recon agent doesn't create the required
deliverables/code_analysis_deliverable.mdfile. Here are some common causes and troubleshooting steps:Common causes:
ROUTER=truewith alternative providers (OpenAI, Ollama, etc.), some models may not follow Shannon's instructions as well as Claude modelshost.docker.internalinstead oflocalhostTroubleshooting steps:
audit-logs/*/agents/pre-recon*.jsonlROUTER=true)host.docker.internal:I've also submitted a PR (#68) to improve the error messaging with more detailed troubleshooting tips.
Could you share more details about your setup?
@cliftonc commented on GitHub (Feb 8, 2026):
I had the same issue, in the UI I got an error that was hard to debug:
In the logs it was clear I forgot to top up my balance:
@ezl-keygraph commented on GitHub (Feb 8, 2026):
Hi @raltheo, thanks for reporting
Can you please share the following details which will be helpful for us to reproduce this issue
ROUTER=trueother than the default?workflow.logwhich will be available in./audit-logs/target-url_shannon_12345/workflow.log?@h0pes commented on GitHub (Feb 8, 2026):
Sorry to jump on this issue, but I am getting the same error (more or less). After various tweaks, I was able to proceed a bit further but then again the preRecon agent reported a failure.
Here there are some logs from the dashboard:
Shannon was started with:
./shannon start URL=https://1.2.3.4 REPO=/opt/myownrepohere CONFIG=./configs/my-app-config.yaml OUTPUT=/home/myuser/DownloadsUsing
.env, with Anthropic API key andmax_tokensas per your README.mdOnly thing I can see is in
Workflow.login report output directory this last lines:@ezl-keygraph commented on GitHub (Feb 8, 2026):
Thanks for providing a detailed note @h0pes. We'll try to reproduce the issue and push a fix at the earliest
@Yash-xoxo commented on GitHub (Feb 9, 2026):
Hey @rdhwan,
Looking at your logs, the issue is pretty clear - the agent is trying to install
playwrightbut hitting network/permission errors during the installation process, which causes the whole pre-recon phase to fail.Root Cause
From the error trace:
The playwright post-install script is failing, probably because:
/home/claude/.npm-global/Quick Fixes to Try
Option 1: Pre-install Playwright in the Docker Image
Modify the Dockerfile to include playwright with browsers already installed:
This way the browsers are baked into the image and don't need to download during runtime.
Option 2: Skip Playwright Browser Install
Set the
PLAYWRIGHT_SKIP_BROWSER_DOWNLOADenv var:Though this might break any agents that actually need browser automation.
Option 3: Fix Network/Proxy Issues
If you're behind a proxy or firewall, playwright's download might be getting blocked. Check:
Option 4: Increase Timeout
Sometimes it's just a slow network. Try increasing npm timeouts:
Workaround for Now
@izi-maguila's suggestion about using
repoPathmight work, but honestly this looks like an environment/network issue rather than a logic bug.You could also try:
--network=hostif you're in a restrictive networkLet me know which approach works for you, or if you need help modifying the Dockerfile to bake playwright in!