JeffersonLab / wave

Web Archive Viewer and Expositor
https://epicsweb.jlab.org/wave
MIT License
2 stars 0 forks source link

net::ERR_RESPONSE_HEADERS_TRUNCATED Occasionally Prevents Page Load #10

Closed slominskir closed 2 years ago

slominskir commented 4 years ago

Occasionally the WAVE page won't load and the console shows the truncated headers error. Reloading the page fixes the problem. Research into the cause suggests this error can be caused when:

  1. Response headers missing newline
  2. Timeout occurs while transferring
  3. Apache Reverse Proxy erroneously reusing stale connection

I suspect the later so I've added "disableReuse=On" to Apache httpd ProxyPass directive for the websocket path (I already use this directive on all other proxy rules). Let's keep this ticket open for awhile in case the problem persists. It's hard to re-create, might require some stale old web socket connections from overnight or something.

slominskir commented 2 years ago

Haven't seen this in a while so closing.