Has anyone else seen this?
All my AI features and Stripe billing were working fine on my published site earlier this month. Now everything returns “API key not configured” and /api/stripe/status says configured: false.
Added a diagnostic endpoint to see what’s going on, and on the published site:
locals.runtimeis undefinedprocess.envhas onlyKUBERNETES_*/POD_*vars- all 8 of my declared env vars resolve empty
Back in June the same probe on the same site returned hasRuntime: true with the key present. So it looks like my published site moved from a Cloudflare Worker to a Node container, and the env binding went with it. Nothing changed on my end — env schema in astro.config.mjs is byte-identical to the commit where this last worked.
Things I’ve tried:
wix env set→PERMISSION_DENIED(VELO.APP_ENVIRONMENT_UPSERT)npm installto add@wix/secrets→ 404 on@wix/locale-dataset-javascript, which isn’t on public npm- Velo
/_functions/*→ 404 on the published site - REST Get Secret Value via
httpClient.fetchWithAuth, plain and withauth.elevate()→ 403 both ways
So I can’t reach a secret at all right now. Two questions:
- Is anyone else’s published Vibe site running on Node now instead of Workers?
- If this is the new runtime — what’s the supported way to read a secret from an Astro API route?