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    

Questions

Ask A Question
3

Seq.API : How do I change the Connection.Data.QueryAsync time out?

I'm trying use the API and I keep getting the following exception. I've tried supplying my own cancellation token, I've tried a retry pattern. No luck. System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing. ---> System.TimeoutException: The operation was canceled. ---> System.Threading.Tasks.TaskCanceledException: The operation was canceled. ---> System.IO.IOException: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request.. ---> System.Net.Sockets.SocketException (995): The I/O operation has been aborted because of either a thread exit or an application request. --- End of inner exception stack trace --- at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.GetResult(Int16 token) at System.Net.Http.HttpConnection.FillAsync(Boolean async) at System.Net.Http.HttpConnection.ReadNextResponseHeaderLineAsync(Boolean async, Boolean foldedHeadersAllowed) at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.SendAsyncCore(HttpRequestMessage request, HttpCompletionOption completionOption, Boolean async, Boolean emitTelemetryStartStop, CancellationToken cancellationToken) --- End of inner exception stack trace --- --- End of inner exception stack trace --- at System.Net.Http.HttpClient.SendAsyncCore(HttpRequestMessage request, HttpCompletionOption completionOption, Boolean async, Boolean emitTelemetryStartStop, CancellationToken cancellationToken) at Seq.Api.Client.SeqApiClient.HttpSendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at Seq.Api.Client.SeqApiClient.PostAsync[TEntity,TResponse](ILinked entity, String link, TEntity content, IDictionary`2 parameters, CancellationToken cancellationToken) at Seq.Api.ResourceGroups.ApiResourceGroup.GroupPostAsync[TEntity,TResponse](String link, TEntity content, IDictionary`2 parameters, CancellationToken cancellationToken) at Seq.Api.ResourceGroups.DataResourceGroup.QueryAsync(String query, Nullable`1 rangeStartUtc, Nullable`1 rangeEndUtc, SignalExpressionPart signal, SignalEntity unsavedSignal, Nullable`1 timeout, CancellationToken cancellationToken)

Posted by Marc David 6 months ago

7

Problem installing using docker container

Hi all. I am trying to use seq in ubuntu(not snap actually installed normally). Here is the command I am using. sudo docker run --name seq -d --restart unless-stopped -e ACCEPT_EULA=Y -e SEQ_FIRSTRUN_ADMINPASSWORDHASH="$PH" -v ~/Docker/Seq/Data/Dev/data -p 82:80 -p 5341:5341 datalust/seq The container starts, and image is downloaded, but I can't connect to it, or curl -i Get -x localhost:82 it. I get this in the logs ──────────────────────────────────────── Seq ♦ Machine data, for humans. ─────────── © 2020 Datalust Pty Ltd ──── Running as server; press Ctrl+C to exit. [22:09:57 INF] Seq "2020.5.5163" running on OS "Linux 5.8.0-38-generic #43-Ubuntu SMP Tue Jan 12 12:42:13 UTC 2021" [22:09:57 INF] Seq detected 8344.461312 MB of RAM [22:09:58 INF] Seq listening on ["http://localhost/", "http://localhost:5341/"] [22:09:58 INF] Opening event store at "/data/Stream/stream.flare" [22:09:58 INF] Opening metastore "/data/Documents/documents.lmdb" [22:09:58 INF] Initializing a new metastore [22:09:58 INF] Enabling username/password authentication, and using the supplied default admin password or hash [22:09:58 INF] Closing metastore [22:09:58 INF] Closing event store [22:09:58 ERR] Uncaught exception from worker "Start background processes" ("c3463719-ef8e-49f0-990b-8f23d7315396") Autofac.Core.DependencyResolutionException: An exception was thrown while activating Seq.Server.Web.Authentication.SeqOidcAuthenticationScheme -> Seq.Server.Features.Settings.SystemSettings -> λ:Quince.DocumentStore -> λ:Seq.Server.StorageSubsystem. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array. at Seq.Server.Config.Encoding.Base64SaltedHashEncoding.FromBase64(String base64) at Seq.Server.Data.Users.Migrations.CreateAdminUser.Apply(DocumentSession session) at Quince.Storage.Lmdb.LmdbDocumentStore.Migrate(IEnumerable`1 migrations) at Seq.Server.StorageSubsystem.Initialize(IComponentContext ctx, SeqConfig config, String instanceName, String storageRootPath, String nodeStateFilePath, String streamPath, String documentsPath) at Seq.Server.SeqServerModule.<Load>b__14_7(IComponentContext c) at Autofac.RegistrationExtensions.<>c__DisplayClass4_0`1.<Register>b__0(IComponentContext c, IEnumerable`1 p) at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass0_0`1.<ForDelegate>b__0(IComponentContext c, IEnumerable`1 p) at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) at Autofac.Core.Resolving.InstanceLookup.CreateInstance(IEnumerable`1 parameters) --- End of inner exception stack trace --- at Autofac.Core.Resolving.InstanceLookup.CreateInstance(IEnumerable`1 parameters) at Autofac.Core.Resolving.InstanceLookup.<Execute>b__8_0() at Autofac.Core.Lifetime.LifetimeScope.CreateSharedInstance(Guid id, Func`1 creator) at Autofac.Core.Lifetime.LifetimeScope.CreateSharedInstance(Guid primaryId, Nullable`1 qualifyingId, Func`1 creator) at Autofac.Core.Resolving.InstanceLookup.Execute() at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request) at Autofac.Core.Resolving.ResolveOperation.ResolveComponent(ResolveRequest request) at Autofac.Core.Resolving.ResolveOperation.Execute(ResolveRequest request) at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(ResolveRequest request) at Autofac.Features.LazyDependencies.LazyRegistrationSource.<>c__DisplayClass5_1`1.<CreateLazyRegistration>b__1() at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode) at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor) at System.Lazy`1.CreateValue() at System.Lazy`1.get_Value() at Seq.Server.ServiceProcess.SystemServices.Start(CancellationToken& cancel) at Seq.Server.ServiceProcess.ServerService.<Start>b__8_0(CancellationToken cancel) at Flare.Workers.WorkerPool.<>c__DisplayClass6_0.<Run>b__0(CancellationToken ct) at Flare.Workers.WorkerPool.<>c__DisplayClass7_0`1.<Run>g__DoWork|0() if I use just 80:80 I can access it from lan, but once I change it to 82:80 I can only get it from localhost

Posted by Alexander Nava 7 months ago