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