-
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
Regression in 2.1.0? #1029
Comments
One more data point, I had similar problem with |
Can you give us a way to reproduce the error? |
We just started getting a similar looking error but for a different package:
|
Getting the same issue for a different package
|
It can probably happen for any package, but we need a way to reproduce it to fix the issue. Please share your mix project including the mix.exs and mix.lock files. |
Seeing the same issue with another dependency. Only change between ci builds was the update from We see the issue with e.g. I was able to avoid the error by additionally including the
Seeing the following error:
In the output for "Resolving Hex dependencies..." |
Please folks, you gotta help me out here. Just reporting the same thing does not help. Please share a way for us to reproduce the error. The easiest way to do is by sharing your mix.exs file (all of them if it's an umbrella app) and the mix.lock file. |
hi @ericmj it can be a little difficult to share private mix files as they can contain other private dependencies and information. What details from the files would help specifically? I will try and create a stripped back minimal version to help repo the issue. |
We also use private mix files (which possibly might be partly the cause of this timeout behaviour). Using the same version as our existing app, Elixir
At this point everything works fine. Then update
then clear the deps and attempt to get again:
and the we get the error:
NOTE: When I inspect the If I update the
and run
I get this error:
Our forked version of esaml has bumped cowboy in it's |
We tried (#1019 (comment) for google_gax) which works, here is the updated mix.exs
However, we now get the same error with poison
|
We need the deps entry from mix.exs and the full mix.lock file. |
@ericmj I cannot share my mix.exs either because you would not be able to pull our private libraries. But I ran a quick debug session and it seems that
(timeout of 5000 is my change) In my case we have a dependency that depends on (not sure if this is helpful, I don't know how hex works) |
For those that have their CI pipelines failing because of this, replace this: |
We are seeing this issue with one of our umbrella projects that has an Erlang application in it. We had problems with the dependencies of that application (hackney and jsx). |
For anyone running into this error, please consider narrowing this down to a minimal reproduction by removing dependencies and re-running and then sending us a mix.exs file. It might be enough to just have: # mix.exs
defmodule Foo do
def project do
[app: :foo, version: "1.0.0", deps: deps()]
end
defp deps do
[
# ...
]
end
end If mix.lock matters, that is you can't reproduce this without it existing prior, please send it too. A |
https://github.com/stefanluptak/hex_debug Just clone it, and run |
@stefanluptak perfect, I was able to reproduce the issue. |
So a little more data on this one:
Sample Mix files that are enough to trigger it:
|
We don't have a minimal reproduction, but we are seeing the same issue in a non-umbrella app. Explicitly using 2.0.6 fixed it for us as well. |
no minimal repro but adding another datapoint - we are seeing the same error when running the package which times out is |
@CuriousCurmudgeon Do you have a non-minimal reproduction? EDIT: nvm, I also found a way to reproduce without an umbrella. |
Hey @ericmj thanks for the fix! Is this going to be published as 2.1.1? |
Yes. 2.1.1 has been published. |
I'm receiving the following error with the latest version:
The only thing that I can see about the
decimal
dependency that is at all special is it appeared in multiple places in the umbrella app and each of one those had anoverride: true
option because of a library with an out of date version. I was able to remove theoverride: true
and then upgrade that dependency andmix deps.get
finished as expected.I'll try to dig into this a bit more tomorrow and see if I can be of more help.
The text was updated successfully, but these errors were encountered: