RE: how to disable http 100-continue with 3.9 http-transport ?

2023-11-02 Thread Stefan CORDES
Hi Benjamin,
thanks for the hint, but still

mvn deploy -Daether.connector.basic.parallelPut=false
and
mvn deploy -Daether.connector.http.preemptivePutAuth=false
are failing as they send the
http-outgoing-0 >> Expect: 100-continue
header to our nexus(proxy)

Hi T,
> Is it documented somewhere that Nexus3 does not support http-continue?
There is nothing like that but our Nexus is listening on 8081 and we have some 
"http proxy" before on 443 which I now try to find out what proxy it is and 
what version.
(we have nexus+proxy self hosted)

Gruß,
Stefan

-Original Message-
From: Benjamin Marwell 
Sent: Friday, October 27, 2023 8:13 PM
To: Maven Users List 
Subject: Re: how to disable http 100-continue with 3.9 http-transport ?

Hi,

Disabling parallel put works for me.

https://maven.apache.org/resolver/configuration.html


On Fri, 27 Oct 2023, 20:08 Tamás Cservenák,  wrote:

> Howdy,
>
> Are you sure you have to disable use of http-continue? Isn't this
> something "legacy" or hack that you try to carry on maybe?
>
> Is it documented somewhere that Nexus3 does not support http-continue?
>
> If you have support contract, I'd ask your provider about this first...
>
> Thanks
> T
>
> On Fri, Oct 27, 2023, 18:37 Stefan CORDES  .invalid>
> wrote:
>
> > Hi,
> > we configured the 3.8 wagon transport to not send a http-continue as
> > this fails with our nexus3 to store the artifacts.
> >
> > Switching to maven 3.9 the new transport is taken where I cannot
> > find how to disable the http 100
> >
> >
> >
> https://github.com/apache/maven-resolver/blob/master/maven-resolver-tr
> ansport-http/src/main/java/org/eclipse/aether/transport/http/LocalStat
> e.java#L82
> >
> > How can I disable sending
> > [DEBUG] org.apache.http.headers - http-outgoing-0 >> Expect:
> > 100-continue while using mvn deploy?
> >
> > Gruß,
> > Stefan
> >
> > P.S.:
> > Nexus http response is 500 with http-continue and nexus.log shows
> >
> > 2023-10-27 18:19:57,155+0200 WARN  [qtp804177152-23427]  x
> > org.sonatype.nexus.repository.httpbridge.internal.ViewServlet -
> > Failure
> > servicing: PUT
> >
> /repository/Snapshots/com/canda/mule4/x-mule4-template/1.0.0-local-SNA
> PSHOT/x-mule4-template-1.0.0-local-20231027.161836-1-mule-application.
> jar
> > org.sonatype.nexus.blobstore.api.BlobStoreException: BlobId:
> > tmp$d7b33f72-f9be-4fc8-b444-73d98adde3f1, java.io.IOException:
> > java.util.concurrent.TimeoutException: Idle timeout expired:
> > 3/3 ms, Cause: java.util.concurrent.TimeoutException: Idle timeout 
> > expired:
> > 3/3 ms
> > at
> >
> org.sonatype.nexus.blobstore.file.FileBlobStore.tryCreate(FileBlobStor
> e.java:438)
> > at
> >
> org.sonatype.nexus.blobstore.file.FileBlobStore.create(FileBlobStore.j
> ava:368)
> > at
> >
> org.sonatype.nexus.blobstore.file.FileBlobStore.doCreate(FileBlobStore
> .java:348)
> > at
> >
> org.sonatype.nexus.blobstore.metrics.BlobStoreAnalyticsInterceptor.inv
> oke(BlobStoreAnalyticsInterceptor.java:60)
> > at
> >
> org.sonatype.nexus.blobstore.BlobStoreSupport.create(BlobStoreSupport.
> java:125)
> > at
> >
> org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(Method
> InvocationAction.java:39)
> > at
> >
> org.sonatype.nexus.common.stateguard.StateGuard$GuardImpl.run(StateGua
> rd.java:272)
> > at
> >
> org.sonatype.nexus.common.stateguard.GuardedInterceptor.invoke(Guarded
> Interceptor.java:54)
> > at
> >
> org.sonatype.nexus.blobstore.BlobStoreSupport.create(BlobStoreSupport.
> java:109)
> > at
> >
> org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(Method
> InvocationAction.java:39)
> > at
> >
> org.sonatype.nexus.common.stateguard.StateGuard$GuardImpl.run(StateGua
> rd.java:272)
> > at
> >
> org.sonatype.nexus.common.stateguard.GuardedInterceptor.invoke(Guarded
> Interceptor.java:54)
> > at
> >
> org.sonatype.nexus.repository.storage.StorageFacetImpl.createTempBlob(
> StorageFacetImpl.java:266)
> > at
> >
> org.sonatype.nexus.repository.storage.StorageFacetImpl.createTempBlob(
> StorageFacetImpl.java:277)
> >
> >
> > C Services GmbH & Co. OHG | Wanheimer Straße 70 | D-40468
> > Düsseldorf |
> > Sitz: Düsseldorf | Registergericht: Düsseldorf HRA 12655 | Tele

Re: how to disable http 100-continue with 3.9 http-transport ?

2023-10-27 Thread Benjamin Marwell
Hi,

Disabling parallel put works for me.

https://maven.apache.org/resolver/configuration.html


On Fri, 27 Oct 2023, 20:08 Tamás Cservenák,  wrote:

> Howdy,
>
> Are you sure you have to disable use of http-continue? Isn't this something
> "legacy" or hack that you try to carry on maybe?
>
> Is it documented somewhere that Nexus3 does not support http-continue?
>
> If you have support contract, I'd ask your provider about this first...
>
> Thanks
> T
>
> On Fri, Oct 27, 2023, 18:37 Stefan CORDES  .invalid>
> wrote:
>
> > Hi,
> > we configured the 3.8 wagon transport to not send a http-continue as this
> > fails with our nexus3 to store the artifacts.
> >
> > Switching to maven 3.9 the new transport is taken where I cannot find how
> > to disable the http 100
> >
> >
> >
> https://github.com/apache/maven-resolver/blob/master/maven-resolver-transport-http/src/main/java/org/eclipse/aether/transport/http/LocalState.java#L82
> >
> > How can I disable sending
> > [DEBUG] org.apache.http.headers - http-outgoing-0 >> Expect: 100-continue
> > while using mvn deploy?
> >
> > Gruß,
> > Stefan
> >
> > P.S.:
> > Nexus http response is 500 with http-continue and nexus.log shows
> >
> > 2023-10-27 18:19:57,155+0200 WARN  [qtp804177152-23427]  x
> > org.sonatype.nexus.repository.httpbridge.internal.ViewServlet - Failure
> > servicing: PUT
> >
> /repository/Snapshots/com/canda/mule4/x-mule4-template/1.0.0-local-SNAPSHOT/x-mule4-template-1.0.0-local-20231027.161836-1-mule-application.jar
> > org.sonatype.nexus.blobstore.api.BlobStoreException: BlobId:
> > tmp$d7b33f72-f9be-4fc8-b444-73d98adde3f1, java.io.IOException:
> > java.util.concurrent.TimeoutException: Idle timeout expired: 3/3
> > ms, Cause: java.util.concurrent.TimeoutException: Idle timeout expired:
> > 3/3 ms
> > at
> >
> org.sonatype.nexus.blobstore.file.FileBlobStore.tryCreate(FileBlobStore.java:438)
> > at
> >
> org.sonatype.nexus.blobstore.file.FileBlobStore.create(FileBlobStore.java:368)
> > at
> >
> org.sonatype.nexus.blobstore.file.FileBlobStore.doCreate(FileBlobStore.java:348)
> > at
> >
> org.sonatype.nexus.blobstore.metrics.BlobStoreAnalyticsInterceptor.invoke(BlobStoreAnalyticsInterceptor.java:60)
> > at
> >
> org.sonatype.nexus.blobstore.BlobStoreSupport.create(BlobStoreSupport.java:125)
> > at
> >
> org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)
> > at
> >
> org.sonatype.nexus.common.stateguard.StateGuard$GuardImpl.run(StateGuard.java:272)
> > at
> >
> org.sonatype.nexus.common.stateguard.GuardedInterceptor.invoke(GuardedInterceptor.java:54)
> > at
> >
> org.sonatype.nexus.blobstore.BlobStoreSupport.create(BlobStoreSupport.java:109)
> > at
> >
> org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)
> > at
> >
> org.sonatype.nexus.common.stateguard.StateGuard$GuardImpl.run(StateGuard.java:272)
> > at
> >
> org.sonatype.nexus.common.stateguard.GuardedInterceptor.invoke(GuardedInterceptor.java:54)
> > at
> >
> org.sonatype.nexus.repository.storage.StorageFacetImpl.createTempBlob(StorageFacetImpl.java:266)
> > at
> >
> org.sonatype.nexus.repository.storage.StorageFacetImpl.createTempBlob(StorageFacetImpl.java:277)
> >
> >
> > C Services GmbH & Co. OHG | Wanheimer Straße 70 | D-40468 Düsseldorf |
> > Sitz: Düsseldorf | Registergericht: Düsseldorf HRA 12655 | Telefon: +49
> > (211) 9872-01
> > Persönlich haftende Gesellschafter: C Retail GmbH | Sitz: Baar/Schweiz
> |
> > UID: CHE-116.290.471
> > Geschäftsführung: Giny Boer, Christoph Hammer
> > FRM Participations S.A. | Sitz: Strassen/Luxemburg | Handels- und
> > Firmenregister Luxemburg: B 58158
> > Verwaltungsratsmitglieder: Dr. Christian Bank, Remco Gerlof, Dr.
> > Franz-Josef Leuchtenberg
> > Hinweise zur Verarbeitung Ihrer Daten finden Sie unter: www.c-a.com/GDPR
> <
> > http://www.c-a.com/GDPR>
> >
>


Re: how to disable http 100-continue with 3.9 http-transport ?

2023-10-27 Thread Tamás Cservenák
Howdy,

Are you sure you have to disable use of http-continue? Isn't this something
"legacy" or hack that you try to carry on maybe?

Is it documented somewhere that Nexus3 does not support http-continue?

If you have support contract, I'd ask your provider about this first...

Thanks
T

On Fri, Oct 27, 2023, 18:37 Stefan CORDES 
wrote:

> Hi,
> we configured the 3.8 wagon transport to not send a http-continue as this
> fails with our nexus3 to store the artifacts.
>
> Switching to maven 3.9 the new transport is taken where I cannot find how
> to disable the http 100
>
>
> https://github.com/apache/maven-resolver/blob/master/maven-resolver-transport-http/src/main/java/org/eclipse/aether/transport/http/LocalState.java#L82
>
> How can I disable sending
> [DEBUG] org.apache.http.headers - http-outgoing-0 >> Expect: 100-continue
> while using mvn deploy?
>
> Gruß,
> Stefan
>
> P.S.:
> Nexus http response is 500 with http-continue and nexus.log shows
>
> 2023-10-27 18:19:57,155+0200 WARN  [qtp804177152-23427]  x
> org.sonatype.nexus.repository.httpbridge.internal.ViewServlet - Failure
> servicing: PUT
> /repository/Snapshots/com/canda/mule4/x-mule4-template/1.0.0-local-SNAPSHOT/x-mule4-template-1.0.0-local-20231027.161836-1-mule-application.jar
> org.sonatype.nexus.blobstore.api.BlobStoreException: BlobId:
> tmp$d7b33f72-f9be-4fc8-b444-73d98adde3f1, java.io.IOException:
> java.util.concurrent.TimeoutException: Idle timeout expired: 3/3
> ms, Cause: java.util.concurrent.TimeoutException: Idle timeout expired:
> 3/3 ms
> at
> org.sonatype.nexus.blobstore.file.FileBlobStore.tryCreate(FileBlobStore.java:438)
> at
> org.sonatype.nexus.blobstore.file.FileBlobStore.create(FileBlobStore.java:368)
> at
> org.sonatype.nexus.blobstore.file.FileBlobStore.doCreate(FileBlobStore.java:348)
> at
> org.sonatype.nexus.blobstore.metrics.BlobStoreAnalyticsInterceptor.invoke(BlobStoreAnalyticsInterceptor.java:60)
> at
> org.sonatype.nexus.blobstore.BlobStoreSupport.create(BlobStoreSupport.java:125)
> at
> org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)
> at
> org.sonatype.nexus.common.stateguard.StateGuard$GuardImpl.run(StateGuard.java:272)
> at
> org.sonatype.nexus.common.stateguard.GuardedInterceptor.invoke(GuardedInterceptor.java:54)
> at
> org.sonatype.nexus.blobstore.BlobStoreSupport.create(BlobStoreSupport.java:109)
> at
> org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)
> at
> org.sonatype.nexus.common.stateguard.StateGuard$GuardImpl.run(StateGuard.java:272)
> at
> org.sonatype.nexus.common.stateguard.GuardedInterceptor.invoke(GuardedInterceptor.java:54)
> at
> org.sonatype.nexus.repository.storage.StorageFacetImpl.createTempBlob(StorageFacetImpl.java:266)
> at
> org.sonatype.nexus.repository.storage.StorageFacetImpl.createTempBlob(StorageFacetImpl.java:277)
>
>
> C Services GmbH & Co. OHG | Wanheimer Straße 70 | D-40468 Düsseldorf |
> Sitz: Düsseldorf | Registergericht: Düsseldorf HRA 12655 | Telefon: +49
> (211) 9872-01
> Persönlich haftende Gesellschafter: C Retail GmbH | Sitz: Baar/Schweiz |
> UID: CHE-116.290.471
> Geschäftsführung: Giny Boer, Christoph Hammer
> FRM Participations S.A. | Sitz: Strassen/Luxemburg | Handels- und
> Firmenregister Luxemburg: B 58158
> Verwaltungsratsmitglieder: Dr. Christian Bank, Remco Gerlof, Dr.
> Franz-Josef Leuchtenberg
> Hinweise zur Verarbeitung Ihrer Daten finden Sie unter: www.c-a.com/GDPR<
> http://www.c-a.com/GDPR>
>