Product: Vertex AI Agent Engine, sandbox environments (v1beta1), data plane (https://<id>.<cluster>.<region>.sandbox.vertexai.goog)
Symptom
Any HTTPS request to the data-plane host of an affected tenant that carries a valid service-account JWT (iss = sub = service account, aud = https://aiplatform.googleapis.com/, signed with iamcredentials.signJwt), the sandbox’s routing token (X-Sandbox-Routing-Token) and X-Sandbox-Port stalls 13–15 s and returns:
HTTP 500
Internal Server Error: Authorization service unavailable. (Request ID: ...)
It happens for every sandbox of the tenant, for custom-container sandboxes and for the built-in shell sandbox (DEFAULT_CONTAINER_CATEGORY_SHELL_SANDBOX, port 8080), for the project’s own service account and for a foreign one, for as long as the tenant exists (first affected tenant is 24 h old and unchanged).
On a healthy tenant the same request answers in under a second: 200 for an account with roles/aiplatform.user on the project, and a fast 403 Forbidden: You do not have permission to access this sandbox for a foreign account.
The steps before the service-account check work on the affected tenants too, and fast: no Authorization header → 401 Missing Authorization header; a user OAuth token → 401 Malformed token. Missing or invalid issuer (iss) claim; a Google-signed user ID token → 401 Unrecognized token issuer; a routing token from another project → 401 Unknown issuer for the routing token. Only the step after a service-account JWT is accepted stalls.
It follows the cluster, not the project or the region
The host’s second label is the cluster (it is also the TLS wildcard the certificate is issued for), and a project always gets the same host in a region whichever reasoning engine the sandbox belongs to, so placement looks fixed per project and region. Measured in three projects with the same image, probe and signing accounts (clusters shown as <cluster>; project ids omitted):
| project | region | cluster | result |
|---|---|---|---|
| A (older project, tenant since 2026-09-19) | europe-west1 | ad64fda8e | OK |
| A | europe-west4 | abbb7e16a | FAIL |
| B (tenant since 2026-10-09) | europe-west1 | a26dffa42 | FAIL |
| B | europe-west2 | a04c26121 | FAIL |
| B | europe-west4 | ac334d5ff | FAIL |
| B | europe-southwest1 | aac25a27a | OK |
| B | us-east4 | a013331c8 | FAIL |
| B | us-west1 | a0ab68166 | FAIL |
| B | asia-northeast1 | a46424744 | FAIL |
| C (brand-new project, created for this test) | europe-west1 | ad7b40bfb | FAIL |
| C | europe-west2 | aa0bc0bba | OK |
| C | europe-west3 | ad36ab8e1 | FAIL |
| C | us-central1 | a162ff640 | FAIL |
Same region, three projects, three different clusters, and only one of them works.
Ruled out on the customer side
- IAM: identical allow bindings between the working and the failing project (
roles/aiplatform.userfor the signer), no deny policies, no principal access boundaries, no conditions; the service agentsgcp-sa-aiplatform,gcp-sa-aiplatform-re,gcp-sa-vertex-sandboxandgcp-sa-vertex-agentexist with their standard roles in every project; the sandbox agents’ public JWKs resolve and match the routing tokens’kid. - Enabled APIs, Vertex AI consumer config and every sandbox/engine quota identical; same billing account; no organisation policies.
- The token itself: the same self-signed JWT is evaluated correctly by the control plane (
GET …/reasoningEngines/<id>returns a precise 403 in 0.16 s for a foreign account, lists sandboxes with 200 in its own project). - The container: through
sandboxEnvironments:executethe process inside the sandbox reports its HTTP server listening on the probed port. - Provisioning path: disabling and re-enabling
aiplatform.googleapis.comdeletes nothing and changes nothing; a second engine in the same region gets the same host and the same failure; making a built-in shell sandbox the tenant’s very first sandbox changes nothing; a brand-new project with only the API, one service account and the built-in shell template fails in europe-west1 the same way. - Not a proxy or network issue: the probes are plain
curlfrom a laptop.
Decoded routing-token claims have the same shape on healthy and failing tenants (iss = the project’s gcp-sa-vertex-sandbox agent, aud https://aiplatform.googleapis.com/, sandbox_type UNSPECIFIED, from_trusted_caller false, sandbox_hostname sbx-tmpl-<engine>-<template>-<hash>.default.svc.cluster.local).
Side observation: right after deleting and recreating an engine in a region, the first sandboxEnvironmentTemplates.create ended FAILED with operation error {"code":10,"message":"ABORTED"} and no detail (seen twice, europe-west2 and europe-west3); a retry minutes later succeeded.
Minimal reproduction
- New project, enable
aiplatform.googleapis.comandiamcredentials.googleapis.com, create a service account withroles/aiplatform.user. - Create a reasoning engine in europe-west1, a template
{"defaultContainerEnvironment":{"defaultContainerCategory":"DEFAULT_CONTAINER_CATEGORY_SHELL_SANDBOX","resources":{"requests":{"cpu":"1","memory":"2Gi"},"limits":{"cpu":"1","memory":"2Gi"}}},"egressControlConfig":{"internetAccess":true}}and a sandbox from it; readconnectionInfo.loadBalancerHostnameandconnectionInfo.routingToken. - Sign a JWT as the service account (
iamcredentials … :signJwt, payload{iat, exp, iss, sub, nonce, aud:"https://aiplatform.googleapis.com/"}). curl -H "Authorization: Bearer <jwt>" -H "X-Sandbox-Routing-Token: <token>" -H "X-Sandbox-Port: 8080" https://<host>/
Healthy tenant:200 {"status":"healthy"}in < 1 s. Affected tenant: the 500 above after ~13 s.
Questions
- What is the “authorization service” behind the sandbox data plane, and why is it unavailable on some clusters (a26dffa42, a04c26121, ac334d5ff, a013331c8, a0ab68166, a46424744, abbb7e16a, ad7b40bfb, ad36ab8e1, a162ff640) while it works on others (ad64fda8e, aac25a27a, aa0bc0bba)?
- Can an affected tenant be repaired or re-placed? Nothing on the customer side moves it.
- Is there a supported way to request or verify placement on a working cluster before building on a region? Today the only option that worked was scanning regions until the project landed on a good cluster, and then running the sandboxes outside the home region.
Request IDs from the affected tenants are available on request (about twenty, 2026-10-09 to 2026-10-10).