Why I can't download this lib? https://clojars.org/metosin/ring-swagger-ui/versions/3.36.0
clj -Srepro -Sdeps '{:deps {metosin/ring-swagger-ui {:mvn/version "3.36.0"}}}'
Error building classpath. Could not transfer artifact metosin:ring-swagger-ui:jar:3.36.0 from/to clojars ( ): status code: 416, reason phrase: Range Not Satisfiable (416)
what version of clj ?
(I can't reproduce that)
clj -Sdescribe
{:version "1.10.3.1020"
:config-files ["/usr/share/clojure/deps.edn" "/home/souenzzo/.clojure/deps.edn" ]
:config-user "/home/souenzzo/.clojure/deps.edn"
:config-project "deps.edn"
:install-dir "/usr/share/clojure"
:config-dir "/home/souenzzo/.clojure"
:cache-dir "/home/souenzzo/.clojure/.cpcache"
:force false
:repro false
:main-aliases ""
:repl-aliases ""}
A rm ~/.m2/repository/metosin/ring-swagger-ui/ -rf + run again solved my problem.
But how some wired localstate results in a 416 status code?!
maven API is wired.Don't know, doesn't make any sense to me either
I have seen that reported from folks in the past, all using clj, and rm'ing the local file always fixes it. I suspect it is some kind of file corruption/truncation, possibly due to a network interruption, but I have no evidence to back that up.