0
votes

I'm getting 504 gateway timeout error while uploading huge files for eg 30mb video files. I have made the following settings in web.config but still it doesnot works.

<httpRuntime executionTimeout="99999" maxRequestLength="1048576" requestLengthDiskThreshold="80" useFullyQualifiedRedirectUrl="false"
                 minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="5000" enableKernelOutputCache="true" enableVersionHeader="true"
                 requireRootedSaveAsPath="true" enable="true"
                 shutdownTimeout="90" delayNotificationTimeout="5" waitChangeNotification="0" maxWaitChangeNotification="0" enableHeaderChecking="true"
                 sendCacheControlHeader="true" apartmentThreading="false" />
1

1 Answers

0
votes

If you are sure its not some ISP issue, then also try setting this:

  <system.webServer>
    <security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="104857600" />