Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] java.lang.IllegalStateException: Max local stream count 1 exceeded

Hi,

On Fri, Apr 9, 2021 at 11:15 AM Prakash Nandihal <p.nandihal@xxxxxxxxx> wrote:
>
> Hi Team,
>
> I am receiving below exception while making http2 post, can you please provide suggestions to resolve this issue.
>
> java.lang.IllegalStateException: Max local stream count 1 exceeded
> HTTP2ClientSession@2d8debe0{l:/192.168.43.116:57601 <-> r:api.push.apple.com/17.188.182.9:443,sendWindow=65445,recvWindow=16777216,streams=1,NOT_CLOSED,null} - STARTED
> +- BufferingFlowControlStrategy@41ccc965[ratio=0.50,sessionLevel=0,sessionStallTime=0ms,streamsStallTime=0ms]
> +- org.eclipse.jetty.http2.HTTP2Flusher@5ad982c7[IDLE][window_queue=0,frame_queue=0,processed/pending=0/0]
> +> streams size=1
>    +> HTTP2Stream@116d35e8#1@2d8debe0{sendWindow=65445,recvWindow=8388608,reset=false/false,LOCALLY_CLOSED,age=14771,attachment=HttpChannelOverHTTP2@2029347c(exchange=HttpExchange@48bb0365{req=HttpRequest[POST /3/device/3513a176f516b442b84f4c8c3471f9869356d9f1cd957690e117a63b10351 HTTP/2.0]@5c318354[TERMINATED/null] res=HttpResponse[null 0 null]@1fb5f97e[PENDING/null]})[send=HttpSenderOverHTTP2@9ec9ff5(req=QUEUED,snd=COMPLETED,failure=null),recv=HttpReceiverOverHTTP2@195c1586(rsp=IDLE,failure=null)]}
> key: +- bean, += managed, +~ unmanaged, +? auto, +: iterable, +] array, +@ map, +> undefined

Not enough information.
How do you configure the client?
Enable DEBUG logging and attach the log file.

-- 
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.


Back to the top