Skip to content
Guides & TutorialsDoc

Troubleshooting

Diagnose common issues with runs, environments, and flaky behavior.

Environment unreachable

Symptoms:

  • the session browser shows a connection error
  • runs fail quickly with navigation failures

Checklist:

  • confirm the environment Base URL is correct (including https://)
  • confirm the URL is reachable from the public internet (agent sessions run remotely)
  • avoid localhost and 127.0.0.1 (those refer to the agent container, not your machine)

If the app is behind a firewall, a VPN or an IP allowlist, use a self-hosted runner inside your network or on a host with a known IP. Cloud Machines have no fixed IP, so there is no address to allow. Certyn's browser also cannot send basic-auth credentials or custom headers. See Certyn Cannot Reach Your App.

Agent gets stuck or loops

This usually means the instructions are ambiguous or the UI state is unexpected.

Fixes:

  • watch the session live to see what the agent is reacting to
  • add constraints: "If a modal appears, close it", "Wait for the dashboard table to appear"
  • split long tests into smaller checks

Flaky tests

Common causes:

  • async loading or race conditions
  • dynamic content (randomized lists, changing IDs)
  • shared test data in a shared staging environment

Fixes:

  • verify structure (counts, presence) rather than exact values where data is dynamic
  • use stable seed data and dedicated test accounts
  • quarantine unstable tests until you can make them deterministic

Runs pending for a long time

Runs can wait for capacity. If a run is pending longer than expected:

  • check for other active runs in the same environment
  • reduce suite size or concurrency by splitting into multiple processes
  • consider upgrading capacity if this happens frequently