locked
upload timeout err: Request timed out after 30000 seconds RRS feed

  • Question

  • User890522732 posted

    hello all -

    first off i just want to say im not great at sysadmin so asking for your patience

    im running the current version of iis

    and using a asp.net core 3.1 web app to upload files via dropzone.js

    uploading small files are fine 

    but when i want to upload larger files that take a while 

    i get the following err: "Request timed out after 30000 seconds"

    now 

    • - im assuming its meaning 30000 microseconds bc i timed it the upload fail and it was actually 30 seconds
    • - i followed this excellent post i found which i posted below and therefore i changed my program.cs as well as my web.config to reflect the posts suggestions
    • - i also checked my connection timeout in iis and its set to the default of 120s which is still greater than 30s
    • - just to be safe i also updated my web.config with this:

            <requestFiltering>
              <requestLimits maxAllowedContentLength="100485760"></requestLimits>
            </requestFiltering>

    Timeouts with long running ASP.NET MVC Core Controller HTTPPost Method

    however - no love

    anyone have any suggestions?

    Tuesday, February 16, 2021 1:32 AM

Answers

  • User1771714573 posted

    Hi playwithtoy,

    Did you put timeout in the dropzone.js?

    timeout: 180000,

    This will not cause the 30 seconds timeout when uploading file with dropzone.js.

     

    You can also insert 0 as timeout to disable the timeout as dropzone.js documentation reports.

    Best regards,

    Brucz

    • Marked as answer by An0nym0u5User Friday, September 17, 2021 12:00 AM
    Wednesday, February 17, 2021 6:20 AM

All replies

  • User1771714573 posted

    Hi playwithtoy,

    Did you put timeout in the dropzone.js?

    timeout: 180000,

    This will not cause the 30 seconds timeout when uploading file with dropzone.js.

     

    You can also insert 0 as timeout to disable the timeout as dropzone.js documentation reports.

    Best regards,

    Brucz

    • Marked as answer by An0nym0u5User Friday, September 17, 2021 12:00 AM
    Wednesday, February 17, 2021 6:20 AM
  • User890522732 posted

    this is embarassing - this is indeed a dropzone issue not iis

    Wednesday, February 17, 2021 7:41 PM