Copied to clipboard

Flag this post as spam?

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


  • waycooljen 7 posts 77 karma points
    Apr 24, 2019 @ 17:24
    waycooljen
    0

    Courier won't migrate media beyond certain size

    I'm seeing this error in the logs:

    2019-04-24 13:02:56,462 [16] ERROR Umbraco.Courier.Core.TaskManager - [Thread 16] Error ExtractionTask with id: 90045c14-1d1f-418e-9fb8-7d29da02f94d System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: There was an exception running the extensions specified in the config file. ---> System.Web.HttpException: Maximum request length exceeded. at System.Web.HttpRequest.GetEntireRawContent() at System.Web.HttpRequest.get_InputStream() at System.Web.Services.Protocols.SoapServerProtocol.Initialize() --- End of inner exception stack trace --- at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing) at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Umbraco.Courier.RepositoryProviders.WebServiceProvider.RepositoryWebservice.TransferResources(String sessionKey, ResourceTransfer[] resources) at Umbraco.Courier.Core.Extraction.RevisionExtraction.TransferItemResources(Item item, ResourceExtractionOrder order) at Umbraco.Courier.Core.Extraction.RevisionExtraction.TransferPreExtractResource() at Umbraco.Courier.Core.Extraction.RevisionExtraction.Extract() at Umbraco.Courier.Core.Tasks.ExtractionTask.Run() at Umbraco.Courier.Core.BackgroundTaskRunner`1.ConsumeTaskInternal(T Shutdown

    The only place I know of that we have a maxRequestLength specified is in the web.config:

    <httpRuntime requestValidationMode="2.0" enableVersionHeader="false" targetFramework="4.5" executionTimeout="360" maxRequestLength="21504" fcnMode="Single" />
    

    The file I was trying to courier is 14.8MB, which is well below that 21MB setting.

    We're running Umbraco 7.10.4 and courier version 3.1.6.

    Any ideas on how to resolve?

  • waycooljen 7 posts 77 karma points
    Apr 24, 2019 @ 18:03
    waycooljen
    0

    Also, our maxAllowedContentLength="104857600" - so it's not a limitation of that setting.

  • Yakov Lebski 236 posts 936 karma points
    Jun 19, 2019 @ 21:13
    Yakov Lebski
    0

    please check also timeout in courier.config

      in 
    
    <settings>
    <timeout>30000</timeout>
    </settings>
    

    Milliseconds before a webclient connection times out.

  • waycooljen 7 posts 77 karma points
    Jun 20, 2019 @ 12:25
    waycooljen
    0

    There is no such setting in our courier.config - I'll look into more. Thank-you.

  • Yakov Lebski 236 posts 936 karma points
    Jun 20, 2019 @ 13:11
    Yakov Lebski
    0

    I think this is a default, just add it

  • waycooljen 7 posts 77 karma points
    Aug 15, 2019 @ 14:26
    waycooljen
    0

    Tried setting it to:

    <timeout>900000</timeout>
    

    And it is still not working.

Please Sign in or register to post replies

Write your reply to:

Draft