Project reference cleanup #168
Annotations
21 errors and 3 warnings
build:
src/Infrastructure.Common/Recording/AWSCloudWatchCrashReporter.cs#L5
The type or namespace name 'Logging' does not exist in the namespace 'Microsoft.Extensions' (are you missing an assembly reference?)
|
build:
src/Infrastructure.Common/Recording/AWSCloudWatchCrashReporter.cs#L18
The type or namespace name 'ILoggerFactory' could not be found (are you missing a using directive or an assembly reference?)
|
build:
src/Infrastructure.Common/Recording/AWSCloudWatchCrashReporter.cs#L23
The type or namespace name 'ILogger' could not be found (are you missing a using directive or an assembly reference?)
|
build:
src/Infrastructure.Common/Recording/AWSCloudWatchCrashReporter.cs#L16
The type or namespace name 'ILogger' could not be found (are you missing a using directive or an assembly reference?)
|
build:
src/Infrastructure.Common/Recording/AWSCloudWatchCrashReporter.cs#L5
The type or namespace name 'Logging' does not exist in the namespace 'Microsoft.Extensions' (are you missing an assembly reference?)
|
build:
src/Infrastructure.Common/Recording/AWSCloudWatchCrashReporter.cs#L18
The type or namespace name 'ILoggerFactory' could not be found (are you missing a using directive or an assembly reference?)
|
build:
src/Infrastructure.Common/Recording/AWSCloudWatchCrashReporter.cs#L23
The type or namespace name 'ILogger' could not be found (are you missing a using directive or an assembly reference?)
|
build:
src/Infrastructure.Common/Recording/AWSCloudWatchCrashReporter.cs#L16
The type or namespace name 'ILogger' could not be found (are you missing a using directive or an assembly reference?)
|
build
Process completed with exit code 1.
|
Infrastructure.Web.Website.IntegrationTests.AuthNApiSpec ► WhenAccessSecureApiAndAuthenticated_ThenReturnsResponse:
src/IntegrationTesting.WebApi.Common/TestingClient.cs#L110
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1564-223_2024-03-10_19_31_24.trx
Error:
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
|
Infrastructure.Web.Website.IntegrationTests.AuthNApiSpec ► WhenAccessSecureApiAndNotAuthenticated_ThenReturnsError:
src/IntegrationTesting.WebApi.Common/TestingClient.cs#L110
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1564-223_2024-03-10_19_31_24.trx
src/TestResults/csharp/runneradmin_fv-az1564-223_2024-03-10_19_31_24.trx
src/TestResults/csharp/runneradmin_fv-az1564-223_2024-03-10_19_31_24.trx
src/TestResults/csharp/runneradmin_fv-az1564-223_2024-03-10_19_31_24.trx
src/TestResults/csharp/runneradmin_fv-az1564-223_2024-03-10_19_31_24.trx
src/TestResults/csharp/runneradmin_fv-az1564-223_2024-03-10_19_31_24.trx
Error:
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
|
Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec+GivenAnInsecureGetRequest ► WhenRequestedForAnonymousWithCSRFToken_ThenSucceeds:
src/IntegrationTesting.WebApi.Common/TestingClient.cs#L110
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1564-223_2024-03-10_19_31_24.trx
src/TestResults/csharp/runneradmin_fv-az1564-223_2024-03-10_19_31_24.trx
Error:
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 61
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
|
Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec+GivenAnInsecureGetRequest ► WhenRequestedWithNoCSRFToken_ThenSucceeds:
src/IntegrationTesting.WebApi.Common/TestingClient.cs#L110
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1564-223_2024-03-10_19_31_24.trx
Error:
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 61
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
|
Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec+GivenAnInsecurePostRequestByAnonymousUser ► WhenRequestedCSRFToken_ThenSucceeds:
src/IntegrationTesting.WebApi.Common/TestingClient.cs#L110
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1564-223_2024-03-10_19_31_24.trx
src/TestResults/csharp/runneradmin_fv-az1564-223_2024-03-10_19_31_24.trx
src/TestResults/csharp/runneradmin_fv-az1564-223_2024-03-10_19_31_24.trx
src/TestResults/csharp/runneradmin_fv-az1564-223_2024-03-10_19_31_24.trx
src/TestResults/csharp/runneradmin_fv-az1564-223_2024-03-10_19_31_24.trx
Error:
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 61
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
|
Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec+GivenAnInsecurePostRequestByAnonymousUser ► WhenRequestedWithMismatchedCookieAndHeaderForAnonymous_ThenSucceeds:
src/IntegrationTesting.WebApi.Common/TestingClient.cs#L110
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1564-223_2024-03-10_19_31_24.trx
Error:
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 61
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
|
Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec+GivenAnInsecurePostRequestByAuthenticatedUser ► WhenRequestedWithAnonymousCSRFToken_ThenForbidden:
src/IntegrationTesting.WebApi.Common/TestingClient.cs#L114
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1564-223_2024-03-10_19_31_24.trx
src/TestResults/csharp/runneradmin_fv-az1564-223_2024-03-10_19_31_24.trx
src/TestResults/csharp/runneradmin_fv-az1564-223_2024-03-10_19_31_24.trx
Error:
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 61
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
|
Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec+GivenAnInsecurePostRequestByAuthenticatedUser ► WhenRequestedWithUsersCSRFToken_ThenSucceeds:
src/IntegrationTesting.WebApi.Common/TestingClient.cs#L114
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1564-223_2024-03-10_19_31_24.trx
Error:
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 61
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
|
Infrastructure.Web.Website.IntegrationTests.CSRFApiSpec+GivenNoContext ► WhenRequestWebRoot_ThenReturnsIndexHtml:
src/IntegrationTesting.WebApi.Common/TestingClient.cs#L110
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1564-223_2024-03-10_19_31_24.trx
Error:
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 61
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
|
Infrastructure.Web.Website.IntegrationTests.FeatureFlagsApiSpec ► WhenGetAllFeatureFlags_ThenReturnsFlags:
src/IntegrationTesting.WebApi.Common/TestingClient.cs#L110
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1564-223_2024-03-10_19_31_24.trx
Error:
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
|
Infrastructure.Web.Website.IntegrationTests.FeatureFlagsApiSpec ► WhenGetFeatureFlag_ThenReturnsFlag:
src/IntegrationTesting.WebApi.Common/TestingClient.cs#L110
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1564-223_2024-03-10_19_31_24.trx
Error:
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
|
test
Process completed with exit code 1.
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3, dorny/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test
Test report summary exceeded limit of 65535 bytes and will be trimmed
|