{"record":{"id":"b67a23dacf2c2df3","repo":"Dokploy/dokploy","slug":"not-found-b67a23","errorCode":"NOT_FOUND","errorMessage":"Select a server to test the registry","messagePattern":"Select a server to test the registry","errorType":"exception","errorClass":"TRPCError","httpStatus":404,"severity":"error","filePath":"apps/dokploy/server/api/routers/registry.ts","lineNumber":117,"sourceCode":"\t\t\t\t\tmessage: \"You are not allowed to access this registry\",\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn registry;\n\t\t}),\n\ttestRegistry: withPermission(\"registry\", \"read\")\n\t\t.input(apiTestRegistry)\n\t\t.mutation(async ({ input }) => {\n\t\t\ttry {\n\t\t\t\tconst args = [\n\t\t\t\t\t\"login\",\n\t\t\t\t\tinput.registryUrl,\n\t\t\t\t\t\"--username\",\n\t\t\t\t\tinput.username,\n\t\t\t\t\t\"--password-stdin\",\n\t\t\t\t];\n\n\t\t\t\tif (IS_CLOUD && !input.serverId) {\n\t\t\t\t\tthrow new TRPCError({\n\t\t\t\t\t\tcode: \"NOT_FOUND\",\n\t\t\t\t\t\tmessage: \"Select a server to test the registry\",\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\tif (input.serverId && input.serverId !== \"none\") {\n\t\t\t\t\tawait execAsyncRemote(\n\t\t\t\t\t\tinput.serverId,\n\t\t\t\t\t\tsafeDockerLoginCommand(\n\t\t\t\t\t\t\tinput.registryUrl,\n\t\t\t\t\t\t\tinput.username,\n\t\t\t\t\t\t\tinput.password,\n\t\t\t\t\t\t),\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\tawait execFileAsync(\"docker\", args, {\n\t\t\t\t\t\tinput: Buffer.from(input.password).toString(),\n\t\t\t\t\t});","sourceCodeStart":99,"sourceCodeEnd":135,"githubUrl":"https://github.com/Dokploy/dokploy/blob/546686ea3587f12ec5652217dedd9f7960fb6d15/apps/dokploy/server/api/routers/registry.ts#L99-L135","documentation":"Error \"Select a server to test the registry\" thrown in Dokploy/dokploy.","triggerScenarios":"Thrown at apps/dokploy/server/api/routers/registry.ts:117 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"546686ea3587f12ec5652217dedd9f7960fb6d15","analyzedAt":"2026-08-27T05:18:58.095Z","schemaVersion":2},"datasetVersion":"2026-08-27T08:17:20.692Z"}