File upload issue

Hi All,

Has anyone else had an intermittent issue with Lucee and file uploads?
Basically what is happening is every now and again I’m getting an error
from the upload code saying the form field the file is contained within
doesn’t exist within the form structure. The field is 100% in the form from
which it is being submitted and all other environment variables suggest the
form field should exist, for example:

Content-Type = multipart/form-data;
Content-Length = 500826

The form only has this one file, it is an image upload form, but for some
reason, from time to time, Lucee seems to think it is not there and throws
an exception. I’ve tried various things to isolate the issue without
success, there is no correlation to browser, etc… either.

Anyone else seen this behaviour or have any idea what might be causing it?
Could it be some sort of timeout on the browser side or something? It’s all
very odd.

Thanks.

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.org

Can you try/catch it and put in some debugging that sends you the form
scope and output of getHttpRequestData()?

Thanks!

~BradOn Saturday, August 15, 2015 at 5:57:30 AM UTC-5, Andrew Dixon wrote:

Hi All,

Has anyone else had an intermittent issue with Lucee and file uploads?
Basically what is happening is every now and again I’m getting an error
from the upload code saying the form field the file is contained within
doesn’t exist within the form structure. The field is 100% in the form from
which it is being submitted and all other environment variables suggest the
form field should exist, for example:

Content-Type = multipart/form-data;
Content-Length = 500826

The form only has this one file, it is an image upload form, but for some
reason, from time to time, Lucee seems to think it is not there and throws
an exception. I’ve tried various things to isolate the issue without
success, there is no correlation to browser, etc… either.

Anyone else seen this behaviour or have any idea what might be causing it?
Could it be some sort of timeout on the browser side or something? It’s all
very odd.

Thanks.

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.org

I’ve seen that happening behind ngnix.
Can’t remember exactly what fixed it, but it had to do something by setting
some kind of buffer size.

Let me know if you’re behind a ngnix server too and I’ll check my notes on
it later this weekend.

MikeOn Saturday, August 15, 2015, Andrew Dixon <@Andrew_Dixon> wrote:

Hi All,

Has anyone else had an intermittent issue with Lucee and file uploads?
Basically what is happening is every now and again I’m getting an error
from the upload code saying the form field the file is contained within
doesn’t exist within the form structure. The field is 100% in the form from
which it is being submitted and all other environment variables suggest the
form field should exist, for example:

Content-Type = multipart/form-data;
Content-Length = 500826

The form only has this one file, it is an image upload form, but for some
reason, from time to time, Lucee seems to think it is not there and throws
an exception. I’ve tried various things to isolate the issue without
success, there is no correlation to browser, etc… either.

Anyone else seen this behaviour or have any idea what might be causing it?
Could it be some sort of timeout on the browser side or something? It’s all
very odd.

Thanks.

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.org


See Lucee at CFCamp Oct 22 & 23 2015 @ Munich Airport, Germany - Get your
ticket NOW - http://www.cfcamp.org/

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com
<javascript:_e(%7B%7D,‘cvml’,‘lucee%2Bunsubscribe@googlegroups.com’);>.
To post to this group, send email to lucee@googlegroups.com
<javascript:_e(%7B%7D,‘cvml’,‘lucee@googlegroups.com’);>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/CAG1WijXPMhxf4OHACry4%3DdATYBxM7D7ABXEbSK2ibkujCP6ocw%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG1WijXPMhxf4OHACry4%3DdATYBxM7D7ABXEbSK2ibkujCP6ocw%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


Sent from Gmail Mobile