diegosouzapw/OmniRoute · error

THEOLDLLM_PROXY_UNAVAILABLE

THEOLDLLM_PROXY_UNAVAILABLE

Error message

The Old LLM proxy assignment has no active proxies. Configure or enable a proxy and retry.

What it means

buildProxyUnavailableError: the theoldllm connection is configured to route through proxies, but its proxy assignment currently has zero active/healthy proxies (TheOldLlmProxyUnavailableError path). The executor returns a proxy_unavailable error instead of attempting a doomed direct or proxied request.

Solutions

  1. Add or re-enable proxies in the theoldllm proxy assignment
  2. Check proxy health/status and fix dead proxies
  3. Temporarily disable the proxy requirement if direct egress is acceptable
Defensive patterns

Strategy: fallback

When it happens

Trigger: Thrown at open-sse/executors/theoldllm.ts:289 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25). Data as JSON: /api/errors/90cc037a084c1750. Report an issue: GitHub.

Appendix: source

Thrown at open-sse/executors/theoldllm.ts:289

function buildVercelMitigationError(): string {
  return JSON.stringify({
    error: {
      message:
        "The Old LLM is blocked by Vercel for this server egress IP. Configure a residential provider or global proxy for 'theoldllm' and retry.",
      type: "upstream_access_denied",
      code: "THEOLDLLM_VERCEL_MITIGATED",
    },
  });
}

function buildProxyUnavailableError(): string {
  return JSON.stringify({
    error: {
      message:
        "The Old LLM proxy assignment has no active proxies. Configure or enable a proxy and retry.",
      type: "proxy_unavailable",
      code: "THEOLDLLM_PROXY_UNAVAILABLE",
    },
  });
}

async function fetchUpstreamWithRetry(
  reqBody: Record<string, unknown>,
  signal: AbortSignal | null | undefined,
  log: ExecuteInput["log"]
): Promise<{ response: Response; body: string; vercelMitigated: boolean }> {
  let response = await directFetch(reqBody, signal);
  let body = await response.text();
  let vercelMitigated = isVercelMitigationResponse(response, body);
  if (!vercelMitigated && isTokenRejected(response.status, body)) {
    log?.warn?.("THEOLDLLM", `Token rejected (${response.status}), retrying with fresh token…`);
    response = await directFetch(reqBody, signal);
    body = await response.text();
    vercelMitigated = isVercelMitigationResponse(response, body);
  }

View on GitHub (pinned to a179ffed5b)