https://bz.apache.org/bugzilla/show_bug.cgi?id=65402
Bug ID: 65402
Summary: EventSources get stuck with H2 but working in http/1.1
Product: Apache httpd-2
Version: 2.4.48
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_http2
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 37912
--> https://bz.apache.org/bugzilla/attachment.cgi?id=37912&action=edit
httpd.conf
We want to switch our web application from http/1.1 to http/2. The application
is using 2 EventSources (SSE, Server Sent Events)
Apache2 is used as reverse-proxy with mod_proxy_balancer for the /api/*
locations and is delivering static content (angular JS webApp) for the rest.
When enabling http/2 via "Protocols" the webapp works so far - but when
navigating through the app the EventSources get stuck (Pending in Chrome
Developer Tools). The problem is that the stuck EventSource is blocking all
other requests - which should not happen when using http/2.
I played around with keepalive, disablereuse, some http2 settings - no luck.
To be sure that's not a general problem of our application I tried to use nginx
as reverse proxy - that worked without problems.
I'll attach the relevant part of the apache2 config, the apache error log with
LogLevel core:debug
LogLevel ssl:debug
LogLevel http2:trace2
--
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]