-
Bug
-
Resolution: Duplicate
-
Major
-
4.4.3
-
None
-
System: Amazon EC2
CPU: Xeon X5550 @ 2.67GHz w/ 8MB cache (almost idle, without other competing applications).
RAM: 18GB (only 3GB for Magnolia).
Disk: EBS volumes (all with 5GB to 20GB available)
OS: Oracle Enterprise Linux 5.3 x86_64, with EPEL and CentOS Yum repositories
Java: Oracle / Sun JDK 1.6.0_24 64-bits
Tomcat: version 6.0.32, ports 18080 (http) and 18009 (ajp)
Apache: version 2.2.3, port 80
AJP: mod_proxy_ajpSystem: Amazon EC2 CPU: Xeon X5550 @ 2.67GHz w/ 8MB cache (almost idle, without other competing applications). RAM: 18GB (only 3GB for Magnolia). Disk: EBS volumes (all with 5GB to 20GB available) OS: Oracle Enterprise Linux 5.3 x86_64, with EPEL and CentOS Yum repositories Java: Oracle / Sun JDK 1.6.0_24 64-bits Tomcat: version 6.0.32, ports 18080 (http) and 18009 (ajp) Apache: version 2.2.3, port 80 AJP: mod_proxy_ajp
We are having some random scrambled resources / pages in our testing environment.
This seems to be caused by an incompatibility between the apache / magnolia configuration with gzip.
Apache VirtualHost configuration:
<VirtualHost *:80>
ServerName magnolia-formacion.*******.com
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / ajp://localhost:18009/
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript # Only when we want to enable GZIP in Apache
</VirtualHost>
GZIP configurations tested:
Direct HTTP Magnolia with gzip - OK
Direct HTTP Magnolia without gzip - OK
Apache without gzip, Magnolia without gzip - OK
Apache with gzip, Magnolia without gzip - OK
Apache with gzip, Magnolia with gzip - OK
Apache without gzip, Magnolia with gzip - WRONG
What does WRONG mean? Randomly, resources get scrambled. Sometimes the main HTML resource, sometimes one (or more) CSS resources, or maybe JavaScript. The pages appear generally broken in random, funny ways. But not always. If you reload the same page over and over again it changes almost every time. Then it looks OK. Then it's broken again. Then it's OK three times in a row. Etc.
What does SCRAMBLED mean? The resources look like random binary gibberish, but almost certainly NOT pure gzip-compressed data. With lots of UTF "unknown character" byte sequences, EF BF BD in hexadecimal (usually represented as a square standing on one vertex with a question mark in the middle).
- duplicates
-
MAGNOLIA-3821 magnolia gzip compressed cache sometimes produces hieroglyphics on user browser
- Closed
- is causing
-
MAGNOLIA-4591 GZip filter adds strange binary characters to any form of form module, only showing in Chrome.
- Closed
- is related to
-
MAGNOLIA-4413 GZip filter breaks cached forms in chrome: strange binary content at bottom
- Closed