musistudio/claude-code-router · error · Error
CCR gateway did not restart.
Error message
CCR gateway did not restart.
What it means
Error "CCR gateway did not restart." thrown in musistudio/claude-code-router.
Source
Thrown at packages/electron/src/main/deep-link.ts:202
}
async function ensurePluginAppUrlAvailable(config: AppConfig, appUrl: string, startedGateway: boolean): Promise<void> {
try {
await waitForPluginAppUrl(
appUrl,
startedGateway ? pluginAppStartupProbeTimeoutMs : pluginAppExistingGatewayProbeTimeoutMs
);
return;
} catch (error) {
if (startedGateway) {
throw error;
}
console.warn(`[deep-link] Plugin app URL was not reachable on the running gateway; restarting gateway once. ${formatError(error)}`);
}
const restartedStatus = await gatewayService.start(config);
if (restartedStatus.state !== "running") {
throw new Error(restartedStatus.lastError || "CCR gateway did not restart.");
}
await waitForPluginAppUrl(appUrl, pluginAppStartupProbeTimeoutMs);
}
async function ensureClaudeDesignWindowCdpOptions(
config: AppConfig,
pluginId: string,
startedGateway: boolean
): ReturnType<typeof loadClaudeDesignWindowCdpOptions> {
try {
return await loadClaudeDesignWindowCdpOptions(config, pluginId);
} catch (error) {
if (startedGateway) {
throw error;
}
console.warn(`[deep-link] Claude browser plugin status was not reachable on the running gateway; restarting gateway once. ${formatError(error)}`);
}
View on GitHub (pinned to 99f24806c6)
When it happens
Trigger: Thrown at packages/electron/src/main/deep-link.ts:202 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of musistudio/claude-code-router@99f24806c6 (2026-08-27).
Data as JSON: /api/errors/0f68fa4a03bae979.
Report an issue: GitHub.