clojars

http://clojars.org discussion and “support”, see http://status.clojars.org for status.
phronmophobic 2020-08-13T18:26:22.065600Z

Is anyone else having trouble deploying to clojars? I keep getting the following error:

Could not transfer metadata com.phronemophobic:membrane/maven-metadata.xml from/to snapshots (<https://clojars.org/repo/>): Access denied to: <https://clojars.org/repo/com/phronemophobic/membrane/maven-metadata.xml>, ReasonPhrase: Forbidden - S3 request failed.                                                                                                                                                                                                        
Failed to deploy metadata: Could not transfer metadata com.phronemophobic:membrane/maven-metadata.xml from/to snapshots (<https://clojars.org/repo/>): Access denied to: <https://clojars.org/repo/com/phronemophobic/membrane/maven-metadata.xml>, ReasonPhrase: Forbidden - S3 request failed.                                                                                                                                                                             
I've deployed successfully previously, but haven't been able to deploy today. Neither snapshots or releases seem to work. I'm deploying using the latest leiningen with lein deploy clojars

2020-08-13T23:47:58.065700Z

Looking in the logs, I see errors about running out of heap space when trying to write your artifacts to s3. How big is the jar you are uploading?

phronmophobic 2020-08-13T23:48:49.065900Z

8,951k. is that too big?

2020-08-13T23:49:31.066100Z

That's pretty big, but shouldn't be too big. Let me poke around a bit

1
2020-08-13T23:49:45.066300Z

What's in that jar to make it so large?

phronmophobic 2020-08-13T23:50:10.066600Z

let me check

phronmophobic 2020-08-13T23:52:19.066800Z

I have two* native binaries. looks like those are probably the issue

phronmophobic 2020-08-13T23:53:25.067100Z

not sure how to fix that except making those separate dependencies

2020-08-13T23:54:41.067400Z

This may also just be a case where Xmx on the clojars process isn't high enough - I have room on the box to make it larger, let me do that and we can try again (it will be a few minutes - I'm going to use this as an opportunity to create a new AMI with security updates)

phronmophobic 2020-08-13T23:56:05.067600Z

awesome! if I'm the only person hitting those limits, I can definitely split up the dependencies. I was planning on doing that at some point anyway since one binary is for Mac OSX and one is for linux. at some point there will be one for windows