Troubleshoot Common Issues¶
Container runtime not available¶
Symptoms: Vibepit fails when it tries to create containers or networks. You see errors referencing the Docker or Podman socket.
Cause: The container runtime is not running, or your user does not have permission to access its socket.
Fix:
-
Verify the runtime is running:
-
If the command fails, start the Docker or Podman daemon.
-
Run Vibepit with
--debugto see which socket path it connects to and where it fails: -
Confirm your user can access the socket. On Linux, your user usually needs to be in the
dockergroup:Log out and back in for the group change to take effect.
-
For rootless Podman, enable lingering so your user services keep running after you log out:
-
If the error references
XDG_RUNTIME_DIR, confirm the variable is set and the directory is accessible:
allow-http, allow-dns, or monitor cannot connect¶
Symptoms: The command exits with a connection error, or times out while it tries to reach the control API.
Cause: There is no running session, or you are targeting the wrong one.
Fix:
-
List active sessions:
-
If no sessions are listed, start one with
vibepit run. -
If multiple sessions are listed, specify the correct one:
DNS resolution fails inside the sandbox¶
Symptoms: Commands inside the sandbox fail with "could not resolve host" or similar DNS errors, even though the domain works on the host.
Cause: The domain is not in the DNS allowlist. The sandbox DNS server only resolves allowed domains.
Fix:
-
Add the domain to the allowlist:
-
Check whether a preset you have not enabled covers the domain. For example, the
vcs-githubpreset adds several GitHub domains: -
You can also allow domains from the monitor:
HTTP requests fail inside the sandbox¶
Symptoms: HTTP or HTTPS requests from inside the sandbox return a proxy error or are refused, even though DNS resolves correctly.
Cause: The domain and port combination is not in the HTTP allowlist.
example.com and *.example.com are separate entries, so allowing
example.com does not allow api.example.com.
Fix:
-
Add the specific domain and port:
-
If you need to allow all subdomains (one level), use a single-label wildcard:
-
If the service uses multi-level subdomains, use
**: -
Check your existing rules. A common mistake is allowing the apex domain when the request goes to a subdomain, or the other way around.
Session will not start¶
Symptoms: vibepit run fails with errors about port conflicts, network
creation failures, or references to stale resources.
Cause: A previous session did not clean up and left Docker networks or containers that conflict with the new session.
Fix:
-
Check for leftover Vibepit resources:
-
Remove the stale Vibepit network by name (listed in the previous command's output):
-
If a container is stuck, remove it:
Config file parse errors¶
Symptoms: Vibepit exits with a configuration error on startup, referencing YAML parse failures or unexpected values.
Cause: The project .vibepit/network.yaml file has a syntax error,
typically incorrect indentation or a misplaced key.
Fix:
-
Check the file for YAML mistakes. Indentation must use spaces, not tabs.
-
Re-run interactive setup to regenerate a valid config:
The selector walks you through the options and writes a new file.
Sandbox image not found¶
Symptoms: vibepit run or vibepit update fails with an image pull error
referencing a tag like r1-uid-1234-gid-1234.
Cause: Vibepit builds sandbox images for specific UID/GID combinations so file ownership matches between the host and the container. Pre-built images exist for these combinations:
| Tag | Platform |
|---|---|
r1-uid-1000-gid-1000 |
Linux (default UID/GID) |
r1-uid-501-gid-20 |
macOS (default UID/GID) |
If your user has a different UID or GID, no pre-built image exists.
Fix:
-
Check your UID and GID:
-
If no pre-built image exists for your UID/GID, clone the repository and build the image locally:
-
Run Vibepit with the
--localflag to use your locally built image:
Still stuck?¶
If none of the above fixes your problem, open an issue on
GitHub. Include the output of
vibepit --debug and your container runtime version (docker --version or
podman --version).