Skip to content

Commit

Permalink
Limit Hackney version to 1.21.0 max
Browse files Browse the repository at this point in the history
Due to an error on Hackney 1.22.0 when sending TLS requests, limit it to
the latest compatible version.

More info: benoitc/hackney#759
  • Loading branch information
luismiramirez committed Feb 24, 2025
1 parent f36c0ad commit 7edecdf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changesets/limit-hackney-to-1-21-0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
bump: patch
type: fix
---

Fix an issue where the AppSignal agent fails to download during installation, by restricting the Hackney dependency to version 1.21.0 or lower.
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ defmodule Appsignal.Mixfile do

hackney_version =
case otp_version >= "21" do
true -> "~> 1.6"
true -> "~> 1.6 and <= 1.21.0"
false -> "1.18.1"
end

Expand Down

0 comments on commit 7edecdf

Please sign in to comment.