Summary
sandcat restart-proxy restarts the wg-client container but never recreates
the agent container that shares its network namespace.
Every connection from inside the sandbox returns ConnectionRefused /
"could not resolve host".
restart-proxy is the documented way to apply settings changes, this
breaks networking for any already-running (attached) agent on every settings
change, with no error surfaced to the user.
Steps to reproduce
- Create and start a sandbox with a persistent agent, and attach to it:
sandcat init # if not already initialized
sandcat attach # starts wg-client + agent, opens a shell in the agent
- Confirm networking works from inside the agent:
curl https://github.com # html output
- In another terminal on the host
- Back in the agent shell, retry the same requests:
curl https://github.com # curl: (6) Could not resolve host: github.com
All networking is now broken even though wg-client and mitmproxy are
healthy.
sandcat version 20260608.121328-b569ba4
Summary
sandcat restart-proxyrestarts thewg-clientcontainer but never recreatesthe
agentcontainer that shares its network namespace.Every connection from inside the sandbox returns
ConnectionRefused/"could not resolve host".
restart-proxyis the documented way to apply settings changes, thisbreaks networking for any already-running (attached) agent on every settings
change, with no error surfaced to the user.
Steps to reproduce
curl https://github.com # html outputcurl https://github.com # curl: (6) Could not resolve host: github.comwg-clientandmitmproxyarehealthy.
sandcat version 20260608.121328-b569ba4