Critical: Terminal Sandbox fails on OrbStack VMs, breaking Agent and Remote SSH workflow

Great diagnosis. Post #12 basically puts everything in the right place. This is exactly the second case we were trying to separate. It’s not sandbox preflight, it’s the Remote Extension Host. Network and the Agent endpoint work, and Timeout waiting for EverythingProvider is a symptom, not the cause.

The cause is the Extension Host crash loop you found:

TypeError: Converting circular structure to JSON
--- property 'issuerCertificate' closes the circle
... at serializeRequestArguments
Extension Host Process exited with code: 7

Same mechanics as in the previous thread about issuerCertificate: Remote SSH: Extension Host crashes with TypeError: Converting circular structure to JSON (issuerCertificate). Right before the crash, the logs show a TLS error:

Host: mobile.events.data.microsoft.com is not in the cert's altnames:
DNS:basis.orb.local, IP Address:192.168.139.175

So inside the OrbStack VM, a request to Microsoft’s telemetry endpoint mobile.events.data.microsoft.com resolves via DNS to a local OrbStack address and certificate basis.orb.local. The cert altnames don’t match, TLS verification fails, and Node attaches the full certificate chain to the error. That chain references itself via issuerCertificate. When serializeRequestArguments tries to serialize it, the whole Extension Host crashes, restarts in a loop, and EverythingProvider never gets a chance to come up. That’s why Auth UI, Tab, and Agent time out.

What to try right now to unblock yourself is to remove the trigger, the request to MS telemetry:

  1. On the remote side in Remote settings, set telemetry.telemetryLevel to off, then reconnect. This should remove the HTTPS requests to mobile.events.data.microsoft.com that hit the TLS failure.
  2. If that doesn’t help, also enable Disable HTTP/2 Settings → search for HTTP/2, then reconnect again.

If after telemetry off the Extension Host stops crashing and Agent and extensions come back, that confirms this is specifically about that external request, not something in your config.

On our side, a single failed TLS request taking down the whole remote Extension Host should not happen. The full stack serializeRequestArguments is exactly what we were missing, I’ve shared it with the team. I can’t give an ETA yet, I’ll post in the thread when there’s an update.

On sandbox and seccomp seccomp() → EINVAL on kernel 7.0.x, no change since post #8 and #11. That’s on our side, no ETA. But based on your data, it’s separate from the current blocker. Agent should work even without sandbox.

Let me know how telemetry off goes.