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:
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
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
2 Posts
upload timeout err: Request timed out after 30000 seconds
Feb 16, 2021 01:32 AM|playwithtoy|LINK
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
<requestFiltering>
<requestLimits maxAllowedContentLength="100485760"></requestLimits>
</requestFiltering>
Timeouts with long running ASP.NET MVC Core Controller HTTPPost Method
however - no love
anyone have any suggestions?
220 Posts
Re: upload timeout err: Request timed out after 30000 seconds
Feb 17, 2021 06:20 AM|Brucz|LINK
Hi playwithtoy,
Did you put timeout in the dropzone.js?
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
2 Posts
Re: upload timeout err: Request timed out after 30000 seconds
Feb 17, 2021 07:41 PM|playwithtoy|LINK
this is embarassing - this is indeed a dropzone issue not iis