Kentico MultiFileUploader.ashx 大文件超时

问题描述

当我尝试上传文件时,出现 504 网关超时。就我而言,如果文件大小大于 500MB,我会收到错误消息。这是来自网络日志的消息。

EventUrl:/CMSModules/Content/CMSPages/Authenticated/MultiFileUploader.ashx?InstanceGuid=f0c59348-4637-4f2e-9d13-7af68a241fed&filename=TearsOfSteel.mp4&FilesCount=1&Resizetrue&resizeArgs= >&StartByte = 184549376&AttachmentArgs = DocumentID%7c100581%7cDocumentParentNodeID%7c100580%7cNodeClassName%7cCMS.MenuItem%7cAttachmentGUIDColumnName%7cVODVideoUpload%7cAttachmentGUID%7c00000000-0000-0000-0000-000000000000%7cAttachmentGroupGUID%7c00000000-0000-0000-0000-000000000000%7cFormGUID%7c00000000 -0000-0000-0000-000000000000%7cIsFieldAttachment%7cTrue%7cFullRefresh%7cFalse%7cHash%7c0a173cf90a038346b2b8e611a31c08e613186f78d4bfd2eb98732a0eef0a5f0f&AdditionalParameters = SourceType中%7cAttachment%7cParentElementID%7cm_c_f_VODVideoUpload_VODVideoUpload%7cIsInsertMode%7cTrue%7cAfterSaveJavascript%7C%7cTargetFolderPath%7C%7cTargetFileName%7C%7cIncludeNewItemInfo%7cTrue%7cOnlyImages %7cFalse%7cRaiSEOnClick%7cFalse%7cTargetAliasPath%7c%7cTargetCulture%7c%7cEventTarget%7c%7cHash%7cb903 8c2880b35dd13b237caad502b2fd6527668c3265a423f35bb4712dca100a&CurrentFileIndex=1&FileSize=185765954&AllowedExtensions=mp4|Hash|155cb6adce0dp155cb9fc8dp3cb9fc8dc8dc8dc8dc8dc8dc8dc8dc8dc8dc8d2fc8dc8dc8dc8dc8dc8dc8dc8dc8dc8dc8dc812dca100a&CurrentFileIndex=1&FileSize=1&FileSize=13b237a

我已尝试将 ConnectionString 超时增加到 600,并将 httpRuntime executionTimeout 增加到 60000。

enter image description here

响应头

content-length: 534 content-type: text/html date: Tue,16 Mar 2021
07:00:12 GMT server: awselb/2.0

回复

<html> <head><title>504 Gateway Time-out</title></head> <body>
<center><h1>504 Gateway Time-out</h1></center> </body> </html>

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)