From 0f64e5624d3c475e5c88f7679804706341134ceb Mon Sep 17 00:00:00 2001 From: Dominic Letz Date: Thu, 1 Oct 2026 00:52:35 +0200 Subject: [PATCH 1/2] Point certmagex at fail-backoff branch Stops per-handshake ACME order storms after HTTP 429. Uses seeded eu1 files for bare names on as1. Deployed to as1 only for now. Co-authored-by: Cursor --- mix.exs | 2 +- mix.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mix.exs b/mix.exs index 8412c51..b6d8581 100644 --- a/mix.exs +++ b/mix.exs @@ -120,7 +120,7 @@ defmodule Diode.Mixfile do defp deps do [ - {:certmagex, github: "dominicletz/certmagex"}, + {:certmagex, github: "dominicletz/certmagex", branch: "fix/acme-fail-backoff"}, {:debouncer, "~> 1.0", override: true}, {:dets_plus, "~> 2.0"}, {:eblake2, "~> 1.0"}, diff --git a/mix.lock b/mix.lock index 2da795a..74e5f53 100644 --- a/mix.lock +++ b/mix.lock @@ -3,7 +3,7 @@ "castore": {:hex, :castore, "1.0.21", "0a0e8330dc267a40a3b7ad86d39302764bb71758172904e6a59d5ad6443ce307", [:mix], [], "hexpm", "e42e22723e25dbd46876d056a03f685513d6e98f6b5e555dc551321decd76c5c"}, "cbor": {:hex, :cbor, "1.0.2", "9b0af85af291a556e10a0ffd48ba9a21a75e711828fafd3af193d56d95f0907f", [:mix], [], "hexpm", "edbc9b4a16eb93a582437b9b249c340a75af03958e338fb43d8c1be9fc65b864"}, "cc_precompiler": {:hex, :cc_precompiler, "0.1.11", "8c844d0b9fb98a3edea067f94f616b3f6b29b959b6b3bf25fee94ffe34364768", [:mix], [{:elixir_make, "~> 0.7", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm", "3427232caf0835f94680e5bcf082408a70b48ad68a5f5c0b02a3bea9f3a075b9"}, - "certmagex": {:git, "https://github.com/dominicletz/certmagex.git", "beabe5cefebfacb9cd5e29299a843c3f8f9fe7a2", []}, + "certmagex": {:git, "https://github.com/dominicletz/certmagex.git", "17a684e459bc570a467c180d1e3ebd15217e0e1a", [branch: "fix/acme-fail-backoff"]}, "cowboy": {:hex, :cowboy, "2.18.0", "bff388eb4d6356cb3f88c26e65b515976bf04b401b805d31550c3e60eba8fe18", [:make, :rebar3], [{:cowlib, ">= 2.19.0 and < 3.0.0", [hex: :cowlib, repo: "hexpm", optional: false]}, {:ranch, ">= 1.8.0 and < 3.0.0", [hex: :ranch, repo: "hexpm", optional: false]}], "hexpm", "62d0b26abcf455054972b0da242389c69d5982ce5914afb8c344517f667b9600"}, "cowboy_telemetry": {:hex, :cowboy_telemetry, "0.4.0", "f239f68b588efa7707abce16a84d0d2acf3a0f50571f8bb7f56a15865aae820c", [:rebar3], [{:cowboy, "~> 2.7", [hex: :cowboy, repo: "hexpm", optional: false]}, {:telemetry, "~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "7d98bac1ee4565d31b62d59f8823dfd8356a169e7fcbb83831b8a5397404c9de"}, "cowlib": {:hex, :cowlib, "2.19.0", "c9d11c9d035472e27a740c9f327786c61ed209269b4be0260d59d3ec07b8949f", [:make, :rebar3], [], "hexpm", "6dc66e3135b229193ea4dcb14294e79520c923d391315c9c962ef0b4bea72356"}, From de373568c0f645455177d30310d42e2fc9422040 Mon Sep 17 00:00:00 2001 From: Dominic Letz Date: Thu, 1 Oct 2026 00:56:17 +0200 Subject: [PATCH 2/2] Track certmagex master with fail backoff Uses merged PR #9 (7c9e6f4). Deployed to as1 only so far. Co-authored-by: Cursor --- mix.exs | 2 +- mix.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mix.exs b/mix.exs index b6d8581..8412c51 100644 --- a/mix.exs +++ b/mix.exs @@ -120,7 +120,7 @@ defmodule Diode.Mixfile do defp deps do [ - {:certmagex, github: "dominicletz/certmagex", branch: "fix/acme-fail-backoff"}, + {:certmagex, github: "dominicletz/certmagex"}, {:debouncer, "~> 1.0", override: true}, {:dets_plus, "~> 2.0"}, {:eblake2, "~> 1.0"}, diff --git a/mix.lock b/mix.lock index 74e5f53..a823a49 100644 --- a/mix.lock +++ b/mix.lock @@ -3,7 +3,7 @@ "castore": {:hex, :castore, "1.0.21", "0a0e8330dc267a40a3b7ad86d39302764bb71758172904e6a59d5ad6443ce307", [:mix], [], "hexpm", "e42e22723e25dbd46876d056a03f685513d6e98f6b5e555dc551321decd76c5c"}, "cbor": {:hex, :cbor, "1.0.2", "9b0af85af291a556e10a0ffd48ba9a21a75e711828fafd3af193d56d95f0907f", [:mix], [], "hexpm", "edbc9b4a16eb93a582437b9b249c340a75af03958e338fb43d8c1be9fc65b864"}, "cc_precompiler": {:hex, :cc_precompiler, "0.1.11", "8c844d0b9fb98a3edea067f94f616b3f6b29b959b6b3bf25fee94ffe34364768", [:mix], [{:elixir_make, "~> 0.7", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm", "3427232caf0835f94680e5bcf082408a70b48ad68a5f5c0b02a3bea9f3a075b9"}, - "certmagex": {:git, "https://github.com/dominicletz/certmagex.git", "17a684e459bc570a467c180d1e3ebd15217e0e1a", [branch: "fix/acme-fail-backoff"]}, + "certmagex": {:git, "https://github.com/dominicletz/certmagex.git", "7c9e6f441c3954041ec7962df7dbb63db832ef26", []}, "cowboy": {:hex, :cowboy, "2.18.0", "bff388eb4d6356cb3f88c26e65b515976bf04b401b805d31550c3e60eba8fe18", [:make, :rebar3], [{:cowlib, ">= 2.19.0 and < 3.0.0", [hex: :cowlib, repo: "hexpm", optional: false]}, {:ranch, ">= 1.8.0 and < 3.0.0", [hex: :ranch, repo: "hexpm", optional: false]}], "hexpm", "62d0b26abcf455054972b0da242389c69d5982ce5914afb8c344517f667b9600"}, "cowboy_telemetry": {:hex, :cowboy_telemetry, "0.4.0", "f239f68b588efa7707abce16a84d0d2acf3a0f50571f8bb7f56a15865aae820c", [:rebar3], [{:cowboy, "~> 2.7", [hex: :cowboy, repo: "hexpm", optional: false]}, {:telemetry, "~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "7d98bac1ee4565d31b62d59f8823dfd8356a169e7fcbb83831b8a5397404c9de"}, "cowlib": {:hex, :cowlib, "2.19.0", "c9d11c9d035472e27a740c9f327786c61ed209269b4be0260d59d3ec07b8949f", [:make, :rebar3], [], "hexpm", "6dc66e3135b229193ea4dcb14294e79520c923d391315c9c962ef0b4bea72356"},