Skip to content

[BUG]: Shannon should stop immediately when website not reachable #244

@klausi

Description

@klausi

Describe the bug

Shannon ran for 5 hours and spent $100, but it could not test exploits because the target site was not reachable. In the report it wrote:

Current Blocker: DDEV application stack not running in agent environment; https://default.frontend.example.ddev.site resolves to 127.0.0.1:443 (connection refused)

But I started DDEV on my local machine and the site is reachbale through my local browser. Maybe docker network issues? How do you run Shannon to test against a Docker-based local application running in other containers?

Can Shannon do a quick check if it can reach the target site from its containers and if not then stop immediately?

Steps to reproduce

  1. Start DDEV site
  2. Start Shannon with URL pointing to the DDEV site
  3. Shanon never stops although it could not reach the site

Expected behaviour

Shannon stops immediately when URL not reachable

Actual behaviour

Shannon runs for 5 hours and wastes tokens.

Pre-submission checklist (required)

  • I have searched the existing open issues and confirmed this bug has not already been reported.
  • I am running the latest released version of shannon.

If applicable

  • I have included relevant error messages, stack traces, or failure details.
  • I have checked the audit logs and pasted the relevant errors.
  • I have inspected the failed Temporal workflow run and included the failure reason.
  • I have included clear steps to reproduce the issue.
  • I have redacted any sensitive information (tokens, URLs, repo names).

Debugging details

No response

Screenshots

No response

Authentication method used

CLAUDE_CODE_OAUTH_TOKEN

Full ./shannon command with all flags used (with redactions)

./shannon start URL=https://example.ddev.site REPO=example CONFIG=./configs/mysite.yaml

Are you using any experimental models or providers other than default Anthropic models?

No

If Yes, which one (model/provider)?

No response

OS (with version)

Ubuntu 24.04

Docker version ('docker -v')

29.3.0

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions