558
Views
9
Comments
[Multiple File Upload] Larger files failing to upload
Forge component by Hugo Pinheiro
57
Published on 26 Jun 2019

Hi guys. Really like this file uploader. I had everything working in my DEV environment. After deploying to production it works but has problems with larger files > 7mb. My production environment has a load balancer. So I suspect that larger files with the load balancer have an issue.


At any point is there some kind of file chunking going on? Is there any issues you are aware of with a load balancer ? At the present time I don't actually need more than 7 mb but I probably will in the future. I did test the demo page in production to check and it has the same file size issue. Any suggestions ?

Rank: #1063

I forgot to add. When it fails , appears to upload to 100% then hangs there file awhile then just stops without any error in the app. There is a time out error in the log though. One that  says thread being aborted and one that says request timed out.


Message:Thread was being aborted.
Environment InformationeSpaceVer: 2 (Id=389, PubId=720, CompiledWith=9.0.1.40)
RequestUrl: https://webapps.dirtt.net/MultipleFileUpload/Upload.aspx?sessionid=MultipleFileUpload&qqsize=13475328&qqfile=ScheduleDumpSept26.xlsx (Method: POST)
AppDomain: /LM/W3SVC/1/ROOT/MultipleFileUpload-182-131242284136155869
FilePath: d:\OutSystems\Platform Server\running\MultipleFileUpload.02077480094\ProcessFiles.aspx
Locale: en-US
DateFormat: MM-dd-yyyy
PID: 3596 ('w3wp', Started='4/5/2016 9:19:36 AM', Priv=1499Mb, Virt=19810Mb)
TID: 583
Thread Name:
.NET: 4.0.30319.34209
Stack:Thread was being aborted.
   at System.Web.UnsafeNativeMethods.EcbGetAdditionalPostedContent(IntPtr pECB, Byte[] bytes, Int32 offset, Int32 bufferSize)
   at System.Web.Hosting.ISAPIWorkerRequestInProc.GetAdditionalPostedContentCore(Byte[] bytes, Int32 offset, Int32 bufferSize)
   at System.Web.Hosting.ISAPIWorkerRequest.ReadEntityBody(Byte[] buffer, Int32 offset, Int32 size)
   at System.Web.HttpRequest.GetEntireRawContent()
   at System.Web.HttpRequest.get_InputStream()
   at System.Web.HttpRequest.SaveAs(String filename, Boolean includeHeaders)
   at OutSystems.NssMultipleFileUpload_Extension.CssMultipleFileUpload_Extension.MssGetRequestFile(RCFileRecord& ssContent)
   at ssMultipleFileUpload.RssExtensionMultipleFileUpload_Extension.MssGetRequestFile(HeContext heContext, IRecord& outParamContent)
Rank: #1063

Anything guys? I'm kind of struggling with this one and I can't even debug because it only occurs in production. Anyone have experience using this espace with a load balancer? Problems with larger files?

Rank: #26486

Can I also upload excel or word files ? I did upload but it's not successful .. If you have any suggestion please help me Sir. Thx you. (:

Rank: #1063

Yes you can upload excel and word files.


If you have a separate problem mine then please start a new thread.

Rank: #991

Any update on this?

I'm experiencing the same issue.  The progress goes to 100% but the temp file that is uploaded is empty if the upload takes longer than ~2 minutes.  Doesn't matter what size the file is.  I tested by throttling my connection and uploading a 2MB file that took just over 2 minutes and the same issue occurred.

Upgrading to latest version of the component did not resolve the issue.  Chrome network inspector shows a HTTP 500 error thrown.

Any tips as to what could be causing the issue? Component or server perhaps?

Rank: #3674

i am getting same issue.


any solutions ?