getsentry / sentry-dotnet

Sentry SDK for .NET
https://docs.sentry.io/platforms/dotnet
MIT License
579 stars 206 forks source link

System.Net.Sockets.SocketException thrown by sentry with virtually no information #1964

Closed AUSBird closed 1 year ago

AUSBird commented 1 year ago

Discussed in https://github.com/getsentry/sentry-dotnet/discussions/1962

Opening issue as per support request

Originally posted by **AUSBird** October 5, 2022 I recently set up Sentry on two different ASP.NET 6 micro-services, but while setting it up, I get the following exception spammed into Sentry about once every 5 minutes, sometimes longer and I have not been able to reproduce this outside my kubernetes cluster. I ran the same container image locally for an hour and ran the code directly from Rider, it still never produced the exception outlined below. The stack trace also does not originate from my code base not does it give any clues as to what the heck it means. I would raise a bug report but there is no way to reproduce. Anyone got ideas or pointers? **Links to sentry errors** [First Service](https://sentry.io/share/issue/c8cdaeee815946efb4ac2bedb3deaa34/) (This service was tested locally and never got to reproduce the error) [Second Service with the same issue](https://sentry.io/share/issue/60f79873f6784e73a7e6cc257de2811e/) (This one was not tested locally) **Exception** ``` System.Net.Sockets.SocketException: Operation canceled ?, in void AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) ?, in static ValueTaskSourceAsTask()+(object state) => { } ``` **Logs** ``` [2022-10-04T22:11:51.9523190+00:00] [Debug] [Microsoft.Extensions.Hosting.Internal.Host] Hosting starting [2022-10-04T22:11:53.0546868+00:00] [Debug] [Sentry.ISentryClient] Initializing Hub for Dsn: 'DSN HERE'. [2022-10-04T22:11:53.0576783+00:00] [Debug] [Sentry.ISentryClient] Using 'GzipBufferedRequestBodyHandler' body compression strategy with level Optimal [2022-10-04T22:11:53.0651573+00:00] [Debug] [Sentry.ISentryClient] Starting BackgroundWorker. [2022-10-04T22:11:53.0723025+00:00] [Debug] [Sentry.ISentryClient] BackgroundWorker Started. [2022-10-04T22:11:53.0784675+00:00] [Debug] [Sentry.ISentryClient] New scope pushed. [2022-10-04T22:11:53.0788336+00:00] [Debug] [Sentry.ISentryClient] Registering integration: 'AutoSessionTrackingIntegration'. [2022-10-04T22:11:53.0790390+00:00] [Debug] [Sentry.ISentryClient] Registering integration: 'AppDomainUnhandledExceptionIntegration'. [2022-10-04T22:11:53.0796447+00:00] [Debug] [Sentry.ISentryClient] Registering integration: 'AppDomainProcessExitIntegration'. [2022-10-04T22:11:53.0802143+00:00] [Debug] [Sentry.ISentryClient] Registering integration: 'TaskUnobservedTaskExceptionIntegration'. [2022-10-04T22:11:53.0807106+00:00] [Debug] [Sentry.ISentryClient] Registering integration: 'SentryDiagnosticListenerIntegration'. [2022-10-04T22:11:53.1006434+00:00] [Info ] [Microsoft.Hosting.Lifetime] Now listening on: http://[::]:80 [2022-10-04T22:11:53.1008047+00:00] [Debug] [Microsoft.AspNetCore.Hosting.Diagnostics] Loaded hosting startup assembly Rgsp1.Providers.Apis.Users [2022-10-04T22:11:53.1009730+00:00] [Info ] [Microsoft.Hosting.Lifetime] Application started. Press Ctrl+C to shut down. [2022-10-04T22:11:53.1011032+00:00] [Info ] [Microsoft.Hosting.Lifetime] Hosting environment: Production [2022-10-04T22:11:53.1012104+00:00] [Info ] [Microsoft.Hosting.Lifetime] Content root path: /app [2022-10-04T22:11:53.1012807+00:00] [Debug] [Microsoft.Extensions.Hosting.Internal.Host] Hosting started [2022-10-04T22:17:43.1806214+00:00] [Debug] [Sentry.ISentryClient] Failed to end session because there is none active. [2022-10-04T22:17:43.1922117+00:00] [Info ] [Sentry.ISentryClient] Capturing event. [2022-10-04T22:17:43.1965290+00:00] [Debug] [Sentry.ISentryClient] Running processor on exception: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Operation canceled) [2022-10-04T22:17:43.2013639+00:00] [Debug] [Sentry.ISentryClient] Creating SentryStackTrace. isCurrentStackTrace: false [2022-10-04T22:17:43.2846620+00:00] [Debug] [Sentry.ISentryClient] Running main event processor on: Event 1b87e37508cb4758b18e5ee191375ef6 [2022-10-04T22:17:43.3367490+00:00] [Debug] [Sentry.ISentryClient] Enqueuing envelope 1b87e37508cb4758b18e5ee191375ef6 [2022-10-04T22:17:43.3375056+00:00] [Info ] [Sentry.ISentryClient] Envelope queued up: '1b87e37508cb4758b18e5ee191375ef6' [2022-10-04T22:17:43.3380870+00:00] [Debug] [Sentry.ISentryClient] Failed to end session because there is none active. [2022-10-04T22:17:43.3381675+00:00] [Info ] [Sentry.ISentryClient] Capturing event. [2022-10-04T22:17:43.3383764+00:00] [Debug] [Sentry.ISentryClient] Running processor on exception: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Operation canceled) [2022-10-04T22:17:43.3385047+00:00] [Debug] [Sentry.ISentryClient] Creating SentryStackTrace. isCurrentStackTrace: false. [2022-10-04T22:17:43.3393923+00:00] [Debug] [Sentry.ISentryClient] Running main event processor on: Event 8ceb47ecee2b405d91c3069d0bd7d545 [2022-10-04T22:17:43.3409348+00:00] [Debug] [Sentry.ISentryClient] Enqueuing envelope 8ceb47ecee2b405d91c3069d0bd7d545 [2022-10-04T22:17:43.3410199+00:00] [Info ] [Sentry.ISentryClient] Envelope queued up: '8ceb47ecee2b405d91c3069d0bd7d545' [2022-10-04T22:17:43.3412598+00:00] [Debug] [Sentry.ISentryClient] Failed to end session because there is none active. [2022-10-04T22:17:43.3412963+00:00] [Info ] [Sentry.ISentryClient] Capturing event. [2022-10-04T22:17:43.3413630+00:00] [Debug] [Sentry.ISentryClient] Running processor on exception: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Operation canceled) [2022-10-04T22:17:43.3414351+00:00] [Debug] [Sentry.ISentryClient] Creating SentryStackTrace. isCurrentStackTrace: false [2022-10-04T22:17:43.3422798+00:00] [Debug] [Sentry.ISentryClient] Running main event processor on: Event 40f820df083749698b5ae3ec3fa0f49f [2022-10-04T22:17:43.3436804+00:00] [Debug] [Sentry.ISentryClient] Enqueuing envelope 40f820df083749698b5ae3ec3fa0f49f [2022-10-04T22:17:43.3437266+00:00] [Info ] [Sentry.ISentryClient] Envelope queued up: '40f820df083749698b5ae3ec3fa0f49f' [2022-10-04T22:17:43.4576644+00:00] [Debug] [Sentry.ISentryClient] Envelope 1b87e37508cb4758b18e5ee191375ef6 handed off to transport. #3 in queue. [2022-10-04T22:17:43.8346137+00:00] [Debug] [Sentry.ISentryClient] Envelope '1b87e37508cb4758b18e5ee191375ef6' sent successfully. Payload:\n{"sdk":{"name":"sentry.dotnet","version":"3.21.0"},"event_id":"1b87e37508cb4758b18e5ee191375ef6","sent_at":"2022-10-04T22:17:43.8323669+00:00"}\n{"type":"event","length":10179}\n{"modules":{"System.Private.CoreLib":"6.0.0.0","Rgsp1.Providers.Apis.Users":"1.0.0.0","System.Runtime":"6.0.0.0","CommandLine":"2.9.1.0","netstandard":"2.1.0.0","System.Console":"6.0.0.0","System.Threading":"6.0.0.0","System.Linq":"6.0.0.0","System.Collections":"6.0.0.0","Microsoft.Extensions.Hosting.Abstractions":"6.0.0.0","Microsoft.AspNetCore.Hosting.Abstractions":"6.0.0.0","Microsoft.AspNetCore":"6.0.0.0","Microsoft.Extensions.Hosting":"6.0.0.0","Microsoft.Extensions.Configuration.Abstractions":"6.0.0.0","Microsoft.Extensions.DependencyInjection.Abstractions":"6.0.0.0","Microsoft.Extensions.DependencyInjection":"6.0.0.0","Rgsp1.Lib.Core":"0.14.2.0","System.ComponentModel":"6.0.0.0","Serilog":"2.0.0.0","Serilog.Extensions.Hosting":"2.0.0.0","Microsoft.AspNetCore.Hosting":"6.0.0.0","Microsoft.Extensions.Configuration":"6.0.0.0","Microsoft.Extensions.Configuration.EnvironmentVariables":"6.0.0.0","Microsoft.Extensions.Primitives":"6.0.0.0","Microsoft.AspNetCore.Server.Kestrel.Core":"6.0.0.0","Microsoft.AspNetCore.Server.Kestrel":"6.0.0.0","Microsoft.AspNetCore.Server.Kestrel.Transport.Quic":"6.0.0.0","System.Net.Quic":"6.0.0.0","System.Runtime.InteropServices":"6.0.0.0","System.Diagnostics.Tracing":"6.0.0.0","Microsoft.AspNetCore.Server.IIS":"6.0.0.0","Microsoft.AspNetCore.Server.IISIntegration":"6.0.0.0","Sentry.AspNetCore":"3.21.0.0","Sentry.Extensions.Logging":"3.21.0.0","Sentry":"3.21.0.0","System.Net.Primitives":"6.0.0.0","System.IO.Compression":"6.0.0.0","Microsoft.Extensions.Logging.Abstractions":"6.0.0.0","Microsoft.Extensions.Logging":"6.0.0.0","System.Diagnostics.DiagnosticSource":"6.0.0.0","Microsoft.AspNetCore.Mvc.Core":"6.0.0.0","Microsoft.Extensions.FileProviders.Physical":"6.0.0.0","Microsoft.Extensions.FileProviders.Abstractions":"6.0.0.0","Microsoft.Extensions.Configuration.FileExtensions":"6.0.0.0","Microsoft.Extensions.Configuration.Json":"6.0.0.0","Microsoft.Extensions.Configuration.KeyPerFile":"6.0.0.0","System.IO.FileSystem.Watcher":"6.0.0.0","System.ComponentModel.Primitives":"6.0.0.0","System.Collections.Concurrent":"6.0.0.0","System.Memory":"6.0.0.0","Microsoft.Extensions.FileSystemGlobbing":"6.0.0.0","System.Threading.Thread":"6.0.0.0","System.Text.Json":"6.0.0.0","System.Text.Encoding.Extensions":"6.0.0.0","System.Numerics.Vectors":"6.0.0.0","System.Runtime.CompilerServices.Unsafe":"6.0.0.0","Microsoft.Extensions.Options":"6.0.0.0","Serilog.Extensions.Logging":"2.0.0.0","Rgsp1.Lib.AssetManagement.GCS":"0.14.2.0","Rgsp1.Lib.MessageQueuing":"0.14.2.0","Rgsp1.Events":"0.2.5.0","Microsoft.Extensions.Diagnostics.HealthChecks":"6.0.0.0","Microsoft.AspNetCore.Cors":"6.0.0.0","Microsoft.Extensions.Options.ConfigurationExtensions":"6.0.0.0","Rgsp1.Providers.Apis.Users.Database":"1.0.0.0","AutoMapper":"11.0.0.0","AutoMapper.Extensions.Microsoft.DependencyInjection":"11.0.0.0","prometheus-net.Contrib":"0.9.5.0","Prometheus.NetStandard":"6.0.0.0","System.Text.RegularExpressions":"6.0.0.0","System.Reflection.Emit.ILGeneration":"6.0.0.0","System.Reflection.Emit.Lightweight":"6.0.0.0","System.Reflection.Primitives":"6.0.0.0","System.Net.Http":"6.0.0.0","Microsoft.Extensions.Http":"6.0.0.0","System.Security.Cryptography.Algorithms":"6.0.0.0","System.Security.Cryptography.Primitives":"6.0.0.0","Rgsp1.Lib.AssetManagement":"0.14.2.0","StackExchange.Redis":"2.0.0.0","Microsoft.Extensions.Configuration.Binder":"6.0.0.0","Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions":"6.0.0.0","System.ComponentModel.TypeConverter":"6.0.0.0","System.ObjectModel":"6.0.0.0","System.Private.Uri":"6.0.0.0","Microsoft.AspNetCore.HttpOverrides":"6.0.0.0","Ory.Kratos.Client":"0.0.0.0","Microsoft.AspNetCore.Authentication":"6.0.0.0","Microsoft.AspNetCore.Authentication.Abstractions":"6.0.0.0","Microsoft.AspNetCore.Http.Abstractions":"6.0.0.0","System.Net.WebProxy":"6.0.0.0","Microsoft.AspNetCore.Authentication.Core":"6.0.0.0","System.Security.Claims":"6.0.0.0","Microsoft.AspNetCore.DataProtection":"6.0.0.0","Microsoft.AspNetCore.DataProtection.Abstractions":"6.0.0.0","Microsoft.AspNetCore.Cryptography.Internal":"6.0.0.0","Microsoft.Extensions.WebEncoders":"6.0.0.0","System.Text.Encodings.Web":"6.0.0.0","Microsoft.AspNetCore.Authorization":"6.0.0.0","Rgsp1.Lib.Database":"0.14.2.0","Rgsp1.Lib.Database.Postgres":"0.14.2.0","System.Data.Common":"6.0.0.0","Dapper":"2.0.0.0","Microsoft.Extensions.Features":"6.0.0.0","Microsoft.AspNetCore.Http":"6.0.0.0","Microsoft.AspNetCore.Hosting.Server.Abstractions":"6.0.0.0","Microsoft.AspNetCore.Connections.Abstractions":"6.0.0.0","Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets":"6.0.0.0","Microsoft.AspNetCore.HostFiltering":"6.0.0.0","Microsoft.AspNetCore.Routing":"6.0.0.0","Microsoft.AspNetCore.Routing.Abstractions":"6.0.0.0","Microsoft.Extensions.ObjectPool":"6.0.0.0","Microsoft.AspNetCore.Mvc.Abstractions":"6.0.0.0","Microsoft.AspNetCore.Mvc":"6.0.0.0","Microsoft.AspNetCore.Mvc.NewtonsoftJson":"6.0.8.0","Microsoft.AspNetCore.Http.Extensions":"6.0.0.0","System.Runtime.Loader":"6.0.0.0","Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer":"5.0.0.0","Microsoft.AspNetCore.Mvc.Versioning":"5.0.0.0","Prometheus.AspNetCore":"6.0.0.0","Microsoft.AspNetCore.Mvc.ApiExplorer":"6.0.0.0","Microsoft.AspNetCore.Authorization.Policy":"6.0.0.0","Microsoft.AspNetCore.Mvc.Cors":"6.0.0.0","Microsoft.AspNetCore.Mvc.DataAnnotations":"6.0.0.0","Microsoft.AspNetCore.Mvc.ViewFeatures":"6.0.0.0","Microsoft.AspNetCore.Html.Abstractions":"6.0.0.0","Microsoft.Extensions.Logging.Configuration":"6.0.0.0","Serilog.Enrichers.CorrelationId":"3.0.1.0","Serilog.Sinks.Console":"4.0.1.0","Serilog.Settings.Configuration":"3.3.0.0","Microsoft.Extensions.DependencyModel":"3.0.0.0","System.Runtime.InteropServices.RuntimeInformation":"6.0.0.0","System.Buffers":"6.0.0.0","Microsoft.Win32.Primitives":"6.0.0.0","System.Net.HttpListener":"6.0.0.0","System.Net.Security":"6.0.0.0","System.Net.NameResolution":"6.0.0.0","RabbitMQ.Client":"6.0.0.0","Microsoft.Win32.Registry":"6.0.0.0","System.Xml.XDocument":"6.0.0.0","System.Private.Xml.Linq":"6.0.0.0","System.Private.Xml":"6.0.0.0","System.Net.Sockets":"6.0.0.0","System.Threading.ThreadPool":"6.0.0.0","System.IO.Pipelines":"6.0.0.0","System.Threading.Channels":"6.0.0.0","System.Threading.Tasks.Extensions":"6.0.0.0","System.Web.Http":"5.0.0.0","mscorlib":"4.0.0.0","dbup-core":"4.6.3.0","NetVips":"2.2.0.0","System.Linq.Expressions":"6.0.0.0","System.ComponentModel.Annotations":"6.0.0.0","Microsoft.AspNetCore.Http.Features":"6.0.0.0","System.Security.Cryptography.X509Certificates":"6.0.0.0","System.Diagnostics.StackTrace":"6.0.0.0","System.Collections.NonGeneric":"6.0.0.0","Google.Apis.Storage.v1":"1.57.0.2742","Google.Apis":"1.57.0.0","System.Runtime.Numerics":"6.0.0.0","System.Formats.Asn1":"6.0.0.0","Pipelines.Sockets.Unofficial":"1.0.0.0","System.Drawing.Primitives":"6.0.0.0","System.Collections.Specialized":"6.0.0.0","Newtonsoft.Json":"13.0.0.0","RestSharp":"106.13.0.0","Polly":"7.0.0.0","System.Security.Cryptography.Xml":"6.0.0.0","System.Runtime.Intrinsics":"6.0.0.0","Microsoft.AspNetCore.Metadata":"6.0.0.0","System.Xml.ReaderWriter":"6.0.0.0","System.Net.WebSockets":"6.0.0.0","Microsoft.AspNetCore.WebUtilities":"6.0.0.0","System.Threading.Tasks":"6.0.0.0","Microsoft.AspNetCore.Components":"6.0.0.0","Microsoft.AspNetCore.Components.Web":"6.0.0.0","Microsoft.JSInterop":"6.0.0.0","System.Security.AccessControl":"6.0.0.0","System.Security.Principal.Windows":"6.0.0.0","Microsoft.Extensions.Localization.Abstractions":"6.0.0.0","Microsoft.Net.Http.Headers":"6.0.0.0","Microsoft.AspNetCore.JsonPatch":"6.0.8.0","System.Diagnostics.Process":"6.0.0.0","System.Net.ServicePoint":"6.0.0.0","System.Net.WebHeaderCollection":"6.0.0.0","System.Diagnostics.TraceSource":"6.0.0.0","System.Net.Requests":"6.0.0.0","System.Reflection.Metadata":"6.0.0.0","System.Collections.Immutable":"6.0.0.0"},"event_id":"1b87e37508cb4758b18e5ee191375ef6","timestamp":"2022-10-04T22:17:43.1589256+00:00","platform":"csharp","server_name":"rg-api-users-79fdf9b747-dpqns","release":"0.12.0-alpha.50","exception":{"values":[{"type":"System.Net.Sockets.SocketException","value":"Operation canceled","module":"System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","thread_id":2,"stacktrace":{"frames":[{"function":"static ValueTaskSourceAsTask()\\u002B(object state) =\\u003E { }","in_app":false,"package":"System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","instruction_offset":35},{"function":"void AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)","in_app":false,"package":"System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","instruction_offset":16}]},"mechanism":{}}]},"level":"error","request":{},"contexts":{"app":{"type":"app","app_start_time":"2022-10-04T22:11:50.58+00:00"},"Current Culture":{"display_name":"Invariant Language (Invariant Country)","calendar":"GregorianCalendar"},"ThreadPool Info":{"min_worker_threads":4,"min_completion_port_threads":4,"max_worker_threads":32767,"max_completion_port_threads":1000,"available_worker_threads":32766,"available_completion_port_threads":1000},"Dynamic Code":{"Compiled":true,"Supported":true},"runtime":{"type":"runtime","name":".NET","version":"6.0.9","raw_description":".NET 6.0.9","identifier":"alpine.3.16-x64"},"Memory Info":{"allocated_bytes":16147312,"fragmented_bytes":3419736,"heap_size_bytes":7252712,"high_memory_load_threshold_bytes":283115520,"total_available_memory_bytes":235929600,"memory_load_bytes":47185920,"total_committed_bytes":16556032,"promoted_bytes":2933416,"pinned_objects_count":12,"index":1,"finalization_pending_count":29,"compacted":true,"concurrent":false,"pause_durations":[12.906,0]},"os":{"type":"os","raw_description":"Linux 5.10.127\\u002B #1 SMP Fri Jul 8 00:39:24 UTC 2022"},"device":{"type":"device","timezone":"UTC","timezone_display_name":"(UTC) Coordinated Universal Time","boot_time":"2022-09-05T03:02:29.720754+00:00"}},"user":{},"environment":"development","sdk":{"packages":[{"name":"nuget:sentry.dotnet","version":"3.21.0"}],"name":"sentry.dotnet","version":"3.21.0"}}\n [2022-10-04T22:17:43.8377996+00:00] [Debug] [Sentry.ISentryClient] De-queueing event 1b87e37508cb4758b18e5ee191375ef6 [2022-10-04T22:17:43.8413951+00:00] [Debug] [Sentry.ISentryClient] Envelope 8ceb47ecee2b405d91c3069d0bd7d545 handed off to transport. #2 in queue. [2022-10-04T22:17:43.8455393+00:00] [Debug] [Sentry.ISentryClient] Envelope '8ceb47ecee2b405d91c3069d0bd7d545' sent successfully. Payload:\n{"sdk":{"name":"sentry.dotnet","version":"3.21.0"},"event_id":"8ceb47ecee2b405d91c3069d0bd7d545","sent_at":"2022-10-04T22:17:43.8448286+00:00"}\n{"type":"event","length":10179}\n{"modules":{"System.Private.CoreLib":"6.0.0.0","Rgsp1.Providers.Apis.Users":"1.0.0.0","System.Runtime":"6.0.0.0","CommandLine":"2.9.1.0","netstandard":"2.1.0.0","System.Console":"6.0.0.0","System.Threading":"6.0.0.0","System.Linq":"6.0.0.0","System.Collections":"6.0.0.0","Microsoft.Extensions.Hosting.Abstractions":"6.0.0.0","Microsoft.AspNetCore.Hosting.Abstractions":"6.0.0.0","Microsoft.AspNetCore":"6.0.0.0","Microsoft.Extensions.Hosting":"6.0.0.0","Microsoft.Extensions.Configuration.Abstractions":"6.0.0.0","Microsoft.Extensions.DependencyInjection.Abstractions":"6.0.0.0","Microsoft.Extensions.DependencyInjection":"6.0.0.0","Rgsp1.Lib.Core":"0.14.2.0","System.ComponentModel":"6.0.0.0","Serilog":"2.0.0.0","Serilog.Extensions.Hosting":"2.0.0.0","Microsoft.AspNetCore.Hosting":"6.0.0.0","Microsoft.Extensions.Configuration":"6.0.0.0","Microsoft.Extensions.Configuration.EnvironmentVariables":"6.0.0.0","Microsoft.Extensions.Primitives":"6.0.0.0","Microsoft.AspNetCore.Server.Kestrel.Core":"6.0.0.0","Microsoft.AspNetCore.Server.Kestrel":"6.0.0.0","Microsoft.AspNetCore.Server.Kestrel.Transport.Quic":"6.0.0.0","System.Net.Quic":"6.0.0.0","System.Runtime.InteropServices":"6.0.0.0","System.Diagnostics.Tracing":"6.0.0.0","Microsoft.AspNetCore.Server.IIS":"6.0.0.0","Microsoft.AspNetCore.Server.IISIntegration":"6.0.0.0","Sentry.AspNetCore":"3.21.0.0","Sentry.Extensions.Logging":"3.21.0.0","Sentry":"3.21.0.0","System.Net.Primitives":"6.0.0.0","System.IO.Compression":"6.0.0.0","Microsoft.Extensions.Logging.Abstractions":"6.0.0.0","Microsoft.Extensions.Logging":"6.0.0.0","System.Diagnostics.DiagnosticSource":"6.0.0.0","Microsoft.AspNetCore.Mvc.Core":"6.0.0.0","Microsoft.Extensions.FileProviders.Physical":"6.0.0.0","Microsoft.Extensions.FileProviders.Abstractions":"6.0.0.0","Microsoft.Extensions.Configuration.FileExtensions":"6.0.0.0","Microsoft.Extensions.Configuration.Json":"6.0.0.0","Microsoft.Extensions.Configuration.KeyPerFile":"6.0.0.0","System.IO.FileSystem.Watcher":"6.0.0.0","System.ComponentModel.Primitives":"6.0.0.0","System.Collections.Concurrent":"6.0.0.0","System.Memory":"6.0.0.0","Microsoft.Extensions.FileSystemGlobbing":"6.0.0.0","System.Threading.Thread":"6.0.0.0","System.Text.Json":"6.0.0.0","System.Text.Encoding.Extensions":"6.0.0.0","System.Numerics.Vectors":"6.0.0.0","System.Runtime.CompilerServices.Unsafe":"6.0.0.0","Microsoft.Extensions.Options":"6.0.0.0","Serilog.Extensions.Logging":"2.0.0.0","Rgsp1.Lib.AssetManagement.GCS":"0.14.2.0","Rgsp1.Lib.MessageQueuing":"0.14.2.0","Rgsp1.Events":"0.2.5.0","Microsoft.Extensions.Diagnostics.HealthChecks":"6.0.0.0","Microsoft.AspNetCore.Cors":"6.0.0.0","Microsoft.Extensions.Options.ConfigurationExtensions":"6.0.0.0","Rgsp1.Providers.Apis.Users.Database":"1.0.0.0","AutoMapper":"11.0.0.0","AutoMapper.Extensions.Microsoft.DependencyInjection":"11.0.0.0","prometheus-net.Contrib":"0.9.5.0","Prometheus.NetStandard":"6.0.0.0","System.Text.RegularExpressions":"6.0.0.0","System.Reflection.Emit.ILGeneration":"6.0.0.0","System.Reflection.Emit.Lightweight":"6.0.0.0","System.Reflection.Primitives":"6.0.0.0","System.Net.Http":"6.0.0.0","Microsoft.Extensions.Http":"6.0.0.0","System.Security.Cryptography.Algorithms":"6.0.0.0","System.Security.Cryptography.Primitives":"6.0.0.0","Rgsp1.Lib.AssetManagement":"0.14.2.0","StackExchange.Redis":"2.0.0.0","Microsoft.Extensions.Configuration.Binder":"6.0.0.0","Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions":"6.0.0.0","System.ComponentModel.TypeConverter":"6.0.0.0","System.ObjectModel":"6.0.0.0","System.Private.Uri":"6.0.0.0","Microsoft.AspNetCore.HttpOverrides":"6.0.0.0","Ory.Kratos.Client":"0.0.0.0","Microsoft.AspNetCore.Authentication":"6.0.0.0","Microsoft.AspNetCore.Authentication.Abstractions":"6.0.0.0","Microsoft.AspNetCore.Http.Abstractions":"6.0.0.0","System.Net.WebProxy":"6.0.0.0","Microsoft.AspNetCore.Authentication.Core":"6.0.0.0","System.Security.Claims":"6.0.0.0","Microsoft.AspNetCore.DataProtection":"6.0.0.0","Microsoft.AspNetCore.DataProtection.Abstractions":"6.0.0.0","Microsoft.AspNetCore.Cryptography.Internal":"6.0.0.0","Microsoft.Extensions.WebEncoders":"6.0.0.0","System.Text.Encodings.Web":"6.0.0.0","Microsoft.AspNetCore.Authorization":"6.0.0.0","Rgsp1.Lib.Database":"0.14.2.0","Rgsp1.Lib.Database.Postgres":"0.14.2.0","System.Data.Common":"6.0.0.0","Dapper":"2.0.0.0","Microsoft.Extensions.Features":"6.0.0.0","Microsoft.AspNetCore.Http":"6.0.0.0","Microsoft.AspNetCore.Hosting.Server.Abstractions":"6.0.0.0","Microsoft.AspNetCore.Connections.Abstractions":"6.0.0.0","Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets":"6.0.0.0","Microsoft.AspNetCore.HostFiltering":"6.0.0.0","Microsoft.AspNetCore.Routing":"6.0.0.0","Microsoft.AspNetCore.Routing.Abstractions":"6.0.0.0","Microsoft.Extensions.ObjectPool":"6.0.0.0","Microsoft.AspNetCore.Mvc.Abstractions":"6.0.0.0","Microsoft.AspNetCore.Mvc":"6.0.0.0","Microsoft.AspNetCore.Mvc.NewtonsoftJson":"6.0.8.0","Microsoft.AspNetCore.Http.Extensions":"6.0.0.0","System.Runtime.Loader":"6.0.0.0","Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer":"5.0.0.0","Microsoft.AspNetCore.Mvc.Versioning":"5.0.0.0","Prometheus.AspNetCore":"6.0.0.0","Microsoft.AspNetCore.Mvc.ApiExplorer":"6.0.0.0","Microsoft.AspNetCore.Authorization.Policy":"6.0.0.0","Microsoft.AspNetCore.Mvc.Cors":"6.0.0.0","Microsoft.AspNetCore.Mvc.DataAnnotations":"6.0.0.0","Microsoft.AspNetCore.Mvc.ViewFeatures":"6.0.0.0","Microsoft.AspNetCore.Html.Abstractions":"6.0.0.0","Microsoft.Extensions.Logging.Configuration":"6.0.0.0","Serilog.Enrichers.CorrelationId":"3.0.1.0","Serilog.Sinks.Console":"4.0.1.0","Serilog.Settings.Configuration":"3.3.0.0","Microsoft.Extensions.DependencyModel":"3.0.0.0","System.Runtime.InteropServices.RuntimeInformation":"6.0.0.0","System.Buffers":"6.0.0.0","Microsoft.Win32.Primitives":"6.0.0.0","System.Net.HttpListener":"6.0.0.0","System.Net.Security":"6.0.0.0","System.Net.NameResolution":"6.0.0.0","RabbitMQ.Client":"6.0.0.0","Microsoft.Win32.Registry":"6.0.0.0","System.Xml.XDocument":"6.0.0.0","System.Private.Xml.Linq":"6.0.0.0","System.Private.Xml":"6.0.0.0","System.Net.Sockets":"6.0.0.0","System.Threading.ThreadPool":"6.0.0.0","System.IO.Pipelines":"6.0.0.0","System.Threading.Channels":"6.0.0.0","System.Threading.Tasks.Extensions":"6.0.0.0","System.Web.Http":"5.0.0.0","mscorlib":"4.0.0.0","dbup-core":"4.6.3.0","NetVips":"2.2.0.0","System.Linq.Expressions":"6.0.0.0","System.ComponentModel.Annotations":"6.0.0.0","Microsoft.AspNetCore.Http.Features":"6.0.0.0","System.Security.Cryptography.X509Certificates":"6.0.0.0","System.Diagnostics.StackTrace":"6.0.0.0","System.Collections.NonGeneric":"6.0.0.0","Google.Apis.Storage.v1":"1.57.0.2742","Google.Apis":"1.57.0.0","System.Runtime.Numerics":"6.0.0.0","System.Formats.Asn1":"6.0.0.0","Pipelines.Sockets.Unofficial":"1.0.0.0","System.Drawing.Primitives":"6.0.0.0","System.Collections.Specialized":"6.0.0.0","Newtonsoft.Json":"13.0.0.0","RestSharp":"106.13.0.0","Polly":"7.0.0.0","System.Security.Cryptography.Xml":"6.0.0.0","System.Runtime.Intrinsics":"6.0.0.0","Microsoft.AspNetCore.Metadata":"6.0.0.0","System.Xml.ReaderWriter":"6.0.0.0","System.Net.WebSockets":"6.0.0.0","Microsoft.AspNetCore.WebUtilities":"6.0.0.0","System.Threading.Tasks":"6.0.0.0","Microsoft.AspNetCore.Components":"6.0.0.0","Microsoft.AspNetCore.Components.Web":"6.0.0.0","Microsoft.JSInterop":"6.0.0.0","System.Security.AccessControl":"6.0.0.0","System.Security.Principal.Windows":"6.0.0.0","Microsoft.Extensions.Localization.Abstractions":"6.0.0.0","Microsoft.Net.Http.Headers":"6.0.0.0","Microsoft.AspNetCore.JsonPatch":"6.0.8.0","System.Diagnostics.Process":"6.0.0.0","System.Net.ServicePoint":"6.0.0.0","System.Net.WebHeaderCollection":"6.0.0.0","System.Diagnostics.TraceSource":"6.0.0.0","System.Net.Requests":"6.0.0.0","System.Reflection.Metadata":"6.0.0.0","System.Collections.Immutable":"6.0.0.0"},"event_id":"8ceb47ecee2b405d91c3069d0bd7d545","timestamp":"2022-10-04T22:17:43.3378997+00:00","platform":"csharp","server_name":"rg-api-users-79fdf9b747-dpqns","release":"0.12.0-alpha.50","exception":{"values":[{"type":"System.Net.Sockets.SocketException","value":"Operation canceled","module":"System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","thread_id":2,"stacktrace":{"frames":[{"function":"static ValueTaskSourceAsTask()\\u002B(object state) =\\u003E { }","in_app":false,"package":"System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","instruction_offset":35},{"function":"void AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)","in_app":false,"package":"System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","instruction_offset":16}]},"mechanism":{}}]},"level":"error","request":{},"contexts":{"app":{"type":"app","app_start_time":"2022-10-04T22:11:50.58+00:00"},"Current Culture":{"display_name":"Invariant Language (Invariant Country)","calendar":"GregorianCalendar"},"ThreadPool Info":{"min_worker_threads":4,"min_completion_port_threads":4,"max_worker_threads":32767,"max_completion_port_threads":1000,"available_worker_threads":32765,"available_completion_port_threads":1000},"Dynamic Code":{"Compiled":true,"Supported":true},"runtime":{"type":"runtime","name":".NET","version":"6.0.9","raw_description":".NET 6.0.9","identifier":"alpine.3.16-x64"},"Memory Info":{"allocated_bytes":16343344,"fragmented_bytes":3419736,"heap_size_bytes":7252712,"high_memory_load_threshold_bytes":283115520,"total_available_memory_bytes":235929600,"memory_load_bytes":47185920,"total_committed_bytes":16556032,"promoted_bytes":2933416,"pinned_objects_count":12,"index":1,"finalization_pending_count":29,"compacted":true,"concurrent":false,"pause_durations":[12.906,0]},"os":{"type":"os","raw_description":"Linux 5.10.127\\u002B #1 SMP Fri Jul 8 00:39:24 UTC 2022"},"device":{"type":"device","timezone":"UTC","timezone_display_name":"(UTC) Coordinated Universal Time","boot_time":"2022-09-05T03:02:29.720754+00:00"}},"user":{},"environment":"development","sdk":{"packages":[{"name":"nuget:sentry.dotnet","version":"3.21.0"}],"name":"sentry.dotnet","version":"3.21.0"}}\n [2022-10-04T22:17:43.8459112+00:00] [Debug] [Sentry.ISentryClient] De-queueing event 8ceb47ecee2b405d91c3069d0bd7d545 [2022-10-04T22:17:43.8476086+00:00] [Debug] [Sentry.ISentryClient] Envelope 40f820df083749698b5ae3ec3fa0f49f handed off to transport. #1 in queue. [2022-10-04T22:17:43.8515016+00:00] [Debug] [Sentry.ISentryClient] Envelope '40f820df083749698b5ae3ec3fa0f49f' sent successfully. Payload:\n{"sdk":{"name":"sentry.dotnet","version":"3.21.0"},"event_id":"40f820df083749698b5ae3ec3fa0f49f","sent_at":"2022-10-04T22:17:43.8511121+00:00"}\n{"type":"event","length":10179}\n{"modules":{"System.Private.CoreLib":"6.0.0.0","Rgsp1.Providers.Apis.Users":"1.0.0.0","System.Runtime":"6.0.0.0","CommandLine":"2.9.1.0","netstandard":"2.1.0.0","System.Console":"6.0.0.0","System.Threading":"6.0.0.0","System.Linq":"6.0.0.0","System.Collections":"6.0.0.0","Microsoft.Extensions.Hosting.Abstractions":"6.0.0.0","Microsoft.AspNetCore.Hosting.Abstractions":"6.0.0.0","Microsoft.AspNetCore":"6.0.0.0","Microsoft.Extensions.Hosting":"6.0.0.0","Microsoft.Extensions.Configuration.Abstractions":"6.0.0.0","Microsoft.Extensions.DependencyInjection.Abstractions":"6.0.0.0","Microsoft.Extensions.DependencyInjection":"6.0.0.0","Rgsp1.Lib.Core":"0.14.2.0","System.ComponentModel":"6.0.0.0","Serilog":"2.0.0.0","Serilog.Extensions.Hosting":"2.0.0.0","Microsoft.AspNetCore.Hosting":"6.0.0.0","Microsoft.Extensions.Configuration":"6.0.0.0","Microsoft.Extensions.Configuration.EnvironmentVariables":"6.0.0.0","Microsoft.Extensions.Primitives":"6.0.0.0","Microsoft.AspNetCore.Server.Kestrel.Core":"6.0.0.0","Microsoft.AspNetCore.Server.Kestrel":"6.0.0.0","Microsoft.AspNetCore.Server.Kestrel.Transport.Quic":"6.0.0.0","System.Net.Quic":"6.0.0.0","System.Runtime.InteropServices":"6.0.0.0","System.Diagnostics.Tracing":"6.0.0.0","Microsoft.AspNetCore.Server.IIS":"6.0.0.0","Microsoft.AspNetCore.Server.IISIntegration":"6.0.0.0","Sentry.AspNetCore":"3.21.0.0","Sentry.Extensions.Logging":"3.21.0.0","Sentry":"3.21.0.0","System.Net.Primitives":"6.0.0.0","System.IO.Compression":"6.0.0.0","Microsoft.Extensions.Logging.Abstractions":"6.0.0.0","Microsoft.Extensions.Logging":"6.0.0.0","System.Diagnostics.DiagnosticSource":"6.0.0.0","Microsoft.AspNetCore.Mvc.Core":"6.0.0.0","Microsoft.Extensions.FileProviders.Physical":"6.0.0.0","Microsoft.Extensions.FileProviders.Abstractions":"6.0.0.0","Microsoft.Extensions.Configuration.FileExtensions":"6.0.0.0","Microsoft.Extensions.Configuration.Json":"6.0.0.0","Microsoft.Extensions.Configuration.KeyPerFile":"6.0.0.0","System.IO.FileSystem.Watcher":"6.0.0.0","System.ComponentModel.Primitives":"6.0.0.0","System.Collections.Concurrent":"6.0.0.0","System.Memory":"6.0.0.0","Microsoft.Extensions.FileSystemGlobbing":"6.0.0.0","System.Threading.Thread":"6.0.0.0","System.Text.Json":"6.0.0.0","System.Text.Encoding.Extensions":"6.0.0.0","System.Numerics.Vectors":"6.0.0.0","System.Runtime.CompilerServices.Unsafe":"6.0.0.0","Microsoft.Extensions.Options":"6.0.0.0","Serilog.Extensions.Logging":"2.0.0.0","Rgsp1.Lib.AssetManagement.GCS":"0.14.2.0","Rgsp1.Lib.MessageQueuing":"0.14.2.0","Rgsp1.Events":"0.2.5.0","Microsoft.Extensions.Diagnostics.HealthChecks":"6.0.0.0","Microsoft.AspNetCore.Cors":"6.0.0.0","Microsoft.Extensions.Options.ConfigurationExtensions":"6.0.0.0","Rgsp1.Providers.Apis.Users.Database":"1.0.0.0","AutoMapper":"11.0.0.0","AutoMapper.Extensions.Microsoft.DependencyInjection":"11.0.0.0","prometheus-net.Contrib":"0.9.5.0","Prometheus.NetStandard":"6.0.0.0","System.Text.RegularExpressions":"6.0.0.0","System.Reflection.Emit.ILGeneration":"6.0.0.0","System.Reflection.Emit.Lightweight":"6.0.0.0","System.Reflection.Primitives":"6.0.0.0","System.Net.Http":"6.0.0.0","Microsoft.Extensions.Http":"6.0.0.0","System.Security.Cryptography.Algorithms":"6.0.0.0","System.Security.Cryptography.Primitives":"6.0.0.0","Rgsp1.Lib.AssetManagement":"0.14.2.0","StackExchange.Redis":"2.0.0.0","Microsoft.Extensions.Configuration.Binder":"6.0.0.0","Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions":"6.0.0.0","System.ComponentModel.TypeConverter":"6.0.0.0","System.ObjectModel":"6.0.0.0","System.Private.Uri":"6.0.0.0","Microsoft.AspNetCore.HttpOverrides":"6.0.0.0","Ory.Kratos.Client":"0.0.0.0","Microsoft.AspNetCore.Authentication":"6.0.0.0","Microsoft.AspNetCore.Authentication.Abstractions":"6.0.0.0","Microsoft.AspNetCore.Http.Abstractions":"6.0.0.0","System.Net.WebProxy":"6.0.0.0","Microsoft.AspNetCore.Authentication.Core":"6.0.0.0","System.Security.Claims":"6.0.0.0","Microsoft.AspNetCore.DataProtection":"6.0.0.0","Microsoft.AspNetCore.DataProtection.Abstractions":"6.0.0.0","Microsoft.AspNetCore.Cryptography.Internal":"6.0.0.0","Microsoft.Extensions.WebEncoders":"6.0.0.0","System.Text.Encodings.Web":"6.0.0.0","Microsoft.AspNetCore.Authorization":"6.0.0.0","Rgsp1.Lib.Database":"0.14.2.0","Rgsp1.Lib.Database.Postgres":"0.14.2.0","System.Data.Common":"6.0.0.0","Dapper":"2.0.0.0","Microsoft.Extensions.Features":"6.0.0.0","Microsoft.AspNetCore.Http":"6.0.0.0","Microsoft.AspNetCore.Hosting.Server.Abstractions":"6.0.0.0","Microsoft.AspNetCore.Connections.Abstractions":"6.0.0.0","Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets":"6.0.0.0","Microsoft.AspNetCore.HostFiltering":"6.0.0.0","Microsoft.AspNetCore.Routing":"6.0.0.0","Microsoft.AspNetCore.Routing.Abstractions":"6.0.0.0","Microsoft.Extensions.ObjectPool":"6.0.0.0","Microsoft.AspNetCore.Mvc.Abstractions":"6.0.0.0","Microsoft.AspNetCore.Mvc":"6.0.0.0","Microsoft.AspNetCore.Mvc.NewtonsoftJson":"6.0.8.0","Microsoft.AspNetCore.Http.Extensions":"6.0.0.0","System.Runtime.Loader":"6.0.0.0","Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer":"5.0.0.0","Microsoft.AspNetCore.Mvc.Versioning":"5.0.0.0","Prometheus.AspNetCore":"6.0.0.0","Microsoft.AspNetCore.Mvc.ApiExplorer":"6.0.0.0","Microsoft.AspNetCore.Authorization.Policy":"6.0.0.0","Microsoft.AspNetCore.Mvc.Cors":"6.0.0.0","Microsoft.AspNetCore.Mvc.DataAnnotations":"6.0.0.0","Microsoft.AspNetCore.Mvc.ViewFeatures":"6.0.0.0","Microsoft.AspNetCore.Html.Abstractions":"6.0.0.0","Microsoft.Extensions.Logging.Configuration":"6.0.0.0","Serilog.Enrichers.CorrelationId":"3.0.1.0","Serilog.Sinks.Console":"4.0.1.0","Serilog.Settings.Configuration":"3.3.0.0","Microsoft.Extensions.DependencyModel":"3.0.0.0","System.Runtime.InteropServices.RuntimeInformation":"6.0.0.0","System.Buffers":"6.0.0.0","Microsoft.Win32.Primitives":"6.0.0.0","System.Net.HttpListener":"6.0.0.0","System.Net.Security":"6.0.0.0","System.Net.NameResolution":"6.0.0.0","RabbitMQ.Client":"6.0.0.0","Microsoft.Win32.Registry":"6.0.0.0","System.Xml.XDocument":"6.0.0.0","System.Private.Xml.Linq":"6.0.0.0","System.Private.Xml":"6.0.0.0","System.Net.Sockets":"6.0.0.0","System.Threading.ThreadPool":"6.0.0.0","System.IO.Pipelines":"6.0.0.0","System.Threading.Channels":"6.0.0.0","System.Threading.Tasks.Extensions":"6.0.0.0","System.Web.Http":"5.0.0.0","mscorlib":"4.0.0.0","dbup-core":"4.6.3.0","NetVips":"2.2.0.0","System.Linq.Expressions":"6.0.0.0","System.ComponentModel.Annotations":"6.0.0.0","Microsoft.AspNetCore.Http.Features":"6.0.0.0","System.Security.Cryptography.X509Certificates":"6.0.0.0","System.Diagnostics.StackTrace":"6.0.0.0","System.Collections.NonGeneric":"6.0.0.0","Google.Apis.Storage.v1":"1.57.0.2742","Google.Apis":"1.57.0.0","System.Runtime.Numerics":"6.0.0.0","System.Formats.Asn1":"6.0.0.0","Pipelines.Sockets.Unofficial":"1.0.0.0","System.Drawing.Primitives":"6.0.0.0","System.Collections.Specialized":"6.0.0.0","Newtonsoft.Json":"13.0.0.0","RestSharp":"106.13.0.0","Polly":"7.0.0.0","System.Security.Cryptography.Xml":"6.0.0.0","System.Runtime.Intrinsics":"6.0.0.0","Microsoft.AspNetCore.Metadata":"6.0.0.0","System.Xml.ReaderWriter":"6.0.0.0","System.Net.WebSockets":"6.0.0.0","Microsoft.AspNetCore.WebUtilities":"6.0.0.0","System.Threading.Tasks":"6.0.0.0","Microsoft.AspNetCore.Components":"6.0.0.0","Microsoft.AspNetCore.Components.Web":"6.0.0.0","Microsoft.JSInterop":"6.0.0.0","System.Security.AccessControl":"6.0.0.0","System.Security.Principal.Windows":"6.0.0.0","Microsoft.Extensions.Localization.Abstractions":"6.0.0.0","Microsoft.Net.Http.Headers":"6.0.0.0","Microsoft.AspNetCore.JsonPatch":"6.0.8.0","System.Diagnostics.Process":"6.0.0.0","System.Net.ServicePoint":"6.0.0.0","System.Net.WebHeaderCollection":"6.0.0.0","System.Diagnostics.TraceSource":"6.0.0.0","System.Net.Requests":"6.0.0.0","System.Reflection.Metadata":"6.0.0.0","System.Collections.Immutable":"6.0.0.0"},"event_id":"40f820df083749698b5ae3ec3fa0f49f","timestamp":"2022-10-04T22:17:43.3411977+00:00","platform":"csharp","server_name":"rg-api-users-79fdf9b747-dpqns","release":"0.12.0-alpha.50","exception":{"values":[{"type":"System.Net.Sockets.SocketException","value":"Operation canceled","module":"System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","thread_id":2,"stacktrace":{"frames":[{"function":"static ValueTaskSourceAsTask()\\u002B(object state) =\\u003E { }","in_app":false,"package":"System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","instruction_offset":35},{"function":"void AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)","in_app":false,"package":"System.Net.Sockets, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","instruction_offset":16}]},"mechanism":{}}]},"level":"error","request":{},"contexts":{"app":{"type":"app","app_start_time":"2022-10-04T22:11:50.58+00:00"},"Current Culture":{"display_name":"Invariant Language (Invariant Country)","calendar":"GregorianCalendar"},"ThreadPool Info":{"min_worker_threads":4,"min_completion_port_threads":4,"max_worker_threads":32767,"max_completion_port_threads":1000,"available_worker_threads":32765,"available_completion_port_threads":1000},"Dynamic Code":{"Compiled":true,"Supported":true},"runtime":{"type":"runtime","name":".NET","version":"6.0.9","raw_description":".NET 6.0.9","identifier":"alpine.3.16-x64"},"Memory Info":{"allocated_bytes":16514872,"fragmented_bytes":3419736,"heap_size_bytes":7252712,"high_memory_load_threshold_bytes":283115520,"total_available_memory_bytes":235929600,"memory_load_bytes":47185920,"total_committed_bytes":16556032,"promoted_bytes":2933416,"pinned_objects_count":12,"index":1,"finalization_pending_count":29,"compacted":true,"concurrent":false,"pause_durations":[12.906,0]},"os":{"type":"os","raw_description":"Linux 5.10.127\\u002B #1 SMP Fri Jul 8 00:39:24 UTC 2022"},"device":{"type":"device","timezone":"UTC","timezone_display_name":"(UTC) Coordinated Universal Time","boot_time":"2022-09-05T03:02:29.720754+00:00"}},"user":{},"environment":"development","sdk":{"packages":[{"name":"nuget:sentry.dotnet","version":"3.21.0"}],"name":"sentry.dotnet","version":"3.21.0"}}\n [2022-10-04T22:17:43.8517873+00:00] [Debug] [Sentry.ISentryClient] De-queueing event 40f820df083749698b5ae3ec3fa0f49f ``` **Related Code** `Program.cs` ```csharp public static class Program { public static IHostBuilder CreateHost() => new HostBuilder() .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultServiceProvider((context, options) => { bool isDevelopment = context.HostingEnvironment.IsDevelopment(); options.ValidateScopes = isDevelopment; options.ValidateOnBuild = isDevelopment; }) .UseRgsp1Configuration() .UseRgsp1Logging() // Adds logging stuff, I don't have Sentry's logging thing setup here .ConfigureServices((context, collection) => { // Global Services // ... collection.AddSentry(); // ... }); public static IHostBuilder CreateWebHost() => CreateHost() .ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup(); webBuilder.UseSentry(o => { o.Dsn = "DNS Here"; o.TracesSampleRate = 1.0; // Debug is set to true in the config files // Log Level is also set to Verbose so I can see everything }); }); // This function is called by "void Main(string[] args);" so just assume this is entry point private static Task Serve(ServeOptions serveOptions, string[] args) { CreateWebHost().Build().Run(); return Task.CompletedTask; } // ... } ``` `Startup.cs` ```csharp // ... public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { app.UseRouting(); app.UseSentryTracing(); app.UseCors(CorsConstants.Rgsp1CorsPolicy); app.UseAuthentication(); app.UseAuthorization(); app.UseEndpoints(endpoints => { endpoints.MapControllers(); }); } // ... ```
mattjohnsonpint commented 1 year ago

Closing, since it's not likely a bug in Sentry. We can continue to discuss on #1962. Thanks.