HTTP 500 when downloading attachments on Chrome

Hi,

I’m running RT 4.010, in some cases when I try to download an attachment from a ticket using Chrome doesn’t work, looking at the logs I found out that I actually get HTTP error 500.

I run RT on debug mode but nothing is added to the logfile when clicking on the attachment, but I do get this message on the apache logs:

[Thu Apr 18 03:38:39 2013] [error] [client x.x.x.x] Apache2::RequestIO::print: (103) Software caused connection abort at /usr/local/share/perl5/Plack/Handler/Apache2.pm line 179, referer: https://rt.travelgenio.com/Ticket/Display.html?id=10983

x.x.x.x - - [18/Apr/2013:03:38:39 +0200] “GET /Ticket/Attachment/103241/52274/num%C3%A9risation0001.pdf HTTP/1.1” 500 363754

[18/Apr/2013:03:38:39 +0200] x.x.x.x TLSv1 DHE-RSA-CAMELLIA256-SHA “GET /Ticket/Attachment/103241/52274/num%C3%A9risation0001.pdf HTTP/1.1” 363754

If I download it from IE or Firefox, no errors at all.

Thank you all for your help, Charly

Hi,

I’m running RT 4.010, in some cases when I try to download an attachment
from a ticket using Chrome doesn’t work, looking at the logs I found out
that I actually get HTTP error 500.

I run RT on debug mode but nothing is added to the logfile when clicking
on the attachment, but I do get this message on the apache logs:

[Thu Apr 18 03:38:39 2013] [error] [client x.x.x.x]
Apache2::RequestIO::print: (103) Software caused connection abort at
/usr/local/share/perl5/Plack/Handler/Apache2.pm line 179, referer:
https://rt.travelgenio.com/Ticket/Display.html?id=10983

This means that the browser closed connection while server was pushing data
to client.

Try “save link as” instead of just clicking. This way you will avoid in
browser PDF viewer. Check if this works and try to open the file from disk
out of chrome and in chrome.

Also open chrome’s console and try to open link.

x.x.x.x - - [18/Apr/2013:03:38:39 +0200] “GET
/Ticket/Attachment/103241/52274/num%C3%A9risation0001.pdf HTTP/1.1” 500
363754

[18/Apr/2013:03:38:39 +0200] x.x.x.x TLSv1 DHE-RSA-CAMELLIA256-SHA “GET
/Ticket/Attachment/103241/52274/num%C3%A9risation0001.pdf HTTP/1.1” 363754

If I download it from IE or Firefox, no errors at all.

Thank you all for your help, Charly

Best regards, Ruslan.

Clicking on “Save link as” works.

I opened the Console and this is what I get:
Resource interpreted as Document but transferred with MIME type application/octet-stream: “https://rt.domain.com/Ticket/Attachment/103241/52274/numérisation0001.pdf”.

After some research seems to be a bug in Chrome.
http://code.google.com/p/chromium/issues/detail?id=104331

Thank you!De: Ruslan Zakirov ruz@bestpractical.com
Para: “charlycr74@yahoo.com.ar” charlycr74@yahoo.com.ar
CC: “rt-users@lists.bestpractical.comrt-users@lists.bestpractical.com
Enviado: jueves, 18 de abril de 2013 3:42
Asunto: Re: [rt-users] HTTP 500 when downloading attachments on Chrome

Hi,

I’m running RT 4.010, in some cases when I try to download an attachment from a ticket using Chrome doesn’t work, looking at the logs I found out that I actually get HTTP error 500.

I run RT on debug mode but nothing is added to the logfile when clicking on the attachment, but I do get this message on the apache logs:

[Thu Apr 18 03:38:39 2013] [error] [client x.x.x.x] Apache2::RequestIO::print: (103) Software caused connection abort at /usr/local/share/perl5/Plack/Handler/Apache2.pm line 179, referer: https://rt.travelgenio.com/Ticket/Display.html?id=10983

This means that the browser closed connection while server was pushing data to client.

Try “save link as” instead of just clicking. This way you will avoid in browser PDF viewer. Check if this works and try to open the file from disk out of chrome and in chrome.

Also open chrome’s console and try to open link.

x.x.x.x - - [18/Apr/2013:03:38:39 +0200] “GET /Ticket/Attachment/103241/52274/num%C3%A9risation0001.pdf HTTP/1.1” 500 363754

[18/Apr/2013:03:38:39 +0200] x.x.x.x TLSv1 DHE-RSA-CAMELLIA256-SHA “GET /Ticket/Attachment/103241/52274/num%C3%A9risation0001.pdf HTTP/1.1” 363754

If I download it from IE or Firefox, no errors at all.

Thank you all for your help, Charly

Best regards, Ruslan.