diegosouzapw/OmniRoute · error · Error
Browser credential harvest timed out after ${timeoutMs}ms
Error message
Browser credential harvest timed out after ${timeoutMs}ms What it means
Error "Browser credential harvest timed out after ${timeoutMs}ms" thrown in diegosouzapw/OmniRoute.
Source
Thrown at src/lib/vncSession/harvest.ts:336
: "";
const baseResult: HarvestResult = {
cookies,
localStorage: declaredStorage,
cookieHeader,
hasCredential: false,
};
const credentials = harvestToCredentials(baseResult, provider);
const hasCredential =
typeof credentials.apiKey === "string" ||
Object.values(credentials.providerSpecificData).some(
(value) => typeof value === "string" && value.length > 0
);
return { ...baseResult, hasCredential };
} catch (error) {
if (controller.signal.aborted) {
throw new Error(`Browser credential harvest timed out after ${timeoutMs}ms`);
}
throw error;
} finally {
clearTimeout(timeout);
client?.close();
}
}
export function harvestToCredentials(
harvest: HarvestResult,
provider: VncProviderEntry
): { providerSpecificData: Record<string, string>; apiKey: string | null } {
const requirement = provider.requirement;
const providerSpecificData: Record<string, string> = {};
for (const key of requirement.storageKeys) {
if (key === "cookie") continue;
const value =View on GitHub (pinned to a179ffed5b)
When it happens
Trigger: Thrown at src/lib/vncSession/harvest.ts:336 when the library encounters an invalid state.
Common situations: See trigger scenarios.
Understand the failure class
- Timeouts: ETIMEDOUT, deadlines, and hung requests — what actually expires when a request times out.
AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25).
Data as JSON: /api/errors/83e1f8107f37afa2.
Report an issue: GitHub.