You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
PortfolioLink/backend/logs/portfolioportal20230319.txt

5624 lines
778 KiB

2023-03-19 00:31:01.401 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 00:31:01.529 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 00:31:01.571 -04:00 [DBG] Hosting starting
2023-03-19 00:31:01.586 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 00:31:01.586 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 00:31:01.586 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 00:31:01.586 -04:00 [INF] Hosting environment: Development
2023-03-19 00:31:01.586 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 00:31:01.587 -04:00 [DBG] Hosting started
2023-03-19 00:31:41.888 -04:00 [INF] Application is shutting down...
2023-03-19 00:31:41.889 -04:00 [DBG] Hosting stopping
2023-03-19 00:31:41.895 -04:00 [DBG] Hosting stopped
2023-03-19 10:45:49.241 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 10:45:49.356 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 10:45:49.441 -04:00 [DBG] Hosting starting
2023-03-19 10:45:49.457 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 10:45:49.457 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 10:45:49.457 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 10:45:49.457 -04:00 [INF] Hosting environment: Development
2023-03-19 10:45:49.457 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 10:45:49.457 -04:00 [DBG] Hosting started
2023-03-19 10:49:07.791 -04:00 [INF] Application is shutting down...
2023-03-19 10:49:07.792 -04:00 [DBG] Hosting stopping
2023-03-19 10:49:07.799 -04:00 [DBG] Hosting stopped
2023-03-19 12:25:09.278 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 12:25:09.389 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 12:25:09.437 -04:00 [DBG] Hosting starting
2023-03-19 12:25:09.451 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 12:25:09.452 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 12:25:09.452 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 12:25:09.452 -04:00 [INF] Hosting environment: Development
2023-03-19 12:25:09.452 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 12:25:09.452 -04:00 [DBG] Hosting started
2023-03-19 12:28:21.520 -04:00 [DBG] Connection id "0HMP8IRQ7TCJR" received FIN.
2023-03-19 12:28:21.523 -04:00 [DBG] Connection id "0HMP8IRQ7TCJR" accepted.
2023-03-19 12:28:21.524 -04:00 [DBG] Connection id "0HMP8IRQ7TCJR" started.
2023-03-19 12:28:21.525 -04:00 [DBG] Connection id "0HMP8IRQ7TCJS" accepted.
2023-03-19 12:28:21.525 -04:00 [DBG] Connection id "0HMP8IRQ7TCJS" started.
2023-03-19 12:28:21.530 -04:00 [DBG] Connection id "0HMP8IRQ7TCJR" sending FIN because: "The client closed the connection."
2023-03-19 12:28:21.533 -04:00 [DBG] Connection id "0HMP8IRQ7TCJR" disconnecting.
2023-03-19 12:28:21.534 -04:00 [DBG] Connection id "0HMP8IRQ7TCJR" stopped.
2023-03-19 12:28:21.552 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/pwhash?password=pptlTestingPW - 0
2023-03-19 12:28:21.554 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 12:28:21.573 -04:00 [DBG] 1 candidate(s) found for the request path '/api/pwhash'
2023-03-19 12:28:21.575 -04:00 [DBG] Endpoint 'backend.Controllers.PasswordHashController.HashPassword (backend)' with route pattern 'api/pwhash' is valid for the request path '/api/pwhash'
2023-03-19 12:28:21.575 -04:00 [DBG] Request matched endpoint 'backend.Controllers.PasswordHashController.HashPassword (backend)'
2023-03-19 12:28:21.579 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 12:28:21.585 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 12:28:21.585 -04:00 [INF] Executing endpoint 'backend.Controllers.PasswordHashController.HashPassword (backend)'
2023-03-19 12:28:21.600 -04:00 [INF] Route matched with {action = "HashPassword", controller = "PasswordHash"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult HashPassword(System.Object) on controller backend.Controllers.PasswordHashController (backend).
2023-03-19 12:28:21.601 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 12:28:21.601 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 12:28:21.601 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 12:28:21.601 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 12:28:21.601 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 12:28:21.602 -04:00 [DBG] Executing controller factory for controller backend.Controllers.PasswordHashController (backend)
2023-03-19 12:28:21.602 -04:00 [DBG] Executed controller factory for controller backend.Controllers.PasswordHashController (backend)
2023-03-19 12:28:21.606 -04:00 [DBG] Attempting to bind parameter 'plainTextPassword' of type 'System.Object' ...
2023-03-19 12:28:21.608 -04:00 [DBG] Attempting to bind parameter 'plainTextPassword' of type 'System.Object' using the name '' in request data ...
2023-03-19 12:28:21.608 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'null'.
2023-03-19 12:28:21.608 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'null'.
2023-03-19 12:28:21.608 -04:00 [DBG] No input formatter was found to support the content type 'null' for use with the [FromBody] attribute.
2023-03-19 12:28:21.609 -04:00 [DBG] Done attempting to bind parameter 'plainTextPassword' of type 'System.Object'.
2023-03-19 12:28:21.609 -04:00 [DBG] Done attempting to bind parameter 'plainTextPassword' of type 'System.Object'.
2023-03-19 12:28:21.609 -04:00 [DBG] Attempting to validate the bound parameter 'plainTextPassword' of type 'System.Object' ...
2023-03-19 12:28:21.612 -04:00 [DBG] Done attempting to validate the bound parameter 'plainTextPassword' of type 'System.Object'.
2023-03-19 12:28:21.613 -04:00 [DBG] Request was short circuited at action filter 'Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter'.
2023-03-19 12:28:21.614 -04:00 [DBG] List of registered output formatters, in the following order: ["Microsoft.AspNetCore.Mvc.Formatters.HttpNoContentOutputFormatter","Microsoft.AspNetCore.Mvc.Formatters.StringOutputFormatter","Microsoft.AspNetCore.Mvc.Formatters.StreamOutputFormatter","Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonOutputFormatter"]
2023-03-19 12:28:21.615 -04:00 [DBG] No information found on request to perform content negotiation.
2023-03-19 12:28:21.615 -04:00 [DBG] Attempting to select the first output formatter in the output formatters list which supports a content type from the explicitly specified content types '["application/problem+json","application/problem+xml","application/problem+json","application/problem+xml"]'.
2023-03-19 12:28:21.616 -04:00 [DBG] Selected output formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonOutputFormatter' and content type 'application/problem+json' to write the response.
2023-03-19 12:28:21.616 -04:00 [INF] Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'.
2023-03-19 12:28:21.667 -04:00 [INF] Executed action backend.Controllers.PasswordHashController.HashPassword (backend) in 63.5276ms
2023-03-19 12:28:21.667 -04:00 [INF] Executed endpoint 'backend.Controllers.PasswordHashController.HashPassword (backend)'
2023-03-19 12:28:21.667 -04:00 [DBG] Connection id "0HMP8IRQ7TCJS" completed keep alive response.
2023-03-19 12:28:21.668 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/pwhash?password=pptlTestingPW - 0 - 415 175 application/problem+json;+charset=utf-8 116.7831ms
2023-03-19 12:30:32.517 -04:00 [DBG] Connection id "0HMP8IRQ7TCJS" disconnecting.
2023-03-19 12:30:32.518 -04:00 [DBG] Connection id "0HMP8IRQ7TCJS" stopped.
2023-03-19 12:30:32.518 -04:00 [DBG] Connection id "0HMP8IRQ7TCJS" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 12:32:14.879 -04:00 [DBG] Connection id "0HMP8IRQ7TCJT" received FIN.
2023-03-19 12:32:14.879 -04:00 [DBG] Connection id "0HMP8IRQ7TCJT" accepted.
2023-03-19 12:32:14.879 -04:00 [DBG] Connection id "0HMP8IRQ7TCJT" started.
2023-03-19 12:32:14.879 -04:00 [DBG] Connection id "0HMP8IRQ7TCJU" accepted.
2023-03-19 12:32:14.880 -04:00 [DBG] Connection id "0HMP8IRQ7TCJU" started.
2023-03-19 12:32:14.880 -04:00 [DBG] Connection id "0HMP8IRQ7TCJT" sending FIN because: "The client closed the connection."
2023-03-19 12:32:14.880 -04:00 [DBG] Connection id "0HMP8IRQ7TCJT" disconnecting.
2023-03-19 12:32:14.880 -04:00 [DBG] Connection id "0HMP8IRQ7TCJT" stopped.
2023-03-19 12:32:14.880 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/pwhash application/json 30
2023-03-19 12:32:14.881 -04:00 [DBG] 1 candidate(s) found for the request path '/api/pwhash'
2023-03-19 12:32:14.881 -04:00 [DBG] Endpoint 'backend.Controllers.PasswordHashController.HashPassword (backend)' with route pattern 'api/pwhash' is valid for the request path '/api/pwhash'
2023-03-19 12:32:14.881 -04:00 [DBG] Request matched endpoint 'backend.Controllers.PasswordHashController.HashPassword (backend)'
2023-03-19 12:32:14.882 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 12:32:14.882 -04:00 [INF] Executing endpoint 'backend.Controllers.PasswordHashController.HashPassword (backend)'
2023-03-19 12:32:14.882 -04:00 [INF] Route matched with {action = "HashPassword", controller = "PasswordHash"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult HashPassword(System.Object) on controller backend.Controllers.PasswordHashController (backend).
2023-03-19 12:32:14.882 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 12:32:14.882 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 12:32:14.882 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 12:32:14.882 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 12:32:14.882 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 12:32:14.883 -04:00 [DBG] Executing controller factory for controller backend.Controllers.PasswordHashController (backend)
2023-03-19 12:32:14.883 -04:00 [DBG] Executed controller factory for controller backend.Controllers.PasswordHashController (backend)
2023-03-19 12:32:14.883 -04:00 [DBG] Attempting to bind parameter 'plainTextPassword' of type 'System.Object' ...
2023-03-19 12:32:14.883 -04:00 [DBG] Attempting to bind parameter 'plainTextPassword' of type 'System.Object' using the name '' in request data ...
2023-03-19 12:32:14.883 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 12:32:14.883 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 12:32:14.886 -04:00 [DBG] Connection id "0HMP8IRQ7TCJU", Request id "0HMP8IRQ7TCJU:00000001": started reading request body.
2023-03-19 12:32:14.886 -04:00 [DBG] Connection id "0HMP8IRQ7TCJU", Request id "0HMP8IRQ7TCJU:00000001": done reading request body.
2023-03-19 12:32:14.898 -04:00 [DBG] Done attempting to bind parameter 'plainTextPassword' of type 'System.Object'.
2023-03-19 12:32:14.898 -04:00 [DBG] Done attempting to bind parameter 'plainTextPassword' of type 'System.Object'.
2023-03-19 12:32:14.898 -04:00 [DBG] Attempting to validate the bound parameter 'plainTextPassword' of type 'System.Object' ...
2023-03-19 12:32:14.899 -04:00 [DBG] Done attempting to validate the bound parameter 'plainTextPassword' of type 'System.Object'.
2023-03-19 12:32:14.910 -04:00 [DBG] Password hasher request: {
"password": "pptltTestingPW"
}
2023-03-19 12:32:14.941 -04:00 [INF] Executed action backend.Controllers.PasswordHashController.HashPassword (backend) in 58.0098ms
2023-03-19 12:32:14.941 -04:00 [INF] Executed endpoint 'backend.Controllers.PasswordHashController.HashPassword (backend)'
2023-03-19 12:32:14.948 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: The best overloaded method match for 'Hasher.Argon2dHasher.GenerateArgon2Hash(string, byte[])' has some invalid arguments
at CallSite.Target(Closure, CallSite, Type, Object, Object)
at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2)
at backend.Controllers.PasswordHashController.HashPassword(Object plainTextPassword) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/HashPasswordController.cs:line 29
at lambda_method1(Closure, Object, Object[])
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
2023-03-19 12:32:14.950 -04:00 [DBG] Connection id "0HMP8IRQ7TCJU" completed keep alive response.
2023-03-19 12:32:14.950 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/pwhash application/json 30 - 500 - text/plain;+charset=utf-8 69.9942ms
2023-03-19 12:33:52.240 -04:00 [INF] Application is shutting down...
2023-03-19 12:33:52.241 -04:00 [DBG] Hosting stopping
2023-03-19 12:33:52.244 -04:00 [DBG] Connection id "0HMP8IRQ7TCJU" disconnecting.
2023-03-19 12:33:52.244 -04:00 [DBG] Connection id "0HMP8IRQ7TCJU" stopped.
2023-03-19 12:33:52.244 -04:00 [DBG] Connection id "0HMP8IRQ7TCJU" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 12:33:52.245 -04:00 [DBG] Hosting stopped
2023-03-19 12:33:56.165 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 12:33:56.275 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 12:33:56.337 -04:00 [DBG] Hosting starting
2023-03-19 12:33:56.351 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 12:33:56.352 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 12:33:56.352 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 12:33:56.352 -04:00 [INF] Hosting environment: Development
2023-03-19 12:33:56.352 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 12:33:56.352 -04:00 [DBG] Hosting started
2023-03-19 12:34:05.267 -04:00 [DBG] Connection id "0HMP8IV0M4F0H" received FIN.
2023-03-19 12:34:05.270 -04:00 [DBG] Connection id "0HMP8IV0M4F0H" accepted.
2023-03-19 12:34:05.271 -04:00 [DBG] Connection id "0HMP8IV0M4F0H" started.
2023-03-19 12:34:05.272 -04:00 [DBG] Connection id "0HMP8IV0M4F0I" accepted.
2023-03-19 12:34:05.272 -04:00 [DBG] Connection id "0HMP8IV0M4F0I" started.
2023-03-19 12:34:05.277 -04:00 [DBG] Connection id "0HMP8IV0M4F0H" sending FIN because: "The client closed the connection."
2023-03-19 12:34:05.287 -04:00 [DBG] Connection id "0HMP8IV0M4F0H" disconnecting.
2023-03-19 12:34:05.287 -04:00 [DBG] Connection id "0HMP8IV0M4F0H" stopped.
2023-03-19 12:34:05.291 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/pwhash application/json 30
2023-03-19 12:34:05.293 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 12:34:05.311 -04:00 [DBG] 1 candidate(s) found for the request path '/api/pwhash'
2023-03-19 12:34:05.313 -04:00 [DBG] Endpoint 'backend.Controllers.PasswordHashController.HashPassword (backend)' with route pattern 'api/pwhash' is valid for the request path '/api/pwhash'
2023-03-19 12:34:05.313 -04:00 [DBG] Request matched endpoint 'backend.Controllers.PasswordHashController.HashPassword (backend)'
2023-03-19 12:34:05.317 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 12:34:05.321 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 12:34:05.321 -04:00 [INF] Executing endpoint 'backend.Controllers.PasswordHashController.HashPassword (backend)'
2023-03-19 12:34:05.335 -04:00 [INF] Route matched with {action = "HashPassword", controller = "PasswordHash"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult HashPassword(System.Object) on controller backend.Controllers.PasswordHashController (backend).
2023-03-19 12:34:05.336 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 12:34:05.336 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 12:34:05.337 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 12:34:05.337 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 12:34:05.337 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 12:34:05.338 -04:00 [DBG] Executing controller factory for controller backend.Controllers.PasswordHashController (backend)
2023-03-19 12:34:05.338 -04:00 [DBG] Executed controller factory for controller backend.Controllers.PasswordHashController (backend)
2023-03-19 12:34:05.340 -04:00 [DBG] Attempting to bind parameter 'plainTextPassword' of type 'System.Object' ...
2023-03-19 12:34:05.341 -04:00 [DBG] Attempting to bind parameter 'plainTextPassword' of type 'System.Object' using the name '' in request data ...
2023-03-19 12:34:05.342 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 12:34:05.342 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 12:34:05.345 -04:00 [DBG] Connection id "0HMP8IV0M4F0I", Request id "0HMP8IV0M4F0I:00000001": started reading request body.
2023-03-19 12:34:05.345 -04:00 [DBG] Connection id "0HMP8IV0M4F0I", Request id "0HMP8IV0M4F0I:00000001": done reading request body.
2023-03-19 12:34:05.374 -04:00 [DBG] Done attempting to bind parameter 'plainTextPassword' of type 'System.Object'.
2023-03-19 12:34:05.374 -04:00 [DBG] Done attempting to bind parameter 'plainTextPassword' of type 'System.Object'.
2023-03-19 12:34:05.374 -04:00 [DBG] Attempting to validate the bound parameter 'plainTextPassword' of type 'System.Object' ...
2023-03-19 12:34:05.377 -04:00 [DBG] Done attempting to validate the bound parameter 'plainTextPassword' of type 'System.Object'.
2023-03-19 12:34:05.381 -04:00 [DBG] Password hasher request: {
"password": "pptltTestingPW"
}
2023-03-19 12:34:05.409 -04:00 [DBG] Password: pptltTestingPW
2023-03-19 12:34:05.413 -04:00 [INF] Executed action backend.Controllers.PasswordHashController.HashPassword (backend) in 74.7779ms
2023-03-19 12:34:05.414 -04:00 [INF] Executed endpoint 'backend.Controllers.PasswordHashController.HashPassword (backend)'
2023-03-19 12:34:05.429 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: The best overloaded method match for 'Hasher.Argon2dHasher.GenerateArgon2Hash(string, byte[])' has some invalid arguments
at CallSite.Target(Closure, CallSite, Type, Object, Object)
at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2)
at backend.Controllers.PasswordHashController.HashPassword(Object plainTextPassword) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/HashPasswordController.cs:line 30
at lambda_method1(Closure, Object, Object[])
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
2023-03-19 12:34:05.432 -04:00 [DBG] Connection id "0HMP8IV0M4F0I" completed keep alive response.
2023-03-19 12:34:05.433 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/pwhash application/json 30 - 500 - text/plain;+charset=utf-8 142.5597ms
2023-03-19 12:36:16.374 -04:00 [DBG] Connection id "0HMP8IV0M4F0I" disconnecting.
2023-03-19 12:36:16.375 -04:00 [DBG] Connection id "0HMP8IV0M4F0I" stopped.
2023-03-19 12:36:16.375 -04:00 [DBG] Connection id "0HMP8IV0M4F0I" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 12:36:18.588 -04:00 [INF] Application is shutting down...
2023-03-19 12:36:18.589 -04:00 [DBG] Hosting stopping
2023-03-19 12:36:18.592 -04:00 [DBG] Hosting stopped
2023-03-19 12:40:40.857 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 12:40:40.972 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 12:40:41.024 -04:00 [DBG] Hosting starting
2023-03-19 12:40:41.039 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 12:40:41.039 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 12:40:41.039 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 12:40:41.039 -04:00 [INF] Hosting environment: Development
2023-03-19 12:40:41.040 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 12:40:41.040 -04:00 [DBG] Hosting started
2023-03-19 12:40:43.554 -04:00 [DBG] Connection id "0HMP8J2NCFV8Q" received FIN.
2023-03-19 12:40:43.556 -04:00 [DBG] Connection id "0HMP8J2NCFV8Q" accepted.
2023-03-19 12:40:43.557 -04:00 [DBG] Connection id "0HMP8J2NCFV8Q" started.
2023-03-19 12:40:43.558 -04:00 [DBG] Connection id "0HMP8J2NCFV8R" accepted.
2023-03-19 12:40:43.558 -04:00 [DBG] Connection id "0HMP8J2NCFV8R" started.
2023-03-19 12:40:43.563 -04:00 [DBG] Connection id "0HMP8J2NCFV8Q" sending FIN because: "The client closed the connection."
2023-03-19 12:40:43.566 -04:00 [DBG] Connection id "0HMP8J2NCFV8Q" disconnecting.
2023-03-19 12:40:43.567 -04:00 [DBG] Connection id "0HMP8J2NCFV8Q" stopped.
2023-03-19 12:40:43.577 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/pwhash application/json 30
2023-03-19 12:40:43.579 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 12:40:43.599 -04:00 [DBG] 1 candidate(s) found for the request path '/api/pwhash'
2023-03-19 12:40:43.601 -04:00 [DBG] Endpoint 'backend.Controllers.PasswordHashController.HashPassword (backend)' with route pattern 'api/pwhash' is valid for the request path '/api/pwhash'
2023-03-19 12:40:43.602 -04:00 [DBG] Request matched endpoint 'backend.Controllers.PasswordHashController.HashPassword (backend)'
2023-03-19 12:40:43.606 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 12:40:43.610 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 12:40:43.611 -04:00 [INF] Executing endpoint 'backend.Controllers.PasswordHashController.HashPassword (backend)'
2023-03-19 12:40:43.626 -04:00 [INF] Route matched with {action = "HashPassword", controller = "PasswordHash"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult HashPassword(System.Object) on controller backend.Controllers.PasswordHashController (backend).
2023-03-19 12:40:43.627 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 12:40:43.627 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 12:40:43.628 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 12:40:43.628 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 12:40:43.628 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 12:40:43.629 -04:00 [DBG] Executing controller factory for controller backend.Controllers.PasswordHashController (backend)
2023-03-19 12:40:43.629 -04:00 [DBG] Executed controller factory for controller backend.Controllers.PasswordHashController (backend)
2023-03-19 12:40:43.632 -04:00 [DBG] Attempting to bind parameter 'plainTextPassword' of type 'System.Object' ...
2023-03-19 12:40:43.633 -04:00 [DBG] Attempting to bind parameter 'plainTextPassword' of type 'System.Object' using the name '' in request data ...
2023-03-19 12:40:43.633 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 12:40:43.634 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 12:40:43.637 -04:00 [DBG] Connection id "0HMP8J2NCFV8R", Request id "0HMP8J2NCFV8R:00000001": started reading request body.
2023-03-19 12:40:43.637 -04:00 [DBG] Connection id "0HMP8J2NCFV8R", Request id "0HMP8J2NCFV8R:00000001": done reading request body.
2023-03-19 12:40:43.669 -04:00 [DBG] Done attempting to bind parameter 'plainTextPassword' of type 'System.Object'.
2023-03-19 12:40:43.669 -04:00 [DBG] Done attempting to bind parameter 'plainTextPassword' of type 'System.Object'.
2023-03-19 12:40:43.669 -04:00 [DBG] Attempting to validate the bound parameter 'plainTextPassword' of type 'System.Object' ...
2023-03-19 12:40:43.672 -04:00 [DBG] Done attempting to validate the bound parameter 'plainTextPassword' of type 'System.Object'.
2023-03-19 12:40:43.677 -04:00 [DBG] Password hasher request: {
"password": "pptltTestingPW"
}
2023-03-19 12:40:44.551 -04:00 [DBG] List of registered output formatters, in the following order: ["Microsoft.AspNetCore.Mvc.Formatters.HttpNoContentOutputFormatter","Microsoft.AspNetCore.Mvc.Formatters.StringOutputFormatter","Microsoft.AspNetCore.Mvc.Formatters.StreamOutputFormatter","Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonOutputFormatter"]
2023-03-19 12:40:44.552 -04:00 [DBG] No information found on request to perform content negotiation.
2023-03-19 12:40:44.552 -04:00 [DBG] Attempting to select an output formatter without using a content type as no explicit content types were specified for the response.
2023-03-19 12:40:44.552 -04:00 [DBG] Attempting to select the first formatter in the output formatters list which can write the result.
2023-03-19 12:40:44.552 -04:00 [DBG] Selected output formatter 'Microsoft.AspNetCore.Mvc.Formatters.StringOutputFormatter' and content type 'text/plain' to write the response.
2023-03-19 12:40:44.553 -04:00 [INF] Executing OkObjectResult, writing value of type 'System.String'.
2023-03-19 12:40:44.556 -04:00 [INF] Executed action backend.Controllers.PasswordHashController.HashPassword (backend) in 926.1996ms
2023-03-19 12:40:44.556 -04:00 [INF] Executed endpoint 'backend.Controllers.PasswordHashController.HashPassword (backend)'
2023-03-19 12:40:44.556 -04:00 [DBG] Connection id "0HMP8J2NCFV8R" completed keep alive response.
2023-03-19 12:40:44.557 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/pwhash application/json 30 - 200 - text/plain;+charset=utf-8 981.4539ms
2023-03-19 12:42:55.059 -04:00 [DBG] Connection id "0HMP8J2NCFV8R" disconnecting.
2023-03-19 12:42:55.060 -04:00 [DBG] Connection id "0HMP8J2NCFV8R" stopped.
2023-03-19 12:42:55.060 -04:00 [DBG] Connection id "0HMP8J2NCFV8R" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 12:43:54.694 -04:00 [INF] Application is shutting down...
2023-03-19 12:43:54.694 -04:00 [DBG] Hosting stopping
2023-03-19 12:43:54.698 -04:00 [DBG] Hosting stopped
2023-03-19 12:53:04.223 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 12:53:04.334 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 12:53:04.403 -04:00 [DBG] Hosting starting
2023-03-19 12:53:04.418 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 12:53:04.419 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 12:53:04.419 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 12:53:04.419 -04:00 [INF] Hosting environment: Development
2023-03-19 12:53:04.419 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 12:53:04.419 -04:00 [DBG] Hosting started
2023-03-19 13:41:10.620 -04:00 [DBG] Connection id "0HMP8K4GASPNM" received FIN.
2023-03-19 13:41:10.623 -04:00 [DBG] Connection id "0HMP8K4GASPNM" accepted.
2023-03-19 13:41:10.623 -04:00 [DBG] Connection id "0HMP8K4GASPNM" started.
2023-03-19 13:41:10.624 -04:00 [DBG] Connection id "0HMP8K4GASPNN" accepted.
2023-03-19 13:41:10.624 -04:00 [DBG] Connection id "0HMP8K4GASPNN" started.
2023-03-19 13:41:10.629 -04:00 [DBG] Connection id "0HMP8K4GASPNM" sending FIN because: "The client closed the connection."
2023-03-19 13:41:10.632 -04:00 [DBG] Connection id "0HMP8K4GASPNM" disconnecting.
2023-03-19 13:41:10.633 -04:00 [DBG] Connection id "0HMP8K4GASPNM" stopped.
2023-03-19 13:41:10.643 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 13:41:10.644 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 13:41:10.664 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 13:41:10.666 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 13:41:10.666 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 13:41:10.670 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 13:41:10.674 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 13:41:10.675 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 13:41:10.693 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 13:41:10.693 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 13:41:10.694 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 13:41:10.694 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 13:41:10.694 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 13:41:10.694 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 13:41:10.695 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 13:41:10.695 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 13:41:10.698 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 13:41:10.699 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 13:41:10.699 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 13:41:10.699 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 13:41:10.702 -04:00 [DBG] Connection id "0HMP8K4GASPNN", Request id "0HMP8K4GASPNN:00000001": started reading request body.
2023-03-19 13:41:10.702 -04:00 [DBG] Connection id "0HMP8K4GASPNN", Request id "0HMP8K4GASPNN:00000001": done reading request body.
2023-03-19 13:41:10.737 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 13:41:10.737 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 13:41:10.737 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 13:41:10.740 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 13:41:10.759 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 13:41:10.940 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 243.6258ms
2023-03-19 13:41:10.940 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 13:41:10.955 -04:00 [ERR] An unhandled exception has occurred while executing the request.
System.InvalidOperationException: No suitable constructor was found for entity type 'User'. The following constructors had parameters that could not be bound to properties of the entity type:
Cannot bind 'plainTextPassword' in 'User(string username, string email, string plainTextPassword, int? companyId)'
Note that only mapped properties can be bound to constructor parameters. Navigations to related entities, including references to owned types, cannot be bound.
at Microsoft.EntityFrameworkCore.Metadata.Internal.ConstructorBindingFactory.GetBindings(IReadOnlyEntityType entityType, Func`5 bind, InstantiationBinding& constructorBinding, InstantiationBinding& serviceOnlyBinding)
at Microsoft.EntityFrameworkCore.Metadata.Internal.ConstructorBindingFactory.GetBindings(IMutableEntityType entityType, InstantiationBinding& constructorBinding, InstantiationBinding& serviceOnlyBinding)
at Microsoft.EntityFrameworkCore.Metadata.Conventions.ConstructorBindingConvention.ProcessModelFinalizing(IConventionModelBuilder modelBuilder, IConventionContext`1 context)
at Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.ConventionDispatcher.ImmediateConventionScope.OnModelFinalizing(IConventionModelBuilder modelBuilder)
at Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.ConventionDispatcher.OnModelFinalizing(IConventionModelBuilder modelBuilder)
at Microsoft.EntityFrameworkCore.Metadata.Internal.Model.FinalizeModel()
at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)
at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)
at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)
at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()
at Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder.<>c.<TryAddCoreServices>b__8_4(IServiceProvider p)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()
at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()
at Microsoft.EntityFrameworkCore.DbContext.get_Model()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.CheckState()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()
at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source, Expression`1 predicate)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
2023-03-19 13:41:10.960 -04:00 [DBG] Connection id "0HMP8K4GASPNN" completed keep alive response.
2023-03-19 13:41:10.961 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 318.7727ms
2023-03-19 13:43:18.298 -04:00 [INF] Application is shutting down...
2023-03-19 13:43:18.299 -04:00 [DBG] Hosting stopping
2023-03-19 13:43:18.304 -04:00 [DBG] Connection id "0HMP8K4GASPNN" disconnecting.
2023-03-19 13:43:18.305 -04:00 [DBG] Connection id "0HMP8K4GASPNN" stopped.
2023-03-19 13:43:18.305 -04:00 [DBG] Connection id "0HMP8K4GASPNN" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 13:43:18.306 -04:00 [DBG] Hosting stopped
2023-03-19 13:43:21.719 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 13:43:21.835 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 13:43:21.893 -04:00 [DBG] Hosting starting
2023-03-19 13:43:21.909 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 13:43:21.909 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 13:43:21.909 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 13:43:21.909 -04:00 [INF] Hosting environment: Development
2023-03-19 13:43:21.909 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 13:43:21.909 -04:00 [DBG] Hosting started
2023-03-19 13:43:24.470 -04:00 [DBG] Connection id "0HMP8K5O7CLV1" received FIN.
2023-03-19 13:43:24.473 -04:00 [DBG] Connection id "0HMP8K5O7CLV1" accepted.
2023-03-19 13:43:24.474 -04:00 [DBG] Connection id "0HMP8K5O7CLV1" started.
2023-03-19 13:43:24.474 -04:00 [DBG] Connection id "0HMP8K5O7CLV2" accepted.
2023-03-19 13:43:24.475 -04:00 [DBG] Connection id "0HMP8K5O7CLV2" started.
2023-03-19 13:43:24.480 -04:00 [DBG] Connection id "0HMP8K5O7CLV1" sending FIN because: "The client closed the connection."
2023-03-19 13:43:24.483 -04:00 [DBG] Connection id "0HMP8K5O7CLV1" disconnecting.
2023-03-19 13:43:24.484 -04:00 [DBG] Connection id "0HMP8K5O7CLV1" stopped.
2023-03-19 13:43:24.494 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 13:43:24.496 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 13:43:24.516 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 13:43:24.518 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 13:43:24.518 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 13:43:24.522 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 13:43:24.526 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 13:43:24.527 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 13:43:24.545 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 13:43:24.546 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 13:43:24.546 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 13:43:24.546 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 13:43:24.547 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 13:43:24.547 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 13:43:24.548 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 13:43:24.548 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 13:43:24.550 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 13:43:24.551 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 13:43:24.552 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 13:43:24.552 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 13:43:24.555 -04:00 [DBG] Connection id "0HMP8K5O7CLV2", Request id "0HMP8K5O7CLV2:00000001": started reading request body.
2023-03-19 13:43:24.555 -04:00 [DBG] Connection id "0HMP8K5O7CLV2", Request id "0HMP8K5O7CLV2:00000001": done reading request body.
2023-03-19 13:43:24.591 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 13:43:24.592 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 13:43:24.592 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 13:43:24.595 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 13:43:24.606 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 13:43:24.820 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 271.3309ms
2023-03-19 13:43:24.821 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 13:43:24.836 -04:00 [ERR] An unhandled exception has occurred while executing the request.
System.InvalidOperationException: The entity type 'AuthLevels' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.
at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)
at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)
at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)
at Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal.SqlServerModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)
at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)
at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)
at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)
at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()
at Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder.<>c.<TryAddCoreServices>b__8_4(IServiceProvider p)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()
at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()
at Microsoft.EntityFrameworkCore.DbContext.get_Model()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.CheckState()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()
at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source, Expression`1 predicate)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
2023-03-19 13:43:24.841 -04:00 [DBG] Connection id "0HMP8K5O7CLV2" completed keep alive response.
2023-03-19 13:43:24.841 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 348.3898ms
2023-03-19 13:45:34.930 -04:00 [DBG] Connection id "0HMP8K5O7CLV2" disconnecting.
2023-03-19 13:45:34.931 -04:00 [DBG] Connection id "0HMP8K5O7CLV2" stopped.
2023-03-19 13:45:34.931 -04:00 [DBG] Connection id "0HMP8K5O7CLV2" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 13:46:20.262 -04:00 [INF] Application is shutting down...
2023-03-19 13:46:20.263 -04:00 [DBG] Hosting stopping
2023-03-19 13:46:20.267 -04:00 [DBG] Hosting stopped
2023-03-19 13:46:24.789 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 13:46:24.905 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 13:46:24.953 -04:00 [DBG] Hosting starting
2023-03-19 13:46:24.968 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 13:46:24.968 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 13:46:24.969 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 13:46:24.969 -04:00 [INF] Hosting environment: Development
2023-03-19 13:46:24.969 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 13:46:24.969 -04:00 [DBG] Hosting started
2023-03-19 13:46:31.802 -04:00 [DBG] Connection id "0HMP8K7G1TMA4" received FIN.
2023-03-19 13:46:31.806 -04:00 [DBG] Connection id "0HMP8K7G1TMA4" accepted.
2023-03-19 13:46:31.806 -04:00 [DBG] Connection id "0HMP8K7G1TMA4" started.
2023-03-19 13:46:31.807 -04:00 [DBG] Connection id "0HMP8K7G1TMA5" accepted.
2023-03-19 13:46:31.807 -04:00 [DBG] Connection id "0HMP8K7G1TMA5" started.
2023-03-19 13:46:31.812 -04:00 [DBG] Connection id "0HMP8K7G1TMA4" sending FIN because: "The client closed the connection."
2023-03-19 13:46:31.815 -04:00 [DBG] Connection id "0HMP8K7G1TMA4" disconnecting.
2023-03-19 13:46:31.816 -04:00 [DBG] Connection id "0HMP8K7G1TMA4" stopped.
2023-03-19 13:46:31.826 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 13:46:31.828 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 13:46:31.848 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 13:46:31.850 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 13:46:31.850 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 13:46:31.855 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 13:46:31.859 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 13:46:31.860 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 13:46:31.878 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 13:46:31.879 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 13:46:31.879 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 13:46:31.879 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 13:46:31.879 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 13:46:31.879 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 13:46:31.880 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 13:46:31.880 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 13:46:31.883 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 13:46:31.884 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 13:46:31.884 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 13:46:31.885 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 13:46:31.888 -04:00 [DBG] Connection id "0HMP8K7G1TMA5", Request id "0HMP8K7G1TMA5:00000001": started reading request body.
2023-03-19 13:46:31.888 -04:00 [DBG] Connection id "0HMP8K7G1TMA5", Request id "0HMP8K7G1TMA5:00000001": done reading request body.
2023-03-19 13:46:31.925 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 13:46:31.925 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 13:46:31.925 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 13:46:31.928 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 13:46:31.939 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 13:46:32.154 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 272.8976ms
2023-03-19 13:46:32.155 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 13:46:32.162 -04:00 [ERR] An unhandled exception has occurred while executing the request.
System.InvalidOperationException: The entity type 'AuthLevels' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.
at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)
at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)
at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)
at Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal.SqlServerModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)
at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)
at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)
at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)
at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()
at Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder.<>c.<TryAddCoreServices>b__8_4(IServiceProvider p)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()
at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()
at Microsoft.EntityFrameworkCore.DbContext.get_Model()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.CheckState()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()
at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source, Expression`1 predicate)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
2023-03-19 13:46:32.166 -04:00 [DBG] Connection id "0HMP8K7G1TMA5" completed keep alive response.
2023-03-19 13:46:32.167 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 342.2104ms
2023-03-19 13:48:42.988 -04:00 [DBG] Connection id "0HMP8K7G1TMA5" disconnecting.
2023-03-19 13:48:42.989 -04:00 [DBG] Connection id "0HMP8K7G1TMA5" stopped.
2023-03-19 13:48:42.989 -04:00 [DBG] Connection id "0HMP8K7G1TMA5" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 13:49:37.718 -04:00 [INF] Application is shutting down...
2023-03-19 13:49:37.718 -04:00 [DBG] Hosting stopping
2023-03-19 13:49:37.723 -04:00 [DBG] Hosting stopped
2023-03-19 13:50:04.240 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 13:50:04.356 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 13:50:04.440 -04:00 [DBG] Hosting starting
2023-03-19 13:50:04.456 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 13:50:04.456 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 13:50:04.457 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 13:50:04.457 -04:00 [INF] Hosting environment: Development
2023-03-19 13:50:04.457 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 13:50:04.457 -04:00 [DBG] Hosting started
2023-03-19 13:50:08.800 -04:00 [DBG] Connection id "0HMP8K9GNC5P2" received FIN.
2023-03-19 13:50:08.803 -04:00 [DBG] Connection id "0HMP8K9GNC5P2" accepted.
2023-03-19 13:50:08.804 -04:00 [DBG] Connection id "0HMP8K9GNC5P2" started.
2023-03-19 13:50:08.805 -04:00 [DBG] Connection id "0HMP8K9GNC5P3" accepted.
2023-03-19 13:50:08.805 -04:00 [DBG] Connection id "0HMP8K9GNC5P3" started.
2023-03-19 13:50:08.810 -04:00 [DBG] Connection id "0HMP8K9GNC5P2" sending FIN because: "The client closed the connection."
2023-03-19 13:50:08.813 -04:00 [DBG] Connection id "0HMP8K9GNC5P2" disconnecting.
2023-03-19 13:50:08.813 -04:00 [DBG] Connection id "0HMP8K9GNC5P2" stopped.
2023-03-19 13:50:08.823 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 13:50:08.825 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 13:50:08.844 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 13:50:08.845 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 13:50:08.846 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 13:50:08.850 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 13:50:08.854 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 13:50:08.854 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 13:50:08.872 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 13:50:08.873 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 13:50:08.873 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 13:50:08.873 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 13:50:08.873 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 13:50:08.873 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 13:50:08.874 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 13:50:08.874 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 13:50:08.877 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 13:50:08.878 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 13:50:08.878 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 13:50:08.878 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 13:50:08.881 -04:00 [DBG] Connection id "0HMP8K9GNC5P3", Request id "0HMP8K9GNC5P3:00000001": started reading request body.
2023-03-19 13:50:08.881 -04:00 [DBG] Connection id "0HMP8K9GNC5P3", Request id "0HMP8K9GNC5P3:00000001": done reading request body.
2023-03-19 13:50:08.916 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 13:50:08.916 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 13:50:08.916 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 13:50:08.919 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 13:50:08.930 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 13:50:09.507 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 631.7805ms
2023-03-19 13:50:09.508 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 13:50:09.516 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:e2eb31b1-06ff-49e1-83ca-872dfe96d2fd
Error Number:-2146893019,State:0,Class:20
2023-03-19 13:50:09.522 -04:00 [DBG] Connection id "0HMP8K9GNC5P3" completed keep alive response.
2023-03-19 13:50:09.523 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 700.4470ms
2023-03-19 13:52:20.475 -04:00 [DBG] Connection id "0HMP8K9GNC5P3" disconnecting.
2023-03-19 13:52:20.476 -04:00 [DBG] Connection id "0HMP8K9GNC5P3" stopped.
2023-03-19 13:52:20.476 -04:00 [DBG] Connection id "0HMP8K9GNC5P3" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 13:53:19.613 -04:00 [DBG] Config reload token fired. Checking for changes...
2023-03-19 13:53:22.243 -04:00 [INF] Application is shutting down...
2023-03-19 13:53:22.244 -04:00 [DBG] Hosting stopping
2023-03-19 13:53:22.248 -04:00 [DBG] Hosting stopped
2023-03-19 13:53:23.839 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 13:53:23.958 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 13:53:24.010 -04:00 [DBG] Hosting starting
2023-03-19 13:53:24.026 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 13:53:24.026 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 13:53:24.027 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 13:53:24.027 -04:00 [INF] Hosting environment: Development
2023-03-19 13:53:24.027 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 13:53:24.027 -04:00 [DBG] Hosting started
2023-03-19 13:53:30.365 -04:00 [DBG] Connection id "0HMP8KBCPL5SQ" received FIN.
2023-03-19 13:53:30.368 -04:00 [DBG] Connection id "0HMP8KBCPL5SQ" accepted.
2023-03-19 13:53:30.369 -04:00 [DBG] Connection id "0HMP8KBCPL5SQ" started.
2023-03-19 13:53:30.370 -04:00 [DBG] Connection id "0HMP8KBCPL5SR" accepted.
2023-03-19 13:53:30.370 -04:00 [DBG] Connection id "0HMP8KBCPL5SR" started.
2023-03-19 13:53:30.375 -04:00 [DBG] Connection id "0HMP8KBCPL5SQ" sending FIN because: "The client closed the connection."
2023-03-19 13:53:30.378 -04:00 [DBG] Connection id "0HMP8KBCPL5SQ" disconnecting.
2023-03-19 13:53:30.379 -04:00 [DBG] Connection id "0HMP8KBCPL5SQ" stopped.
2023-03-19 13:53:30.389 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 13:53:30.390 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 13:53:30.410 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 13:53:30.412 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 13:53:30.413 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 13:53:30.417 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 13:53:30.421 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 13:53:30.421 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 13:53:30.440 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 13:53:30.441 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 13:53:30.441 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 13:53:30.441 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 13:53:30.441 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 13:53:30.441 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 13:53:30.442 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 13:53:30.442 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 13:53:30.445 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 13:53:30.446 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 13:53:30.446 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 13:53:30.446 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 13:53:30.449 -04:00 [DBG] Connection id "0HMP8KBCPL5SR", Request id "0HMP8KBCPL5SR:00000001": started reading request body.
2023-03-19 13:53:30.449 -04:00 [DBG] Connection id "0HMP8KBCPL5SR", Request id "0HMP8KBCPL5SR:00000001": done reading request body.
2023-03-19 13:53:30.487 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 13:53:30.487 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 13:53:30.488 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 13:53:30.491 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 13:53:30.503 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 13:53:31.084 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 641.3229ms
2023-03-19 13:53:31.085 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 13:53:31.093 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:0c33cb69-14b7-428b-b9bd-de81f088147f
Error Number:-2146893019,State:0,Class:20
2023-03-19 13:53:31.098 -04:00 [DBG] Connection id "0HMP8KBCPL5SR" completed keep alive response.
2023-03-19 13:53:31.099 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 711.5036ms
2023-03-19 13:53:37.931 -04:00 [DBG] Config reload token fired. Checking for changes...
2023-03-19 13:55:19.198 -04:00 [INF] Application is shutting down...
2023-03-19 13:55:19.199 -04:00 [DBG] Hosting stopping
2023-03-19 13:55:19.205 -04:00 [DBG] Connection id "0HMP8KBCPL5SR" disconnecting.
2023-03-19 13:55:19.206 -04:00 [DBG] Connection id "0HMP8KBCPL5SR" stopped.
2023-03-19 13:55:19.206 -04:00 [DBG] Connection id "0HMP8KBCPL5SR" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 13:55:19.208 -04:00 [DBG] Hosting stopped
2023-03-19 13:55:27.806 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 13:55:27.923 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 13:55:27.976 -04:00 [DBG] Hosting starting
2023-03-19 13:55:27.991 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 13:55:27.991 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 13:55:27.992 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 13:55:27.992 -04:00 [INF] Hosting environment: Development
2023-03-19 13:55:27.992 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 13:55:27.992 -04:00 [DBG] Hosting started
2023-03-19 13:55:41.907 -04:00 [DBG] Connection id "0HMP8KCK04AMS" received FIN.
2023-03-19 13:55:41.909 -04:00 [DBG] Connection id "0HMP8KCK04AMS" accepted.
2023-03-19 13:55:41.910 -04:00 [DBG] Connection id "0HMP8KCK04AMS" started.
2023-03-19 13:55:41.911 -04:00 [DBG] Connection id "0HMP8KCK04AMT" accepted.
2023-03-19 13:55:41.911 -04:00 [DBG] Connection id "0HMP8KCK04AMT" started.
2023-03-19 13:55:41.916 -04:00 [DBG] Connection id "0HMP8KCK04AMS" sending FIN because: "The client closed the connection."
2023-03-19 13:55:41.919 -04:00 [DBG] Connection id "0HMP8KCK04AMS" disconnecting.
2023-03-19 13:55:41.920 -04:00 [DBG] Connection id "0HMP8KCK04AMS" stopped.
2023-03-19 13:55:41.929 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 13:55:41.931 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 13:55:41.949 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 13:55:41.951 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 13:55:41.952 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 13:55:41.955 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 13:55:41.959 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 13:55:41.960 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 13:55:41.977 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 13:55:41.978 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 13:55:41.978 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 13:55:41.978 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 13:55:41.978 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 13:55:41.979 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 13:55:41.979 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 13:55:41.980 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 13:55:41.982 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 13:55:41.983 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 13:55:41.983 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 13:55:41.983 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 13:55:41.986 -04:00 [DBG] Connection id "0HMP8KCK04AMT", Request id "0HMP8KCK04AMT:00000001": started reading request body.
2023-03-19 13:55:41.986 -04:00 [DBG] Connection id "0HMP8KCK04AMT", Request id "0HMP8KCK04AMT:00000001": done reading request body.
2023-03-19 13:55:42.021 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 13:55:42.021 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 13:55:42.021 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 13:55:42.024 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 13:55:42.035 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 13:55:42.585 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 604.7714ms
2023-03-19 13:55:42.586 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 13:55:42.594 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:3f5150d7-9432-45b9-bbd6-72dde1b8e4fb
Error Number:-2146893019,State:0,Class:20
2023-03-19 13:55:42.598 -04:00 [DBG] Connection id "0HMP8KCK04AMT" completed keep alive response.
2023-03-19 13:55:42.599 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 671.3021ms
2023-03-19 13:57:53.011 -04:00 [DBG] Connection id "0HMP8KCK04AMT" disconnecting.
2023-03-19 13:57:53.012 -04:00 [DBG] Connection id "0HMP8KCK04AMT" stopped.
2023-03-19 13:57:53.012 -04:00 [DBG] Connection id "0HMP8KCK04AMT" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 13:59:03.390 -04:00 [INF] Application is shutting down...
2023-03-19 13:59:03.391 -04:00 [DBG] Hosting stopping
2023-03-19 13:59:03.394 -04:00 [DBG] Hosting stopped
2023-03-19 13:59:05.165 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 13:59:05.283 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 13:59:05.327 -04:00 [DBG] Hosting starting
2023-03-19 13:59:05.342 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 13:59:05.342 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 13:59:05.342 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 13:59:05.343 -04:00 [INF] Hosting environment: Development
2023-03-19 13:59:05.343 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 13:59:05.343 -04:00 [DBG] Hosting started
2023-03-19 13:59:09.681 -04:00 [DBG] Connection id "0HMP8KEHTK60H" received FIN.
2023-03-19 13:59:09.685 -04:00 [DBG] Connection id "0HMP8KEHTK60H" accepted.
2023-03-19 13:59:09.686 -04:00 [DBG] Connection id "0HMP8KEHTK60H" started.
2023-03-19 13:59:09.687 -04:00 [DBG] Connection id "0HMP8KEHTK60I" accepted.
2023-03-19 13:59:09.687 -04:00 [DBG] Connection id "0HMP8KEHTK60I" started.
2023-03-19 13:59:09.692 -04:00 [DBG] Connection id "0HMP8KEHTK60H" sending FIN because: "The client closed the connection."
2023-03-19 13:59:09.695 -04:00 [DBG] Connection id "0HMP8KEHTK60H" disconnecting.
2023-03-19 13:59:09.696 -04:00 [DBG] Connection id "0HMP8KEHTK60H" stopped.
2023-03-19 13:59:09.706 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 13:59:09.707 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 13:59:09.728 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 13:59:09.730 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 13:59:09.730 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 13:59:09.734 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 13:59:09.739 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 13:59:09.739 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 13:59:09.758 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 13:59:09.759 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 13:59:09.759 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 13:59:09.760 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 13:59:09.760 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 13:59:09.760 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 13:59:09.761 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 13:59:09.761 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 13:59:09.763 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 13:59:09.765 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 13:59:09.765 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 13:59:09.765 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 13:59:09.768 -04:00 [DBG] Connection id "0HMP8KEHTK60I", Request id "0HMP8KEHTK60I:00000001": started reading request body.
2023-03-19 13:59:09.768 -04:00 [DBG] Connection id "0HMP8KEHTK60I", Request id "0HMP8KEHTK60I:00000001": done reading request body.
2023-03-19 13:59:09.805 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 13:59:09.805 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 13:59:09.805 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 13:59:09.808 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 13:59:09.820 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 13:59:10.397 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 635.4033ms
2023-03-19 13:59:10.398 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 13:59:10.406 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:87c83dba-f187-4cd0-9a7d-706e335cebc0
Error Number:-2146893019,State:0,Class:20
2023-03-19 13:59:10.412 -04:00 [DBG] Connection id "0HMP8KEHTK60I" completed keep alive response.
2023-03-19 13:59:10.413 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 708.2036ms
2023-03-19 14:01:21.356 -04:00 [DBG] Connection id "0HMP8KEHTK60I" disconnecting.
2023-03-19 14:01:21.357 -04:00 [DBG] Connection id "0HMP8KEHTK60I" stopped.
2023-03-19 14:01:21.357 -04:00 [DBG] Connection id "0HMP8KEHTK60I" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 14:02:02.025 -04:00 [DBG] Config reload token fired. Checking for changes...
2023-03-19 14:02:07.450 -04:00 [DBG] Connection id "0HMP8KEHTK60J" received FIN.
2023-03-19 14:02:07.450 -04:00 [DBG] Connection id "0HMP8KEHTK60J" accepted.
2023-03-19 14:02:07.450 -04:00 [DBG] Connection id "0HMP8KEHTK60J" started.
2023-03-19 14:02:07.450 -04:00 [DBG] Connection id "0HMP8KEHTK60K" accepted.
2023-03-19 14:02:07.450 -04:00 [DBG] Connection id "0HMP8KEHTK60K" started.
2023-03-19 14:02:07.451 -04:00 [DBG] Connection id "0HMP8KEHTK60J" sending FIN because: "The client closed the connection."
2023-03-19 14:02:07.451 -04:00 [DBG] Connection id "0HMP8KEHTK60J" disconnecting.
2023-03-19 14:02:07.451 -04:00 [DBG] Connection id "0HMP8KEHTK60J" stopped.
2023-03-19 14:02:07.451 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 14:02:07.451 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 14:02:07.452 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 14:02:07.452 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 14:02:07.452 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 14:02:07.453 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 14:02:07.453 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 14:02:07.453 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 14:02:07.453 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 14:02:07.453 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 14:02:07.453 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 14:02:07.453 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 14:02:07.453 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 14:02:07.453 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 14:02:07.453 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 14:02:07.454 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 14:02:07.454 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 14:02:07.454 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 14:02:07.454 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 14:02:07.454 -04:00 [DBG] Connection id "0HMP8KEHTK60K", Request id "0HMP8KEHTK60K:00000001": started reading request body.
2023-03-19 14:02:07.454 -04:00 [DBG] Connection id "0HMP8KEHTK60K", Request id "0HMP8KEHTK60K:00000001": done reading request body.
2023-03-19 14:02:07.455 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 14:02:07.455 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 14:02:07.455 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 14:02:07.455 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 14:02:07.455 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 14:02:07.473 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 20.0833ms
2023-03-19 14:02:07.474 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 14:02:07.474 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:64ac2e82-900e-474e-98e5-4d1c230f2d75
Error Number:-2146893019,State:0,Class:20
2023-03-19 14:02:07.477 -04:00 [DBG] Connection id "0HMP8KEHTK60K" completed keep alive response.
2023-03-19 14:02:07.477 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 25.8698ms
2023-03-19 14:02:08.822 -04:00 [INF] Application is shutting down...
2023-03-19 14:02:08.822 -04:00 [DBG] Hosting stopping
2023-03-19 14:02:08.825 -04:00 [DBG] Connection id "0HMP8KEHTK60K" disconnecting.
2023-03-19 14:02:08.825 -04:00 [DBG] Connection id "0HMP8KEHTK60K" stopped.
2023-03-19 14:02:08.825 -04:00 [DBG] Connection id "0HMP8KEHTK60K" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 14:02:08.827 -04:00 [DBG] Hosting stopped
2023-03-19 14:02:10.660 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 14:02:10.774 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 14:02:10.826 -04:00 [DBG] Hosting starting
2023-03-19 14:02:10.841 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 14:02:10.841 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 14:02:10.841 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 14:02:10.841 -04:00 [INF] Hosting environment: Development
2023-03-19 14:02:10.842 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 14:02:10.842 -04:00 [DBG] Hosting started
2023-03-19 14:02:18.679 -04:00 [DBG] Connection id "0HMP8KGA81L4J" received FIN.
2023-03-19 14:02:18.683 -04:00 [DBG] Connection id "0HMP8KGA81L4J" accepted.
2023-03-19 14:02:18.683 -04:00 [DBG] Connection id "0HMP8KGA81L4J" started.
2023-03-19 14:02:18.684 -04:00 [DBG] Connection id "0HMP8KGA81L4K" accepted.
2023-03-19 14:02:18.685 -04:00 [DBG] Connection id "0HMP8KGA81L4K" started.
2023-03-19 14:02:18.689 -04:00 [DBG] Connection id "0HMP8KGA81L4J" sending FIN because: "The client closed the connection."
2023-03-19 14:02:18.692 -04:00 [DBG] Connection id "0HMP8KGA81L4J" disconnecting.
2023-03-19 14:02:18.693 -04:00 [DBG] Connection id "0HMP8KGA81L4J" stopped.
2023-03-19 14:02:18.703 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 14:02:18.704 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 14:02:18.723 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 14:02:18.725 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 14:02:18.725 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 14:02:18.729 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 14:02:18.733 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 14:02:18.734 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 14:02:18.751 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 14:02:18.752 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 14:02:18.752 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 14:02:18.752 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 14:02:18.752 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 14:02:18.752 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 14:02:18.753 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 14:02:18.753 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 14:02:18.756 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 14:02:18.757 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 14:02:18.757 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 14:02:18.758 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 14:02:18.760 -04:00 [DBG] Connection id "0HMP8KGA81L4K", Request id "0HMP8KGA81L4K:00000001": started reading request body.
2023-03-19 14:02:18.761 -04:00 [DBG] Connection id "0HMP8KGA81L4K", Request id "0HMP8KGA81L4K:00000001": done reading request body.
2023-03-19 14:02:18.795 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 14:02:18.795 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 14:02:18.795 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 14:02:18.798 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 14:02:18.809 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 14:02:19.365 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 611.263ms
2023-03-19 14:02:19.366 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 14:02:19.374 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:8c041634-590c-41e3-9654-efb0372d8548
Error Number:-2146893019,State:0,Class:20
2023-03-19 14:02:19.379 -04:00 [DBG] Connection id "0HMP8KGA81L4K" completed keep alive response.
2023-03-19 14:02:19.380 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 678.4471ms
2023-03-19 14:02:28.837 -04:00 [DBG] Config reload token fired. Checking for changes...
2023-03-19 14:04:08.595 -04:00 [INF] Application is shutting down...
2023-03-19 14:04:08.596 -04:00 [DBG] Hosting stopping
2023-03-19 14:04:08.601 -04:00 [DBG] Connection id "0HMP8KGA81L4K" disconnecting.
2023-03-19 14:04:08.601 -04:00 [DBG] Connection id "0HMP8KGA81L4K" stopped.
2023-03-19 14:04:08.602 -04:00 [DBG] Connection id "0HMP8KGA81L4K" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 14:04:08.603 -04:00 [DBG] Hosting stopped
2023-03-19 14:04:10.355 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 14:04:10.468 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 14:04:10.530 -04:00 [DBG] Hosting starting
2023-03-19 14:04:10.544 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 14:04:10.544 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 14:04:10.544 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 14:04:10.544 -04:00 [INF] Hosting environment: Development
2023-03-19 14:04:10.544 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 14:04:10.544 -04:00 [DBG] Hosting started
2023-03-19 14:04:21.941 -04:00 [DBG] Connection id "0HMP8KHEVIC23" received FIN.
2023-03-19 14:04:21.945 -04:00 [DBG] Connection id "0HMP8KHEVIC23" accepted.
2023-03-19 14:04:21.946 -04:00 [DBG] Connection id "0HMP8KHEVIC23" started.
2023-03-19 14:04:21.947 -04:00 [DBG] Connection id "0HMP8KHEVIC24" accepted.
2023-03-19 14:04:21.947 -04:00 [DBG] Connection id "0HMP8KHEVIC24" started.
2023-03-19 14:04:21.952 -04:00 [DBG] Connection id "0HMP8KHEVIC23" sending FIN because: "The client closed the connection."
2023-03-19 14:04:21.954 -04:00 [DBG] Connection id "0HMP8KHEVIC23" disconnecting.
2023-03-19 14:04:21.955 -04:00 [DBG] Connection id "0HMP8KHEVIC23" stopped.
2023-03-19 14:04:21.964 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 14:04:21.966 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 14:04:21.984 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 14:04:21.986 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 14:04:21.986 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 14:04:21.990 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 14:04:21.994 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 14:04:21.994 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 14:04:22.012 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 14:04:22.013 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 14:04:22.013 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 14:04:22.013 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 14:04:22.013 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 14:04:22.013 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 14:04:22.014 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 14:04:22.014 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 14:04:22.017 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 14:04:22.018 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 14:04:22.018 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 14:04:22.018 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 14:04:22.021 -04:00 [DBG] Connection id "0HMP8KHEVIC24", Request id "0HMP8KHEVIC24:00000001": started reading request body.
2023-03-19 14:04:22.021 -04:00 [DBG] Connection id "0HMP8KHEVIC24", Request id "0HMP8KHEVIC24:00000001": done reading request body.
2023-03-19 14:04:22.056 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 14:04:22.056 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 14:04:22.056 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 14:04:22.059 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 14:04:22.070 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 14:04:22.624 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 609.1167ms
2023-03-19 14:04:22.625 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 14:04:22.632 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:5c47cf8e-67fa-461f-b2ca-c5c68b6a495a
Error Number:-2146893019,State:0,Class:20
2023-03-19 14:04:22.637 -04:00 [DBG] Connection id "0HMP8KHEVIC24" completed keep alive response.
2023-03-19 14:04:22.638 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 675.1172ms
2023-03-19 14:05:38.115 -04:00 [DBG] Config reload token fired. Checking for changes...
2023-03-19 14:05:42.080 -04:00 [DBG] Config reload token fired. Checking for changes...
2023-03-19 14:05:42.330 -04:00 [DBG] Config reload token fired. Checking for changes...
2023-03-19 14:06:07.305 -04:00 [DBG] Config reload token fired. Checking for changes...
2023-03-19 14:06:08.470 -04:00 [INF] Application is shutting down...
2023-03-19 14:06:08.470 -04:00 [DBG] Hosting stopping
2023-03-19 14:06:08.476 -04:00 [DBG] Connection id "0HMP8KHEVIC24" disconnecting.
2023-03-19 14:06:08.477 -04:00 [DBG] Connection id "0HMP8KHEVIC24" stopped.
2023-03-19 14:06:08.477 -04:00 [DBG] Connection id "0HMP8KHEVIC24" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 14:06:08.479 -04:00 [DBG] Hosting stopped
2023-03-19 14:06:10.471 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 14:06:10.592 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 14:06:10.636 -04:00 [DBG] Hosting starting
2023-03-19 14:06:10.651 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 14:06:10.651 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 14:06:10.652 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 14:06:10.652 -04:00 [INF] Hosting environment: Development
2023-03-19 14:06:10.652 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 14:06:10.652 -04:00 [DBG] Hosting started
2023-03-19 14:06:13.773 -04:00 [DBG] Connection id "0HMP8KIGA2NH0" received FIN.
2023-03-19 14:06:13.776 -04:00 [DBG] Connection id "0HMP8KIGA2NH0" accepted.
2023-03-19 14:06:13.777 -04:00 [DBG] Connection id "0HMP8KIGA2NH0" started.
2023-03-19 14:06:13.778 -04:00 [DBG] Connection id "0HMP8KIGA2NH1" accepted.
2023-03-19 14:06:13.778 -04:00 [DBG] Connection id "0HMP8KIGA2NH1" started.
2023-03-19 14:06:13.783 -04:00 [DBG] Connection id "0HMP8KIGA2NH0" sending FIN because: "The client closed the connection."
2023-03-19 14:06:13.786 -04:00 [DBG] Connection id "0HMP8KIGA2NH0" disconnecting.
2023-03-19 14:06:13.787 -04:00 [DBG] Connection id "0HMP8KIGA2NH0" stopped.
2023-03-19 14:06:13.796 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 14:06:13.798 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 14:06:13.817 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 14:06:13.819 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 14:06:13.819 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 14:06:13.823 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 14:06:13.827 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 14:06:13.828 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 14:06:13.846 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 14:06:13.847 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 14:06:13.847 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 14:06:13.848 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 14:06:13.848 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 14:06:13.848 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 14:06:13.849 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 14:06:13.849 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 14:06:13.852 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 14:06:13.853 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 14:06:13.853 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 14:06:13.853 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 14:06:13.856 -04:00 [DBG] Connection id "0HMP8KIGA2NH1", Request id "0HMP8KIGA2NH1:00000001": started reading request body.
2023-03-19 14:06:13.856 -04:00 [DBG] Connection id "0HMP8KIGA2NH1", Request id "0HMP8KIGA2NH1:00000001": done reading request body.
2023-03-19 14:06:13.892 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 14:06:13.893 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 14:06:13.893 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 14:06:13.896 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 14:06:13.907 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 14:06:14.482 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 632.0615ms
2023-03-19 14:06:14.483 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 14:06:14.491 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:254c6c76-731b-40bf-aa76-898907aaba04
Error Number:-2146893019,State:0,Class:20
2023-03-19 14:06:14.496 -04:00 [DBG] Connection id "0HMP8KIGA2NH1" completed keep alive response.
2023-03-19 14:06:14.497 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 701.3620ms
2023-03-19 14:07:15.940 -04:00 [INF] Application is shutting down...
2023-03-19 14:07:15.940 -04:00 [DBG] Hosting stopping
2023-03-19 14:07:15.945 -04:00 [DBG] Connection id "0HMP8KIGA2NH1" disconnecting.
2023-03-19 14:07:15.946 -04:00 [DBG] Connection id "0HMP8KIGA2NH1" stopped.
2023-03-19 14:07:15.946 -04:00 [DBG] Connection id "0HMP8KIGA2NH1" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 14:07:15.948 -04:00 [DBG] Hosting stopped
2023-03-19 14:43:47.782 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 14:43:47.897 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 14:43:47.953 -04:00 [DBG] Hosting starting
2023-03-19 14:43:47.968 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 14:43:47.968 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 14:43:47.968 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 14:43:47.969 -04:00 [INF] Hosting environment: Development
2023-03-19 14:43:47.969 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 14:43:47.969 -04:00 [DBG] Hosting started
2023-03-19 14:43:52.417 -04:00 [DBG] Connection id "0HMP8L7HE673O" received FIN.
2023-03-19 14:43:52.421 -04:00 [DBG] Connection id "0HMP8L7HE673O" accepted.
2023-03-19 14:43:52.422 -04:00 [DBG] Connection id "0HMP8L7HE673O" started.
2023-03-19 14:43:52.423 -04:00 [DBG] Connection id "0HMP8L7HE673P" accepted.
2023-03-19 14:43:52.423 -04:00 [DBG] Connection id "0HMP8L7HE673P" started.
2023-03-19 14:43:52.428 -04:00 [DBG] Connection id "0HMP8L7HE673O" sending FIN because: "The client closed the connection."
2023-03-19 14:43:52.431 -04:00 [DBG] Connection id "0HMP8L7HE673O" disconnecting.
2023-03-19 14:43:52.431 -04:00 [DBG] Connection id "0HMP8L7HE673O" stopped.
2023-03-19 14:43:52.442 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 14:43:52.443 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 14:43:52.463 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 14:43:52.465 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 14:43:52.465 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 14:43:52.470 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 14:43:52.474 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 14:43:52.474 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 14:43:52.492 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 14:43:52.493 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 14:43:52.493 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 14:43:52.493 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 14:43:52.494 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 14:43:52.494 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 14:43:52.494 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 14:43:52.495 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 14:43:52.497 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 14:43:52.498 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 14:43:52.499 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 14:43:52.499 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 14:43:52.502 -04:00 [DBG] Connection id "0HMP8L7HE673P", Request id "0HMP8L7HE673P:00000001": started reading request body.
2023-03-19 14:43:52.502 -04:00 [DBG] Connection id "0HMP8L7HE673P", Request id "0HMP8L7HE673P:00000001": done reading request body.
2023-03-19 14:43:52.537 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 14:43:52.538 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 14:43:52.538 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 14:43:52.540 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 14:43:52.552 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 14:43:53.121 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 625.2282ms
2023-03-19 14:43:53.121 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 14:43:53.130 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:f26e86f7-3dcd-4165-a1ac-d5841e8c6a8a
Error Number:-2146893019,State:0,Class:20
2023-03-19 14:43:53.134 -04:00 [DBG] Connection id "0HMP8L7HE673P" completed keep alive response.
2023-03-19 14:43:53.135 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 694.9012ms
2023-03-19 14:45:02.187 -04:00 [INF] Application is shutting down...
2023-03-19 14:45:02.188 -04:00 [DBG] Hosting stopping
2023-03-19 14:45:02.193 -04:00 [DBG] Connection id "0HMP8L7HE673P" disconnecting.
2023-03-19 14:45:02.194 -04:00 [DBG] Connection id "0HMP8L7HE673P" stopped.
2023-03-19 14:45:02.194 -04:00 [DBG] Connection id "0HMP8L7HE673P" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 14:45:02.196 -04:00 [DBG] Hosting stopped
2023-03-19 14:45:05.068 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 14:45:05.179 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 14:45:05.246 -04:00 [DBG] Hosting starting
2023-03-19 14:45:05.261 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 14:45:05.262 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 14:45:05.262 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 14:45:05.262 -04:00 [INF] Hosting environment: Development
2023-03-19 14:45:05.262 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 14:45:05.262 -04:00 [DBG] Hosting started
2023-03-19 14:45:22.875 -04:00 [DBG] Connection id "0HMP8L8CCRLN6" received FIN.
2023-03-19 14:45:22.878 -04:00 [DBG] Connection id "0HMP8L8CCRLN6" accepted.
2023-03-19 14:45:22.879 -04:00 [DBG] Connection id "0HMP8L8CCRLN6" started.
2023-03-19 14:45:22.880 -04:00 [DBG] Connection id "0HMP8L8CCRLN7" accepted.
2023-03-19 14:45:22.880 -04:00 [DBG] Connection id "0HMP8L8CCRLN7" started.
2023-03-19 14:45:22.885 -04:00 [DBG] Connection id "0HMP8L8CCRLN6" sending FIN because: "The client closed the connection."
2023-03-19 14:45:22.888 -04:00 [DBG] Connection id "0HMP8L8CCRLN6" disconnecting.
2023-03-19 14:45:22.889 -04:00 [DBG] Connection id "0HMP8L8CCRLN6" stopped.
2023-03-19 14:45:22.899 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 14:45:22.900 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 14:45:22.919 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 14:45:22.921 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 14:45:22.922 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 14:45:22.926 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 14:45:22.930 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 14:45:22.930 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 14:45:22.948 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 14:45:22.948 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 14:45:22.949 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 14:45:22.949 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 14:45:22.949 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 14:45:22.949 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 14:45:22.950 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 14:45:22.950 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 14:45:22.953 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 14:45:22.954 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 14:45:22.954 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 14:45:22.954 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 14:45:22.957 -04:00 [DBG] Connection id "0HMP8L8CCRLN7", Request id "0HMP8L8CCRLN7:00000001": started reading request body.
2023-03-19 14:45:22.957 -04:00 [DBG] Connection id "0HMP8L8CCRLN7", Request id "0HMP8L8CCRLN7:00000001": done reading request body.
2023-03-19 14:45:22.993 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 14:45:22.993 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 14:45:22.993 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 14:45:22.996 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 14:45:23.008 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 14:45:23.565 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 614.191ms
2023-03-19 14:45:23.566 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 14:45:23.574 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:86265b6c-359a-4818-9c6e-7b88e0396032
Error Number:-2146893019,State:0,Class:20
2023-03-19 14:45:23.579 -04:00 [DBG] Connection id "0HMP8L8CCRLN7" completed keep alive response.
2023-03-19 14:45:23.580 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 682.2893ms
2023-03-19 14:47:34.290 -04:00 [DBG] Connection id "0HMP8L8CCRLN7" disconnecting.
2023-03-19 14:47:34.291 -04:00 [DBG] Connection id "0HMP8L8CCRLN7" stopped.
2023-03-19 14:47:34.291 -04:00 [DBG] Connection id "0HMP8L8CCRLN7" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 14:48:23.703 -04:00 [INF] Application is shutting down...
2023-03-19 14:48:23.704 -04:00 [DBG] Hosting stopping
2023-03-19 14:48:23.708 -04:00 [DBG] Hosting stopped
2023-03-19 14:52:35.341 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 14:52:35.457 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 14:52:35.506 -04:00 [DBG] Hosting starting
2023-03-19 14:52:35.521 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 14:52:35.521 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 14:52:35.521 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 14:52:35.521 -04:00 [INF] Hosting environment: Development
2023-03-19 14:52:35.521 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 14:52:35.521 -04:00 [DBG] Hosting started
2023-03-19 14:52:41.012 -04:00 [DBG] Connection id "0HMP8LCEV8K1V" received FIN.
2023-03-19 14:52:41.016 -04:00 [DBG] Connection id "0HMP8LCEV8K1V" accepted.
2023-03-19 14:52:41.017 -04:00 [DBG] Connection id "0HMP8LCEV8K1V" started.
2023-03-19 14:52:41.018 -04:00 [DBG] Connection id "0HMP8LCEV8K20" accepted.
2023-03-19 14:52:41.018 -04:00 [DBG] Connection id "0HMP8LCEV8K20" started.
2023-03-19 14:52:41.023 -04:00 [DBG] Connection id "0HMP8LCEV8K1V" sending FIN because: "The client closed the connection."
2023-03-19 14:52:41.026 -04:00 [DBG] Connection id "0HMP8LCEV8K1V" disconnecting.
2023-03-19 14:52:41.026 -04:00 [DBG] Connection id "0HMP8LCEV8K1V" stopped.
2023-03-19 14:52:41.042 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 14:52:41.045 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 14:52:41.071 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 14:52:41.073 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 14:52:41.073 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 14:52:41.077 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 14:52:41.081 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 14:52:41.082 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 14:52:41.101 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 14:52:41.102 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 14:52:41.102 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 14:52:41.102 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 14:52:41.102 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 14:52:41.103 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 14:52:41.103 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 14:52:41.104 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 14:52:41.106 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 14:52:41.107 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 14:52:41.107 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 14:52:41.108 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 14:52:41.110 -04:00 [DBG] Connection id "0HMP8LCEV8K20", Request id "0HMP8LCEV8K20:00000001": started reading request body.
2023-03-19 14:52:41.110 -04:00 [DBG] Connection id "0HMP8LCEV8K20", Request id "0HMP8LCEV8K20:00000001": done reading request body.
2023-03-19 14:52:41.145 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 14:52:41.145 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 14:52:41.145 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 14:52:41.148 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 14:52:41.158 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 14:52:41.704 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 599.8778ms
2023-03-19 14:52:41.705 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 14:52:41.713 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:b815a03f-a8e6-49e2-a135-9a457b9c044c
Error Number:-2146893019,State:0,Class:20
2023-03-19 14:52:41.717 -04:00 [DBG] Connection id "0HMP8LCEV8K20" completed keep alive response.
2023-03-19 14:52:41.718 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 677.9401ms
2023-03-19 14:54:02.745 -04:00 [INF] Application is shutting down...
2023-03-19 14:54:02.746 -04:00 [DBG] Hosting stopping
2023-03-19 14:54:02.751 -04:00 [DBG] Connection id "0HMP8LCEV8K20" disconnecting.
2023-03-19 14:54:02.752 -04:00 [DBG] Connection id "0HMP8LCEV8K20" stopped.
2023-03-19 14:54:02.752 -04:00 [DBG] Connection id "0HMP8LCEV8K20" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 14:54:02.754 -04:00 [DBG] Hosting stopped
2023-03-19 14:54:04.417 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 14:54:04.535 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 14:54:04.593 -04:00 [DBG] Hosting starting
2023-03-19 14:54:04.608 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 14:54:04.608 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 14:54:04.609 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 14:54:04.609 -04:00 [INF] Hosting environment: Development
2023-03-19 14:54:04.609 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 14:54:04.609 -04:00 [DBG] Hosting started
2023-03-19 14:54:11.178 -04:00 [DBG] Connection id "0HMP8LD9R4V41" received FIN.
2023-03-19 14:54:11.182 -04:00 [DBG] Connection id "0HMP8LD9R4V41" accepted.
2023-03-19 14:54:11.182 -04:00 [DBG] Connection id "0HMP8LD9R4V41" started.
2023-03-19 14:54:11.184 -04:00 [DBG] Connection id "0HMP8LD9R4V42" accepted.
2023-03-19 14:54:11.184 -04:00 [DBG] Connection id "0HMP8LD9R4V42" started.
2023-03-19 14:54:11.189 -04:00 [DBG] Connection id "0HMP8LD9R4V41" sending FIN because: "The client closed the connection."
2023-03-19 14:54:11.192 -04:00 [DBG] Connection id "0HMP8LD9R4V41" disconnecting.
2023-03-19 14:54:11.192 -04:00 [DBG] Connection id "0HMP8LD9R4V41" stopped.
2023-03-19 14:54:11.209 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 14:54:11.211 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 14:54:11.237 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 14:54:11.239 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 14:54:11.239 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 14:54:11.243 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 14:54:11.247 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 14:54:11.248 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 14:54:11.266 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 14:54:11.267 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 14:54:11.267 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 14:54:11.268 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 14:54:11.268 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 14:54:11.268 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 14:54:11.269 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 14:54:11.269 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 14:54:11.271 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 14:54:11.273 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 14:54:11.273 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 14:54:11.273 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 14:54:11.276 -04:00 [DBG] Connection id "0HMP8LD9R4V42", Request id "0HMP8LD9R4V42:00000001": started reading request body.
2023-03-19 14:54:11.276 -04:00 [DBG] Connection id "0HMP8LD9R4V42", Request id "0HMP8LD9R4V42:00000001": done reading request body.
2023-03-19 14:54:11.313 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 14:54:11.313 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 14:54:11.313 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 14:54:11.316 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 14:54:11.328 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 14:54:11.907 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 637.3862ms
2023-03-19 14:54:11.908 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 14:54:11.916 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:37d46a4b-833c-4e08-afba-6437234596ff
Error Number:-2146893019,State:0,Class:20
2023-03-19 14:54:11.921 -04:00 [DBG] Connection id "0HMP8LD9R4V42" completed keep alive response.
2023-03-19 14:54:11.922 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 715.4672ms
2023-03-19 14:56:22.623 -04:00 [DBG] Connection id "0HMP8LD9R4V42" disconnecting.
2023-03-19 14:56:22.624 -04:00 [DBG] Connection id "0HMP8LD9R4V42" stopped.
2023-03-19 14:56:22.624 -04:00 [DBG] Connection id "0HMP8LD9R4V42" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 14:57:06.691 -04:00 [INF] Application is shutting down...
2023-03-19 14:57:06.692 -04:00 [DBG] Hosting stopping
2023-03-19 14:57:06.698 -04:00 [DBG] Hosting stopped
2023-03-19 14:57:08.528 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 14:57:08.643 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 14:57:08.699 -04:00 [DBG] Hosting starting
2023-03-19 14:57:08.715 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 14:57:08.715 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 14:57:08.715 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 14:57:08.716 -04:00 [INF] Hosting environment: Development
2023-03-19 14:57:08.716 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 14:57:08.716 -04:00 [DBG] Hosting started
2023-03-19 14:57:12.463 -04:00 [DBG] Connection id "0HMP8LEVS0MTF" received FIN.
2023-03-19 14:57:12.466 -04:00 [DBG] Connection id "0HMP8LEVS0MTF" accepted.
2023-03-19 14:57:12.466 -04:00 [DBG] Connection id "0HMP8LEVS0MTF" started.
2023-03-19 14:57:12.468 -04:00 [DBG] Connection id "0HMP8LEVS0MTG" accepted.
2023-03-19 14:57:12.468 -04:00 [DBG] Connection id "0HMP8LEVS0MTG" started.
2023-03-19 14:57:12.474 -04:00 [DBG] Connection id "0HMP8LEVS0MTF" sending FIN because: "The client closed the connection."
2023-03-19 14:57:12.477 -04:00 [DBG] Connection id "0HMP8LEVS0MTF" disconnecting.
2023-03-19 14:57:12.477 -04:00 [DBG] Connection id "0HMP8LEVS0MTF" stopped.
2023-03-19 14:57:12.488 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 14:57:12.489 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 14:57:12.508 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 14:57:12.510 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 14:57:12.511 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 14:57:12.515 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 14:57:12.519 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 14:57:12.519 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 14:57:12.537 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 14:57:12.538 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 14:57:12.538 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 14:57:12.539 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 14:57:12.539 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 14:57:12.539 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 14:57:12.540 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 14:57:12.540 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 14:57:12.542 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 14:57:12.543 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 14:57:12.544 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 14:57:12.544 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 14:57:12.547 -04:00 [DBG] Connection id "0HMP8LEVS0MTG", Request id "0HMP8LEVS0MTG:00000001": started reading request body.
2023-03-19 14:57:12.547 -04:00 [DBG] Connection id "0HMP8LEVS0MTG", Request id "0HMP8LEVS0MTG:00000001": done reading request body.
2023-03-19 14:57:12.582 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 14:57:12.583 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 14:57:12.583 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 14:57:12.585 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 14:57:12.597 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 14:57:13.166 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 624.9899ms
2023-03-19 14:57:13.166 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 14:57:13.174 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:af0cd30b-4371-44e3-99de-864eddd69537
Error Number:-2146893019,State:0,Class:20
2023-03-19 14:57:13.179 -04:00 [DBG] Connection id "0HMP8LEVS0MTG" completed keep alive response.
2023-03-19 14:57:13.180 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 693.9180ms
2023-03-19 14:59:23.733 -04:00 [DBG] Connection id "0HMP8LEVS0MTG" disconnecting.
2023-03-19 14:59:23.733 -04:00 [DBG] Connection id "0HMP8LEVS0MTG" stopped.
2023-03-19 14:59:23.734 -04:00 [DBG] Connection id "0HMP8LEVS0MTG" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 15:10:23.256 -04:00 [INF] Application is shutting down...
2023-03-19 15:10:23.256 -04:00 [DBG] Hosting stopping
2023-03-19 15:10:23.261 -04:00 [DBG] Hosting stopped
2023-03-19 15:10:26.178 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 15:10:26.292 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 15:10:26.346 -04:00 [DBG] Hosting starting
2023-03-19 15:10:26.361 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 15:10:26.361 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 15:10:26.361 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 15:10:26.362 -04:00 [INF] Hosting environment: Development
2023-03-19 15:10:26.362 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 15:10:26.362 -04:00 [DBG] Hosting started
2023-03-19 15:10:31.856 -04:00 [DBG] Connection id "0HMP8LME3K5IS" received FIN.
2023-03-19 15:10:31.860 -04:00 [DBG] Connection id "0HMP8LME3K5IS" accepted.
2023-03-19 15:10:31.860 -04:00 [DBG] Connection id "0HMP8LME3K5IS" started.
2023-03-19 15:10:31.861 -04:00 [DBG] Connection id "0HMP8LME3K5IT" accepted.
2023-03-19 15:10:31.861 -04:00 [DBG] Connection id "0HMP8LME3K5IT" started.
2023-03-19 15:10:31.866 -04:00 [DBG] Connection id "0HMP8LME3K5IS" sending FIN because: "The client closed the connection."
2023-03-19 15:10:31.869 -04:00 [DBG] Connection id "0HMP8LME3K5IS" disconnecting.
2023-03-19 15:10:31.869 -04:00 [DBG] Connection id "0HMP8LME3K5IS" stopped.
2023-03-19 15:10:31.885 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 15:10:31.888 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 15:10:31.913 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 15:10:31.915 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 15:10:31.916 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:10:31.920 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 15:10:31.924 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 15:10:31.924 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:10:31.942 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 15:10:31.943 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 15:10:31.943 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 15:10:31.943 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 15:10:31.943 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 15:10:31.943 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 15:10:31.944 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:10:31.944 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:10:31.947 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:10:31.948 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 15:10:31.948 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 15:10:31.948 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 15:10:31.951 -04:00 [DBG] Connection id "0HMP8LME3K5IT", Request id "0HMP8LME3K5IT:00000001": started reading request body.
2023-03-19 15:10:31.951 -04:00 [DBG] Connection id "0HMP8LME3K5IT", Request id "0HMP8LME3K5IT:00000001": done reading request body.
2023-03-19 15:10:31.987 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:10:31.987 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:10:31.987 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:10:31.990 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:10:32.002 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 15:10:32.567 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 621.3772ms
2023-03-19 15:10:32.567 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:10:32.575 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:3ae3fd15-9250-4406-973d-e5c83c7f0b79
Error Number:-2146893019,State:0,Class:20
2023-03-19 15:10:32.580 -04:00 [DBG] Connection id "0HMP8LME3K5IT" completed keep alive response.
2023-03-19 15:10:32.581 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 697.3229ms
2023-03-19 15:12:43.377 -04:00 [DBG] Connection id "0HMP8LME3K5IT" disconnecting.
2023-03-19 15:12:43.378 -04:00 [DBG] Connection id "0HMP8LME3K5IT" stopped.
2023-03-19 15:12:43.378 -04:00 [DBG] Connection id "0HMP8LME3K5IT" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 15:12:46.532 -04:00 [INF] Application is shutting down...
2023-03-19 15:12:46.532 -04:00 [DBG] Hosting stopping
2023-03-19 15:12:46.536 -04:00 [DBG] Hosting stopped
2023-03-19 15:12:49.256 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 15:12:49.367 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 15:12:49.446 -04:00 [DBG] Hosting starting
2023-03-19 15:12:49.461 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 15:12:49.461 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 15:12:49.462 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 15:12:49.462 -04:00 [INF] Hosting environment: Development
2023-03-19 15:12:49.462 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 15:12:49.462 -04:00 [DBG] Hosting started
2023-03-19 15:12:54.442 -04:00 [DBG] Connection id "0HMP8LNOJDSR8" received FIN.
2023-03-19 15:12:54.445 -04:00 [DBG] Connection id "0HMP8LNOJDSR8" accepted.
2023-03-19 15:12:54.445 -04:00 [DBG] Connection id "0HMP8LNOJDSR8" started.
2023-03-19 15:12:54.446 -04:00 [DBG] Connection id "0HMP8LNOJDSR9" accepted.
2023-03-19 15:12:54.446 -04:00 [DBG] Connection id "0HMP8LNOJDSR9" started.
2023-03-19 15:12:54.453 -04:00 [DBG] Connection id "0HMP8LNOJDSR8" sending FIN because: "The client closed the connection."
2023-03-19 15:12:54.456 -04:00 [DBG] Connection id "0HMP8LNOJDSR8" disconnecting.
2023-03-19 15:12:54.456 -04:00 [DBG] Connection id "0HMP8LNOJDSR8" stopped.
2023-03-19 15:12:54.472 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 15:12:54.475 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 15:12:54.500 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 15:12:54.502 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 15:12:54.502 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:12:54.506 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 15:12:54.510 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 15:12:54.511 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:12:54.528 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 15:12:54.529 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 15:12:54.529 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 15:12:54.529 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 15:12:54.530 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 15:12:54.530 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 15:12:54.530 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:12:54.531 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:12:54.533 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:12:54.534 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 15:12:54.535 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 15:12:54.535 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 15:12:54.537 -04:00 [DBG] Connection id "0HMP8LNOJDSR9", Request id "0HMP8LNOJDSR9:00000001": started reading request body.
2023-03-19 15:12:54.538 -04:00 [DBG] Connection id "0HMP8LNOJDSR9", Request id "0HMP8LNOJDSR9:00000001": done reading request body.
2023-03-19 15:12:54.572 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:12:54.572 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:12:54.573 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:12:54.575 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:12:54.586 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 15:12:55.154 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 622.6799ms
2023-03-19 15:12:55.155 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:12:55.163 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:ed8241d3-9ba4-4126-9ff6-251637241a49
Error Number:-2146893019,State:0,Class:20
2023-03-19 15:12:55.169 -04:00 [DBG] Connection id "0HMP8LNOJDSR9" completed keep alive response.
2023-03-19 15:12:55.169 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 699.0880ms
2023-03-19 15:15:05.477 -04:00 [DBG] Connection id "0HMP8LNOJDSR9" disconnecting.
2023-03-19 15:15:05.478 -04:00 [DBG] Connection id "0HMP8LNOJDSR9" stopped.
2023-03-19 15:15:05.478 -04:00 [DBG] Connection id "0HMP8LNOJDSR9" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 15:17:53.272 -04:00 [INF] Application is shutting down...
2023-03-19 15:17:53.273 -04:00 [DBG] Hosting stopping
2023-03-19 15:17:53.276 -04:00 [DBG] Hosting stopped
2023-03-19 15:17:56.262 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 15:17:56.380 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 15:17:56.439 -04:00 [DBG] Hosting starting
2023-03-19 15:17:56.455 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 15:17:56.455 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 15:17:56.455 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 15:17:56.455 -04:00 [INF] Hosting environment: Development
2023-03-19 15:17:56.455 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 15:17:56.456 -04:00 [DBG] Hosting started
2023-03-19 15:18:02.145 -04:00 [DBG] Connection id "0HMP8LQK9TJ56" received FIN.
2023-03-19 15:18:02.149 -04:00 [DBG] Connection id "0HMP8LQK9TJ56" accepted.
2023-03-19 15:18:02.149 -04:00 [DBG] Connection id "0HMP8LQK9TJ56" started.
2023-03-19 15:18:02.151 -04:00 [DBG] Connection id "0HMP8LQK9TJ57" accepted.
2023-03-19 15:18:02.151 -04:00 [DBG] Connection id "0HMP8LQK9TJ57" started.
2023-03-19 15:18:02.157 -04:00 [DBG] Connection id "0HMP8LQK9TJ56" sending FIN because: "The client closed the connection."
2023-03-19 15:18:02.160 -04:00 [DBG] Connection id "0HMP8LQK9TJ56" disconnecting.
2023-03-19 15:18:02.161 -04:00 [DBG] Connection id "0HMP8LQK9TJ56" stopped.
2023-03-19 15:18:02.171 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 15:18:02.173 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 15:18:02.192 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 15:18:02.194 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 15:18:02.195 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:18:02.199 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 15:18:02.203 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 15:18:02.203 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:18:02.221 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 15:18:02.222 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 15:18:02.222 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 15:18:02.223 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 15:18:02.223 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 15:18:02.223 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 15:18:02.224 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:18:02.224 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:18:02.226 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:18:02.227 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 15:18:02.228 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 15:18:02.228 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 15:18:02.231 -04:00 [DBG] Connection id "0HMP8LQK9TJ57", Request id "0HMP8LQK9TJ57:00000001": started reading request body.
2023-03-19 15:18:02.231 -04:00 [DBG] Connection id "0HMP8LQK9TJ57", Request id "0HMP8LQK9TJ57:00000001": done reading request body.
2023-03-19 15:18:02.267 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:18:02.267 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:18:02.267 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:18:02.270 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:18:02.282 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 15:18:02.855 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 629.9399ms
2023-03-19 15:18:02.855 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:18:02.863 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:6dda8fc2-5d09-41d3-9805-d61403dbd969
Error Number:-2146893019,State:0,Class:20
2023-03-19 15:18:02.868 -04:00 [DBG] Connection id "0HMP8LQK9TJ57" completed keep alive response.
2023-03-19 15:18:02.869 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 699.6496ms
2023-03-19 15:20:00.988 -04:00 [INF] Application is shutting down...
2023-03-19 15:20:00.989 -04:00 [DBG] Hosting stopping
2023-03-19 15:20:00.994 -04:00 [DBG] Connection id "0HMP8LQK9TJ57" disconnecting.
2023-03-19 15:20:00.995 -04:00 [DBG] Connection id "0HMP8LQK9TJ57" stopped.
2023-03-19 15:20:00.995 -04:00 [DBG] Connection id "0HMP8LQK9TJ57" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 15:20:00.997 -04:00 [DBG] Hosting stopped
2023-03-19 15:20:03.762 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 15:20:03.874 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 15:20:03.932 -04:00 [DBG] Hosting starting
2023-03-19 15:20:03.947 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 15:20:03.947 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 15:20:03.948 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 15:20:03.948 -04:00 [INF] Hosting environment: Development
2023-03-19 15:20:03.948 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 15:20:03.948 -04:00 [DBG] Hosting started
2023-03-19 15:20:05.208 -04:00 [DBG] Connection id "0HMP8LROVHB83" received FIN.
2023-03-19 15:20:05.212 -04:00 [DBG] Connection id "0HMP8LROVHB83" accepted.
2023-03-19 15:20:05.212 -04:00 [DBG] Connection id "0HMP8LROVHB83" started.
2023-03-19 15:20:05.214 -04:00 [DBG] Connection id "0HMP8LROVHB84" accepted.
2023-03-19 15:20:05.214 -04:00 [DBG] Connection id "0HMP8LROVHB84" started.
2023-03-19 15:20:05.219 -04:00 [DBG] Connection id "0HMP8LROVHB83" sending FIN because: "The client closed the connection."
2023-03-19 15:20:05.223 -04:00 [DBG] Connection id "0HMP8LROVHB83" disconnecting.
2023-03-19 15:20:05.224 -04:00 [DBG] Connection id "0HMP8LROVHB83" stopped.
2023-03-19 15:20:05.234 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 15:20:05.236 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 15:20:05.255 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 15:20:05.258 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 15:20:05.258 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:20:05.263 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 15:20:05.267 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 15:20:05.267 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:20:05.285 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 15:20:05.285 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 15:20:05.286 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 15:20:05.286 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 15:20:05.286 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 15:20:05.286 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 15:20:05.287 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:20:05.287 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:20:05.289 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:20:05.290 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 15:20:05.291 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 15:20:05.291 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 15:20:05.294 -04:00 [DBG] Connection id "0HMP8LROVHB84", Request id "0HMP8LROVHB84:00000001": started reading request body.
2023-03-19 15:20:05.294 -04:00 [DBG] Connection id "0HMP8LROVHB84", Request id "0HMP8LROVHB84:00000001": done reading request body.
2023-03-19 15:20:05.328 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:20:05.329 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:20:05.329 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:20:05.331 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:20:05.342 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 15:20:05.891 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 603.1092ms
2023-03-19 15:20:05.892 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:20:05.900 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:6e15e89f-b275-4b91-804b-325e3b11c627
Error Number:-2146893019,State:0,Class:20
2023-03-19 15:20:05.904 -04:00 [DBG] Connection id "0HMP8LROVHB84" completed keep alive response.
2023-03-19 15:20:05.905 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 672.2144ms
2023-03-19 15:21:37.232 -04:00 [INF] Application is shutting down...
2023-03-19 15:21:37.233 -04:00 [DBG] Hosting stopping
2023-03-19 15:21:37.238 -04:00 [DBG] Connection id "0HMP8LROVHB84" disconnecting.
2023-03-19 15:21:37.239 -04:00 [DBG] Connection id "0HMP8LROVHB84" stopped.
2023-03-19 15:21:37.239 -04:00 [DBG] Connection id "0HMP8LROVHB84" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 15:21:37.241 -04:00 [DBG] Hosting stopped
2023-03-19 15:21:39.993 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 15:21:40.104 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 15:21:40.176 -04:00 [DBG] Hosting starting
2023-03-19 15:21:40.191 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 15:21:40.191 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 15:21:40.191 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 15:21:40.191 -04:00 [INF] Hosting environment: Development
2023-03-19 15:21:40.191 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 15:21:40.191 -04:00 [DBG] Hosting started
2023-03-19 15:21:44.338 -04:00 [DBG] Connection id "0HMP8LSMGTBLQ" received FIN.
2023-03-19 15:21:44.342 -04:00 [DBG] Connection id "0HMP8LSMGTBLQ" accepted.
2023-03-19 15:21:44.342 -04:00 [DBG] Connection id "0HMP8LSMGTBLQ" started.
2023-03-19 15:21:44.344 -04:00 [DBG] Connection id "0HMP8LSMGTBLR" accepted.
2023-03-19 15:21:44.344 -04:00 [DBG] Connection id "0HMP8LSMGTBLR" started.
2023-03-19 15:21:44.350 -04:00 [DBG] Connection id "0HMP8LSMGTBLQ" sending FIN because: "The client closed the connection."
2023-03-19 15:21:44.353 -04:00 [DBG] Connection id "0HMP8LSMGTBLQ" disconnecting.
2023-03-19 15:21:44.353 -04:00 [DBG] Connection id "0HMP8LSMGTBLQ" stopped.
2023-03-19 15:21:44.363 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 15:21:44.364 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 15:21:44.384 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 15:21:44.386 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 15:21:44.386 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:21:44.390 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 15:21:44.394 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 15:21:44.395 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:21:44.412 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 15:21:44.413 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 15:21:44.413 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 15:21:44.414 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 15:21:44.414 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 15:21:44.414 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 15:21:44.415 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:21:44.415 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:21:44.417 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:21:44.419 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 15:21:44.419 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 15:21:44.419 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 15:21:44.422 -04:00 [DBG] Connection id "0HMP8LSMGTBLR", Request id "0HMP8LSMGTBLR:00000001": started reading request body.
2023-03-19 15:21:44.422 -04:00 [DBG] Connection id "0HMP8LSMGTBLR", Request id "0HMP8LSMGTBLR:00000001": done reading request body.
2023-03-19 15:21:44.457 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:21:44.458 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:21:44.458 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:21:44.460 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:21:44.472 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 15:21:45.027 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 611.2532ms
2023-03-19 15:21:45.028 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:21:45.036 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:73a6efdc-d2cd-410d-9607-a69f7333b76b
Error Number:-2146893019,State:0,Class:20
2023-03-19 15:21:45.041 -04:00 [DBG] Connection id "0HMP8LSMGTBLR" completed keep alive response.
2023-03-19 15:21:45.041 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 679.7973ms
2023-03-19 15:22:36.120 -04:00 [INF] Application is shutting down...
2023-03-19 15:22:36.121 -04:00 [DBG] Hosting stopping
2023-03-19 15:22:36.126 -04:00 [DBG] Connection id "0HMP8LSMGTBLR" disconnecting.
2023-03-19 15:22:36.127 -04:00 [DBG] Connection id "0HMP8LSMGTBLR" stopped.
2023-03-19 15:22:36.127 -04:00 [DBG] Connection id "0HMP8LSMGTBLR" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 15:22:36.129 -04:00 [DBG] Hosting stopped
2023-03-19 15:22:38.861 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 15:22:38.978 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 15:22:39.026 -04:00 [DBG] Hosting starting
2023-03-19 15:22:39.041 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 15:22:39.041 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 15:22:39.042 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 15:22:39.042 -04:00 [INF] Hosting environment: Development
2023-03-19 15:22:39.042 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 15:22:39.042 -04:00 [DBG] Hosting started
2023-03-19 15:22:43.467 -04:00 [DBG] Connection id "0HMP8LT84Q3QG" received FIN.
2023-03-19 15:22:43.470 -04:00 [DBG] Connection id "0HMP8LT84Q3QG" accepted.
2023-03-19 15:22:43.470 -04:00 [DBG] Connection id "0HMP8LT84Q3QG" started.
2023-03-19 15:22:43.471 -04:00 [DBG] Connection id "0HMP8LT84Q3QH" accepted.
2023-03-19 15:22:43.471 -04:00 [DBG] Connection id "0HMP8LT84Q3QH" started.
2023-03-19 15:22:43.476 -04:00 [DBG] Connection id "0HMP8LT84Q3QG" sending FIN because: "The client closed the connection."
2023-03-19 15:22:43.479 -04:00 [DBG] Connection id "0HMP8LT84Q3QG" disconnecting.
2023-03-19 15:22:43.480 -04:00 [DBG] Connection id "0HMP8LT84Q3QG" stopped.
2023-03-19 15:22:43.490 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 15:22:43.492 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 15:22:43.511 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 15:22:43.513 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 15:22:43.513 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:22:43.517 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 15:22:43.521 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 15:22:43.522 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:22:43.540 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 15:22:43.540 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 15:22:43.541 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 15:22:43.541 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 15:22:43.541 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 15:22:43.541 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 15:22:43.542 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:22:43.542 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:22:43.544 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:22:43.545 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 15:22:43.546 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 15:22:43.546 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 15:22:43.549 -04:00 [DBG] Connection id "0HMP8LT84Q3QH", Request id "0HMP8LT84Q3QH:00000001": started reading request body.
2023-03-19 15:22:43.549 -04:00 [DBG] Connection id "0HMP8LT84Q3QH", Request id "0HMP8LT84Q3QH:00000001": done reading request body.
2023-03-19 15:22:43.585 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:22:43.585 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:22:43.585 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:22:43.588 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:22:43.599 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 15:22:44.169 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 625.7024ms
2023-03-19 15:22:44.169 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:22:44.177 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:f36c4ea9-b028-4b5e-9c62-049fdefe2a43
Error Number:-2146893019,State:0,Class:20
2023-03-19 15:22:44.182 -04:00 [DBG] Connection id "0HMP8LT84Q3QH" completed keep alive response.
2023-03-19 15:22:44.183 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 694.1187ms
2023-03-19 15:22:50.264 -04:00 [INF] Application is shutting down...
2023-03-19 15:22:50.265 -04:00 [DBG] Hosting stopping
2023-03-19 15:22:50.271 -04:00 [DBG] Connection id "0HMP8LT84Q3QH" disconnecting.
2023-03-19 15:22:50.271 -04:00 [DBG] Connection id "0HMP8LT84Q3QH" stopped.
2023-03-19 15:22:50.272 -04:00 [DBG] Connection id "0HMP8LT84Q3QH" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 15:22:50.273 -04:00 [DBG] Hosting stopped
2023-03-19 15:22:54.490 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 15:22:54.608 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 15:22:54.679 -04:00 [DBG] Hosting starting
2023-03-19 15:22:54.695 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 15:22:54.695 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 15:22:54.696 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 15:22:54.696 -04:00 [INF] Hosting environment: Development
2023-03-19 15:22:54.696 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 15:22:54.696 -04:00 [DBG] Hosting started
2023-03-19 15:23:16.088 -04:00 [INF] Application is shutting down...
2023-03-19 15:23:16.089 -04:00 [DBG] Hosting stopping
2023-03-19 15:23:16.096 -04:00 [DBG] Hosting stopped
2023-03-19 15:23:19.472 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 15:23:19.588 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 15:23:19.646 -04:00 [DBG] Hosting starting
2023-03-19 15:23:19.661 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 15:23:19.661 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 15:23:19.661 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 15:23:19.662 -04:00 [INF] Hosting environment: Development
2023-03-19 15:23:19.662 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 15:23:19.662 -04:00 [DBG] Hosting started
2023-03-19 15:23:29.347 -04:00 [DBG] Connection id "0HMP8LTLQBHMI" received FIN.
2023-03-19 15:23:29.350 -04:00 [DBG] Connection id "0HMP8LTLQBHMI" accepted.
2023-03-19 15:23:29.350 -04:00 [DBG] Connection id "0HMP8LTLQBHMI" started.
2023-03-19 15:23:29.351 -04:00 [DBG] Connection id "0HMP8LTLQBHMJ" accepted.
2023-03-19 15:23:29.351 -04:00 [DBG] Connection id "0HMP8LTLQBHMJ" started.
2023-03-19 15:23:29.357 -04:00 [DBG] Connection id "0HMP8LTLQBHMI" sending FIN because: "The client closed the connection."
2023-03-19 15:23:29.360 -04:00 [DBG] Connection id "0HMP8LTLQBHMI" disconnecting.
2023-03-19 15:23:29.360 -04:00 [DBG] Connection id "0HMP8LTLQBHMI" stopped.
2023-03-19 15:23:29.370 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 15:23:29.372 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 15:23:29.391 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 15:23:29.393 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 15:23:29.394 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:23:29.398 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 15:23:29.402 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 15:23:29.403 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:23:29.421 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 15:23:29.422 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 15:23:29.422 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 15:23:29.422 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 15:23:29.423 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 15:23:29.423 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 15:23:29.424 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:23:29.424 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:23:29.426 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:23:29.427 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 15:23:29.428 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 15:23:29.428 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 15:23:29.431 -04:00 [DBG] Connection id "0HMP8LTLQBHMJ", Request id "0HMP8LTLQBHMJ:00000001": started reading request body.
2023-03-19 15:23:29.431 -04:00 [DBG] Connection id "0HMP8LTLQBHMJ", Request id "0HMP8LTLQBHMJ:00000001": done reading request body.
2023-03-19 15:23:29.469 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:23:29.469 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:23:29.469 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:23:29.472 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:23:29.484 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 15:23:30.064 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 638.944ms
2023-03-19 15:23:30.064 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:23:30.072 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:4fc94780-52df-4a7a-b67b-bf6b0d7a1a0a
Error Number:-2146893019,State:0,Class:20
2023-03-19 15:23:30.077 -04:00 [DBG] Connection id "0HMP8LTLQBHMJ" completed keep alive response.
2023-03-19 15:23:30.078 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 708.9295ms
2023-03-19 15:24:03.296 -04:00 [INF] Application is shutting down...
2023-03-19 15:24:03.297 -04:00 [DBG] Hosting stopping
2023-03-19 15:24:03.303 -04:00 [DBG] Connection id "0HMP8LTLQBHMJ" disconnecting.
2023-03-19 15:24:03.303 -04:00 [DBG] Connection id "0HMP8LTLQBHMJ" stopped.
2023-03-19 15:24:03.303 -04:00 [DBG] Connection id "0HMP8LTLQBHMJ" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 15:24:03.306 -04:00 [DBG] Hosting stopped
2023-03-19 15:24:06.061 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 15:24:06.178 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 15:24:06.246 -04:00 [DBG] Hosting starting
2023-03-19 15:24:06.261 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 15:24:06.261 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 15:24:06.262 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 15:24:06.262 -04:00 [INF] Hosting environment: Development
2023-03-19 15:24:06.262 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 15:24:06.262 -04:00 [DBG] Hosting started
2023-03-19 15:24:08.059 -04:00 [DBG] Connection id "0HMP8LU1BHKLI" received FIN.
2023-03-19 15:24:08.063 -04:00 [DBG] Connection id "0HMP8LU1BHKLI" accepted.
2023-03-19 15:24:08.063 -04:00 [DBG] Connection id "0HMP8LU1BHKLI" started.
2023-03-19 15:24:08.065 -04:00 [DBG] Connection id "0HMP8LU1BHKLJ" accepted.
2023-03-19 15:24:08.065 -04:00 [DBG] Connection id "0HMP8LU1BHKLJ" started.
2023-03-19 15:24:08.070 -04:00 [DBG] Connection id "0HMP8LU1BHKLI" sending FIN because: "The client closed the connection."
2023-03-19 15:24:08.073 -04:00 [DBG] Connection id "0HMP8LU1BHKLI" disconnecting.
2023-03-19 15:24:08.073 -04:00 [DBG] Connection id "0HMP8LU1BHKLI" stopped.
2023-03-19 15:24:08.090 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 15:24:08.092 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 15:24:08.117 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 15:24:08.119 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 15:24:08.119 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:24:08.123 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 15:24:08.127 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 15:24:08.128 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:24:08.146 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 15:24:08.146 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 15:24:08.147 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 15:24:08.147 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 15:24:08.147 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 15:24:08.147 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 15:24:08.148 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:24:08.148 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:24:08.150 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:24:08.151 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 15:24:08.152 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 15:24:08.152 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 15:24:08.155 -04:00 [DBG] Connection id "0HMP8LU1BHKLJ", Request id "0HMP8LU1BHKLJ:00000001": started reading request body.
2023-03-19 15:24:08.155 -04:00 [DBG] Connection id "0HMP8LU1BHKLJ", Request id "0HMP8LU1BHKLJ:00000001": done reading request body.
2023-03-19 15:24:08.190 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:24:08.190 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:24:08.190 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:24:08.193 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:24:08.205 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 15:24:08.773 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 624.1155ms
2023-03-19 15:24:08.774 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:24:08.782 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:3c8fe722-0ebc-481d-bfe1-2f988a910d4c
Error Number:-2146893019,State:0,Class:20
2023-03-19 15:24:08.787 -04:00 [DBG] Connection id "0HMP8LU1BHKLJ" completed keep alive response.
2023-03-19 15:24:08.787 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 700.0167ms
2023-03-19 15:26:19.284 -04:00 [DBG] Connection id "0HMP8LU1BHKLJ" disconnecting.
2023-03-19 15:26:19.285 -04:00 [DBG] Connection id "0HMP8LU1BHKLJ" stopped.
2023-03-19 15:26:19.285 -04:00 [DBG] Connection id "0HMP8LU1BHKLJ" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 15:32:44.884 -04:00 [INF] Application is shutting down...
2023-03-19 15:32:44.885 -04:00 [DBG] Hosting stopping
2023-03-19 15:32:44.889 -04:00 [DBG] Hosting stopped
2023-03-19 15:33:01.563 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 15:33:01.683 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 15:33:01.743 -04:00 [DBG] Hosting starting
2023-03-19 15:33:01.758 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 15:33:01.758 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 15:33:01.758 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 15:33:01.759 -04:00 [INF] Hosting environment: Development
2023-03-19 15:33:01.759 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 15:33:01.759 -04:00 [DBG] Hosting started
2023-03-19 15:33:07.181 -04:00 [DBG] Connection id "0HMP8M3210JV1" received FIN.
2023-03-19 15:33:07.184 -04:00 [DBG] Connection id "0HMP8M3210JV1" accepted.
2023-03-19 15:33:07.185 -04:00 [DBG] Connection id "0HMP8M3210JV1" started.
2023-03-19 15:33:07.186 -04:00 [DBG] Connection id "0HMP8M3210JV2" accepted.
2023-03-19 15:33:07.186 -04:00 [DBG] Connection id "0HMP8M3210JV2" started.
2023-03-19 15:33:07.192 -04:00 [DBG] Connection id "0HMP8M3210JV1" sending FIN because: "The client closed the connection."
2023-03-19 15:33:07.195 -04:00 [DBG] Connection id "0HMP8M3210JV1" disconnecting.
2023-03-19 15:33:07.195 -04:00 [DBG] Connection id "0HMP8M3210JV1" stopped.
2023-03-19 15:33:07.205 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 15:33:07.206 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 15:33:07.225 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 15:33:07.227 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 15:33:07.227 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:33:07.231 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 15:33:07.235 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 15:33:07.236 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:33:07.253 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 15:33:07.254 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 15:33:07.254 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 15:33:07.254 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 15:33:07.255 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 15:33:07.255 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 15:33:07.256 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:33:07.256 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:33:07.258 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:33:07.259 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 15:33:07.260 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 15:33:07.260 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 15:33:07.263 -04:00 [DBG] Connection id "0HMP8M3210JV2", Request id "0HMP8M3210JV2:00000001": started reading request body.
2023-03-19 15:33:07.263 -04:00 [DBG] Connection id "0HMP8M3210JV2", Request id "0HMP8M3210JV2:00000001": done reading request body.
2023-03-19 15:33:07.297 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:33:07.297 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:33:07.298 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:33:07.300 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:33:07.311 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 15:33:07.867 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 609.985ms
2023-03-19 15:33:07.867 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:33:07.875 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:26321ac8-1311-4475-a1fe-22923ac2890e
Error Number:-2146893019,State:0,Class:20
2023-03-19 15:33:07.880 -04:00 [DBG] Connection id "0HMP8M3210JV2" completed keep alive response.
2023-03-19 15:33:07.881 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 677.3111ms
2023-03-19 15:34:16.032 -04:00 [INF] Application is shutting down...
2023-03-19 15:34:16.033 -04:00 [DBG] Hosting stopping
2023-03-19 15:34:16.038 -04:00 [DBG] Connection id "0HMP8M3210JV2" disconnecting.
2023-03-19 15:34:16.039 -04:00 [DBG] Connection id "0HMP8M3210JV2" stopped.
2023-03-19 15:34:16.039 -04:00 [DBG] Connection id "0HMP8M3210JV2" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 15:34:16.041 -04:00 [DBG] Hosting stopped
2023-03-19 15:34:17.774 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 15:34:17.889 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 15:34:17.953 -04:00 [DBG] Hosting starting
2023-03-19 15:34:17.968 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 15:34:17.968 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 15:34:17.968 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 15:34:17.968 -04:00 [INF] Hosting environment: Development
2023-03-19 15:34:17.969 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 15:34:17.969 -04:00 [DBG] Hosting started
2023-03-19 15:34:21.812 -04:00 [DBG] Connection id "0HMP8M3O8NTVE" received FIN.
2023-03-19 15:34:21.815 -04:00 [DBG] Connection id "0HMP8M3O8NTVE" accepted.
2023-03-19 15:34:21.816 -04:00 [DBG] Connection id "0HMP8M3O8NTVE" started.
2023-03-19 15:34:21.817 -04:00 [DBG] Connection id "0HMP8M3O8NTVF" accepted.
2023-03-19 15:34:21.817 -04:00 [DBG] Connection id "0HMP8M3O8NTVF" started.
2023-03-19 15:34:21.822 -04:00 [DBG] Connection id "0HMP8M3O8NTVE" sending FIN because: "The client closed the connection."
2023-03-19 15:34:21.825 -04:00 [DBG] Connection id "0HMP8M3O8NTVE" disconnecting.
2023-03-19 15:34:21.826 -04:00 [DBG] Connection id "0HMP8M3O8NTVE" stopped.
2023-03-19 15:34:21.836 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 15:34:21.837 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 15:34:21.857 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 15:34:21.859 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 15:34:21.860 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:34:21.864 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 15:34:21.868 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 15:34:21.868 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:34:21.887 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 15:34:21.888 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 15:34:21.888 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 15:34:21.888 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 15:34:21.888 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 15:34:21.889 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 15:34:21.889 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:34:21.890 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:34:21.892 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:34:21.893 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 15:34:21.894 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 15:34:21.894 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 15:34:21.897 -04:00 [DBG] Connection id "0HMP8M3O8NTVF", Request id "0HMP8M3O8NTVF:00000001": started reading request body.
2023-03-19 15:34:21.897 -04:00 [DBG] Connection id "0HMP8M3O8NTVF", Request id "0HMP8M3O8NTVF:00000001": done reading request body.
2023-03-19 15:34:21.934 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:34:21.934 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:34:21.934 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:34:21.937 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:34:21.949 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 15:34:22.534 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 643.4972ms
2023-03-19 15:34:22.535 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:34:22.543 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:2f484625-780b-4738-90e2-4a7b517b7ab3
Error Number:-2146893019,State:0,Class:20
2023-03-19 15:34:22.548 -04:00 [DBG] Connection id "0HMP8M3O8NTVF" completed keep alive response.
2023-03-19 15:34:22.549 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 714.4642ms
2023-03-19 15:36:32.988 -04:00 [DBG] Connection id "0HMP8M3O8NTVF" disconnecting.
2023-03-19 15:36:32.989 -04:00 [DBG] Connection id "0HMP8M3O8NTVF" stopped.
2023-03-19 15:36:32.989 -04:00 [DBG] Connection id "0HMP8M3O8NTVF" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 15:36:57.768 -04:00 [INF] Application is shutting down...
2023-03-19 15:36:57.769 -04:00 [DBG] Hosting stopping
2023-03-19 15:36:57.773 -04:00 [DBG] Hosting stopped
2023-03-19 15:38:15.567 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 15:38:15.678 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 15:38:15.746 -04:00 [DBG] Hosting starting
2023-03-19 15:38:15.760 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 15:38:15.760 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 15:38:15.760 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 15:38:15.761 -04:00 [INF] Hosting environment: Development
2023-03-19 15:38:15.761 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 15:38:15.761 -04:00 [DBG] Hosting started
2023-03-19 15:38:19.602 -04:00 [DBG] Connection id "0HMP8M5V4FT4K" received FIN.
2023-03-19 15:38:19.606 -04:00 [DBG] Connection id "0HMP8M5V4FT4K" accepted.
2023-03-19 15:38:19.606 -04:00 [DBG] Connection id "0HMP8M5V4FT4K" started.
2023-03-19 15:38:19.608 -04:00 [DBG] Connection id "0HMP8M5V4FT4L" accepted.
2023-03-19 15:38:19.608 -04:00 [DBG] Connection id "0HMP8M5V4FT4L" started.
2023-03-19 15:38:19.613 -04:00 [DBG] Connection id "0HMP8M5V4FT4K" sending FIN because: "The client closed the connection."
2023-03-19 15:38:19.616 -04:00 [DBG] Connection id "0HMP8M5V4FT4K" disconnecting.
2023-03-19 15:38:19.616 -04:00 [DBG] Connection id "0HMP8M5V4FT4K" stopped.
2023-03-19 15:38:19.626 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 15:38:19.627 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 15:38:19.647 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 15:38:19.649 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 15:38:19.649 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:38:19.653 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 15:38:19.658 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 15:38:19.658 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:38:19.677 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 15:38:19.678 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 15:38:19.678 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 15:38:19.678 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 15:38:19.678 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 15:38:19.679 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 15:38:19.679 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:38:19.680 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:38:19.682 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:38:19.684 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 15:38:19.684 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 15:38:19.685 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 15:38:19.688 -04:00 [DBG] Connection id "0HMP8M5V4FT4L", Request id "0HMP8M5V4FT4L:00000001": started reading request body.
2023-03-19 15:38:19.688 -04:00 [DBG] Connection id "0HMP8M5V4FT4L", Request id "0HMP8M5V4FT4L:00000001": done reading request body.
2023-03-19 15:38:19.724 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:38:19.724 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:38:19.724 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:38:19.727 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:38:19.738 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 15:38:20.294 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 613.0589ms
2023-03-19 15:38:20.294 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:38:20.302 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:9e85a686-1d64-48e9-b42b-f2ce3c4b4962
Error Number:-2146893019,State:0,Class:20
2023-03-19 15:38:20.307 -04:00 [DBG] Connection id "0HMP8M5V4FT4L" completed keep alive response.
2023-03-19 15:38:20.308 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 683.4796ms
2023-03-19 15:40:30.778 -04:00 [DBG] Connection id "0HMP8M5V4FT4L" disconnecting.
2023-03-19 15:40:30.778 -04:00 [DBG] Connection id "0HMP8M5V4FT4L" stopped.
2023-03-19 15:40:30.779 -04:00 [DBG] Connection id "0HMP8M5V4FT4L" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 15:42:21.582 -04:00 [INF] Application is shutting down...
2023-03-19 15:42:21.582 -04:00 [DBG] Hosting stopping
2023-03-19 15:42:21.586 -04:00 [DBG] Hosting stopped
2023-03-19 15:42:23.491 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 15:42:23.602 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 15:42:23.662 -04:00 [DBG] Hosting starting
2023-03-19 15:42:23.677 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 15:42:23.677 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 15:42:23.677 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 15:42:23.677 -04:00 [INF] Hosting environment: Development
2023-03-19 15:42:23.677 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 15:42:23.677 -04:00 [DBG] Hosting started
2023-03-19 15:42:34.959 -04:00 [DBG] Connection id "0HMP8M8B7OIC8" received FIN.
2023-03-19 15:42:34.962 -04:00 [DBG] Connection id "0HMP8M8B7OIC8" accepted.
2023-03-19 15:42:34.963 -04:00 [DBG] Connection id "0HMP8M8B7OIC8" started.
2023-03-19 15:42:34.964 -04:00 [DBG] Connection id "0HMP8M8B7OIC9" accepted.
2023-03-19 15:42:34.964 -04:00 [DBG] Connection id "0HMP8M8B7OIC9" started.
2023-03-19 15:42:34.969 -04:00 [DBG] Connection id "0HMP8M8B7OIC8" sending FIN because: "The client closed the connection."
2023-03-19 15:42:34.972 -04:00 [DBG] Connection id "0HMP8M8B7OIC8" disconnecting.
2023-03-19 15:42:34.972 -04:00 [DBG] Connection id "0HMP8M8B7OIC8" stopped.
2023-03-19 15:42:34.988 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 15:42:34.990 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 15:42:35.010 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 15:42:35.012 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 15:42:35.012 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:42:35.016 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 15:42:35.020 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 15:42:35.021 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:42:35.038 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 15:42:35.038 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 15:42:35.039 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 15:42:35.039 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 15:42:35.039 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 15:42:35.039 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 15:42:35.040 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:42:35.040 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:42:35.042 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:42:35.043 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 15:42:35.044 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 15:42:35.044 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 15:42:35.047 -04:00 [DBG] Connection id "0HMP8M8B7OIC9", Request id "0HMP8M8B7OIC9:00000001": started reading request body.
2023-03-19 15:42:35.047 -04:00 [DBG] Connection id "0HMP8M8B7OIC9", Request id "0HMP8M8B7OIC9:00000001": done reading request body.
2023-03-19 15:42:35.080 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:42:35.081 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:42:35.081 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:42:35.083 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:42:35.094 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 15:42:35.643 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 602.0466ms
2023-03-19 15:42:35.643 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:42:35.651 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:5d8f08f8-567c-4d7d-8e35-843ca5803af7
Error Number:-2146893019,State:0,Class:20
2023-03-19 15:42:35.656 -04:00 [DBG] Connection id "0HMP8M8B7OIC9" completed keep alive response.
2023-03-19 15:42:35.657 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 670.7667ms
2023-03-19 15:44:30.737 -04:00 [INF] Application is shutting down...
2023-03-19 15:44:30.737 -04:00 [DBG] Hosting stopping
2023-03-19 15:44:30.743 -04:00 [DBG] Connection id "0HMP8M8B7OIC9" disconnecting.
2023-03-19 15:44:30.744 -04:00 [DBG] Connection id "0HMP8M8B7OIC9" stopped.
2023-03-19 15:44:30.744 -04:00 [DBG] Connection id "0HMP8M8B7OIC9" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 15:44:30.746 -04:00 [DBG] Hosting stopped
2023-03-19 15:44:32.554 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 15:44:32.664 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 15:44:32.726 -04:00 [DBG] Hosting starting
2023-03-19 15:44:32.740 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 15:44:32.740 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 15:44:32.740 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 15:44:32.741 -04:00 [INF] Hosting environment: Development
2023-03-19 15:44:32.741 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 15:44:32.741 -04:00 [DBG] Hosting started
2023-03-19 15:44:53.641 -04:00 [INF] Application is shutting down...
2023-03-19 15:44:53.641 -04:00 [DBG] Hosting stopping
2023-03-19 15:44:53.648 -04:00 [DBG] Hosting stopped
2023-03-19 15:48:06.489 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 15:48:06.602 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 15:48:06.672 -04:00 [DBG] Hosting starting
2023-03-19 15:48:06.687 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 15:48:06.687 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 15:48:06.688 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 15:48:06.688 -04:00 [INF] Hosting environment: Development
2023-03-19 15:48:06.688 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 15:48:06.688 -04:00 [DBG] Hosting started
2023-03-19 15:48:10.880 -04:00 [DBG] Connection id "0HMP8MBFBBN08" received FIN.
2023-03-19 15:48:10.883 -04:00 [DBG] Connection id "0HMP8MBFBBN08" accepted.
2023-03-19 15:48:10.884 -04:00 [DBG] Connection id "0HMP8MBFBBN08" started.
2023-03-19 15:48:10.885 -04:00 [DBG] Connection id "0HMP8MBFBBN09" accepted.
2023-03-19 15:48:10.885 -04:00 [DBG] Connection id "0HMP8MBFBBN09" started.
2023-03-19 15:48:10.890 -04:00 [DBG] Connection id "0HMP8MBFBBN08" sending FIN because: "The client closed the connection."
2023-03-19 15:48:10.893 -04:00 [DBG] Connection id "0HMP8MBFBBN08" disconnecting.
2023-03-19 15:48:10.893 -04:00 [DBG] Connection id "0HMP8MBFBBN08" stopped.
2023-03-19 15:48:10.903 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 15:48:10.905 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 15:48:10.924 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 15:48:10.925 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 15:48:10.926 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:48:10.930 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 15:48:10.934 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 15:48:10.934 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:48:10.952 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 15:48:10.953 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 15:48:10.953 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 15:48:10.954 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 15:48:10.954 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 15:48:10.954 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 15:48:10.955 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:48:10.955 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:48:10.957 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:48:10.959 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 15:48:10.959 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 15:48:10.959 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 15:48:10.962 -04:00 [DBG] Connection id "0HMP8MBFBBN09", Request id "0HMP8MBFBBN09:00000001": started reading request body.
2023-03-19 15:48:10.962 -04:00 [DBG] Connection id "0HMP8MBFBBN09", Request id "0HMP8MBFBBN09:00000001": done reading request body.
2023-03-19 15:48:10.997 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:48:10.997 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:48:10.997 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:48:11.000 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:48:11.011 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 15:48:11.584 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 627.943ms
2023-03-19 15:48:11.584 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:48:11.593 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:c2e53ba5-1d0e-4a30-bd18-752f4299c626
Error Number:-2146893019,State:0,Class:20
2023-03-19 15:48:11.598 -04:00 [DBG] Connection id "0HMP8MBFBBN09" completed keep alive response.
2023-03-19 15:48:11.599 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 696.6095ms
2023-03-19 15:48:54.457 -04:00 [INF] Application is shutting down...
2023-03-19 15:48:54.457 -04:00 [DBG] Hosting stopping
2023-03-19 15:48:54.463 -04:00 [DBG] Connection id "0HMP8MBFBBN09" disconnecting.
2023-03-19 15:48:54.464 -04:00 [DBG] Connection id "0HMP8MBFBBN09" stopped.
2023-03-19 15:48:54.464 -04:00 [DBG] Connection id "0HMP8MBFBBN09" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 15:48:54.466 -04:00 [DBG] Hosting stopped
2023-03-19 15:48:56.203 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 15:48:56.316 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 15:48:56.369 -04:00 [DBG] Hosting starting
2023-03-19 15:48:56.384 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 15:48:56.385 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 15:48:56.385 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 15:48:56.385 -04:00 [INF] Hosting environment: Development
2023-03-19 15:48:56.385 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 15:48:56.385 -04:00 [DBG] Hosting started
2023-03-19 15:48:59.241 -04:00 [DBG] Connection id "0HMP8MBTOI3CR" received FIN.
2023-03-19 15:48:59.244 -04:00 [DBG] Connection id "0HMP8MBTOI3CR" accepted.
2023-03-19 15:48:59.245 -04:00 [DBG] Connection id "0HMP8MBTOI3CR" started.
2023-03-19 15:48:59.246 -04:00 [DBG] Connection id "0HMP8MBTOI3CS" accepted.
2023-03-19 15:48:59.246 -04:00 [DBG] Connection id "0HMP8MBTOI3CS" started.
2023-03-19 15:48:59.251 -04:00 [DBG] Connection id "0HMP8MBTOI3CR" sending FIN because: "The client closed the connection."
2023-03-19 15:48:59.253 -04:00 [DBG] Connection id "0HMP8MBTOI3CR" disconnecting.
2023-03-19 15:48:59.254 -04:00 [DBG] Connection id "0HMP8MBTOI3CR" stopped.
2023-03-19 15:48:59.264 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 15:48:59.265 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 15:48:59.284 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 15:48:59.286 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 15:48:59.286 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:48:59.290 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 15:48:59.294 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 15:48:59.294 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:48:59.312 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 15:48:59.313 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 15:48:59.313 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 15:48:59.313 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 15:48:59.313 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 15:48:59.313 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 15:48:59.314 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:48:59.314 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:48:59.317 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:48:59.318 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 15:48:59.318 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 15:48:59.318 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 15:48:59.321 -04:00 [DBG] Connection id "0HMP8MBTOI3CS", Request id "0HMP8MBTOI3CS:00000001": started reading request body.
2023-03-19 15:48:59.321 -04:00 [DBG] Connection id "0HMP8MBTOI3CS", Request id "0HMP8MBTOI3CS:00000001": done reading request body.
2023-03-19 15:48:59.356 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:48:59.356 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:48:59.356 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:48:59.358 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:48:59.370 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 15:48:59.927 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 611.9193ms
2023-03-19 15:48:59.928 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:48:59.935 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:c2695814-922f-476e-8d92-a69fe66e49dd
Error Number:-2146893019,State:0,Class:20
2023-03-19 15:48:59.940 -04:00 [DBG] Connection id "0HMP8MBTOI3CS" completed keep alive response.
2023-03-19 15:48:59.941 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 678.5253ms
2023-03-19 15:51:10.399 -04:00 [DBG] Connection id "0HMP8MBTOI3CS" disconnecting.
2023-03-19 15:51:10.400 -04:00 [DBG] Connection id "0HMP8MBTOI3CS" stopped.
2023-03-19 15:51:10.400 -04:00 [DBG] Connection id "0HMP8MBTOI3CS" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 15:52:09.813 -04:00 [INF] Application is shutting down...
2023-03-19 15:52:09.813 -04:00 [DBG] Hosting stopping
2023-03-19 15:52:09.817 -04:00 [DBG] Hosting stopped
2023-03-19 15:52:11.639 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 15:52:11.758 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 15:52:11.802 -04:00 [DBG] Hosting starting
2023-03-19 15:52:11.818 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 15:52:11.818 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 15:52:11.818 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 15:52:11.819 -04:00 [INF] Hosting environment: Development
2023-03-19 15:52:11.819 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 15:52:11.819 -04:00 [DBG] Hosting started
2023-03-19 15:52:16.063 -04:00 [DBG] Connection id "0HMP8MDODJHTT" received FIN.
2023-03-19 15:52:16.067 -04:00 [DBG] Connection id "0HMP8MDODJHTT" accepted.
2023-03-19 15:52:16.068 -04:00 [DBG] Connection id "0HMP8MDODJHTT" started.
2023-03-19 15:52:16.069 -04:00 [DBG] Connection id "0HMP8MDODJHTU" accepted.
2023-03-19 15:52:16.069 -04:00 [DBG] Connection id "0HMP8MDODJHTU" started.
2023-03-19 15:52:16.074 -04:00 [DBG] Connection id "0HMP8MDODJHTT" sending FIN because: "The client closed the connection."
2023-03-19 15:52:16.077 -04:00 [DBG] Connection id "0HMP8MDODJHTT" disconnecting.
2023-03-19 15:52:16.078 -04:00 [DBG] Connection id "0HMP8MDODJHTT" stopped.
2023-03-19 15:52:16.088 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 15:52:16.089 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 15:52:16.109 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 15:52:16.111 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 15:52:16.111 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:52:16.115 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 15:52:16.120 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 15:52:16.120 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:52:16.139 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 15:52:16.140 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 15:52:16.140 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 15:52:16.140 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 15:52:16.140 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 15:52:16.140 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 15:52:16.141 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:52:16.141 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:52:16.143 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:52:16.145 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 15:52:16.145 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 15:52:16.145 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 15:52:16.148 -04:00 [DBG] Connection id "0HMP8MDODJHTU", Request id "0HMP8MDODJHTU:00000001": started reading request body.
2023-03-19 15:52:16.148 -04:00 [DBG] Connection id "0HMP8MDODJHTU", Request id "0HMP8MDODJHTU:00000001": done reading request body.
2023-03-19 15:52:16.185 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:52:16.186 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:52:16.186 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:52:16.189 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:52:16.201 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 15:52:16.778 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 636.323ms
2023-03-19 15:52:16.779 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:52:16.787 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:00a2a075-db77-439d-aa70-96f12a4c8efd
Error Number:-2146893019,State:0,Class:20
2023-03-19 15:52:16.792 -04:00 [DBG] Connection id "0HMP8MDODJHTU" completed keep alive response.
2023-03-19 15:52:16.793 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 706.6269ms
2023-03-19 15:52:40.407 -04:00 [DBG] Config reload token fired. Checking for changes...
2023-03-19 15:52:48.502 -04:00 [DBG] Config reload token fired. Checking for changes...
2023-03-19 15:52:48.753 -04:00 [DBG] Config reload token fired. Checking for changes...
2023-03-19 15:52:49.980 -04:00 [INF] Application is shutting down...
2023-03-19 15:52:49.981 -04:00 [DBG] Hosting stopping
2023-03-19 15:52:49.988 -04:00 [DBG] Connection id "0HMP8MDODJHTU" disconnecting.
2023-03-19 15:52:49.989 -04:00 [DBG] Connection id "0HMP8MDODJHTU" stopped.
2023-03-19 15:52:49.989 -04:00 [DBG] Connection id "0HMP8MDODJHTU" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 15:52:49.991 -04:00 [DBG] Hosting stopped
2023-03-19 15:52:51.582 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 15:52:51.699 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 15:52:51.762 -04:00 [DBG] Hosting starting
2023-03-19 15:52:51.778 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 15:52:51.778 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 15:52:51.778 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 15:52:51.779 -04:00 [INF] Hosting environment: Development
2023-03-19 15:52:51.779 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 15:52:51.779 -04:00 [DBG] Hosting started
2023-03-19 15:53:02.930 -04:00 [DBG] Connection id "0HMP8ME6CI4KQ" received FIN.
2023-03-19 15:53:02.933 -04:00 [DBG] Connection id "0HMP8ME6CI4KQ" accepted.
2023-03-19 15:53:02.933 -04:00 [DBG] Connection id "0HMP8ME6CI4KQ" started.
2023-03-19 15:53:02.934 -04:00 [DBG] Connection id "0HMP8ME6CI4KR" accepted.
2023-03-19 15:53:02.934 -04:00 [DBG] Connection id "0HMP8ME6CI4KR" started.
2023-03-19 15:53:02.940 -04:00 [DBG] Connection id "0HMP8ME6CI4KQ" sending FIN because: "The client closed the connection."
2023-03-19 15:53:02.943 -04:00 [DBG] Connection id "0HMP8ME6CI4KQ" disconnecting.
2023-03-19 15:53:02.943 -04:00 [DBG] Connection id "0HMP8ME6CI4KQ" stopped.
2023-03-19 15:53:02.954 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 128
2023-03-19 15:53:02.955 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 15:53:02.976 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 15:53:02.978 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 15:53:02.979 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:53:02.983 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 15:53:02.987 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 15:53:02.988 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:53:03.008 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 15:53:03.008 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 15:53:03.009 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 15:53:03.009 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 15:53:03.009 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 15:53:03.009 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 15:53:03.010 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:53:03.010 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:53:03.013 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:53:03.014 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 15:53:03.014 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 15:53:03.015 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 15:53:03.018 -04:00 [DBG] Connection id "0HMP8ME6CI4KR", Request id "0HMP8ME6CI4KR:00000001": started reading request body.
2023-03-19 15:53:03.018 -04:00 [DBG] Connection id "0HMP8ME6CI4KR", Request id "0HMP8ME6CI4KR:00000001": done reading request body.
2023-03-19 15:53:03.056 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:53:03.057 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:53:03.057 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:53:03.060 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:53:03.072 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 15:53:03.655 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 643.6605ms
2023-03-19 15:53:03.655 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:53:03.664 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:4b8b7973-f9ca-426b-bc9e-8227324f2905
Error Number:-2146893019,State:0,Class:20
2023-03-19 15:53:03.669 -04:00 [DBG] Connection id "0HMP8ME6CI4KR" completed keep alive response.
2023-03-19 15:53:03.669 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 128 - 500 - text/plain;+charset=utf-8 716.9906ms
2023-03-19 15:54:30.948 -04:00 [DBG] Config reload token fired. Checking for changes...
2023-03-19 15:54:31.968 -04:00 [INF] Application is shutting down...
2023-03-19 15:54:31.969 -04:00 [DBG] Hosting stopping
2023-03-19 15:54:31.976 -04:00 [DBG] Connection id "0HMP8ME6CI4KR" disconnecting.
2023-03-19 15:54:31.977 -04:00 [DBG] Connection id "0HMP8ME6CI4KR" stopped.
2023-03-19 15:54:31.977 -04:00 [DBG] Connection id "0HMP8ME6CI4KR" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 15:54:31.980 -04:00 [DBG] Hosting stopped
2023-03-19 15:54:33.709 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 15:54:33.826 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 15:54:33.892 -04:00 [DBG] Hosting starting
2023-03-19 15:54:33.908 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 15:54:33.908 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 15:54:33.908 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 15:54:33.908 -04:00 [INF] Hosting environment: Development
2023-03-19 15:54:33.908 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 15:54:33.909 -04:00 [DBG] Hosting started
2023-03-19 15:54:35.186 -04:00 [DBG] Connection id "0HMP8MF1SCHGA" received FIN.
2023-03-19 15:54:35.189 -04:00 [DBG] Connection id "0HMP8MF1SCHGA" accepted.
2023-03-19 15:54:35.190 -04:00 [DBG] Connection id "0HMP8MF1SCHGA" started.
2023-03-19 15:54:35.191 -04:00 [DBG] Connection id "0HMP8MF1SCHGB" accepted.
2023-03-19 15:54:35.191 -04:00 [DBG] Connection id "0HMP8MF1SCHGB" started.
2023-03-19 15:54:35.196 -04:00 [DBG] Connection id "0HMP8MF1SCHGA" sending FIN because: "The client closed the connection."
2023-03-19 15:54:35.199 -04:00 [DBG] Connection id "0HMP8MF1SCHGA" disconnecting.
2023-03-19 15:54:35.200 -04:00 [DBG] Connection id "0HMP8MF1SCHGA" stopped.
2023-03-19 15:54:35.209 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 147
2023-03-19 15:54:35.211 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 15:54:35.230 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 15:54:35.232 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 15:54:35.232 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:54:35.236 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 15:54:35.240 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 15:54:35.240 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:54:35.258 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 15:54:35.259 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 15:54:35.259 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 15:54:35.259 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 15:54:35.259 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 15:54:35.260 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 15:54:35.260 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:54:35.261 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 15:54:35.263 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:54:35.264 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 15:54:35.264 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 15:54:35.265 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 15:54:35.267 -04:00 [DBG] Connection id "0HMP8MF1SCHGB", Request id "0HMP8MF1SCHGB:00000001": started reading request body.
2023-03-19 15:54:35.268 -04:00 [DBG] Connection id "0HMP8MF1SCHGB", Request id "0HMP8MF1SCHGB:00000001": done reading request body.
2023-03-19 15:54:35.302 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:54:35.302 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:54:35.303 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 15:54:35.305 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 15:54:35.317 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 15:54:35.876 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 614.0855ms
2023-03-19 15:54:35.876 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 15:54:35.884 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:e9b7acae-f783-495b-a048-02c5602edccf
Error Number:-2146893019,State:0,Class:20
2023-03-19 15:54:35.889 -04:00 [DBG] Connection id "0HMP8MF1SCHGB" completed keep alive response.
2023-03-19 15:54:35.890 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 147 - 500 - text/plain;+charset=utf-8 681.5938ms
2023-03-19 15:55:15.520 -04:00 [DBG] Config reload token fired. Checking for changes...
2023-03-19 15:56:45.924 -04:00 [DBG] Connection id "0HMP8MF1SCHGB" disconnecting.
2023-03-19 15:56:45.924 -04:00 [DBG] Connection id "0HMP8MF1SCHGB" stopped.
2023-03-19 15:56:45.925 -04:00 [DBG] Connection id "0HMP8MF1SCHGB" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 16:00:47.802 -04:00 [INF] Application is shutting down...
2023-03-19 16:00:47.803 -04:00 [DBG] Hosting stopping
2023-03-19 16:00:47.807 -04:00 [DBG] Hosting stopped
2023-03-19 16:01:32.802 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 16:01:32.919 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 16:01:32.979 -04:00 [DBG] Hosting starting
2023-03-19 16:01:32.995 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 16:01:32.995 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 16:01:32.995 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 16:01:32.995 -04:00 [INF] Hosting environment: Development
2023-03-19 16:01:32.995 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 16:01:32.995 -04:00 [DBG] Hosting started
2023-03-19 16:01:37.721 -04:00 [DBG] Connection id "0HMP8MIVQ0132" received FIN.
2023-03-19 16:01:37.725 -04:00 [DBG] Connection id "0HMP8MIVQ0132" accepted.
2023-03-19 16:01:37.726 -04:00 [DBG] Connection id "0HMP8MIVQ0132" started.
2023-03-19 16:01:37.727 -04:00 [DBG] Connection id "0HMP8MIVQ0133" accepted.
2023-03-19 16:01:37.727 -04:00 [DBG] Connection id "0HMP8MIVQ0133" started.
2023-03-19 16:01:37.732 -04:00 [DBG] Connection id "0HMP8MIVQ0132" sending FIN because: "The client closed the connection."
2023-03-19 16:01:37.735 -04:00 [DBG] Connection id "0HMP8MIVQ0132" disconnecting.
2023-03-19 16:01:37.736 -04:00 [DBG] Connection id "0HMP8MIVQ0132" stopped.
2023-03-19 16:01:37.746 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 147
2023-03-19 16:01:37.747 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 16:01:37.767 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 16:01:37.769 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 16:01:37.769 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:01:37.773 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 16:01:37.777 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 16:01:37.778 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:01:37.797 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 16:01:37.797 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 16:01:37.797 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 16:01:37.798 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 16:01:37.798 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 16:01:37.798 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 16:01:37.799 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 16:01:37.799 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 16:01:37.801 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 16:01:37.803 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 16:01:37.803 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 16:01:37.803 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 16:01:37.806 -04:00 [DBG] Connection id "0HMP8MIVQ0133", Request id "0HMP8MIVQ0133:00000001": started reading request body.
2023-03-19 16:01:37.806 -04:00 [DBG] Connection id "0HMP8MIVQ0133", Request id "0HMP8MIVQ0133:00000001": done reading request body.
2023-03-19 16:01:37.843 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:01:37.843 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:01:37.843 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 16:01:37.846 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:01:37.858 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 16:01:38.431 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 631.2953ms
2023-03-19 16:01:38.432 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:01:38.440 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:760857c0-6e6a-4cdd-ada5-638ce2a9786d
Error Number:-2146893019,State:0,Class:20
2023-03-19 16:01:38.445 -04:00 [DBG] Connection id "0HMP8MIVQ0133" completed keep alive response.
2023-03-19 16:01:38.446 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 147 - 500 - text/plain;+charset=utf-8 701.2621ms
2023-03-19 16:01:44.369 -04:00 [DBG] Config reload token fired. Checking for changes...
2023-03-19 16:03:49.015 -04:00 [DBG] Connection id "0HMP8MIVQ0133" disconnecting.
2023-03-19 16:03:49.016 -04:00 [DBG] Connection id "0HMP8MIVQ0133" stopped.
2023-03-19 16:03:49.016 -04:00 [DBG] Connection id "0HMP8MIVQ0133" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 16:04:12.151 -04:00 [INF] Application is shutting down...
2023-03-19 16:04:12.151 -04:00 [DBG] Hosting stopping
2023-03-19 16:04:12.155 -04:00 [DBG] Hosting stopped
2023-03-19 16:11:20.267 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 16:11:20.378 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 16:11:20.439 -04:00 [DBG] Hosting starting
2023-03-19 16:11:20.453 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 16:11:20.453 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 16:11:20.453 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 16:11:20.453 -04:00 [INF] Hosting environment: Development
2023-03-19 16:11:20.454 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 16:11:20.454 -04:00 [DBG] Hosting started
2023-03-19 16:11:27.023 -04:00 [DBG] Connection id "0HMP8MOFE0LJV" received FIN.
2023-03-19 16:11:27.026 -04:00 [DBG] Connection id "0HMP8MOFE0LJV" accepted.
2023-03-19 16:11:27.026 -04:00 [DBG] Connection id "0HMP8MOFE0LJV" started.
2023-03-19 16:11:27.027 -04:00 [DBG] Connection id "0HMP8MOFE0LK0" accepted.
2023-03-19 16:11:27.027 -04:00 [DBG] Connection id "0HMP8MOFE0LK0" started.
2023-03-19 16:11:27.033 -04:00 [DBG] Connection id "0HMP8MOFE0LJV" sending FIN because: "The client closed the connection."
2023-03-19 16:11:27.036 -04:00 [DBG] Connection id "0HMP8MOFE0LJV" disconnecting.
2023-03-19 16:11:27.036 -04:00 [DBG] Connection id "0HMP8MOFE0LJV" stopped.
2023-03-19 16:11:27.047 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 147
2023-03-19 16:11:27.048 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 16:11:27.069 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 16:11:27.070 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 16:11:27.071 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:11:27.075 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 16:11:27.079 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 16:11:27.079 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:11:27.097 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 16:11:27.098 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 16:11:27.098 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 16:11:27.099 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 16:11:27.099 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 16:11:27.099 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 16:11:27.100 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 16:11:27.100 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 16:11:27.103 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 16:11:27.104 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 16:11:27.104 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 16:11:27.104 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 16:11:27.107 -04:00 [DBG] Connection id "0HMP8MOFE0LK0", Request id "0HMP8MOFE0LK0:00000001": started reading request body.
2023-03-19 16:11:27.107 -04:00 [DBG] Connection id "0HMP8MOFE0LK0", Request id "0HMP8MOFE0LK0:00000001": done reading request body.
2023-03-19 16:11:27.143 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:11:27.143 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:11:27.143 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 16:11:27.146 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:11:27.158 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 16:11:27.724 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 623.0166ms
2023-03-19 16:11:27.724 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:11:27.732 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:d2edab23-92f8-4d4f-a891-692a43194cc2
Error Number:-2146893019,State:0,Class:20
2023-03-19 16:11:27.737 -04:00 [DBG] Connection id "0HMP8MOFE0LK0" completed keep alive response.
2023-03-19 16:11:27.738 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 147 - 500 - text/plain;+charset=utf-8 692.5851ms
2023-03-19 16:12:57.365 -04:00 [INF] Application is shutting down...
2023-03-19 16:12:57.366 -04:00 [DBG] Hosting stopping
2023-03-19 16:12:57.372 -04:00 [DBG] Connection id "0HMP8MOFE0LK0" disconnecting.
2023-03-19 16:12:57.373 -04:00 [DBG] Connection id "0HMP8MOFE0LK0" stopped.
2023-03-19 16:12:57.373 -04:00 [DBG] Connection id "0HMP8MOFE0LK0" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 16:12:57.375 -04:00 [DBG] Hosting stopped
2023-03-19 16:13:01.561 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 16:13:01.677 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 16:13:01.739 -04:00 [DBG] Hosting starting
2023-03-19 16:13:01.754 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 16:13:01.754 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 16:13:01.755 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 16:13:01.755 -04:00 [INF] Hosting environment: Development
2023-03-19 16:13:01.755 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 16:13:01.755 -04:00 [DBG] Hosting started
2023-03-19 16:14:23.949 -04:00 [INF] Application is shutting down...
2023-03-19 16:14:23.950 -04:00 [DBG] Hosting stopping
2023-03-19 16:14:23.957 -04:00 [DBG] Hosting stopped
2023-03-19 16:14:26.670 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 16:14:26.783 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 16:14:26.829 -04:00 [DBG] Hosting starting
2023-03-19 16:14:26.844 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 16:14:26.844 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 16:14:26.844 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 16:14:26.844 -04:00 [INF] Hosting environment: Development
2023-03-19 16:14:26.845 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 16:14:26.845 -04:00 [DBG] Hosting started
2023-03-19 16:16:28.113 -04:00 [INF] Application is shutting down...
2023-03-19 16:16:28.114 -04:00 [DBG] Hosting stopping
2023-03-19 16:16:28.121 -04:00 [DBG] Hosting stopped
2023-03-19 16:16:30.991 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 16:16:31.107 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 16:16:31.191 -04:00 [DBG] Hosting starting
2023-03-19 16:16:31.214 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 16:16:31.214 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 16:16:31.214 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 16:16:31.215 -04:00 [INF] Hosting environment: Development
2023-03-19 16:16:31.215 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 16:16:31.215 -04:00 [DBG] Hosting started
2023-03-19 16:16:35.314 -04:00 [DBG] Connection id "0HMP8MRBA3EPB" received FIN.
2023-03-19 16:16:35.317 -04:00 [DBG] Connection id "0HMP8MRBA3EPB" accepted.
2023-03-19 16:16:35.317 -04:00 [DBG] Connection id "0HMP8MRBA3EPB" started.
2023-03-19 16:16:35.318 -04:00 [DBG] Connection id "0HMP8MRBA3EPC" accepted.
2023-03-19 16:16:35.318 -04:00 [DBG] Connection id "0HMP8MRBA3EPC" started.
2023-03-19 16:16:35.324 -04:00 [DBG] Connection id "0HMP8MRBA3EPB" sending FIN because: "The client closed the connection."
2023-03-19 16:16:35.327 -04:00 [DBG] Connection id "0HMP8MRBA3EPB" disconnecting.
2023-03-19 16:16:35.328 -04:00 [DBG] Connection id "0HMP8MRBA3EPB" stopped.
2023-03-19 16:16:35.338 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 147
2023-03-19 16:16:35.340 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 16:16:35.360 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 16:16:35.362 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 16:16:35.362 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:16:35.367 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 16:16:35.371 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 16:16:35.372 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:16:35.390 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 16:16:35.391 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 16:16:35.391 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 16:16:35.392 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 16:16:35.392 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 16:16:35.392 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 16:16:35.393 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 16:16:35.393 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 16:16:35.395 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 16:16:35.396 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 16:16:35.397 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 16:16:35.397 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 16:16:35.400 -04:00 [DBG] Connection id "0HMP8MRBA3EPC", Request id "0HMP8MRBA3EPC:00000001": started reading request body.
2023-03-19 16:16:35.400 -04:00 [DBG] Connection id "0HMP8MRBA3EPC", Request id "0HMP8MRBA3EPC:00000001": done reading request body.
2023-03-19 16:16:35.438 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:16:35.438 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:16:35.438 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 16:16:35.441 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:16:35.453 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 16:16:36.041 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 647.5566ms
2023-03-19 16:16:36.042 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:16:36.050 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:c53ea7bb-1a73-427d-814d-951fe12f7a14
Error Number:-2146893019,State:0,Class:20
2023-03-19 16:16:36.055 -04:00 [DBG] Connection id "0HMP8MRBA3EPC" completed keep alive response.
2023-03-19 16:16:36.056 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 147 - 500 - text/plain;+charset=utf-8 719.3893ms
2023-03-19 16:16:38.516 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 147
2023-03-19 16:16:38.517 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 16:16:38.517 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 16:16:38.518 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:16:38.518 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 16:16:38.518 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:16:38.519 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 16:16:38.519 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 16:16:38.519 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 16:16:38.519 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 16:16:38.519 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 16:16:38.519 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 16:16:38.520 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 16:16:38.520 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 16:16:38.520 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 16:16:38.520 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 16:16:38.521 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 16:16:38.521 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 16:16:38.521 -04:00 [DBG] Connection id "0HMP8MRBA3EPC", Request id "0HMP8MRBA3EPC:00000002": started reading request body.
2023-03-19 16:16:38.521 -04:00 [DBG] Connection id "0HMP8MRBA3EPC", Request id "0HMP8MRBA3EPC:00000002": done reading request body.
2023-03-19 16:16:38.522 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:16:38.522 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:16:38.522 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 16:16:38.522 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:16:38.523 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 16:16:38.543 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 23.3223ms
2023-03-19 16:16:38.543 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:16:38.544 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:c53ea7bb-1a73-427d-814d-951fe12f7a14
Error Number:-2146893019,State:0,Class:20
2023-03-19 16:16:38.547 -04:00 [DBG] Connection id "0HMP8MRBA3EPC" completed keep alive response.
2023-03-19 16:16:38.548 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 147 - 500 - text/plain;+charset=utf-8 31.5191ms
2023-03-19 16:16:38.939 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 147
2023-03-19 16:16:38.940 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 16:16:38.940 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 16:16:38.940 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:16:38.940 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 16:16:38.940 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:16:38.941 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 16:16:38.941 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 16:16:38.941 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 16:16:38.941 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 16:16:38.941 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 16:16:38.941 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 16:16:38.941 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 16:16:38.941 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 16:16:38.941 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 16:16:38.941 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 16:16:38.941 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 16:16:38.942 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 16:16:38.942 -04:00 [DBG] Connection id "0HMP8MRBA3EPC", Request id "0HMP8MRBA3EPC:00000003": started reading request body.
2023-03-19 16:16:38.942 -04:00 [DBG] Connection id "0HMP8MRBA3EPC", Request id "0HMP8MRBA3EPC:00000003": done reading request body.
2023-03-19 16:16:38.942 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:16:38.942 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:16:38.942 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 16:16:38.942 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:16:38.942 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 16:16:38.973 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 32.306ms
2023-03-19 16:16:38.974 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:16:38.974 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:c53ea7bb-1a73-427d-814d-951fe12f7a14
Error Number:-2146893019,State:0,Class:20
2023-03-19 16:16:38.976 -04:00 [DBG] Connection id "0HMP8MRBA3EPC" completed keep alive response.
2023-03-19 16:16:38.976 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 147 - 500 - text/plain;+charset=utf-8 36.9674ms
2023-03-19 16:16:39.484 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 147
2023-03-19 16:16:39.484 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 16:16:39.484 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 16:16:39.484 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:16:39.484 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 16:16:39.484 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:16:39.485 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 16:16:39.485 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 16:16:39.485 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 16:16:39.485 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 16:16:39.485 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 16:16:39.485 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 16:16:39.485 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 16:16:39.485 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 16:16:39.486 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 16:16:39.486 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 16:16:39.486 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 16:16:39.486 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 16:16:39.486 -04:00 [DBG] Connection id "0HMP8MRBA3EPC", Request id "0HMP8MRBA3EPC:00000004": started reading request body.
2023-03-19 16:16:39.486 -04:00 [DBG] Connection id "0HMP8MRBA3EPC", Request id "0HMP8MRBA3EPC:00000004": done reading request body.
2023-03-19 16:16:39.486 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:16:39.486 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:16:39.486 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 16:16:39.487 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:16:39.487 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 16:16:39.489 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 3.5686ms
2023-03-19 16:16:39.489 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:16:39.490 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:c53ea7bb-1a73-427d-814d-951fe12f7a14
Error Number:-2146893019,State:0,Class:20
2023-03-19 16:16:39.493 -04:00 [DBG] Connection id "0HMP8MRBA3EPC" completed keep alive response.
2023-03-19 16:16:39.493 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 147 - 500 - text/plain;+charset=utf-8 8.8977ms
2023-03-19 16:16:40.062 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 147
2023-03-19 16:16:40.063 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 16:16:40.063 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 16:16:40.063 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:16:40.063 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 16:16:40.063 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:16:40.063 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 16:16:40.063 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 16:16:40.063 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 16:16:40.063 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 16:16:40.063 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 16:16:40.063 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 16:16:40.063 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 16:16:40.064 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 16:16:40.064 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 16:16:40.064 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 16:16:40.064 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 16:16:40.064 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 16:16:40.064 -04:00 [DBG] Connection id "0HMP8MRBA3EPC", Request id "0HMP8MRBA3EPC:00000005": started reading request body.
2023-03-19 16:16:40.064 -04:00 [DBG] Connection id "0HMP8MRBA3EPC", Request id "0HMP8MRBA3EPC:00000005": done reading request body.
2023-03-19 16:16:40.064 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:16:40.064 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:16:40.064 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 16:16:40.064 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:16:40.064 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 16:16:40.066 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 2.7449ms
2023-03-19 16:16:40.066 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:16:40.067 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:c53ea7bb-1a73-427d-814d-951fe12f7a14
Error Number:-2146893019,State:0,Class:20
2023-03-19 16:16:40.069 -04:00 [DBG] Connection id "0HMP8MRBA3EPC" completed keep alive response.
2023-03-19 16:16:40.069 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 147 - 500 - text/plain;+charset=utf-8 6.7051ms
2023-03-19 16:17:25.399 -04:00 [INF] Application is shutting down...
2023-03-19 16:17:25.400 -04:00 [DBG] Hosting stopping
2023-03-19 16:17:25.405 -04:00 [DBG] Connection id "0HMP8MRBA3EPC" disconnecting.
2023-03-19 16:17:25.406 -04:00 [DBG] Connection id "0HMP8MRBA3EPC" stopped.
2023-03-19 16:17:25.406 -04:00 [DBG] Connection id "0HMP8MRBA3EPC" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 16:17:25.408 -04:00 [DBG] Hosting stopped
2023-03-19 16:18:26.092 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 16:18:26.208 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 16:18:26.262 -04:00 [DBG] Hosting starting
2023-03-19 16:18:26.278 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 16:18:26.278 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 16:18:26.278 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 16:18:26.278 -04:00 [INF] Hosting environment: Development
2023-03-19 16:18:26.278 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 16:18:26.278 -04:00 [DBG] Hosting started
2023-03-19 16:18:30.864 -04:00 [DBG] Connection id "0HMP8MSDO2ELI" received FIN.
2023-03-19 16:18:30.867 -04:00 [DBG] Connection id "0HMP8MSDO2ELI" accepted.
2023-03-19 16:18:30.868 -04:00 [DBG] Connection id "0HMP8MSDO2ELI" started.
2023-03-19 16:18:30.869 -04:00 [DBG] Connection id "0HMP8MSDO2ELJ" accepted.
2023-03-19 16:18:30.869 -04:00 [DBG] Connection id "0HMP8MSDO2ELJ" started.
2023-03-19 16:18:30.874 -04:00 [DBG] Connection id "0HMP8MSDO2ELI" sending FIN because: "The client closed the connection."
2023-03-19 16:18:30.877 -04:00 [DBG] Connection id "0HMP8MSDO2ELI" disconnecting.
2023-03-19 16:18:30.878 -04:00 [DBG] Connection id "0HMP8MSDO2ELI" stopped.
2023-03-19 16:18:30.888 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 147
2023-03-19 16:18:30.889 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 16:18:30.909 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 16:18:30.911 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 16:18:30.912 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:18:30.916 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 16:18:30.920 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 16:18:30.920 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:18:30.939 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 16:18:30.940 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 16:18:30.940 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 16:18:30.940 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 16:18:30.940 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 16:18:30.940 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 16:18:30.941 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 16:18:30.941 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 16:18:30.943 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 16:18:30.945 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 16:18:30.945 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 16:18:30.945 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 16:18:30.948 -04:00 [DBG] Connection id "0HMP8MSDO2ELJ", Request id "0HMP8MSDO2ELJ:00000001": started reading request body.
2023-03-19 16:18:30.948 -04:00 [DBG] Connection id "0HMP8MSDO2ELJ", Request id "0HMP8MSDO2ELJ:00000001": done reading request body.
2023-03-19 16:18:30.984 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:18:30.985 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:18:30.985 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 16:18:30.987 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:18:30.999 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 16:18:31.573 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 630.6757ms
2023-03-19 16:18:31.573 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:18:31.582 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:16c28093-72bc-4fde-98a0-823500e83492
Error Number:-2146893019,State:0,Class:20
2023-03-19 16:18:31.586 -04:00 [DBG] Connection id "0HMP8MSDO2ELJ" completed keep alive response.
2023-03-19 16:18:31.587 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 147 - 500 - text/plain;+charset=utf-8 700.7041ms
2023-03-19 16:20:15.767 -04:00 [INF] Application is shutting down...
2023-03-19 16:20:15.768 -04:00 [DBG] Hosting stopping
2023-03-19 16:20:15.773 -04:00 [DBG] Connection id "0HMP8MSDO2ELJ" disconnecting.
2023-03-19 16:20:15.774 -04:00 [DBG] Connection id "0HMP8MSDO2ELJ" stopped.
2023-03-19 16:20:15.774 -04:00 [DBG] Connection id "0HMP8MSDO2ELJ" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 16:20:15.776 -04:00 [DBG] Hosting stopped
2023-03-19 16:26:13.166 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 16:26:13.282 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 16:26:13.352 -04:00 [DBG] Hosting starting
2023-03-19 16:26:13.368 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 16:26:13.368 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 16:26:13.368 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 16:26:13.368 -04:00 [INF] Hosting environment: Development
2023-03-19 16:26:13.369 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 16:26:13.369 -04:00 [DBG] Hosting started
2023-03-19 16:26:18.591 -04:00 [DBG] Connection id "0HMP8N0P4LHPO" received FIN.
2023-03-19 16:26:18.594 -04:00 [DBG] Connection id "0HMP8N0P4LHPO" accepted.
2023-03-19 16:26:18.595 -04:00 [DBG] Connection id "0HMP8N0P4LHPO" started.
2023-03-19 16:26:18.596 -04:00 [DBG] Connection id "0HMP8N0P4LHPP" accepted.
2023-03-19 16:26:18.596 -04:00 [DBG] Connection id "0HMP8N0P4LHPP" started.
2023-03-19 16:26:18.601 -04:00 [DBG] Connection id "0HMP8N0P4LHPO" sending FIN because: "The client closed the connection."
2023-03-19 16:26:18.604 -04:00 [DBG] Connection id "0HMP8N0P4LHPO" disconnecting.
2023-03-19 16:26:18.604 -04:00 [DBG] Connection id "0HMP8N0P4LHPO" stopped.
2023-03-19 16:26:18.614 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 147
2023-03-19 16:26:18.616 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 16:26:18.635 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 16:26:18.637 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 16:26:18.637 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:26:18.641 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 16:26:18.646 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 16:26:18.646 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:26:18.664 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 16:26:18.665 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 16:26:18.665 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 16:26:18.666 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 16:26:18.666 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 16:26:18.666 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 16:26:18.667 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 16:26:18.667 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 16:26:18.669 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 16:26:18.670 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 16:26:18.671 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 16:26:18.671 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 16:26:18.674 -04:00 [DBG] Connection id "0HMP8N0P4LHPP", Request id "0HMP8N0P4LHPP:00000001": started reading request body.
2023-03-19 16:26:18.674 -04:00 [DBG] Connection id "0HMP8N0P4LHPP", Request id "0HMP8N0P4LHPP:00000001": done reading request body.
2023-03-19 16:26:18.710 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:26:18.710 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:26:18.710 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 16:26:18.713 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:26:18.725 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 16:26:19.300 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 631.7041ms
2023-03-19 16:26:19.300 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:26:19.308 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:a916f7dc-0456-459c-a0db-9ef87fe77fc5
Error Number:-2146893019,State:0,Class:20
2023-03-19 16:26:19.313 -04:00 [DBG] Connection id "0HMP8N0P4LHPP" completed keep alive response.
2023-03-19 16:26:19.314 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 147 - 500 - text/plain;+charset=utf-8 701.1177ms
2023-03-19 16:28:29.388 -04:00 [DBG] Connection id "0HMP8N0P4LHPP" disconnecting.
2023-03-19 16:28:29.389 -04:00 [DBG] Connection id "0HMP8N0P4LHPP" stopped.
2023-03-19 16:28:29.389 -04:00 [DBG] Connection id "0HMP8N0P4LHPP" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 16:30:56.690 -04:00 [INF] Application is shutting down...
2023-03-19 16:30:56.691 -04:00 [DBG] Hosting stopping
2023-03-19 16:30:56.694 -04:00 [DBG] Hosting stopped
2023-03-19 16:30:59.950 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 16:31:00.064 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 16:31:00.109 -04:00 [DBG] Hosting starting
2023-03-19 16:31:00.123 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 16:31:00.123 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 16:31:00.124 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 16:31:00.124 -04:00 [INF] Hosting environment: Development
2023-03-19 16:31:00.124 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 16:31:00.124 -04:00 [DBG] Hosting started
2023-03-19 16:31:04.839 -04:00 [DBG] Connection id "0HMP8N3EEHE9V" received FIN.
2023-03-19 16:31:04.841 -04:00 [DBG] Connection id "0HMP8N3EEHE9V" accepted.
2023-03-19 16:31:04.842 -04:00 [DBG] Connection id "0HMP8N3EEHE9V" started.
2023-03-19 16:31:04.843 -04:00 [DBG] Connection id "0HMP8N3EEHEA0" accepted.
2023-03-19 16:31:04.843 -04:00 [DBG] Connection id "0HMP8N3EEHEA0" started.
2023-03-19 16:31:04.848 -04:00 [DBG] Connection id "0HMP8N3EEHE9V" sending FIN because: "The client closed the connection."
2023-03-19 16:31:04.851 -04:00 [DBG] Connection id "0HMP8N3EEHE9V" disconnecting.
2023-03-19 16:31:04.852 -04:00 [DBG] Connection id "0HMP8N3EEHE9V" stopped.
2023-03-19 16:31:04.862 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 147
2023-03-19 16:31:04.863 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 16:31:04.883 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 16:31:04.884 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 16:31:04.885 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:31:04.889 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 16:31:04.893 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 16:31:04.893 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:31:04.912 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 16:31:04.912 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 16:31:04.912 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 16:31:04.913 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 16:31:04.913 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 16:31:04.913 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 16:31:04.914 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 16:31:04.914 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 16:31:04.916 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 16:31:04.917 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 16:31:04.918 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 16:31:04.918 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 16:31:04.921 -04:00 [DBG] Connection id "0HMP8N3EEHEA0", Request id "0HMP8N3EEHEA0:00000001": started reading request body.
2023-03-19 16:31:04.921 -04:00 [DBG] Connection id "0HMP8N3EEHEA0", Request id "0HMP8N3EEHEA0:00000001": done reading request body.
2023-03-19 16:31:04.957 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:31:04.957 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:31:04.957 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 16:31:04.960 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:31:04.971 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 16:31:05.549 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 633.7805ms
2023-03-19 16:31:05.549 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:31:05.557 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:157fef87-ae04-40a5-a200-437fd7e7c2a3
Error Number:-2146893019,State:0,Class:20
2023-03-19 16:31:05.562 -04:00 [DBG] Connection id "0HMP8N3EEHEA0" completed keep alive response.
2023-03-19 16:31:05.563 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 147 - 500 - text/plain;+charset=utf-8 702.6973ms
2023-03-19 16:33:16.142 -04:00 [DBG] Connection id "0HMP8N3EEHEA0" disconnecting.
2023-03-19 16:33:16.143 -04:00 [DBG] Connection id "0HMP8N3EEHEA0" stopped.
2023-03-19 16:33:16.144 -04:00 [DBG] Connection id "0HMP8N3EEHEA0" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 16:35:31.698 -04:00 [INF] Application is shutting down...
2023-03-19 16:35:31.699 -04:00 [DBG] Hosting stopping
2023-03-19 16:35:31.702 -04:00 [DBG] Hosting stopped
2023-03-19 16:35:35.024 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 16:35:35.140 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 16:35:35.202 -04:00 [DBG] Hosting starting
2023-03-19 16:35:35.217 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 16:35:35.218 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 16:35:35.218 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 16:35:35.218 -04:00 [INF] Hosting environment: Development
2023-03-19 16:35:35.218 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 16:35:35.218 -04:00 [DBG] Hosting started
2023-03-19 16:35:37.418 -04:00 [DBG] Connection id "0HMP8N5VM1UOV" received FIN.
2023-03-19 16:35:37.421 -04:00 [DBG] Connection id "0HMP8N5VM1UOV" accepted.
2023-03-19 16:35:37.421 -04:00 [DBG] Connection id "0HMP8N5VM1UOV" started.
2023-03-19 16:35:37.422 -04:00 [DBG] Connection id "0HMP8N5VM1UP0" accepted.
2023-03-19 16:35:37.422 -04:00 [DBG] Connection id "0HMP8N5VM1UP0" started.
2023-03-19 16:35:37.428 -04:00 [DBG] Connection id "0HMP8N5VM1UOV" sending FIN because: "The client closed the connection."
2023-03-19 16:35:37.431 -04:00 [DBG] Connection id "0HMP8N5VM1UOV" disconnecting.
2023-03-19 16:35:37.431 -04:00 [DBG] Connection id "0HMP8N5VM1UOV" stopped.
2023-03-19 16:35:37.441 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 147
2023-03-19 16:35:37.443 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 16:35:37.462 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 16:35:37.464 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 16:35:37.464 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:35:37.468 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 16:35:37.472 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 16:35:37.473 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:35:37.491 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 16:35:37.491 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 16:35:37.492 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 16:35:37.492 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 16:35:37.492 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 16:35:37.492 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 16:35:37.493 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 16:35:37.493 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 16:35:37.496 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 16:35:37.497 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 16:35:37.497 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 16:35:37.497 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 16:35:37.500 -04:00 [DBG] Connection id "0HMP8N5VM1UP0", Request id "0HMP8N5VM1UP0:00000001": started reading request body.
2023-03-19 16:35:37.500 -04:00 [DBG] Connection id "0HMP8N5VM1UP0", Request id "0HMP8N5VM1UP0:00000001": done reading request body.
2023-03-19 16:35:37.536 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:35:37.536 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:35:37.536 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 16:35:37.539 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:35:37.550 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 16:35:38.125 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 631.3978ms
2023-03-19 16:35:38.126 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:35:38.134 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:18399fff-6af5-489d-9e3a-de77d010813d
Error Number:-2146893019,State:0,Class:20
2023-03-19 16:35:38.139 -04:00 [DBG] Connection id "0HMP8N5VM1UP0" completed keep alive response.
2023-03-19 16:35:38.140 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 147 - 500 - text/plain;+charset=utf-8 699.9629ms
2023-03-19 16:37:48.222 -04:00 [INF] Application is shutting down...
2023-03-19 16:37:48.223 -04:00 [DBG] Hosting stopping
2023-03-19 16:37:48.228 -04:00 [DBG] Connection id "0HMP8N5VM1UP0" disconnecting.
2023-03-19 16:37:48.229 -04:00 [DBG] Connection id "0HMP8N5VM1UP0" stopped.
2023-03-19 16:37:48.229 -04:00 [DBG] Connection id "0HMP8N5VM1UP0" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 16:37:48.231 -04:00 [DBG] Hosting stopped
2023-03-19 16:40:12.658 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 16:40:12.770 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 16:40:12.812 -04:00 [DBG] Hosting starting
2023-03-19 16:40:12.826 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 16:40:12.827 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 16:40:12.827 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 16:40:12.827 -04:00 [INF] Hosting environment: Development
2023-03-19 16:40:12.827 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 16:40:12.827 -04:00 [DBG] Hosting started
2023-03-19 16:40:18.732 -04:00 [DBG] Connection id "0HMP8N8JGSBT9" received FIN.
2023-03-19 16:40:18.735 -04:00 [DBG] Connection id "0HMP8N8JGSBT9" accepted.
2023-03-19 16:40:18.736 -04:00 [DBG] Connection id "0HMP8N8JGSBT9" started.
2023-03-19 16:40:18.736 -04:00 [DBG] Connection id "0HMP8N8JGSBTA" accepted.
2023-03-19 16:40:18.737 -04:00 [DBG] Connection id "0HMP8N8JGSBTA" started.
2023-03-19 16:40:18.742 -04:00 [DBG] Connection id "0HMP8N8JGSBT9" sending FIN because: "The client closed the connection."
2023-03-19 16:40:18.745 -04:00 [DBG] Connection id "0HMP8N8JGSBT9" disconnecting.
2023-03-19 16:40:18.745 -04:00 [DBG] Connection id "0HMP8N8JGSBT9" stopped.
2023-03-19 16:40:18.756 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 147
2023-03-19 16:40:18.757 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 16:40:18.776 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 16:40:18.778 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 16:40:18.779 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:40:18.782 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 16:40:18.786 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 16:40:18.787 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:40:18.804 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 16:40:18.804 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 16:40:18.804 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 16:40:18.805 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 16:40:18.805 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 16:40:18.805 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 16:40:18.806 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 16:40:18.806 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 16:40:18.808 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 16:40:18.809 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 16:40:18.810 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 16:40:18.810 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 16:40:18.813 -04:00 [DBG] Connection id "0HMP8N8JGSBTA", Request id "0HMP8N8JGSBTA:00000001": started reading request body.
2023-03-19 16:40:18.813 -04:00 [DBG] Connection id "0HMP8N8JGSBTA", Request id "0HMP8N8JGSBTA:00000001": done reading request body.
2023-03-19 16:40:18.847 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:40:18.847 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:40:18.847 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 16:40:18.850 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:40:18.860 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 16:40:19.399 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 592.3765ms
2023-03-19 16:40:19.400 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:40:19.407 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:0d528470-2ec7-43b7-82c3-30cc55311b5b
Error Number:-2146893019,State:0,Class:20
2023-03-19 16:40:19.412 -04:00 [DBG] Connection id "0HMP8N8JGSBTA" completed keep alive response.
2023-03-19 16:40:19.413 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 147 - 500 - text/plain;+charset=utf-8 658.5832ms
2023-03-19 16:40:38.054 -04:00 [INF] Application is shutting down...
2023-03-19 16:40:38.054 -04:00 [DBG] Hosting stopping
2023-03-19 16:40:38.060 -04:00 [DBG] Connection id "0HMP8N8JGSBTA" disconnecting.
2023-03-19 16:40:38.061 -04:00 [DBG] Connection id "0HMP8N8JGSBTA" stopped.
2023-03-19 16:40:38.061 -04:00 [DBG] Connection id "0HMP8N8JGSBTA" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 16:40:38.063 -04:00 [DBG] Hosting stopped
2023-03-19 16:40:40.842 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 16:40:40.954 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 16:40:40.995 -04:00 [DBG] Hosting starting
2023-03-19 16:40:41.010 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 16:40:41.010 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 16:40:41.011 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 16:40:41.011 -04:00 [INF] Hosting environment: Development
2023-03-19 16:40:41.011 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 16:40:41.011 -04:00 [DBG] Hosting started
2023-03-19 16:40:41.533 -04:00 [DBG] Connection id "0HMP8N8QAAK00" received FIN.
2023-03-19 16:40:41.536 -04:00 [DBG] Connection id "0HMP8N8QAAK00" accepted.
2023-03-19 16:40:41.537 -04:00 [DBG] Connection id "0HMP8N8QAAK00" started.
2023-03-19 16:40:41.538 -04:00 [DBG] Connection id "0HMP8N8QAAK01" accepted.
2023-03-19 16:40:41.538 -04:00 [DBG] Connection id "0HMP8N8QAAK01" started.
2023-03-19 16:40:41.544 -04:00 [DBG] Connection id "0HMP8N8QAAK00" sending FIN because: "The client closed the connection."
2023-03-19 16:40:41.548 -04:00 [DBG] Connection id "0HMP8N8QAAK00" disconnecting.
2023-03-19 16:40:41.549 -04:00 [DBG] Connection id "0HMP8N8QAAK00" stopped.
2023-03-19 16:40:41.560 -04:00 [INF] Request starting HTTP/1.1 POST http://localhost:5252/api/auth application/json 147
2023-03-19 16:40:41.561 -04:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
2023-03-19 16:40:41.581 -04:00 [DBG] 1 candidate(s) found for the request path '/api/auth'
2023-03-19 16:40:41.584 -04:00 [DBG] Endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)' with route pattern 'api/auth' is valid for the request path '/api/auth'
2023-03-19 16:40:41.584 -04:00 [DBG] Request matched endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:40:41.589 -04:00 [WRN] Failed to determine the https port for redirect.
2023-03-19 16:40:41.593 -04:00 [DBG] Request cookies: Microsoft.AspNetCore.Http.RequestCookieCollection
2023-03-19 16:40:41.594 -04:00 [INF] Executing endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:40:41.612 -04:00 [INF] Route matched with {action = "ProcessLogin", controller = "Authorization"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] ProcessLogin(Models.LoginDetails) on controller backend.Controllers.AuthorizationController (backend).
2023-03-19 16:40:41.612 -04:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
2023-03-19 16:40:41.612 -04:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
2023-03-19 16:40:41.613 -04:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
2023-03-19 16:40:41.613 -04:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
2023-03-19 16:40:41.613 -04:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
2023-03-19 16:40:41.614 -04:00 [DBG] Executing controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 16:40:41.614 -04:00 [DBG] Executed controller factory for controller backend.Controllers.AuthorizationController (backend)
2023-03-19 16:40:41.616 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 16:40:41.617 -04:00 [DBG] Attempting to bind parameter 'requestBody' of type 'Models.LoginDetails' using the name '' in request data ...
2023-03-19 16:40:41.618 -04:00 [DBG] Rejected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonPatchInputFormatter' for content type 'application/json'.
2023-03-19 16:40:41.618 -04:00 [DBG] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter' for content type 'application/json'.
2023-03-19 16:40:41.621 -04:00 [DBG] Connection id "0HMP8N8QAAK01", Request id "0HMP8N8QAAK01:00000001": started reading request body.
2023-03-19 16:40:41.621 -04:00 [DBG] Connection id "0HMP8N8QAAK01", Request id "0HMP8N8QAAK01:00000001": done reading request body.
2023-03-19 16:40:41.657 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:40:41.657 -04:00 [DBG] Done attempting to bind parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:40:41.658 -04:00 [DBG] Attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails' ...
2023-03-19 16:40:41.660 -04:00 [DBG] Done attempting to validate the bound parameter 'requestBody' of type 'Models.LoginDetails'.
2023-03-19 16:40:41.672 -04:00 [DBG] Login request with body: {
"email": "glott@leafnow.com",
"password": "**************",
"clientVerificationKey": "di4UyozYcrYdixljxvic8ONYBkFXmh63wO+CC5THVPI="
}
2023-03-19 16:40:42.235 -04:00 [INF] Executed action backend.Controllers.AuthorizationController.ProcessLogin (backend) in 619.9571ms
2023-03-19 16:40:42.235 -04:00 [INF] Executed endpoint 'backend.Controllers.AuthorizationController.ProcessLogin (backend)'
2023-03-19 16:40:42.243 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.EnableSsl(UInt32 info, SqlConnectionEncryptOption encrypt, Boolean integratedSecurity, String serverCertificateFilename)
at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method31(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at backend.Controllers.AuthorizationController.ProcessLogin(LoginDetails requestBody) in /home/g/Code/JavaScript/portfolio_vue/backend/Controllers/AuthorizationController.cs:line 40
at lambda_method4(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
ClientConnectionId:535388fe-690f-4444-85ae-3d4765d22ad9
Error Number:-2146893019,State:0,Class:20
2023-03-19 16:40:42.249 -04:00 [DBG] Connection id "0HMP8N8QAAK01" completed keep alive response.
2023-03-19 16:40:42.250 -04:00 [INF] Request finished HTTP/1.1 POST http://localhost:5252/api/auth application/json 147 - 500 - text/plain;+charset=utf-8 691.1337ms
2023-03-19 16:42:53.027 -04:00 [DBG] Connection id "0HMP8N8QAAK01" disconnecting.
2023-03-19 16:42:53.027 -04:00 [DBG] Connection id "0HMP8N8QAAK01" stopped.
2023-03-19 16:42:53.027 -04:00 [DBG] Connection id "0HMP8N8QAAK01" sending FIN because: "The Socket transport's send loop completed gracefully."
2023-03-19 16:45:26.426 -04:00 [INF] Application is shutting down...
2023-03-19 16:45:26.426 -04:00 [DBG] Hosting stopping
2023-03-19 16:45:26.430 -04:00 [DBG] Hosting stopped
2023-03-19 16:45:30.710 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 16:45:30.818 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 16:45:30.885 -04:00 [DBG] Hosting starting
2023-03-19 16:45:30.900 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 16:45:30.900 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 16:45:30.901 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 16:45:30.901 -04:00 [INF] Hosting environment: Development
2023-03-19 16:45:30.901 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 16:45:30.901 -04:00 [DBG] Hosting started
2023-03-19 16:45:55.214 -04:00 [INF] Application is shutting down...
2023-03-19 16:45:55.215 -04:00 [DBG] Hosting stopping
2023-03-19 16:45:55.221 -04:00 [DBG] Hosting stopped
2023-03-19 16:45:58.003 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 16:45:58.119 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 16:45:58.172 -04:00 [DBG] Hosting starting
2023-03-19 16:45:58.187 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 16:45:58.187 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 16:45:58.187 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 16:45:58.188 -04:00 [INF] Hosting environment: Development
2023-03-19 16:45:58.188 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 16:45:58.188 -04:00 [DBG] Hosting started
2023-03-19 16:46:09.355 -04:00 [INF] Application is shutting down...
2023-03-19 16:46:09.356 -04:00 [DBG] Hosting stopping
2023-03-19 16:46:09.363 -04:00 [DBG] Hosting stopped
2023-03-19 16:47:41.717 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 16:47:41.831 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 16:47:41.909 -04:00 [DBG] Hosting starting
2023-03-19 16:47:41.924 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 16:47:41.924 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 16:47:41.924 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 16:47:41.924 -04:00 [INF] Hosting environment: Development
2023-03-19 16:47:41.924 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 16:47:41.924 -04:00 [DBG] Hosting started
2023-03-19 16:47:59.058 -04:00 [INF] Application is shutting down...
2023-03-19 16:47:59.059 -04:00 [DBG] Hosting stopping
2023-03-19 16:47:59.065 -04:00 [DBG] Hosting stopped
2023-03-19 16:48:02.024 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 16:48:02.133 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 16:48:02.199 -04:00 [DBG] Hosting starting
2023-03-19 16:48:02.213 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 16:48:02.213 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 16:48:02.214 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 16:48:02.214 -04:00 [INF] Hosting environment: Development
2023-03-19 16:48:02.214 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 16:48:02.214 -04:00 [DBG] Hosting started
2023-03-19 16:50:29.386 -04:00 [INF] Application is shutting down...
2023-03-19 16:50:29.387 -04:00 [DBG] Hosting stopping
2023-03-19 16:50:29.394 -04:00 [DBG] Hosting stopped
2023-03-19 16:50:33.234 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 16:50:33.348 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 16:50:33.399 -04:00 [DBG] Hosting starting
2023-03-19 16:50:33.413 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 16:50:33.413 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 16:50:33.414 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 16:50:33.414 -04:00 [INF] Hosting environment: Development
2023-03-19 16:50:33.414 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 16:50:33.414 -04:00 [DBG] Hosting started
2023-03-19 16:50:56.418 -04:00 [INF] Application is shutting down...
2023-03-19 16:50:56.419 -04:00 [DBG] Hosting stopping
2023-03-19 16:50:56.425 -04:00 [DBG] Hosting stopped
2023-03-19 16:50:59.185 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 16:50:59.296 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 16:50:59.370 -04:00 [DBG] Hosting starting
2023-03-19 16:50:59.392 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 16:50:59.392 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 16:50:59.393 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 16:50:59.393 -04:00 [INF] Hosting environment: Development
2023-03-19 16:50:59.393 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 16:50:59.393 -04:00 [DBG] Hosting started
2023-03-19 16:51:52.102 -04:00 [INF] Application is shutting down...
2023-03-19 16:51:52.103 -04:00 [DBG] Hosting stopping
2023-03-19 16:51:52.110 -04:00 [DBG] Hosting stopped
2023-03-19 16:51:54.784 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 16:51:54.900 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 16:51:54.952 -04:00 [DBG] Hosting starting
2023-03-19 16:51:54.967 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 16:51:54.967 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 16:51:54.967 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 16:51:54.968 -04:00 [INF] Hosting environment: Development
2023-03-19 16:51:54.968 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 16:51:54.968 -04:00 [DBG] Hosting started
2023-03-19 16:53:06.230 -04:00 [INF] Application is shutting down...
2023-03-19 16:53:06.231 -04:00 [DBG] Hosting stopping
2023-03-19 16:53:06.238 -04:00 [DBG] Hosting stopped
2023-03-19 16:53:09.147 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 16:53:09.263 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 16:53:09.325 -04:00 [DBG] Hosting starting
2023-03-19 16:53:09.341 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 16:53:09.341 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 16:53:09.341 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 16:53:09.341 -04:00 [INF] Hosting environment: Development
2023-03-19 16:53:09.341 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 16:53:09.341 -04:00 [DBG] Hosting started
2023-03-19 16:53:23.715 -04:00 [INF] Application is shutting down...
2023-03-19 16:53:23.716 -04:00 [DBG] Hosting stopping
2023-03-19 16:53:23.723 -04:00 [DBG] Hosting stopped
2023-03-19 16:53:27.190 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 16:53:27.300 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 16:53:27.373 -04:00 [DBG] Hosting starting
2023-03-19 16:53:27.395 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 16:53:27.395 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 16:53:27.395 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 16:53:27.396 -04:00 [INF] Hosting environment: Development
2023-03-19 16:53:27.396 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 16:53:27.396 -04:00 [DBG] Hosting started
2023-03-19 16:53:29.740 -04:00 [INF] Application is shutting down...
2023-03-19 16:53:29.740 -04:00 [DBG] Hosting stopping
2023-03-19 16:53:29.749 -04:00 [DBG] Hosting stopped
2023-03-19 16:53:42.173 -04:00 [INF] Starting Portfolio Portal ASP.NET Core Backend
2023-03-19 16:53:42.286 -04:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2023-03-19 16:53:42.355 -04:00 [DBG] Hosting starting
2023-03-19 16:53:42.370 -04:00 [INF] Now listening on: http://localhost:5252
2023-03-19 16:53:42.371 -04:00 [DBG] Loaded hosting startup assembly backend
2023-03-19 16:53:42.371 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-03-19 16:53:42.371 -04:00 [INF] Hosting environment: Development
2023-03-19 16:53:42.371 -04:00 [INF] Content root path: /home/g/Code/JavaScript/portfolio_vue/backend
2023-03-19 16:53:42.371 -04:00 [DBG] Hosting started
2023-03-19 16:53:45.891 -04:00 [INF] Application is shutting down...
2023-03-19 16:53:45.892 -04:00 [DBG] Hosting stopping
2023-03-19 16:53:45.899 -04:00 [DBG] Hosting stopped