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

9

No logging for some iOS devices

I have a strange issue: the logs of some iOS devices (so far I have the impression it doesn't happen with Android devices) don't reach our seq server. For example, with the very same iOS app version, installed on an iPhone 11 and on an iPad Pro 3rd generation, I can see the logs on the seq server from the iPad but not the ones from the iPhone. Both are running iOS 14.4.2 and as I said above, both have the same .ipa installed. In our Xamarin code, after the logger configuration and creation, I added the line: ``` Serilog.Debugging.SelfLog.Enable(msg => Console.WriteLine(msg)); ``` And ran the app on the iPhone. I don't see any error being logged in the console, therefore I assume it is not a client-side issue as suggested here https://github.com/serilog/serilog-sinks-seq#troubleshooting . I also checked the Ingestion log from the server but I couldn't find anything suspect. Here is the log: ``` 27. Ingestion Log -------------------- {"@t":"2021-01-09T10:44:12.1930788Z","@mt":"The ingestion API is configured and accepting requests","@l":"Debug"} {"@t":"2021-01-11T15:05:52.8832920Z","@mt":"Rejecting payload from {ClientHostIP} due to invalid JSON, request body could not be parsed","@l":"Debug","@x":"System.IO.IOException\r\n ---> Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.\r\n --- End of inner exception stack trace ---\r\n at Microsoft.AspNetCore.Server.HttpSys.RequestStream.Read(Byte[] buffer, Int32 offset, Int32 size)\r\n at System.IO.StreamReader.ReadBuffer(Span`1 userBuffer, Boolean& readToUserBuffer)\r\n at System.IO.StreamReader.ReadSpan(Span`1 buffer)\r\n at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count)\r\n at Newtonsoft.Json.JsonTextReader.ReadData(Boolean append, Int32 charsRequired)\r\n at Newtonsoft.Json.JsonTextReader.ReadStringIntoBuffer(Char quote)\r\n at Newtonsoft.Json.JsonTextReader.ParseValue()\r\n at Newtonsoft.Json.JsonWriter.WriteToken(JsonReader reader, Boolean writeChildren, Boolean writeDateConstructorAsDate, Boolean writeComments)\r\n at Newtonsoft.Json.JsonWriter.WriteToken(JsonReader reader, Boolean writeChildren)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateJToken(JsonReader reader, JsonContract contract)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)\r\n at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)\r\n at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)\r\n at Seq.Server.Web.Api.IngestionController.TryParseRawFormatBody(Input input, InputSettings inputSettings, StorageEventCreationData[]& events, String& errorMessage)","ClientHostIP":"178.238.174.61","SourceContext":"Seq.Server.Web.Api.IngestionController"} {"@t":"2021-01-13T15:16:12.5438102Z","@mt":"Rejecting payload from {ClientHostIP} due to invalid JSON, request body could not be parsed","@l":"Debug","@x":"System.IO.IOException\r\n ---> Microsoft.AspNetCore.Server.HttpSys.HttpSysException (1229): An operation was attempted on a nonexistent network connection.\r\n --- End of inner exception stack trace ---\r\n at Microsoft.AspNetCore.Server.HttpSys.RequestStream.Read(Byte[] buffer, Int32 offset, Int32 size)\r\n at System.IO.StreamReader.ReadBuffer(Span`1 userBuffer, Boolean& readToUserBuffer)\r\n at System.IO.StreamReader.ReadSpan(Span`1 buffer)\r\n at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count)\r\n at Newtonsoft.Json.JsonTextReader.ReadData(Boolean append, Int32 charsRequired)\r\n at Newtonsoft.Json.JsonTextReader.ParseValue()\r\n at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)\r\n at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)\r\n at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)\r\n at Seq.Server.Web.Api.IngestionController.TryParseRawFormatBody(Input input, InputSettings inputSettings, StorageEventCreationData[]& events, String& errorMessage)","ClientHostIP":"178.197.224.119","SourceContext":"Seq.Server.Web.Api.IngestionController"} {"@t":"2021-03-10T17:38:11.0037072Z","@mt":"Rejecting payload from {ClientHostIP} due to invalid JSON, request body could not be parsed","@l":"Debug","@x":"System.IO.IOException\r\n ---> Microsoft.AspNetCore.Server.HttpSys.HttpSysException (1229): An operation was attempted on a nonexistent network connection.\r\n --- End of inner exception stack trace ---\r\n at Microsoft.AspNetCore.Server.HttpSys.RequestStream.Read(Byte[] buffer, Int32 offset, Int32 size)\r\n at System.IO.StreamReader.ReadBuffer(Span`1 userBuffer, Boolean& readToUserBuffer)\r\n at System.IO.StreamReader.ReadSpan(Span`1 buffer)\r\n at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count)\r\n at Newtonsoft.Json.JsonTextReader.ReadData(Boolean append, Int32 charsRequired)\r\n at Newtonsoft.Json.JsonTextReader.ParseValue()\r\n at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)\r\n at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)\r\n at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)\r\n at Seq.Server.Web.Api.IngestionController.TryParseRawFormatBody(Input input, InputSettings inputSettings, StorageEventCreationData[]& events, String& errorMessage)","ClientHostIP":"178.176.72.66","SourceContext":"Seq.Server.Web.Api.IngestionController"} {"@t":"2021-03-16T13:57:13.0679600Z","@mt":"Rejecting payload from {ClientHostIP} due to invalid JSON, request body could not be parsed","@l":"Debug","@x":"Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: }. Path 'Events[0]', line 1, position 408.\r\n at Newtonsoft.Json.JsonTextReader.ParseValue()\r\n at Newtonsoft.Json.JsonWriter.WriteToken(JsonReader reader, Boolean writeChildren, Boolean writeDateConstructorAsDate, Boolean writeComments)\r\n at Newtonsoft.Json.JsonWriter.WriteToken(JsonReader reader, Boolean writeChildren)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateJToken(JsonReader reader, JsonContract contract)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)\r\n at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)\r\n at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)\r\n at Seq.Server.Web.Api.IngestionController.TryParseRawFormatBody(Input input, InputSettings inputSettings, StorageEventCreationData[]& events, String& errorMessage)","ClientHostIP":"84.22.53.110","SourceContext":"Seq.Server.Web.Api.IngestionController"} {"@t":"2021-03-16T13:57:18.2673304Z","@mt":"Rejecting payload from {ClientHostIP} due to invalid JSON, request body could not be parsed","@l":"Debug","@x":"Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: }. Path 'Events[0]', line 1, position 408.\r\n at Newtonsoft.Json.JsonTextReader.ParseValue()\r\n at Newtonsoft.Json.JsonWriter.WriteToken(JsonReader reader, Boolean writeChildren, Boolean writeDateConstructorAsDate, Boolean writeComments)\r\n at Newtonsoft.Json.JsonWriter.WriteToken(JsonReader reader, Boolean writeChildren)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateJToken(JsonReader reader, JsonContract contract)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)\r\n at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)\r\n at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)\r\n at Seq.Server.Web.Api.IngestionController.TryParseRawFormatBody(Input input, InputSettings inputSettings, StorageEventCreationData[]& events, String& errorMessage)","ClientHostIP":"84.22.53.110","SourceContext":"Seq.Server.Web.Api.IngestionController"} {"@t":"2021-03-23T13:38:45.4082478Z","@mt":"Rejecting payload from {ClientHostIP} due to invalid JSON, request body could not be parsed","@l":"Debug","@x":"System.IO.IOException\r\n ---> Microsoft.AspNetCore.Server.HttpSys.HttpSysException (1229): An operation was attempted on a nonexistent network connection.\r\n --- End of inner exception stack trace ---\r\n at Microsoft.AspNetCore.Server.HttpSys.RequestStream.Read(Byte[] buffer, Int32 offset, Int32 size)\r\n at System.IO.StreamReader.ReadBuffer(Span`1 userBuffer, Boolean& readToUserBuffer)\r\n at System.IO.StreamReader.ReadSpan(Span`1 buffer)\r\n at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count)\r\n at Newtonsoft.Json.JsonTextReader.ReadData(Boolean append, Int32 charsRequired)\r\n at Newtonsoft.Json.JsonTextReader.ReadStringIntoBuffer(Char quote)\r\n at Newtonsoft.Json.JsonTextReader.ParseValue()\r\n at Newtonsoft.Json.JsonWriter.WriteToken(JsonReader reader, Boolean writeChildren, Boolean writeDateConstructorAsDate, Boolean writeComments)\r\n at Newtonsoft.Json.JsonWriter.WriteToken(JsonReader reader, Boolean writeChildren)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateJToken(JsonReader reader, JsonContract contract)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)\r\n at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)\r\n at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)\r\n at Seq.Server.Web.Api.IngestionController.TryParseRawFormatBody(Input input, InputSettings inputSettings, StorageEventCreationData[]& events, String& errorMessage)","ClientHostIP":"178.197.228.111","SourceContext":"Seq.Server.Web.Api.IngestionController"} {"@t":"2021-03-24T15:19:10.8250980Z","@mt":"Rejecting payload from {ClientHostIP} due to missing or invalid API key","@l":"Debug","ClientHostIP":"84.22.53.110","SourceContext":"Seq.Server.Web.Api.EventsController"} {"@t":"2021-03-24T15:19:18.1360731Z","@mt":"Rejecting payload from {ClientHostIP} due to missing or invalid API key","@l":"Debug","ClientHostIP":"84.22.53.110","SourceContext":"Seq.Server.Web.Api.EventsController"} {"@t":"2021-03-27T05:12:43.8412901Z","@mt":"Rejecting payload from {ClientHostIP} due to invalid JSON, request body could not be parsed","@l":"Debug","@x":"System.IO.IOException\r\n ---> Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.\r\n --- End of inner exception stack trace ---\r\n at Microsoft.AspNetCore.Server.HttpSys.RequestStream.Read(Byte[] buffer, Int32 offset, Int32 size)\r\n at System.IO.StreamReader.ReadBuffer(Span`1 userBuffer, Boolean& readToUserBuffer)\r\n at System.IO.StreamReader.ReadSpan(Span`1 buffer)\r\n at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count)\r\n at Newtonsoft.Json.JsonTextReader.ReadData(Boolean append, Int32 charsRequired)\r\n at Newtonsoft.Json.JsonTextReader.ParseValue()\r\n at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)\r\n at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)\r\n at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)\r\n at Seq.Server.Web.Api.IngestionController.TryParseRawFormatBody(Input input, InputSettings inputSettings, StorageEventCreationData[]& events, String& errorMessage)","ClientHostIP":"1.125.16.200","SourceContext":"Seq.Server.Web.Api.IngestionController"} {"@t":"2021-03-27T11:46:18.7745456Z","@mt":"Rejecting payload from {ClientHostIP} due to invalid JSON, request body could not be parsed","@l":"Debug","@x":"System.IO.IOException\r\n ---> Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.\r\n --- End of inner exception stack trace ---\r\n at Microsoft.AspNetCore.Server.HttpSys.RequestStream.Read(Byte[] buffer, Int32 offset, Int32 size)\r\n at System.IO.StreamReader.ReadBuffer(Span`1 userBuffer, Boolean& readToUserBuffer)\r\n at System.IO.StreamReader.ReadSpan(Span`1 buffer)\r\n at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count)\r\n at Newtonsoft.Json.JsonTextReader.ReadData(Boolean append, Int32 charsRequired)\r\n at Newtonsoft.Json.JsonTextReader.ParseValue()\r\n at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)\r\n at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)\r\n at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)\r\n at Seq.Server.Web.Api.IngestionController.TryParseRawFormatBody(Input input, InputSettings inputSettings, StorageEventCreationData[]& events, String& errorMessage)","ClientHostIP":"1.125.31.252","SourceContext":"Seq.Server.Web.Api.IngestionController"} {"@t":"2021-03-28T21:26:46.6465652Z","@mt":"Rejecting payload from {ClientHostIP} due to invalid JSON, request body could not be parsed","@l":"Debug","@x":"System.IO.IOException\r\n ---> Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.\r\n --- End of inner exception stack trace ---\r\n at Microsoft.AspNetCore.Server.HttpSys.RequestStream.Read(Byte[] buffer, Int32 offset, Int32 size)\r\n at System.IO.StreamReader.ReadBuffer(Span`1 userBuffer, Boolean& readToUserBuffer)\r\n at System.IO.StreamReader.ReadSpan(Span`1 buffer)\r\n at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count)\r\n at Newtonsoft.Json.JsonTextReader.ReadData(Boolean append, Int32 charsRequired)\r\n at Newtonsoft.Json.JsonTextReader.ParseValue()\r\n at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)\r\n at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)\r\n at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)\r\n at Seq.Server.Web.Api.IngestionController.TryParseRawFormatBody(Input input, InputSettings inputSettings, StorageEventCreationData[]& events, String& errorMessage)","ClientHostIP":"1.125.18.160","SourceContext":"Seq.Server.Web.Api.IngestionController"} {"@t":"2021-03-28T23:14:11.1910792Z","@mt":"Rejecting payload from {ClientHostIP} due to invalid JSON, request body could not be parsed","@l":"Debug","@x":"System.IO.IOException\r\n ---> Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.\r\n --- End of inner exception stack trace ---\r\n at Microsoft.AspNetCore.Server.HttpSys.RequestStream.Read(Byte[] buffer, Int32 offset, Int32 size)\r\n at System.IO.StreamReader.ReadBuffer(Span`1 userBuffer, Boolean& readToUserBuffer)\r\n at System.IO.StreamReader.ReadSpan(Span`1 buffer)\r\n at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count)\r\n at Newtonsoft.Json.JsonTextReader.ReadData(Boolean append, Int32 charsRequired)\r\n at Newtonsoft.Json.JsonTextReader.ParseValue()\r\n at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)\r\n at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)\r\n at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)\r\n at Seq.Server.Web.Api.IngestionController.TryParseRawFormatBody(Input input, InputSettings inputSettings, StorageEventCreationData[]& events, String& errorMessage)","ClientHostIP":"1.125.18.59","SourceContext":"Seq.Server.Web.Api.IngestionController"} {"@t":"2021-03-28T23:38:39.0471534Z","@mt":"Rejecting payload from {ClientHostIP} due to invalid JSON, request body could not be parsed","@l":"Debug","@x":"System.IO.IOException\r\n ---> Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.\r\n --- End of inner exception stack trace ---\r\n at Microsoft.AspNetCore.Server.HttpSys.RequestStream.Read(Byte[] buffer, Int32 offset, Int32 size)\r\n at System.IO.StreamReader.ReadBuffer(Span`1 userBuffer, Boolean& readToUserBuffer)\r\n at System.IO.StreamReader.ReadSpan(Span`1 buffer)\r\n at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count)\r\n at Newtonsoft.Json.JsonTextReader.ReadData(Boolean append, Int32 charsRequired)\r\n at Newtonsoft.Json.JsonTextReader.ParseValue()\r\n at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)\r\n at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)\r\n at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)\r\n at Seq.Server.Web.Api.IngestionController.TryParseRawFormatBody(Input input, InputSettings inputSettings, StorageEventCreationData[]& events, String& errorMessage)","ClientHostIP":"1.125.18.158","SourceContext":"Seq.Server.Web.Api.IngestionController"} {"@t":"2021-03-29T01:01:34.1577687Z","@mt":"Rejecting payload from {ClientHostIP} due to invalid JSON, request body could not be parsed","@l":"Debug","@x":"System.IO.IOException\r\n ---> Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.\r\n --- End of inner exception stack trace ---\r\n at Microsoft.AspNetCore.Server.HttpSys.RequestStream.Read(Byte[] buffer, Int32 offset, Int32 size)\r\n at System.IO.StreamReader.ReadBuffer(Span`1 userBuffer, Boolean& readToUserBuffer)\r\n at System.IO.StreamReader.ReadSpan(Span`1 buffer)\r\n at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count)\r\n at Newtonsoft.Json.JsonTextReader.ReadData(Boolean append, Int32 charsRequired)\r\n at Newtonsoft.Json.JsonTextReader.ParseValue()\r\n at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)\r\n at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)\r\n at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)\r\n at Seq.Server.Web.Api.IngestionController.TryParseRawFormatBody(Input input, InputSettings inputSettings, StorageEventCreationData[]& events, String& errorMessage)","ClientHostIP":"1.125.18.152","SourceContext":"Seq.Server.Web.Api.IngestionController"} {"@t":"2021-04-01T01:11:38.8841855Z","@mt":"Rejecting payload from {ClientHostIP} due to invalid JSON, request body could not be parsed","@l":"Debug","@x":"System.IO.IOException\r\n ---> Microsoft.AspNetCore.Server.HttpSys.HttpSysException (1229): An operation was attempted on a nonexistent network connection.\r\n --- End of inner exception stack trace ---\r\n at Microsoft.AspNetCore.Server.HttpSys.RequestStream.Read(Byte[] buffer, Int32 offset, Int32 size)\r\n at System.IO.StreamReader.ReadBuffer(Span`1 userBuffer, Boolean& readToUserBuffer)\r\n at System.IO.StreamReader.ReadSpan(Span`1 buffer)\r\n at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count)\r\n at Newtonsoft.Json.JsonTextReader.ReadData(Boolean append, Int32 charsRequired)\r\n at Newtonsoft.Json.JsonTextReader.ParseValue()\r\n at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)\r\n at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)\r\n at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)\r\n at Seq.Server.Web.Api.IngestionController.TryParseRawFormatBody(Input input, InputSettings inputSettings, StorageEventCreationData[]& events, String& errorMessage)","ClientHostIP":"193.114.153.18","SourceContext":"Seq.Server.Web.Api.IngestionController"} ``` Thank you in advance for your help/suggestions

Posted by GBuy 3 days ago

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 about a month 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 2 months ago