Browser client hangs while downloading GZIP compressed JavaScript files through Linux Access Gateway

  • 7008353
  • 12-Apr-2011
  • 26-Apr-2012

Environment

Novell Access Manager 3.1
Novell Access Manager 3.1 Service Pack 3
Novell Access Manager 3.1 Linux Access Gateway
Novell Access Manager 3.1 Linux Access Gateway Service Pack 3

Situation

  • Browser client hangs with the status "loading" while trying to download a GZIP compressed JavaScript file from a web server protected by a Linux Access Gateway.
  • Browser client can download GZIP compressed JavaScript file connecting
    • directly to the web server
    • if the web server is protected by an Access Gateway Service
  • using the "/var/novell/.noGzipSupport" touch file does not make a difference
  • ICS_DYN.LOG logs returns the following entries:
    Mar 16 15:11:32 laga31 : AM#204517000: AMDEVICEID#ag-A1C138C0BD8F1857-0:
    AMAUTHID#0: AMEVENTID#16: ParseGzipHeader returned 1
    Mar 16 15:11:32 laga31 : AM#204517000: AMDEVICEID#ag-A1C138C0BD8F1857-0:
    AMAUTHID#0: AMEVENTID#16: gzip:: discarding original file name from header
    (size:37911) (more remaining)

Resolution

  • This issue has been addressed to engineering

  • Workaround:

    • rename the original JavaScript file "file.js" to "js"
    • compress the file using: "gzip -nc > js.gz"
    • rename the file to "file.js.gz" and place it back on your web server
    • make sure you clear all caches (web server, browser client. Linux Access Gateway)

Additional Information

The Linux Access Gateway is facing a name collision between the GZIP file name and the enclosed JavaScript file-name while  decompressing the file