musistudio/claude-code-router · error
${certificateStatus.message}
Error message
${certificateStatus.message} What it means
Error "${certificateStatus.message}" thrown in musistudio/claude-code-router.
Source
Thrown at packages/electron/src/main/ipc.ts:319
ipcMain.handle(IPC_CHANNELS.appTestRouteScript, async (_event, request: RouteScriptTestRequest) => {
return gatewayService.testRouteScript(await loadAppConfig(), request);
});
ipcMain.handle(IPC_CHANNELS.appUpdateCheck, () => appUpdateService.checkForUpdates());
ipcMain.handle(IPC_CHANNELS.appUpdateDownload, () => appUpdateService.downloadUpdate());
ipcMain.handle(IPC_CHANNELS.appUpdateInstall, () => appUpdateService.installUpdate());
ipcMain.handle(IPC_CHANNELS.appQuit, () => {
app.quit();
});
ipcMain.handle(IPC_CHANNELS.appRevealProxyCertificate, () => {
ensureProxyCertificateAuthority();
shell.showItemInFolder(PROXY_CA_CERT_FILE);
});
ipcMain.handle(IPC_CHANNELS.appSaveConfig, async (_event, config: AppConfig, options?: AppSaveConfigOptions) => {
const previousConfig = await loadAppConfig();
if (config.proxy.enabled) {
const certificateStatus = await proxyService.getCertificateStatus();
if (!certificateStatus.trusted) {
throw new Error(certificateStatus.message);
}
}
const launchAtLoginChanged = Boolean(config.launchAtLogin) !== Boolean(previousConfig.launchAtLogin);
let savedConfig = await saveAppConfig(config);
applyAppThemePreference(savedConfig.theme);
if (launchAtLoginChanged) {
try {
syncLaunchAtLogin(savedConfig);
} catch (error) {
await saveAppConfig({
...savedConfig,
launchAtLogin: previousConfig.launchAtLogin
});
throw error;
}
}
const syncedClaudeAppConfig = await syncClaudeAppGatewayConfig(savedConfig);
savedConfig = syncedClaudeAppConfig.config;View on GitHub (pinned to 99f24806c6)
When it happens
Trigger: Thrown at packages/electron/src/main/ipc.ts:319 when the library encounters an invalid state.
Common situations: See trigger scenarios.
Understand the failure class
- SSL/TLS and certificate errors — how TLS handshakes and certificate validation fail.
AI-assisted analysis of musistudio/claude-code-router@99f24806c6 (2026-08-27).
Data as JSON: /api/errors/1c2f4c2b1cfb2dbb.
Report an issue: GitHub.