Github deps.get timeout / error

I see the following error when I try to mix deps.get with one dependency (others from Github do work) in a large umbrella app (which is new to me)

* Updating logger_file_backend (https://github.com/wingcon/logger_file_backend.git)
* Updating ets_manager (git://github.com/tex/ets_manager.git)
** (Mix) Command "git --git-dir=.git fetch --force --quiet --progress" failed

My colleagues aren’t seeing this behaviour, so I am assuming they have something cached which I do not…

I also tried,

mix deps.unlock ets_manager

but no luck either.

Ideas?

if you upgrade your hex version to >= 0.17.2 mix local.hex
you can configure timeout mix hex.config http_timeout 120 default is 60

1 Like

Good idea, but not working. Ah well.

* Updating ets_manager (git://github.com/tex/ets_manager.git)
fatal: unable to connect to github.com:
github.com[0: 192.30.253.112]: errno=Connection timed out
github.com[1: 192.30.253.113]: errno=Connection timed out

** (Mix) Command "git --git-dir=.git fetch --force --quiet --progress" failed

delete deps/ets_manager and try again ? also show mix.exs and try to fetch same package in new elixir project

1 Like

I actually ended up firing up a completely new VM etc. in order to try and solve this (not only deleted the deps folder) but no luck.

Ah well…

turned out it was a restrictive networking setup in our office… thanks @dokuzbir for the suggestions!

2 Likes