Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Veria fix

Carlos Monastyrski43ebe842073d
diff --git a/backend/src/lib/validator/validate-url.ts b/backend/src/lib/validator/validate-url.ts
index f4ba85d142..f04f0fe4b6 100644
--- a/backend/src/lib/validator/validate-url.ts
+++ b/backend/src/lib/validator/validate-url.ts
@@ -74,8 +74,8 @@ export const ipGuardedLookup = createIpGuardedLookup();
export const createIpGuardedAgents = (isInternalIpAllowed?: () => boolean) => {
const lookup = createIpGuardedLookup(isInternalIpAllowed);
return {
- httpAgent: new http.Agent({ keepAlive: true, lookup }),
- httpsAgent: new https.Agent({ keepAlive: true, lookup })
+ httpAgent: new http.Agent({ keepAlive: true, timeout: 5000, lookup }),
+ httpsAgent: new https.Agent({ keepAlive: true, timeout: 5000, lookup })
};
};