diegosouzapw/OmniRoute · error

THEOLDLLM_VERCEL_MITIGATED

THEOLDLLM_VERCEL_MITIGATED

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.

What it means

buildVercelMitigationError: theoldllm.com (hosted on Vercel) is bot-blocking this server's egress IP, so upstream responses are mitigation pages rather than model output. The executor detects this and substitutes a dedicated upstream_access_denied error (THEOLDLLM_VERCEL_MITIGATED) telling the operator to route via a residential/proxy egress.

Solutions

  1. Configure a residential proxy or global proxy for the theoldllm connection and retry
  2. Run OmniRoute from an egress IP not flagged by Vercel
  3. Use a different provider for this model until the IP is unblocked
Defensive patterns

Strategy: fallback

When it happens

Trigger: Thrown at open-sse/executors/theoldllm.ts:278 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/bf83f26bba393efc. Report an issue: GitHub.

Appendix: source

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

        if (p.error) {
          detail = JSON.stringify(p.error);
          break;
        }
      } catch {}
    }
  }
  return JSON.stringify({
    error: { message: detail, type: "upstream_error", code: `HTTP_${status}` },
  });
}

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,

View on GitHub (pinned to a179ffed5b)