Skip to content

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

conn reset

Fang-Pen Lin3cb3bd3d21e5
diff --git a/backend/src/ee/services/pki-acme/pki-acme-challenge-service.ts b/backend/src/ee/services/pki-acme/pki-acme-challenge-service.ts
index 572d52bf59..f477d09775 100644
--- a/backend/src/ee/services/pki-acme/pki-acme-challenge-service.ts
+++ b/backend/src/ee/services/pki-acme/pki-acme-challenge-service.ts
@@ -129,6 +129,9 @@ export const pkiAcmeChallengeServiceFactory = ({
if (errorCode === "ENOTFOUND" || errorMessage.includes("ENOTFOUND")) {
throw new AcmeDnsFailureError({ message: "Hostname could not be resolved (DNS failure)" });
}
+ if (errorCode === "ECONNRESET" || errorMessage.includes("ECONNRESET")) {
+ throw new AcmeConnectionError({ message: "Connection reset by peer" });
+ }
if (errorCode === "ECONNABORTED" || errorMessage.includes("timeout")) {
logger.error(exp, "Connection timed out while validating ACME challenge response");
throw new AcmeConnectionError({ message: "Connection timed out" });