Closed urosSowa closed 1 week ago
Hi, If you are using IIS then I think you also need to set the value in the web.config (if you are using something else on linxu, i guess there are settings there too?)
if you want to only set the values for uSync Exporter then we have some docs on that too. (i am not sure you need to update maxRequestLength anymore)
https://docs.jumoo.co.uk/usync/complete/reference/upload
I just did a quick test. below let me upoad a 800mb file into the exporter's import method.
"Umbraco": {
"CMS": {
"Runtime": {
"MaxRequestLength": 1500000
},
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<security>
<requestFiltering>
<!-- ~ Below is the number of bytes allowed, 4GB is the maximum -->
<requestLimits maxAllowedContentLength="900000000" />
</requestFiltering>
</security>
</system.webServer>
</configuration>
Hi, thank you for quick answer.
As it seems the issue is only with Kestrel which we're using.
I saw the documentation but it just covers the IIS :(.
Describe the bug I want to export the whole content from production to development environment using uSync.Complete Exporter/Importer. Our exported .usync file consists of content and media is around 800MB.
In development appsettings.json I have:
I get the error: Failed to upload 413
In log there is always max request body size limit 500MB error, even when I set MaxRequestLength to 50000 (~50MB)
To Reproduce Steps to reproduce the behavior:
Expected behavior MaxRequestLength should apply also to uSync, large uSync files (>500MB) should be imported successfully.
About your Site (please complete the following information):
Additional context Add any other context about the problem here.