Skip to main content

3.1.2 with Apache mod_proxy_ajp truncating output

2 replies [Last post]
buddypine
Offline
Joined: 2011-11-17
Points: 0

My app generates a zip file and provides the file via a download link - since upgrading to 3.1.2 the file download is getting truncated at 256Kb (original file 700Kb).

I'm using GF 3.1.2 behind Apache with mod_proxy_ajp and if I bypass Apache and download the file by connecting directly to the GF http port the download completes fully. I am also seeing the following errors in the Apache logs when attempting the download:

ajp_check_msg_header() got bad signature 28e9
ajp_ilink_receive() received bad header
ajp_read_header: ajp_ilink_receive failed
(120007)APR does not understand this error code: proxy: dialog to 192.168.200.44:8009 (ww.mydomain.com) failed
Any ideas why this is now failing? is there anything I need to configure in 3.1.2 or should I file a bug report?
asadmin create-network-listener --jkenabled true --protocol http-listener-1 --listenerport 8009 jk-listener
ProxyPass / ajp://www.mydomain.com:8009/
ProxyPassReverse
/ ajp://www.mydomain.com:8009/
<br
type="_moz" />

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
rlubke
Offline
Joined: 2003-08-21
Points: 0

On 3/2/12 11:45 AM, forums@java.net wrote:
> My app generates a zip file and provides the file via a download link
> - since
> upgrading to 3.1.2 the file download is getting truncated at 256Kb
> (original
> file 700Kb).
>
> I'm using GF 3.1.2 behind Apache with mod_proxy_ajp and if I bypass
> Apache
> and download the file by connecting directly to the GF http port the
> download
> completes fully. I am also seeing the following errors in the Apache logs
> when attempting the download:
>
> ajp_check_msg_header() got bad signature 28e9 ajp_ilink_receive()
> received
> bad header ajp_read_header: ajp_ilink_receive failed (120007)APR does not
> understand this error code: proxy: dialog to 192.168.200.44:8009
> (ww.mydomain.com) failed Any ideas why this is now failing? is there
> anything
> I need to configure in 3.1.2 or should I file a bug report? asadmin
> create-network-listener --jkenabled true --protocol http-listener-1
> --listenerport 8009 jk-listener ProxyPass / ajp://www.mydomain.com:8009/
> ProxyPassReverse / ajp://www.mydomain.com:8009/
>
>
> --
>
> [Message sent by forum member 'buddypine']
>
> View Post: http://forums.java.net/node/883968
>
>
Please log an issue. Also, if you can capture the http traffic between
GF and Apache and attach it to the issue, it would be helpful.

buddypine
Offline
Joined: 2011-11-17
Points: 0