diegosouzapw/OmniRoute · error · VeoArtifactError

VIDEO_ARTIFACT_DOWNLOAD_FAILED

VIDEO_ARTIFACT_DOWNLOAD_FAILED

Error message

Video artifact host could not be resolved

What it means

DNS lookup of the artifact hostname failed in assertHostnameResolvesPublic (dns.promises.lookup threw), so safety cannot be verified and the download is aborted with VIDEO_ARTIFACT_DOWNLOAD_FAILED. The host may be gone, typo'd by upstream, or DNS may be broken locally.

Solutions

  1. Retry once to rule out transient DNS failure
  2. Check local DNS/resolver configuration if all lookups fail
  3. Surface the code as retryable=false unless DNS recovers
Defensive patterns

Strategy: retry

When it happens

Trigger: Thrown at open-sse/executors/veoaifree-web.ts:420 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/eef6710abdf91d41. Report an issue: GitHub.

Appendix: source

Thrown at open-sse/executors/veoaifree-web.ts:420

async function assertHostnameResolvesPublic(hostname: string): Promise<void> {
  const bare =
    hostname.startsWith("[") && hostname.endsWith("]") ? hostname.slice(1, -1) : hostname;
  if (isIP(bare)) {
    if (isPrivateHost(bare)) {
      throw new VeoArtifactError(
        "VIDEO_ARTIFACT_URL_BLOCKED",
        "Video artifact host resolves to a blocked address",
        502
      );
    }
    return;
  }

  let resolved: Array<{ address: string }>;
  try {
    resolved = await dns.promises.lookup(bare, { all: true });
  } catch {
    throw new VeoArtifactError(
      "VIDEO_ARTIFACT_DOWNLOAD_FAILED",
      "Video artifact host could not be resolved",
      502
    );
  }

  if (!resolved.length) {
    throw new VeoArtifactError(
      "VIDEO_ARTIFACT_DOWNLOAD_FAILED",
      "Video artifact host could not be resolved",
      502
    );
  }

  for (const { address } of resolved) {
    if (isPrivateHost(address)) {
      throw new VeoArtifactError(
        "VIDEO_ARTIFACT_URL_BLOCKED",

View on GitHub (pinned to a179ffed5b)