Copied to clipboard

Flag this post as spam?

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


  • Pop 2 posts 71 karma points
    Apr 22, 2022 @ 19:46
    Pop
    0

    Hardening Umbraco advice causes error logs for scheduled publishing

    Hi

    I followed up the "Lock down access to your Umbraco-folders" part of this guide for version 7: https://our.umbraco.com/Documentation/Reference/Security/Security-hardening/index-v7

    Unfortunately, the "Allowed IPs" rewrite rule triggers errors with scheduled publishing. I tried adding the IPs 127.0.0.1, localhost, and ::1, but this does not help.

    Any ideas?

    2022-04-22 21:44:45,841 [P6796/D10/T30] ERROR Umbraco.Web.Scheduling.ScheduledPublishing - Failed (at "http://mysite.com/umbraco").
    System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
       at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
       at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
       --- End of inner exception stack trace ---
       at System.Net.Security._SslStream.EndRead(IAsyncResult asyncResult)
       at System.Net.TlsStream.EndRead(IAsyncResult asyncResult)
       at System.Net.Connection.ReadCallback(IAsyncResult asyncResult)
       --- End of inner exception stack trace ---
       at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
       --- End of inner exception stack trace ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Umbraco.Web.Scheduling.ScheduledPublishing.<PerformRunAsync>d__7.MoveNext()
    
Please Sign in or register to post replies

Write your reply to:

Draft