philcali/sbt-lwjgl-plugin — Issue #23: Can't download JME nightly (403 HTTP)
Author: phdoerfler
Created: 2011-11-11 23:05:55+00:00
State: open

the plugin fails to download today's JME nightly. Copy & Pasting the URL into a browser works as expected: The ZIP gets downloaded. Could it be that the user agent of java's standard library is blocked by JME's servers?

[info] Cleaning older versions of jME3
[info] Downloading jME3_2011-11-11 ...
[warn] This may take a few minutes...
Error opening http://jmonkeyengine.com/nightly/jME3_2011-11-11.zip: java.io.IOException: Server returned HTTP response code: 403 for URL: http://jmonkeyengine.com/nightly/jME3_2011-11-11.zip
at sbt.ErrorHandling$.translate(ErrorHandling.scala:10)
at sbt.Using$$anonfun$urlInputStream$1.apply(Using.scala:81)
at sbt.Using$$anonfun$urlInputStream$1.apply(Using.scala:81)
at sbt.Using$$anon$3.open(Using.scala:65)
at sbt.Using.apply(Using.scala:24)
at sbt.IO$.download(IO.scala:176)
at JMonkeyProject$$anonfun$jmonkeyUpdateTask$1.apply(JMonkey.scala:80)
at JMonkeyProject$$anonfun$jmonkeyUpdateTask$1.apply(JMonkey.scala:59)
at sbt.Scoped$$anonfun$hf7$1.apply(Structure.scala:464)
at sbt.Scoped$$anonfun$hf7$1.apply(Structure.scala:464)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:41)
at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$9.apply(Structure.scala:271)
at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$9.apply(Structure.scala:271)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
at sbt.std.Transform$$anon$5.work(System.scala:67)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:221)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:221)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:13)
at sbt.Execute.work(Execute.scala:227)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:221)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:221)
at sbt.CompletionService$$anon$1$$anon$2.call(CompletionService.scala:26)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: http://jmonkeyengine.com/nightly/jME3_2011-11-11.zip
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1436)
at java.net.URL.openStream(URL.java:1010)
at sbt.Using$$anonfun$urlInputStream$1$$anonfun$apply$2.apply(Using.scala:81)
at sbt.Using$$anonfun$urlInputStream$1$$anonfun$apply$2.apply(Using.scala:81)
at sbt.ErrorHandling$.translate(ErrorHandling.scala:9)
at sbt.Using$$anonfun$urlInputStream$1.apply(Using.scala:81)
at sbt.Using$$anonfun$urlInputStream$1.apply(Using.scala:81)
at sbt.Using$$anon$3.open(Using.scala:65)
at sbt.Using.apply(Using.scala:24)
at sbt.IO$.download(IO.scala:176)
at JMonkeyProject$$anonfun$jmonkeyUpdateTask$1.apply(JMonkey.scala:80)
at JMonkeyProject$$anonfun$jmonkeyUpdateTask$1.apply(JMonkey.scala:59)
at sbt.Scoped$$anonfun$hf7$1.apply(Structure.scala:464)
at sbt.Scoped$$anonfun$hf7$1.apply(Structure.scala:464)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:41)
at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$9.apply(Structure.scala:271)
at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$9.apply(Structure.scala:271)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
at sbt.std.Transform$$anon$5.work(System.scala:67)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:221)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:221)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:13)
at sbt.Execute.work(Execute.scala:227)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:221)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:221)
at sbt.CompletionService$$anon$1$$anon$2.call(CompletionService.scala:26)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)