Seq Documentation and Support

Seq Documentation and Support

Welcome to the Seq documentation hub. You'll find comprehensive guides and documentation to help you start working with Seq as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    
Ask A Question

Questions

5

Dashboards failing with 'unhandled exception'

I'm not exactly sure what have caused this problem - but our dashboards have suddently started failing - showing a big RED box saying: > An unhandled error occured while serving the request (token: 9df9097ce52b42...and > more). SEQ shows the following in the log: &#123;"@t":"2019-03-11T14:20:19.9793140Z","@mt":"Error serving &#123;RequestUrl&#125; (token: &#123;ErrorToken&#125;)","@l":"Error","@x":"Microsoft.Isam.Esent.Interop.EsentBadLogSignatureException: Bad signature for a log file\r\n at Microsoft.Isam.Esent.Interop.Api.JetInit2(JET_INSTANCE& instance, InitGrbit grbit)\r\n at Microsoft.Isam.Esent.Interop.Instance.Init(InitGrbit grbit)\r\n at Flare.Storage.Esent.Data.EsentDB..ctor(String path, String instanceName, Boolean boostWriteConcurrency)\r\n at Flare.Storage.Esent.EsentStorageExtent.BeginSession(String tag)\r\n at Flare.Storage.Esent.EsentStorageExtent.<Get>d__17.MoveNext()\r\n at Flare.Events.EventStore.<Get>d__13.MoveNext()\r\n at Flare.Queries.Executor.QueryExecutor.<ExecuteTimeSlicingPlanPart>d__17.MoveNext()\r\n at Flare.Queries.Executor.QueryExecutor.<ExecuteTimeSlicingPlan>d__16.MoveNext()\r\n at Flare.Queries.Executor.QueryExecutor.CreateTimeSlicingResult(IEventStore store, Nullable`1 rangeStartUtc, Nullable`1 rangeEndUtc, QueryExecutionState state, TimeSlicingPlan ts, QueryCache cache)\r\n at Flare.Queries.Executor.QueryExecutor.Execute(QueryPlan plan, IEventStore store, Nullable`1 rangeStartUtc, Nullable`1 rangeEndUtc, CancellationToken cancel, DateTime now, QueryCache cache)\r\n at Flare.Queries.DataStore.Query(String query, CancellationToken cancel, Nullable`1 rangeStartUtc, Nullable`1 rangeEndUtc, String filter)\r\n at Seq.Server.Web.Api.DataModule.<>c__DisplayClass5_0.<Query>g__Calculate|0(IComponentContext ctx, CancellationToken cancel)\r\n at Seq.Server.Web.Api.DataModule.<>c__DisplayClass5_1.<Query>b__1(CancellationToken ct)\r\n at Flare.Workers.WorkerPool.<>c__DisplayClass4_0.<Run>b__0()\r\n at System.Threading.Tasks.Task.Execute()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Seq.Server.Web.Api.DataModule.<Query>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Seq.Server.Web.Api.DataModule.<<-ctor>b__3_0>d.MoveNext()","RequestUrl":"https://removed.com/api/data?q=select%20count%28%2A%29%20as%20count%0D%0Afrom%20stream%20%0D%0Awhere%20%28%40Timestamp%20%3E%3D%20DateTime%28%272018-12-10T23%3A00%3A00.000Z%27%29%29%0D%0A%20%20and%20%28%40Timestamp%20%3C%20DateTime%28%272019-03-11T14%3A20%3A05.812Z%27%29%29%0D%0Agroup%20by%20time%281d%29%0D%0Alimit%2010000%0D%0A&signal=signal-135&timeoutMS=60000","ErrorToken":"b55b8261aa1a4ecba5292c145a6d303f","RequestId":"05d752a3-d355-437a-8e1d-567c33fc5567"&#125; It seems to affect ALL dashboards - also the one that come as 'default' with SEQ. We are running SEQ 4.2

Posted by Allan Fejerskov Ravn 14 days ago

4

Error deleting a user

Hi. I'm having trouble deleting a user from Seq. The log says: { "@t": "2019-02-21T09:47:25.0568213Z", "@mt": "HTTP {RequestMethod} {RequestPath} responded {StatusCode} in {Elapsed:0.0000} ms", "@r": [ "68.2994" ], "@l": "Error", "@x": "System.NullReferenceException: Object reference not set to an instance of an object.\r\n at Seq.Server.Data.Users.Deletions.OwnedItemDeletedPolicy`1.<>c__DisplayClass5_0.<CanDelete>b__1()\r\n at Seq.Server.Web.EntityResourceController`2.RemoveEntity(String id)\r\n at lambda_method(Closure , Object , Object[] )\r\n at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\r\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync()\r\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync()\r\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)\r\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()\r\n at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter()\r\n at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)\r\n at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync()\r\n at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync()\r\n at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)\r\n at Seq.Server.Web.Middleware.WebSocketAcceptMiddleware.Invoke(HttpContext context)\r\n at Seq.Server.Web.Middleware.RequestAuthenticationMiddleware.Invoke(HttpContext httpContext)\r\n at Seq.Server.Web.Middleware.BrowserSecurityOptionsMiddleware.Invoke(HttpContext context)\r\n at Seq.Server.Web.Middleware.RequestCompletionMiddleware.Invoke(HttpContext httpContext)", "RequestMethod": "DELETE", "RequestPath": "/api/users/user-202", "StatusCode": 500, "Elapsed": 68.2993927999229, "ErrorToken": "0830f7b0b3e14f588ae70565a8157d91", "RequestProtocol": "HTTP/1.1", "RequestHost": "XXXXXXXXXXXXXXXXXXXXXXX", "RequestHeaders": { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" }, "SourceContext": "Seq.Server.Web.Middleware.RequestCompletionMiddleware", "RequestId": "80000c0f-0000-0700-b63f-84710c7967bb", "CorrelationId": null } The error message on the settings page: Could not save user An unhandeled error occurred while serving the request

Posted by Erling Brandvik about a month ago