-
Notifications
You must be signed in to change notification settings - Fork 187
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
Issues fetching deps #1019
Comments
Was trying to upgrade to latest Elixir and Erlang versions trying to resolve the issue and it now Hex locally is totally broken:
|
The eheap_alloc crash is described here: erlang/otp#8238 The workaround is here: erlang/otp#8238 (comment) The fix is already merged in so should be out in the next patch release. |
Thanks @wojtekmach! Do you have any idea why we might be hitting the original issue? I've already deleted the cache, bumped Elixir/Erlang versions, and even managed to reproduce it locally once. (Reproduces all the time on CI.) |
No idea, sorry. |
Getting the same on floki:
Works fine locally but fails on Scalingo/Heroku. @AndrewDryga found any way to fix this? |
@jnylen you can override Floki as GitHub dependency:
I believe somehow the archive for the latest version was corrupted so a version bump should help, and we probably should recall the corrupted version too. |
This is still happening even with the new release
|
Do you have a project that reproduces the error? |
@ericmj I've tried to make a simple repo to reproduce but failed to do so, maybe it happens in umbrella apps with a much more complex setup.. |
Could you try a new project with the same mix.lock and if you can reproduce slowly cut down the lock to the minimal one? |
If you can't reproduce locally can you share the project and branch where it happens on CI? |
I will try to make a repo to reproduce, and yes, this is an umbrella application, and I had |
Here is the repository: https://github.com/khustochka/floki_test2_umbrella I reproduce the error by running: docker build . --progress plain
And looks like it is only reproduced in an umbrella app and with |
Closing this because we believe it's a mix bug and tracking it here elixir-lang/elixir#13490. |
The Elixir one was another bug, so we are reopening it. :) |
Luckily, it has already been fixed by: elixir-lang/elixir@a5e53b7 :) |
Found a small `TODO` while working on other things and figured I'd quickly fix it. Following these 2 github issues indicate the problem has been fixed: philss/floki#556 hexpm/hex#1019
We hit a weird issue where hex will timeout fetching a specific dependency on GitHub Actions runner: https://github.com/firezone/firezone/actions/runs/8286457278/job/22713880034#step:3:415. We have 7+ retries and it always fails for Floki with:
and is reproduced both when built within docker our on the host VM.
The text was updated successfully, but these errors were encountered: