mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 04:27:29 +00:00
conn reset
This commit is contained in:
@@ -129,6 +129,9 @@ export const pkiAcmeChallengeServiceFactory = ({
|
|||||||
if (errorCode === "ENOTFOUND" || errorMessage.includes("ENOTFOUND")) {
|
if (errorCode === "ENOTFOUND" || errorMessage.includes("ENOTFOUND")) {
|
||||||
throw new AcmeDnsFailureError({ message: "Hostname could not be resolved (DNS failure)" });
|
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")) {
|
if (errorCode === "ECONNABORTED" || errorMessage.includes("timeout")) {
|
||||||
logger.error(exp, "Connection timed out while validating ACME challenge response");
|
logger.error(exp, "Connection timed out while validating ACME challenge response");
|
||||||
throw new AcmeConnectionError({ message: "Connection timed out" });
|
throw new AcmeConnectionError({ message: "Connection timed out" });
|
||||||
|
|||||||
Reference in New Issue
Block a user