https://bz.apache.org/bugzilla/show_bug.cgi?id=62177
Bug ID: 62177
Summary: Protocol errors when using HTTP2 SSL Servlet 3
ServerPush PushBuilder
Product: Tomcat 9
Version: 9.0.6
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Servlet
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: -----
Created attachment 35760
--> https://bz.apache.org/bugzilla/attachment.cgi?id=35760&action=edit
server.xml, catalina.log, chrome detailed protocol event output
hello,
web pages using ServerPush feature with JSF Mojarra 2.3.2 and many to be pushed
nested resources fail to load due to SSL protocol violations.
(nested resource = pushed .css file pointing to a background image or icon etc.
which is to be pushed too).
Example application: PrimeFaces Showcase 6.3-SNAPSHOT:
git clone https://github.com/primefaces/showcase.git
cd showcase
mvn clean package -Pcommunity-stable
-> deploy the target\showcase-6.3-SNAPSHOT.war
Use attached server.xml with your customized keystore.
Use jdk9.
Use Chrome "chrome://net-internals/#events" URL to inspect protocol events.
Invoke the showcase:
http://localhost:8080/showcase-6.3-SNAPSHOT/ -> SUCCESS (HTTP1.1)
https://localhost:8443/showcase-6.3-SNAPSHOT/ -> ERR_SPDY_PROTOCOL_ERROR
https://localhost:8444/showcase-6.3-SNAPSHOT/ -> ERR_SPDY_PROTOCOL_ERROR
https://localhost:8445/showcase-6.3-SNAPSHOT/ -> ERR_SPDY_PROTOCOL_ERROR
https://localhost:8446/showcase-6.3-SNAPSHOT/ -> ERR_SPDY_PROTOCOL_ERROR
https://localhost:8447/showcase-6.3-SNAPSHOT/ -> SUCCESS (HTTP1.1)
I guess there's some race condition. When setting up a "smaller" reproducer
with less (nested) resources, browsing that app randomly succeeds.
Kind regards.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]