-
Notifications
You must be signed in to change notification settings - Fork 518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught error: {badrecord,not_found} / Hex get_package request failed enetunreach #2897
Comments
This would point to a network being unreachable. It specifically happens when trying to contact repo.hex.pm:443, so I would have to imagine something about the environment causing issues there. Any proxy, firewall, IPv6 funky config that could be in play? |
That's the real curious part, hex and other tools are able to use the internet just fine during the same run. It's only this isolated instance where it's receiving this error. What is special about the method in which this is being called which causes |
Hex uses some 3 years old vendored code in https://github.com/erlang/rebar3/tree/main/apps/rebar/src/vendored that relies on httpc for calls. Rebar3 also uses httpc, but I imagine that re-vendoring the code on a newer version would probably help a bit. Otherwise I'm not quite sure because it is the same underlying library, but it has to maybe inject a different configuration that fast_tls doesn't deal with the same. |
Is there a way that I could circumvent this procedure by manually downloading |
I've just prepared #2898 to see if newer libs work. If you want to try vendoring as an approach, the |
👋 I have a bit of a complicated environment that I am trying to debug. The error I am receiving is from cross compiling the
fast_tls
package within the Yocto build system. It appears that rebar3 is attempting to resolve plugins, in this casepc
from hex and download it for the package. For unknown reasons, it's failing to download it withenetunreach
. Later in the compilation I get anUncaught error: {badrecord,not_found}
. I am assuming these to be related. The curious part is that the larger project this dependency is part of can reach the internet, and happily pulls all the other deps from hex just fine.I am using:
rebar 3.23.0
Erlang 26.2.5
Elixir 1.16.3
The text was updated successfully, but these errors were encountered: