cline/cline · error · Error
Remote plugin file URLs must use https: ${source}
Error message
Remote plugin file URLs must use https: ${source} What it means
Error "Remote plugin file URLs must use https: ${source}" thrown in cline/cline.
Source
Thrown at sdk/packages/core/src/services/plugin-install.ts:304
return null;
}
let parsed: URL;
try {
parsed = new URL(source);
} catch {
return null;
}
const host = parsed.hostname.toLowerCase();
const filename = filenameFromUrlPath(parsed.pathname);
const isPluginFile = isPluginModulePath(filename);
const isGitHubFile =
(host === "github.com" || host === "www.github.com") &&
isGitHubFilePath(parsed.pathname);
if (parsed.protocol !== "https:") {
if (isGitHubFile || host === "raw.githubusercontent.com" || isPluginFile) {
throw new Error(`Remote plugin file URLs must use https: ${source}`);
}
return null;
}
if (host === "github.com" || host === "www.github.com") {
const parts = parsed.pathname.split("/").filter(Boolean);
if (!isGitHubFile) {
return null;
}
if (!isPluginFile) {
throw new Error(`Remote plugin file must be .js or .ts: ${source}`);
}
const rawParts = [parts[0], parts[1], ...parts.slice(3)];
return {
type: "remote",
url: `https://raw.githubusercontent.com/${rawParts.join("/")}`,
filename,
};View on GitHub (pinned to 491b30b806)
When it happens
Trigger: Thrown at sdk/packages/core/src/services/plugin-install.ts:304 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of cline/cline@491b30b806 (2026-08-25).
Data as JSON: /api/errors/32a5a9c3c3c7c593.
Report an issue: GitHub.