Problem with attachments in RT

Hello,

I’m facing a problem trying to attach files longer than 1 MB. When creating the ticket, the webUI (as well as the rt.log) shows ‘Queue could not be loaded’.

I’ve already configured FcgidMaxRequestLen parameter in Apache configuration (1 GB) and max_allowed_packet parameter in MySQL (16 MB).

I’ve also tried to play with RT attachment parameters (such as MaxAttachmentSize, TruncateLongAttachments and DropLongAttachments) with no result.

Any clue of what am I missing?

By the way, I have an RT 4.2.10 installation with RTIR 3.2.0.​ And I am assuming this is a RT issue, not RTIR.

Thanks in advance.

Iñaki de Eguía Díez
Desarrollador - Entornos Abiertos
inaki.deeguia@csa.esmailto:inaki.deeguia@csa.es

En cumplimiento de la Ley Orgánica 15/1999, de 13 de diciembre, de Protección de Datos de Carácter Personal, los datos personales reflejados en este documento se incluirán en una base de datos informatizada de titularidad de Centro Regional de Servicios Avanzados, S.A. Dicha base de datos se encuentra inscrita en el Registro General de Protección de Datos conforme a lo dispuesto en la legislación vigente y cumpliendo todas las medidas de seguridad del Real Decreto 994/1999, de 11 de junio, de medidas de seguridad de los ficheros automatizados que contengan datos de carácter personal. Asimismo, el cliente dispone en todo momento de los derechos de información, acceso, rectificación, cancelación y oposición, que podrá ejercitar por escrito mediante carta dirigida al Responsable de Seguridad, en la siguiente dirección: C/ López Bravo, 1. 09001 Burgos (España).

I’m facing a problem trying to attach files longer than 1 MB. When
creating the ticket, the webUI (as well as the rt.log) shows ‘Queue
could not be loaded’.

The ‘Queue could not be loaded’ hints that the full http request didn’t
make it to RT.

I suggest putting a shim in somewhere that shows you the raw http
request that makes it to the web server to determine if the issue
happens before apache gets the request or not.

Perhaps theres a proxy between the browser and RT that is filtering out
the large request?

Check your web server config. I had an optimised nginx config that was
blocking files larger than 1MB.

This affected emails as well, as RT uses the web api to load them.On Thursday, 1 October 2015, Todd Wade todd@bestpractical.com wrote:

On 8/13/15 6:30 AM, Iñaki de Eguia Diez wrote:

I’m facing a problem trying to attach files longer than 1 MB. When
creating the ticket, the webUI (as well as the rt.log) shows ‘Queue
could not be loaded’.

The ‘Queue could not be loaded’ hints that the full http request didn’t
make it to RT.

I suggest putting a shim in somewhere that shows you the raw http request
that makes it to the web server to determine if the issue happens before
apache gets the request or not.

Perhaps theres a proxy between the browser and RT that is filtering out
the large request?

?Ok, yeah, it seems an odd configuration in web server, since I don’t have this problem on a fresh install. I’ll check it out.

Thanks a lot!

Iñaki de Eguía Díez
Desarrollador - Entornos Abiertos
inaki.deeguia@csa.esmailto:inaki.deeguia@csa.esDe: rt-devel rt-devel-bounces@lists.bestpractical.com en nombre de Nathan Boddy nathan.boddy@gmail.com
Enviado: jueves, 1 de octubre de 2015 1:17
Para: rt-devel@lists.bestpractical.com
Asunto: Re: [rt-devel] Problem with attachments in RT

Check your web server config. I had an optimised nginx config that was blocking files larger than 1MB.

This affected emails as well, as RT uses the web api to load them.