Troubleshoot Common Issues¶
Container Runtime Not Available¶
Symptoms: Vibepit fails when trying 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
--debugfor more detail on what socket path it is trying to connect to and where it fails: -
Confirm your user can access the socket. On Linux, your user typically needs to be in the
dockergroup:Log out and back in for the group change to take effect.
-
For rootless Podman, ensure your user session is set up correctly:
-
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 when trying 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 Failures 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 domains that have been explicitly allowed.
Fix:
-
Add the domain to the allowlist:
-
Check whether the domain is covered by a preset you have not enabled. For example, enabling the
vcs-githubpreset adds several GitHub-related domains: -
You can also add domains interactively through the monitor TUI:
HTTP Requests Failing 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. Note
that example.com and *.example.com are separate entries — allowing
example.com does not automatically 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
**: -
Double-check your existing rules. A common mistake is allowing the apex domain when the request targets a subdomain, or vice versa.
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 may not have cleaned up properly, leaving behind 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 specific container is stuck, remove it manually:
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 obvious YAML issues — indentation must use spaces, not tabs.
-
Re-run interactive setup to regenerate a valid config:
This walks you through the configuration options and writes a clean 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 to match file ownership between the host and the container. Pre-built images are published 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 resolves your problem, open an issue on
GitHub. Include the output of
vibepit --debug and your container runtime version (docker --version or
podman --version).