Fork me on GitHub
#clojars
<
2020-08-13
>
phronmophobic18:08:22

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 (): Access denied to: , ReasonPhrase: Forbidden - S3 request failed.                                                                                                                                                                                                        
Failed to deploy metadata: Could not transfer metadata com.phronemophobic:membrane/maven-metadata.xml from/to snapshots (): Access denied to: , 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

tcrawley23:08:58

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?

phronmophobic23:08:49

8,951k. is that too big?

tcrawley23:08:31

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

thanks2 3
tcrawley23:08:45

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

phronmophobic23:08:19

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

phronmophobic23:08:25

not sure how to fix that except making those separate dependencies

tcrawley23:08:41

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)

phronmophobic23:08:05

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

tcrawley00:08:10

The new instance is up - can you try now?

👍 3
phronmophobic00:08:52

it worked! thanks a bunch!

tcrawley00:08:05

My pleasure!

😁 3