Copied to clipboard

Flag this post as spam?

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


  • Michael 125 posts 409 karma points
    Sep 14, 2017 @ 06:18
    Michael
    0

    Setup umbracoReservedUrls || umbracoReservedPaths

    Hi guys,

    Having issue with setting "umbracoReservedUrls " and "umbracoReservedPaths" in config.

    I've added ~/healthcheck/ to both settings, but sometimes I see errors in logs:

        Message: A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The semaphore timeout period has expired.)
    System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction):92
    System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction):41
    System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose):375
    System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error):412
    System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync():137
    System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket():68
    System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer():65
    System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value):25
    System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady):296
    System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj):16
    System.Data.SqlClient.TdsParser.TdsExecuteTransactionManagerRequest(Byte[] buffer, TransactionManagerRequestType request, String transactionName, TransactionManagerIsolationLevel isoLevel, Int32 timeout, SqlInternalTransaction transaction, TdsParserStateObject stateObj, Boolean isDelegateControlRequest):566
    System.Data.SqlClient.SqlInternalConnectionTds.ExecuteTransactionYukon(TransactionRequest transactionRequest, String transactionName, IsolationLevel iso, SqlInternalTransaction internalTransaction, Boolean isDelegateControlRequest):384
    System.Data.SqlClient.SqlInternalConnectionTds.ExecuteTransaction(TransactionRequest transactionRequest, String name, IsolationLevel iso, SqlInternalTransaction internalTransaction, Boolean isDelegateControlRequest):109
    System.Data.SqlClient.SqlInternalConnection.BeginSqlTransaction(IsolationLevel iso, String transactionName, Boolean shouldReconnect):118
    System.Data.SqlClient.SqlConnection.BeginTransaction(IsolationLevel iso, String transactionName):59
    System.Data.SqlClient.SqlConnection.BeginDbTransaction(IsolationLevel isolationLevel):0
    System.Data.Common.DbConnection.System.Data.IDbConnection.BeginTransaction(IsolationLevel isolationLevel):0
    
    Umbraco.Core.Persistence.Database.OpenSharedConnection():53
    Umbraco.Core.Persistence.Database+<Query>d__7`1.MoveNext():66
    System.Collections.Generic.List`1..ctor(IEnumerable`1 collection):119
    System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source):14
    
    Umbraco.Core.Persistence.Database.Fetch[T](String sql, Object[] args):0
    Umbraco.Core.Persistence.Database.Fetch[T](Sql sql):0
    Umbraco.Core.Sync.DatabaseServerMessenger.ProcessDatabaseInstructions():301
    Umbraco.Core.Sync.DatabaseServerMessenger.Sync():146
    Umbraco.Web.BatchedDatabaseServerMessenger.UmbracoModule_RouteAttempt(Object sender, RoutableAttemptEventArgs e):22
    Umbraco.Web.UmbracoModule.OnRouteAttempt(RoutableAttemptEventArgs args):7
    Umbraco.Web.UmbracoModule.ProcessRequest(HttpContextBase httpContext):155
    Umbraco.Web.UmbracoModule.<Init>b__8(Object sender, EventArgs e):19
    System.Web.HttpApplication+SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute():65
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously):21
    

    This mean that Umbraco try to communicate with database instead of skipping this url. How I can exclude this URL from Umbraco processing flow?

    Thanks, Mike

Please Sign in or register to post replies

Write your reply to:

Draft