Skip to content
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

lein.bat cannot download standalone jar: 403 forbidden #2136

Closed
vermiculus opened this issue Apr 27, 2016 · 3 comments
Closed

lein.bat cannot download standalone jar: 403 forbidden #2136

vermiculus opened this issue Apr 27, 2016 · 3 comments

Comments

@vermiculus
Copy link

bin/lein.bat fails with 403-Forbidden:

C:\windows\system32>lein self-install
Downloading Leiningen now...
Exception calling "DownloadFile" with "2" argument(s): "The remote server
returned an error: (403) Forbidden."
At line:1 char:17
+ & {param($a,$f) (new-object System.Net.WebClient).DownloadFile($a, $f)}
"https:/ ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException

The system cannot find the file specified.
C:\windows\system32>

Also reproducible with chocolatey which downloads/runs https://raw.github.com/technomancy/leiningen/2.2.0/bin/lein.bat.

@winks
Copy link
Collaborator

winks commented Apr 27, 2016

Hi,
you're trying to use the lein.bat from Github's master branch - there is no release JAR for this version. Please use stable/lein.bat - this should work (it's version 2.6.1, while the one on master is 2.6.2-SNAPSHOT).

And for the other one.. 2.2.0 is very old (nearly 3 years), I'll see who we have to poke there to get a newer version into chocolatey.

@vermiculus
Copy link
Author

Ah, thanks a ton!

And yeah -- wow. Chocolatey does need to be updated... such is life on Windows, I suppose.

@winks
Copy link
Collaborator

winks commented Apr 27, 2016

Filed a bug, trying to keep track: Iristyle/ChocolateyPackages#58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants