On Thu, 2023-08-24 at 21:54 +0530, Sandeep Gaur wrote:
> Hi Oleg,
>
> Below are the stack traces,
>
> 08:54:24:003773|0217-00082:INFO
> [org.apache.hc.client5.http.impl.async.AsyncHttpRequestRetryExec] -
> Recoverable I/O exception
> (org.apache.hc.core5.http2.H2StreamResetException) caught when
> processing
> request to {s}->https://localhost:8092
>
> java.net.SocketTimeoutException: Connection terminated by the peer
> (11)
> at
Huh? SocketTimeoutException? What does this have to do with header
length?
By the way I am not aware of any limit on individual HTTP header length
imposed by the H2 transport. There is a `maxHeaderListSize` setting
that imposes the max limit on total size of header list but it is
disabled by default.
Oleg
> com.iontrading.treasuryportal.core.workflow.CallWebServiceNode$1.fail
> ed(CallWebServiceNode.java:174)
> at
> org.apache.hc.core5.concurrent.BasicFuture.failed(BasicFuture.java:13
> 8)
> at
> org.apache.hc.core5.concurrent.ComplexFuture.failed(ComplexFuture.jav
> a:79)
> at
> org.apache.hc.client5.http.impl.async.InternalAbstractHttpAsyncClient
> $1.failed(InternalAbstractHttpAsyncClient.java:326)
> at
> org.apache.hc.client5.http.impl.async.AsyncRedirectExec$1.failed(Asyn
> cRedirectExec.java:246)
> at
> org.apache.hc.client5.http.impl.async.AsyncRedirectExec$1.failed(Asyn
> cRedirectExec.java:246)
> at
> org.apache.hc.client5.http.impl.async.AsyncHttpRequestRetryExec$1.fai
> led(AsyncHttpRequestRetryExec.java:168)
> at
> org.apache.hc.client5.http.impl.async.AsyncProtocolExec$1.failed(Asyn
> cProtocolExec.java:295)
> at
> org.apache.hc.client5.http.impl.async.HttpAsyncMainClientExec$1.faile
> d(HttpAsyncMainClientExec.java:131)
> at
> org.apache.hc.core5.http2.impl.nio.ClientH2StreamHandler.failed(Clien
> tH2StreamHandler.java:253)
> at
> org.apache.hc.core5.http2.impl.nio.AbstractH2StreamMultiplexer$H2Stre
> am.reset(AbstractH2StreamMultiplexer.java:1668)
> at
> org.apache.hc.core5.http2.impl.nio.AbstractH2StreamMultiplexer.consum
> eFrame(AbstractH2StreamMultiplexer.java:1012)
> at
> org.apache.hc.core5.http2.impl.nio.AbstractH2StreamMultiplexer.onInpu
> t(AbstractH2StreamMultiplexer.java:446)
> at
> org.apache.hc.core5.http2.impl.nio.AbstractH2IOEventHandler.inputRead
> y(AbstractH2IOEventHandler.java:65)
> at
> org.apache.hc.core5.http2.impl.nio.ClientH2IOEventHandler.inputReady(
> ClientH2IOEventHandler.java:39)
> at
> org.apache.hc.core5.reactor.ssl.SSLIOSession.decryptData(SSLIOSession
> .java:609)
> at
> org.apache.hc.core5.reactor.ssl.SSLIOSession.access$200(SSLIOSession.
> java:74)
> at
> org.apache.hc.core5.reactor.ssl.SSLIOSession$1.inputReady(SSLIOSessio
> n.java:202)
> at
> org.apache.hc.core5.reactor.InternalDataChannel.onIOEvent(InternalDat
> aChannel.java:142)
> at
> org.apache.hc.core5.reactor.InternalChannel.handleIOEvent(InternalCha
> nnel.java:51)
> at
> org.apache.hc.core5.reactor.SingleCoreIOReactor.processEvents(SingleC
> oreIOReactor.java:178)
> at
> org.apache.hc.core5.reactor.SingleCoreIOReactor.doExecute(SingleCoreI
> OReactor.java:127)
> at
> org.apache.hc.core5.reactor.AbstractSingleCoreIOReactor.execute(Abstr
> actSingleCoreIOReactor.java:86)
> at
> org.apache.hc.core5.reactor.IOReactorWorker.run(IOReactorWorker.java:
> 44)
> at java.base/java.lang.Thread.run(Thread.java:833)
>
>
> Thanks,
> Sandeep Gaur
>
> On Thu, Aug 24, 2023 at 9:40 PM Oleg Kalnichevski <[email protected]>
> wrote:
>
> > On Thu, 2023-08-24 at 17:35 +0530, Sandeep Gaur wrote:
> > > Hi All,
> > >
> > > I hope this email finds you well.
> > >
> > > I'm writing to you today to ask about the possibility of
> > > configuring
> > > the
> > > maximum header length in Apache HttpClient.
> > >
> >
> > Please do not cross post to [email protected]
> >
> > Please post the exact exception stack trace you are getting.
> >
> > Oleg
> >
> >
> > -------------------------------------------------------------------
> > --
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]