javaee / grizzly

Writing scalable server applications in the Java™ programming language has always been difficult. Before the advent of the Java New I/O API (NIO), thread management issues made it impossible for a server to scale to thousands of users. The Grizzly NIO framework has been designed to help developers to take advantage of the Java™ NIO API.
https://javaee.github.io/grizzly/
Other
222 stars 60 forks source link

Occasional REFUSED_STREAM: The parent stream does not exist #1903

Closed glassfishrobot closed 7 years ago

glassfishrobot commented 7 years ago

Continuing to use the PrimeFaces 6.0 showcase to exercise the combination of JSF 2.3 and Servlet 4.0 Server Push, the following steps will cause one or more errors of the form:

Severe: Unable to push resource identified by path [/showcase-6.0/javax.faces.resource/messages/messages.png.xhtml?ln=primefaces&v=6.1-SNAPSHOT] Severe: Unable to push resource identified by path [/showcase-6.0/javax.faces.resource/main/images/logoCircuitLines.svg.xhtml] Severe: The parent stream does not exist org.glassfish.grizzly.http2.Http2StreamException streamId=1168 errorCode=REFUSED_STREAM: The parent stream does not exist at org.glassfish.grizzly.http2.Http2Connection.openStream(Http2Connection.java:1000)

1. Install Grizzly 2.4.0 SNAPSHOT into GlassFish trunk 2. Install the attached Mojarra 2.3.1-SNAPSHOT into GlassFish trunk 3. Visit https://localhost:8181/showcase-6.0/ui/panel/accordionPanel.xhtml in Chrome. 4. Do a cache bypassing reload several times, until you see the error.

Affected Versions

[2.4.0]

glassfishrobot commented 7 years ago

Reported by @edburns

glassfishrobot commented 7 years ago

@rlubke said: Streams are being purged from the session too aggressively. It's possible for dependent streams to be processing while parent streams are closed.

glassfishrobot commented 7 years ago

File: javax.faces.jar Attached By: @edburns

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA GRIZZLY-1903