Help Troubleshooting
Troubleshooting
What to do when verification fails, a scan fails or will not start, an agent is offline or not picking up work, or Bavn's emails do not arrive.
Most problems show their reason on screen: in a notification, in a scan's Error, or in an agent's Status. Find the message below.
Verification fails
"Verify your email first" — Bavn verifies nothing until your email address is confirmed. Open the link in the email Bavn sent when you signed up.
"Not verified yet" for a DNS TXT record:
- The record must be at
_bavn.plus the target's exact hostname, such as_bavn.shop.example.com— not at the hostname itself, and not at the bare domain when the target is a subdomain. - If your DNS provider adds the domain for you, you may have created
_bavn.shop.example.com.example.com. Enter only_bavn.shopin a zone forexample.com. - The value must contain the token from the Verify ownership window, which starts with
bavn-. - New records can take a few minutes to be visible. Wait, then choose Check now again.
"Not verified yet" for an HTTP file:
- Open the address from the Verify ownership window in a browser. It must show the token and nothing else.
- It must answer over HTTPS, on the standard port, at exactly that hostname. Bavn does not follow redirects, so a redirect to
www., to another path or to a login page fails the check. - The hostname must point at a public address. Bavn refuses to fetch from private or reserved addresses.
After editing a target — changing the hostname, base URL or method issues a new token. A record or file made for the old token no longer counts: publish the new one.
Repository: "We could not reach the repository with the stored token" — check the Repository URL, that the token can read the repository and has not expired, and the Username if your host needs one with the token (a Bitbucket app password does). The Git host must be reachable from the internet. See Add a Git repository.
A scan will not start
These come up as a notification when you choose Start scan:
- "Not on your plan" — the plan's window for this scan type has not passed yet (the message says when the next scan can start), or the target is beyond what your plan scans. See Plans and limits.
- "… is already waiting or running" — the same scan of this target has not finished. Follow it under Scans.
- "Confirm your email address before starting scans." — open the link in the signup email.
- "No agent for this network" — the range has no agent. Edit the target and choose one.
- "The agent cannot see its machine's files yet." — re-create the agent with the machine mounted, as its page shows under Packages on this machine.
A scan failed
Open the scan under Scans and read its Error. The common ones:
- "Target is not verified. Complete … verification first." — the target lost its proof (for example after an edit) or was never verified. Verify it and scan again.
- "Scan origin does not match the verified hostname." — the target's Base URL points at another host. Edit it so it is on the verified hostname.
- "Refusing to scan […]: it resolves to a private or reserved address" — the hostname now resolves to a private address, which Bavn's scanner never scans. Scan internal systems with an agent.
- "Host […] does not resolve to any IP address." — the hostname has no DNS record. Check it for typos.
- "git clone failed" or a Trivy or Syft error naming the clone — the repository's token no longer works, or the URL moved.
- An engine stopped at its time limit — try again later, or for a network sweep, switch off Scan all 65,535 ports.
A failed scan never resolves findings, and does not count against your plan's scan window, so you can start it again straight away.
An agent is offline or not picking up work
Check the agent's Status on its page under Agents:
- Awaiting enrollment — the agent has never checked in. Run the
docker runcommand Bavn showed when you created the agent on a Linux machine inside the network. If you no longer have it, choose New enrollment token for a fresh command. - Enrollment expired — the token was not used within 24 hours. Choose New enrollment token and run the new command.
- Offline — the agent has not checked in for over 15 minutes. Queued sweeps wait until it does.
On the agent's machine:
docker psshows whether the container is running, anddocker logsfollowed by its name (such asbavn-agent-<id>) shows what it says.- "Credential rejected: this agent was re-enrolled or deleted in Bavn." — run the new command from the agent's page.
- "Enrollment rejected" — the token was used or has expired. Issue a new one.
- The machine needs outbound HTTPS to https://bavnscan.com/. Nothing needs to reach it from outside.
- The agent must run on Linux with
--network host. On a bridge network it sees only Docker's own network; Docker Desktop on macOS or Windows does not offer host networking.
Online, but no sweep runs:
- If your plan includes fewer agents than you have, the agents added last get no new jobs: starting a sweep of one of their ranges is refused, with the reason.
- A range with Never touch entries needs an agent from 21 October 2026 or later; with an older agent, its sweeps fail with a message saying so. Upgrade the agent.
- Can run on the agent's page lists what the agent offers. A sweep needs a range bound to this agent; a package check needs the machine mounted.
Emails not arriving
Bavn's emails come from noreply@bavnscan.com. First look in your spam or junk folder, and allow that address.
- The confirmation email after signup — sign in and use the option to send it again on the confirmation screen.
- Alert emails — they go only to members with a confirmed email address, and only when a scan raises a critical or high finding; medium and low findings, and new devices and ports on a network, send none. See Alert emails.
- Invitations — the link works for 7 days. If it expired, choose Invite someone again with the same address for a fresh link. An address gets at most 3 invitations a day from one organization.
Contact support
If the answer is not here, ask a person. In Bavn, choose the Help link at the top of any page, then Contact support. Write what you were trying to do and what happened, and choose Send. Bavn sends it to support with your email address, the organization and its plan, and the page you were on, and the answer comes by email. You can send up to 5 messages an hour. A connected AI assistant can send one for you too.
Without an account, signed out, or before you have confirmed your email address, use the support form.