diegosouzapw/OmniRoute · error · Error

Provider is no longer supported for browser login

Error message

Provider is no longer supported for browser login

What it means

Consistency guard in harvestSession: the session's providerId no longer resolves to a VncProviderEntry via getVncProvider. Means the VNC provider registry changed (provider config removed/renamed) while the browser-login session was live, so the harvested data can no longer be mapped to credential fields for that provider.

Solutions

  1. Stop the orphaned session and start a new one against a currently supported provider
  2. Restore the provider's VncProviderEntry config if it was removed in error
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at src/lib/vncSession/service.ts:271 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/72fbf873c06cc4ed. Report an issue: GitHub.

Appendix: source

Thrown at src/lib/vncSession/service.ts:271

  const session = getSession(connectionId, sessionId);
  if (session) session.lastViewerAt = Date.now();
}

export async function harvestSession(
  connectionId: string,
  sessionId: string
): Promise<HarvestSessionResult> {
  if (await isConnectionUnavailableToAuxiliaryActivity(connectionId))
    throw new Error("Browser login is unavailable for managed lease connections");

  const session = getSession(connectionId, sessionId);
  if (!session) throw new Error("Browser-login session not found");
  if (session.status !== "running") {
    throw new Error(`Browser-login session is not running (${session.status})`);
  }

  const provider = getVncProvider(session.providerId);
  if (!provider) throw new Error("Provider is no longer supported for browser login");

  session.status = "harvesting";
  try {
    const harvest = await harvestFromContainer(
      session.cdpPort,
      provider,
      VNC_CONFIG.harvestTimeoutMs
    );
    session.lastHarvestAt = Date.now();
    if (!harvest.hasCredential) {
      return {
        harvested: false,
        sessionId,
        connectionId,
        providerId: session.providerId,
        updatedFields: [],
        validation: null,
      };

View on GitHub (pinned to a179ffed5b)