Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Martin Aguirre 42 posts 210 karma points
    Jul 13, 2017 @ 17:21
    Martin Aguirre
    0

    Timeout in upload control

    This issue is driving me crazy

    I used a uploadfile control in a umbraco form.

    when I use it, selecting a file and waiting for more than 60 seconds to continue, the follow error message is showed "The page was not displayed because the request entity is too large."

    This not happen when the wait is minor than 60 seconds.

    Please where can I configure this adding more time to proceed ? Thanks a lot

    This is the POST capture from Chrome

    Request Method:POST
    Status Code:413 Request Entity Too Large
    Remote Address:172.19.75.252:3128
    Referrer Policy:no-referrer-when-downgrade
    Response Headers
    view source
    Connection:close
    Content-Length:67
    Content-Security-Policy:img-src *
    Content-Type:text/html
    Date:Thu, 13 Jul 2017 17:26:53 GMT
    Strict-Transport-Security:max-age=31536000; includeSubDomains
    X-Content-Type-Options:nosniff
    X-Frame-Options:SAMEORIGIN
    X-Xss-Protection:1; mode=block
    Request Headers
    view source
    Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
    Accept-Encoding:gzip, deflate, br
    Accept-Language:es-ES,es;q=0.8
    Cache-Control:max-age=0
    Connection:keep-alive
    Content-Length:1067221
    
  • MuirisOG 382 posts 1284 karma points
    Jul 13, 2017 @ 20:07
    MuirisOG
    0

    How big is the file you are trying to upload?

    It's not just timing out because of permissions problems?

    Is there room on your drive?

    Which data type are you using to store the image?

    Which version of Umbraco are you running?

    Is there anything in the log file in the app_data folder?

  • Martin Aguirre 42 posts 210 karma points
    Jul 14, 2017 @ 14:19
    Martin Aguirre
    100

    Hi. Sorry for the long time to response. I'have been looking for the root cause of this issue.

    How big is the file you are trying to upload? its only 1 MB

    It's not just timing out because of permissions problems? Permission maybe not, but some IIS security config maybe.

    Is there room on your drive? yes there are so much capacity!.

    Which data type are you using to store the image? an .JPG image or an PDF file.

    Which version of Umbraco are you running? Umbraco version 7.4.1 assembly: 1.0.5891.23238 Version actual instalada de Umbraco Forms: "4.3.2"

    Is there anything in the log file in the app_data folder? there is not relevant information about this problemn.

    Here some links about the problem. Looks like a IIS and SSL issue

    https://stackoverflow.com/questions/10122957/iis7-413-request-entity-too-large-uploadreadaheadsize

    https://docs.microsoft.com/en-us/iis/get-started/whats-new-in-iis-7/changes-in-security-between-iis-60-and-iis-7-and-above

    https://technet.microsoft.com/library/security/ms10-049

    https://forums.asp.net/t/1330260.aspx?FileUpload+large+files+SSL+client+certificates+and+the+UploadReadAheadSize+bug+suggestions+

    Hi, and in this http://securitythroughabsurdity.com/2008/01/screen-bug-in-ie-with-aspnet.html link the root cause explained in extenso.

Please Sign in or register to post replies

Write your reply to:

Draft