clojars

http://clojars.org discussion and “support”, see http://status.clojars.org for status.
martinklepsch 2017-12-21T18:30:53.000001Z

Getting this error while deploying to Clojars:

Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: <https://clojars.org/repo/boot/base/2.8.0-SNAPSHOT/base-2.8.0-20171221.182205-1.jar>. Return code is: 413, ReasonPhrase: Request Entity Too Large.
I’ve been told that Leiningen has some limits on pushing large files but the return code seems to indicate that it is actually Clojars which is refusing service here? 🙂 I tried finding relevant pieces in the clojars-web repo but there was nothing that stood out really.

martinklepsch 2017-12-21T18:30:59.000365Z

Anyone suggestions? 🙂

2017-12-21T18:32:00.000110Z

That may be something that is set on the nginx config. How big is that file?

martinklepsch 2017-12-21T18:32:38.000046Z

36M

2017-12-21T18:33:32.000591Z

I think the limit is 20M if this is what controls that: https://github.com/clojars/clojars-server-config/blob/master/roles/clojars/templates/nginx.conf.j2#L18

2017-12-21T18:33:50.000637Z

why is that artifact so large?

martinklepsch 2017-12-21T18:34:47.000064Z

yeah, I’ll need to look into that

martinklepsch 2017-12-21T18:42:01.000415Z

Seems it’s the aether-standalone.jar generated from this project.clj https://github.com/boot-clj/boot/blob/master/boot/aether/project.clj

martinklepsch 2017-12-21T18:44:50.000105Z

Think it might be just something weird with this setup

danielcompton 2017-12-21T19:46:31.000199Z

Sorry @martinklepsch I didn't realise 🙊

martinklepsch 2017-12-21T19:46:45.000292Z

@danielcompton no worries 🙂