A further followup - we believe we have resolved the issue. Please see https://github.com/clojars/clojars-web/issues/744 for the details, and please comment there if you are still seeing issues with 400 Bad Request responses when deploying.
I'd like to thank Aaron Dixon, Ambrose Bonnaire-Sergeant, and Benito Gonzalez for their patience and assistance in debugging this issue. - Toby On Sat, Feb 22, 2020 at 12:20 PM Toby Crawley <t...@tcrawley.org> wrote: > > Just to follow up on this: we still haven't been able to figure out > the cause, but have collected some data at > https://github.com/clojars/clojars-web/issues/744. If other folks are > experiencing the issue, plus let us know on that issue or in #clojars > on the Clojurians slack. > > - Toby > > On Thu, Feb 20, 2020 at 6:52 AM Alan Thompson <clooj...@gmail.com> wrote: > > > > I just did a `lein deploy clojars` and it worked fine. > > Alan > > > > > > On Wed, Feb 19, 2020 at 8:40 PM Aaron D. <atdi...@gmail.com> wrote: > >> > >> Whelp -- Just another data point -- I got two releases through just now > >> successfully. So this is intermittent or something was fixed. > >> > >> On Wednesday, February 19, 2020 at 10:24:47 PM UTC-6, Aaron D. wrote: > >>> > >>> Hey Toby > >>> > >>> > What do you mean by "I disabled :checksum checking for clojars"? > >>> > >>> I added `:checksum :ignore` to :repositories in profile.clj -- per lein > >>> example here > >>> > >>> > $ lein version > >>> Leiningen 2.9.1 on Java 1.8.0_181 Java HotSpot(TM) 64-Bit Server VM > >>> > >>> I tried another release just now (without the checksum config) and am > >>> able to reproduce the failure -- you can see that the release/deploy is > >>> successful in transferring the signed jar artifacts but the final failure > >>> is something to do with checking the checksum of maven-metadata.xml (see > >>> output log below). > >>> > >>> Let me know if I can help anyway -- by running release attempts or > >>> what-have-you .. will try to jump on slack and sync up there > >>> > >>> $ lein release :alpha > >>> [master 19022c5] Version 0.0.3-alpha8 > >>> 1 file changed, 1 insertion(+), 1 deletion(-) > >>> Compiling 16 source files to > >>> /Users/atdixon/_work/code-sandbox/thurber/target/classes > >>> Note: Some input files use or override a deprecated API. > >>> Note: Recompile with -Xlint:deprecation for details. > >>> Note: Some input files use unchecked or unsafe operations. > >>> Note: Recompile with -Xlint:unchecked for details. > >>> Created > >>> /Users/atdixon/_work/code-sandbox/thurber/target/thurber-0.0.3-alpha8.jar > >>> Wrote /Users/atdixon/_work/code-sandbox/thurber/pom.xml > >>> Need to sign 2 files with GPG > >>> [1/2] Signing > >>> /Users/atdixon/_work/code-sandbox/thurber/target/thurber-0.0.3-alpha8.jar > >>> with GPG > >>> [2/2] Signing /Users/atdixon/_work/code-sandbox/thurber/pom.xml with GPG > >>> Sending com/github/atdixon/thurber/0.0.3-alpha8/thurber-0.0.3-alpha8.jar > >>> (52k) > >>> to https://repo.clojars.org/ > >>> Sending com/github/atdixon/thurber/0.0.3-alpha8/thurber-0.0.3-alpha8.pom > >>> (4k) > >>> to https://repo.clojars.org/ > >>> Sending > >>> com/github/atdixon/thurber/0.0.3-alpha8/thurber-0.0.3-alpha8.jar.asc (1k) > >>> to https://repo.clojars.org/ > >>> Sending > >>> com/github/atdixon/thurber/0.0.3-alpha8/thurber-0.0.3-alpha8.pom.asc (1k) > >>> to https://repo.clojars.org/ > >>> Could not transfer metadata com.github.atdixon:thurber/maven-metadata.xml > >>> from/to releases (https://repo.clojars.org): Failed to transfer file: > >>> https://repo.clojars.org/com/github/atdixon/thurber/maven-metadata.xml. > >>> Return code is: 400 , ReasonPhrase:Bad Request. > >>> Failed to retrieve remote metadata > >>> com.github.atdixon:thurber/maven-metadata.xml: Could not transfer > >>> metadata com.github.atdixon:thurber/maven-metadata.xml from/to releases > >>> (https://repo.clojars.org): Failed to transfer file: > >>> https://repo.clojars.org/com/github/atdixon/thurber/maven-metadata.xml. > >>> Return code is: 400 , ReasonPhrase:Bad Request. > >>> > >>> On Sunday, February 16, 2020 at 6:25:49 PM UTC-6, Aaron D. wrote: > >>>> > >>>> My gpg creds are as usual (and verified) and I'm deploying in standard > >>>> fashion but my last attempt at lein deploy fails with 400/Bad Request at > >>>> the very ened trying to retrieve maven-metadata.xml -- is anyone / has > >>>> anyone seen this? My last deploy was 10 days ago... > >>>> > >>>> The log to error: > >>>> > >>>> Created /code/thurber/target/thurber-0.0.3-alpha5-SNAPSHOT.jar > >>>> Wrote /code/thurber/pom.xml > >>>> Could not find metadata > >>>> com.github.atdixon:thurber:0.0.3-alpha5-SNAPSHOT/maven-metadata.xml in > >>>> snapshots (https://repo.clojars.org) > >>>> Sending > >>>> com/github/atdixon/thurber/0.0.3-alpha5-SNAPSHOT/thurber-0.0.3-alpha5-20200217.002121-1.jar > >>>> (52k) > >>>> to https://repo.clojars.org/ > >>>> Sending > >>>> com/github/atdixon/thurber/0.0.3-alpha5-SNAPSHOT/thurber-0.0.3-alpha5-20200217.002121-1.pom > >>>> (4k) > >>>> to https://repo.clojars.org/ > >>>> Could not transfer metadata > >>>> com.github.atdixon:thurber/maven-metadata.xml from/to snapshots > >>>> (https://repo.clojars.org): Failed to transfer file: > >>>> https://repo.clojars.org/com/github/atdixon/thurber/maven-metadata.xml. > >>>> Return code is: 400 , ReasonPhrase:Bad Request. > >>>> Failed to retrieve remote metadata > >>>> com.github.atdixon:thurber/maven-metadata.xml: Could not transfer > >>>> metadata com.github.atdixon:thurber/maven-metadata.xml from/to snapshots > >>>> (https://repo.clojars.org): Failed to transfer file: > >>>> https://repo.clojars.org/com/github/atdixon/thurber/maven-metadata.xml. > >>>> Return code is: 400 , ReasonPhrase:Bad Request. > >>>> > >>> > >>> On Wednesday, February 19, 2020 at 7:25:13 PM UTC-6, Toby Crawley wrote: > >>>> > >>>> Also, what version of lein are you using? What is the output of `lein > >>>> version`? > >>>> > >>>> On Wed, Feb 19, 2020 at 8:14 PM Toby Crawley <to...@tcrawley.org> wrote: > >>>> > > >>>> > Howdy Aaron: > >>>> > > >>>> > We've had a report from another user on Slack of this same issue, but > >>>> > I haven't been able to recreate it. > >>>> > > >>>> > What do you mean by "I disabled :checksum checking for clojars"? > >>>> > > >>>> > What version of java are you using? What is the output of java > >>>> > -version? > >>>> > > >>>> > Thanks! > >>>> > - Toby > >>>> > > >>>> > -- > >>>> > "Arrogance is quoting yourself." - Toby Crawley > >>>> > "Ignorance is quoting others." - Aaron T. Dixon > >>>> > > >>>> > On Sun, Feb 16, 2020 at 7:37 PM Aaron Dixon <atd...@gmail.com> wrote: > >>>> > > > >>>> > > update, I disabled :checksum checking for clojars and was able to > >>>> > > get a release thru. > >>>> > > > >>>> > > On Sun, Feb 16, 2020 at 6:26 PM Aaron D. <atd...@gmail.com> wrote: > >>>> > >> > >>>> > >> My gpg creds are as usual (and verified) and I'm deploying in > >>>> > >> standard fashion but my last attempt at lein deploy fails with > >>>> > >> 400/Bad Request at the very ened trying to retrieve > >>>> > >> maven-metadata.xml -- is anyone / has anyone seen this? My last > >>>> > >> deploy was 10 days ago... > >>>> > >> > >>>> > >> The log to error: > >>>> > >> > >>>> > >> Created /code/thurber/target/thurber-0.0.3-alpha5-SNAPSHOT.jar > >>>> > >> Wrote /code/thurber/pom.xml > >>>> > >> Could not find metadata > >>>> > >> com.github.atdixon:thurber:0.0.3-alpha5-SNAPSHOT/maven-metadata.xml > >>>> > >> in snapshots (https://repo.clojars.org) > >>>> > >> Sending > >>>> > >> com/github/atdixon/thurber/0.0.3-alpha5-SNAPSHOT/thurber-0.0.3-alpha5-20200217.002121-1.jar > >>>> > >> (52k) > >>>> > >> to https://repo.clojars.org/ > >>>> > >> Sending > >>>> > >> com/github/atdixon/thurber/0.0.3-alpha5-SNAPSHOT/thurber-0.0.3-alpha5-20200217.002121-1.pom > >>>> > >> (4k) > >>>> > >> to https://repo.clojars.org/ > >>>> > >> Could not transfer metadata > >>>> > >> com.github.atdixon:thurber/maven-metadata.xml from/to snapshots > >>>> > >> (https://repo.clojars.org): Failed to transfer file: > >>>> > >> https://repo.clojars.org/com/github/atdixon/thurber/maven-metadata.xml. > >>>> > >> Return code is: 400 , ReasonPhrase:Bad Request. > >>>> > >> Failed to retrieve remote metadata > >>>> > >> com.github.atdixon:thurber/maven-metadata.xml: Could not transfer > >>>> > >> metadata com.github.atdixon:thurber/maven-metadata.xml from/to > >>>> > >> snapshots (https://repo.clojars.org): Failed to transfer file: > >>>> > >> https://repo.clojars.org/com/github/atdixon/thurber/maven-metadata.xml. > >>>> > >> Return code is: 400 , ReasonPhrase:Bad Request. > >>>> > >> > >>>> > >> -- > >>>> > >> You received this message because you are subscribed to the Google > >>>> > >> Groups "Clojure" group. > >>>> > >> To post to this group, send email to clo...@googlegroups.com > >>>> > >> Note that posts from new members are moderated - please be patient > >>>> > >> with your first post. > >>>> > >> To unsubscribe from this group, send email to > >>>> > >> clo...@googlegroups.com > >>>> > >> For more options, visit this group at > >>>> > >> http://groups.google.com/group/clojure?hl=en > >>>> > >> --- > >>>> > >> You received this message because you are subscribed to a topic in > >>>> > >> the Google Groups "Clojure" group. > >>>> > >> To unsubscribe from this topic, visit > >>>> > >> https://groups.google.com/d/topic/clojure/0xEg6HewEgM/unsubscribe. > >>>> > >> To unsubscribe from this group and all its topics, send an email to > >>>> > >> clo...@googlegroups.com. > >>>> > >> To view this discussion on the web visit > >>>> > >> https://groups.google.com/d/msgid/clojure/f4773905-5ded-4da1-ba5e-872b0fc925d4%40googlegroups.com. > >>>> > > > >>>> > > -- > >>>> > > You received this message because you are subscribed to the Google > >>>> > > Groups "Clojure" group. > >>>> > > To post to this group, send email to clo...@googlegroups.com > >>>> > > Note that posts from new members are moderated - please be patient > >>>> > > with your first post. > >>>> > > To unsubscribe from this group, send email to > >>>> > > clo...@googlegroups.com > >>>> > > For more options, visit this group at > >>>> > > http://groups.google.com/group/clojure?hl=en > >>>> > > --- > >>>> > > You received this message because you are subscribed to the Google > >>>> > > Groups "Clojure" group. > >>>> > > To unsubscribe from this group and stop receiving emails from it, > >>>> > > send an email to clo...@googlegroups.com. > >>>> > > To view this discussion on the web visit > >>>> > > https://groups.google.com/d/msgid/clojure/CAFahMUqiPBxHVbZeQGw4B1iHQQyvj7Z2hLb75ejfKf4VmbJpJg%40mail.gmail.com. > >> > >> -- > >> You received this message because you are subscribed to the Google > >> Groups "Clojure" group. > >> To post to this group, send email to clojure@googlegroups.com > >> Note that posts from new members are moderated - please be patient with > >> your first post. > >> To unsubscribe from this group, send email to > >> clojure+unsubscr...@googlegroups.com > >> For more options, visit this group at > >> http://groups.google.com/group/clojure?hl=en > >> --- > >> You received this message because you are subscribed to the Google Groups > >> "Clojure" group. > >> To unsubscribe from this group and stop receiving emails from it, send an > >> email to clojure+unsubscr...@googlegroups.com. > >> To view this discussion on the web visit > >> https://groups.google.com/d/msgid/clojure/f7167f72-a162-4b7e-8b7c-7bd6ea9a38f1%40googlegroups.com. > > > > -- > > You received this message because you are subscribed to the Google > > Groups "Clojure" group. > > To post to this group, send email to clojure@googlegroups.com > > Note that posts from new members are moderated - please be patient with > > your first post. > > To unsubscribe from this group, send email to > > clojure+unsubscr...@googlegroups.com > > For more options, visit this group at > > http://groups.google.com/group/clojure?hl=en > > --- > > You received this message because you are subscribed to the Google Groups > > "Clojure" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to clojure+unsubscr...@googlegroups.com. > > To view this discussion on the web visit > > https://groups.google.com/d/msgid/clojure/CAN67zA04ad%2BRF1ocGofnm44BrKAjCs-%3Dd6uwyZJ%3Dz0%3DjNfimYg%40mail.gmail.com. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/clojure/CAA3HuyZn9wWHj_UQ-pO08cJL-Yi0BLQUjLsabzK_2As46TJ4LQ%40mail.gmail.com.