From d41b0810d2710cae6914b30ddafad35ab81a688b Mon Sep 17 00:00:00 2001 From: Griffiths Lott Date: Sun, 19 Mar 2023 19:01:20 -0400 Subject: [PATCH] Verified the creation of JWTs Updated/fixed database interface (requires full model testing) Some changes to db schema (create statement may be wrong) Reworked front end login page (not styling), still no routing Changes to how frontend packages ECC key --- .env | 2 +- TODO.txt | 8 +- .../Controllers/AuthorizationController.cs | 103 +- backend/Controllers/CreateAccount.cs | 48 + backend/Controllers/HashPasswordController.cs | 41 + backend/JwtAuthenticationMiddelware.cs | 2 +- backend/Models/AuthLevels.cs | 2 +- backend/Models/Auths.cs | 6 +- backend/Models/Company.cs | 4 +- backend/Models/LeafHeader.cs | 4 +- backend/Models/LoginDetails.cs | 6 +- backend/Models/User.cs | 19 +- backend/PPTLDbContext.cs | 10 +- backend/Program.cs | 9 +- backend/appsettings.Development.json | 4 +- backend/logs/portfolioportal20230319.txt | 5612 +++++++++++++++++ database.tar.xz | Bin 0 -> 20612 bytes database/BASE_DATA.sql | 14 +- database/CREATE_TABLES.sql | 6 +- src/components/UserLogin.vue | 126 +- src/ecc.js | 20 +- 21 files changed, 5875 insertions(+), 171 deletions(-) create mode 100644 backend/Controllers/CreateAccount.cs create mode 100644 backend/Controllers/HashPasswordController.cs create mode 100644 database.tar.xz diff --git a/.env b/.env index 46f2a1f..331d271 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ VUE_APP_TEMPLATE_HEADERS_ENDPOINT=http://192.168.0.171:5252/api/template VUE_APP_TEMPLATE_ENDPOINT=http://192.168.0.171:5252/api/template -VUE_APP_LOGIN_ENDPOINT=http://192.168.0.171:5252/api/login +VUE_APP_LOGIN_ENDPOINT=http://192.168.0.171:5252/api/auth VUE_APP_PORTFOLIO_GPG_PUBLIC="-----BEGIN PGP PUBLIC KEY BLOCK-----\n\nmDMEY/+uFRYJKwYBBAHaRw8BAQdATSNmZMGFcu39sYJkOw6YefrarbnuE045+l2N\n92sDHhy0ekxFQUYgUG9ydGZvbGlvIFBvcnRhbCAoTEVBRiBDb21tZXJjaWFsIENh\ncGl0YWwgfCBQb3J0Zm9saW8gUG9ydGFsIEVuY3J5cHRpb24gJiBTaWduaW5nIEtl\neSkgPHBvcnRmb2xpby1wb3J0YWxAbGVhZm5vdy5jb20+iJMEExYKADsWIQTy4hw/\n4UStInnbNSZAWHYAralXlAUCY/+uFQIbAwULCQgHAgIiAgYVCgkICwIEFgIDAQIe\nBwIXgAAKCRBAWHYAralXlDVYAP9NliQN6DYRb5KB39N5aeIJVM0CUHL8zbwIPkP8\nWQf7zAEAryZ3xvHCJ7XZu+10CBW8GRCTmJt43KqXlQ096xqXnAa4OARj/64VEgor\nBgEEAZdVAQUBAQdAZ7Y+o3YYmOZjahzgJNCkmIekdAQg1kgLLAFrL5zVV0cDAQgH\niHgEGBYKACAWIQTy4hw/4UStInnbNSZAWHYAralXlAUCY/+uFQIbDAAKCRBAWHYA\nralXlN9rAQCXEZ/4OzlNqrK/9gIO9rDRnx8c8Q2ES6ELXc25NnSqTwEA2GXARD2O\nZztuZHC1yowe9WdkLKXhlSqqdtGNdQuKRwQ=\n=eXTg\n-----END PGP PUBLIC KEY BLOCK-----" \ No newline at end of file diff --git a/TODO.txt b/TODO.txt index 0c78d24..24b8bb8 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,4 +4,10 @@ [ ] Normalize appsettings case convention [ ] TemplateHeaders controler use database, not config [ ] Clean up imports -[ ] Remove unused packages \ No newline at end of file +[ ] Remove unused packages +[ ] Move database operations into thier own class/service + +##FRONTEND +[ ] Create company interface +[ ] Create users interface +[ ] Only allow creation of users for created companies \ No newline at end of file diff --git a/backend/Controllers/AuthorizationController.cs b/backend/Controllers/AuthorizationController.cs index 2237029..9424a65 100644 --- a/backend/Controllers/AuthorizationController.cs +++ b/backend/Controllers/AuthorizationController.cs @@ -9,17 +9,19 @@ using Microsoft.IdentityModel.Tokens; namespace backend.Controllers { - [Route("api/login")] + [Route("api/auth")] [ApiController] public class AuthorizationController : ControllerBase { private readonly IConfiguration _config; private readonly ILogger _logger; + private readonly PortfolioPortalDbContext _dbContext; - public AuthorizationController(IConfiguration config, ILogger logger) + public AuthorizationController(IConfiguration config, ILogger logger, PortfolioPortalDbContext dbContext) { _config = config; _logger = logger; + _dbContext = dbContext; } /// @@ -34,11 +36,9 @@ namespace backend.Controllers // Log the request (password is censored) _logger.LogDebug($"Login request with body: {requestBody.ToString()}"); User? user; - using (var db = new PortfolioPortalDbContext()) - { - // Check for a user with that email in the database - user = db.Users.FirstOrDefault(u => u.Email.ToLower() == requestBody.email.ToLower()); - } + + // Check for a user with that email in the database + user = _dbContext.Users.FirstOrDefault(u => u.Email.ToLower() == requestBody.email.ToLower()); if (user != null) { _logger.LogDebug($"Found user: {user}"); @@ -57,7 +57,7 @@ namespace backend.Controllers // Get the user authorizations List auths = GetUserAuths(user); if (auths.Count == 0) { - _logger.LogWarning($"{user.Username} has not authorization levels!"); + _logger.LogWarning($"{user.Username} has no authorization levels!"); return Unauthorized("No authorizations."); } @@ -89,7 +89,7 @@ namespace backend.Controllers } // No User found | It's best not to distinguish between invalid pw and unknown un for security reasons - return Unauthorized("Invalid username or password."); + return Unauthorized("Incorrect username or password!"); } /// @@ -145,16 +145,12 @@ namespace backend.Controllers /// /// The user whose failed attempt count is being reset. private async Task ResetFailedAttempts(User user) - { - // Create a new database context using the PortfolioPortalDbContext class - await using (var db = new PortfolioPortalDbContext()) - { - // Set the user's failed attempt count to zero - user.FailedAttempts = 0; - - // Save changes to the database asynchronously - await db.SaveChangesAsync(); - } + { + // Set the user's failed attempt count to zero + user.FailedAttempts = 0; + // Save changes to the database asynchronously + await _dbContext.SaveChangesAsync(); + } @@ -167,31 +163,28 @@ namespace backend.Controllers { List authsWithLevels; - // Create a new database context using the PortfolioPortalDbContext class - using (var db = new PortfolioPortalDbContext()) - { - // Reset the user's failed attempt count to zero - user.FailedAttempts = 0; + // Reset the user's failed attempt count to zero + user.FailedAttempts = 0; - // Save changes to the database - db.SaveChanges(); + // Save changes to the database + _dbContext.SaveChanges(); - // Retrieve the authorization levels for the specified user from the database - authsWithLevels = (from auth in db.Auths - join level in db.AuthLevels on auth.AuthLevelId equals level.AuthLevelId into authLevelGroup - from authLevel in authLevelGroup.DefaultIfEmpty() - where auth.UserId == user.UserId - select new AuthWithLevel - { - Auth = auth, - AuthLevel = authLevel - }).ToList(); + // Retrieve the authorization levels for the specified user from the database + authsWithLevels = (from auth in _dbContext.Auths + join level in _dbContext.AuthLevels on auth.AuthLevelId equals level.AuthLevelsId into authLevelGroup + from authLevel in authLevelGroup.DefaultIfEmpty() + where auth.UserId == user.UserId + //FIXME Just take the AuthLevel + select new AuthWithLevel + { + Auth = auth, + AuthLevel = authLevel + }).ToList(); - // Log a message indicating the user's authorization levels - _logger.LogDebug($"{user.Username} auths: {authsWithLevels}"); - } - + // Log a message indicating the user's authorization levels + _logger.LogDebug($"{user.Username} auths: {authsWithLevels}"); + // Return a list of Auth objects representing the user's authorization levels return authsWithLevels; } @@ -203,27 +196,23 @@ namespace backend.Controllers /// The user whose login attempt failed. /// A boolean value indicating whether the user's account is currently enabled. private bool RecordFailedAttempt(User user) - { - // Create a new database context using the PortfolioPortalDbContext class - using (var db = new PortfolioPortalDbContext()) - { - // Increment the user's failed attempt count - user.FailedAttempts += 1; + { + // Increment the user's failed attempt count + user.FailedAttempts += 1; - // Log a message indicating that the user's login attempt failed, and how many failed attempts they have made so far - _logger.LogInformation($"{user.Username} failed authentication! ({user.FailedAttempts}/5)"); + // Log a message indicating that the user's login attempt failed, and how many failed attempts they have made so far + _logger.LogInformation($"{user.Username} failed authentication! ({user.FailedAttempts}/5)"); - // If the user has made too many failed attempts, lock their account - if (user.FailedAttempts > 4) - { - _logger.LogWarning($"{user.Username} has had their account locked for too many failed attempts!"); - user.IsEnabled = false; - } - - // Save changes to the database - db.SaveChanges(); + // If the user has made too many failed attempts, lock their account + if (user.FailedAttempts > 4) + { + _logger.LogWarning($"{user.Username} has had their account locked for too many failed attempts!"); + user.IsEnabled = false; } + // Save changes to the database + _dbContext.SaveChanges(); + // Return a boolean value indicating whether the user's account is currently enabled return user.IsEnabled; } diff --git a/backend/Controllers/CreateAccount.cs b/backend/Controllers/CreateAccount.cs new file mode 100644 index 0000000..6e002bd --- /dev/null +++ b/backend/Controllers/CreateAccount.cs @@ -0,0 +1,48 @@ +// using Microsoft.AspNetCore.Mvc; +// using Microsoft.EntityFrameworkCore; +// using Models; + +// namespace backend.Controllers +// { +// //FIXME: This needs to be behind authorization in production +// [Route("api/createaccount")] +// [ApiController] +// public class CreateAccountController : ControllerBase +// { + +// private readonly IConfiguration _config; +// private readonly ILogger _logger; + +// public CreateAccountController(IConfiguration config, ILogger logger) +// { +// _config = config; +// _logger = logger; +// } + +// [HttpPost] +// async public Task CreateAccount([FromBody] dynamic accountInfo) +// { //TODO Create a model for this request +// User newUser = new User(accountInfo.username, accountInfo.email, accountInfo.password, null); +// _logger.LogDebug($"New user to be added: {newUser}"); +// using (var db = new PortfolioPortalDbContext()) +// { +// var addTask = await db.AddAsync(newUser); +// await db.SaveChangesAsync(); +// var newUserDb = await db.Users.FirstOrDefaultAsync(u => u.Email == newUser.Email); +// // Add auths + +// if (addTask.State == EntityState.Added) +// { +// _logger.LogInformation($"User user added to database: {newUserDb}."); +// return Ok($"Account created for {accountInfo.email}."); +// } +// else +// { +// _logger.LogError($"Failed to add new user to database: {newUser}!"); +// return BadRequest("Failed to add account to database."); +// } +// } +// } +// } +// } + \ No newline at end of file diff --git a/backend/Controllers/HashPasswordController.cs b/backend/Controllers/HashPasswordController.cs new file mode 100644 index 0000000..c5ad39d --- /dev/null +++ b/backend/Controllers/HashPasswordController.cs @@ -0,0 +1,41 @@ +using Microsoft.AspNetCore.Mvc; +using Hasher; +using Models; +using System.IdentityModel.Tokens.Jwt; +using System.Security.Claims; +using System.Text; +using Microsoft.IdentityModel.Tokens; + + +namespace backend.Controllers +{ + /// + /// For generating Argon2d hashes in test. Do not use in prod or with front end + /// + [Route("api/pwhash")] + [ApiController] + public class PasswordHashController : ControllerBase + { + private readonly IConfiguration _config; + private readonly ILogger _logger; + + public PasswordHashController(IConfiguration config, ILogger logger) + { + _config = config; + _logger = logger; + } + /// + /// Takes a plaintext password in the form {"password": "yourpasswordhere"}, + /// generates an Argon2d hash for it (using random salt), and returns the hash + /// + [HttpPost] + public ActionResult HashPassword([FromBody] dynamic plainTextPassword) + { + string password = (string) plainTextPassword.password; + string hashedPW = Argon2dHasher.GenerateArgon2Hash(password, null); + return Ok($"Password hash: '{hashedPW}'"); + } + + } + +} \ No newline at end of file diff --git a/backend/JwtAuthenticationMiddelware.cs b/backend/JwtAuthenticationMiddelware.cs index e4f2366..86fc8f6 100644 --- a/backend/JwtAuthenticationMiddelware.cs +++ b/backend/JwtAuthenticationMiddelware.cs @@ -112,7 +112,7 @@ public class JwtAuthenticationMiddleware } catch { - _logger.LogWarning($"Failed to verify signature!"); + _logger.LogError($"Failed to verify signature!"); context.Response.StatusCode = StatusCodes.Status401Unauthorized; return; } diff --git a/backend/Models/AuthLevels.cs b/backend/Models/AuthLevels.cs index 41baace..9aaaf2c 100644 --- a/backend/Models/AuthLevels.cs +++ b/backend/Models/AuthLevels.cs @@ -3,7 +3,7 @@ namespace Models public class AuthLevels { - public int AuthLevelId { get; set; } + public Byte AuthLevelsId { get; set; } public string AuthLevel { get; set; } public string Description { get; set; } } diff --git a/backend/Models/Auths.cs b/backend/Models/Auths.cs index 662d84e..ff4cea2 100644 --- a/backend/Models/Auths.cs +++ b/backend/Models/Auths.cs @@ -3,9 +3,9 @@ namespace Models public class Auth { - public int AuthId { get; set; } - public int UserId { get; set; } - public int AuthLevelId { get; set; } + public Int16 AuthId { get; set; } + public Int16 UserId { get; set; } + public Byte AuthLevelId { get; set; } } public class AuthWithLevel diff --git a/backend/Models/Company.cs b/backend/Models/Company.cs index 06949ec..8c3d8b3 100644 --- a/backend/Models/Company.cs +++ b/backend/Models/Company.cs @@ -2,9 +2,9 @@ namespace Models { public class Company { - public int CompanyId { get; set; } + public Int16 CompanyId { get; set; } public string CompanyName { get; set; } - public int MainContact { get; set; } + public Int16 MainContact { get; set; } public string State { get; set; } public DateTimeOffset Created { get; set; } public DateTimeOffset Updated { get; set; } diff --git a/backend/Models/LeafHeader.cs b/backend/Models/LeafHeader.cs index 690b71d..01c0d2f 100644 --- a/backend/Models/LeafHeader.cs +++ b/backend/Models/LeafHeader.cs @@ -2,14 +2,14 @@ namespace Models { public partial class LeafHeader { - public long LeafHeaderId { get; set; } + public int LeafHeaderId { get; set; } public string LeafHeaderLeafHeader { get; set; } public string HeaderRegex { get; set; } public bool LeafHeaderRequired { get; set; } public bool Nullable { get; set; } public string ValueRegex { get; set; } public bool Active { get; set; } - public int Version { get; set; } + public Byte Version { get; set; } public DateTimeOffset Created { get; set; } } } diff --git a/backend/Models/LoginDetails.cs b/backend/Models/LoginDetails.cs index afd3606..3dac201 100644 --- a/backend/Models/LoginDetails.cs +++ b/backend/Models/LoginDetails.cs @@ -10,8 +10,10 @@ namespace Models public string email; // Plain text password, must be hashed (Argon2d) and compared against database public string password; - // This is a Ed25519 public key which can be used to verify that - // a header was signed by a client. It will be included in the JWT + /// + ///This is a Ed25519 public key (base64 encoded byte array). + ///Can be used to verify that a header was signed by a client. + ///It will be included in the JWT public string clientVerificationKey; /// diff --git a/backend/Models/User.cs b/backend/Models/User.cs index 1157f19..b544f6e 100644 --- a/backend/Models/User.cs +++ b/backend/Models/User.cs @@ -1,19 +1,26 @@ +using Newtonsoft.Json; +using Hasher; + namespace Models { - public class User { - public int UserId { get; set; } + // Nullable fields have defaults in the database + public short UserId { get; set; } public string Username { get; set; } public string Email { get; set; } public string PasswordHash { get; set; } - public string Created { get; set; } - public string Updated { get; set; } + public DateTimeOffset Created { get; set; } + public DateTimeOffset Updated { get; set; } public DateTimeOffset PasswordUpdated { get; set; } - public int CompanyId { get; set; } - public DateTimeOffset LastLogin { get; set; } + public short? CompanyId { get; set; } //May need to change to not nullable + public DateTimeOffset? LastLogin { get; set; } public bool IsEnabled { get; set; } public int FailedAttempts { get; set; } + } + + + } diff --git a/backend/PPTLDbContext.cs b/backend/PPTLDbContext.cs index 42ea5b2..3004c9c 100644 --- a/backend/PPTLDbContext.cs +++ b/backend/PPTLDbContext.cs @@ -1,10 +1,14 @@ using Microsoft.EntityFrameworkCore; using Models; +using Microsoft.Data.SqlClient; namespace Models { public class PortfolioPortalDbContext : DbContext { + + public PortfolioPortalDbContext(DbContextOptions options) : base(options) {} + public DbSet Portfolios { get; set; } public DbSet PortfolioData { get; set; } public DbSet AuthLevels { get; set; } @@ -13,12 +17,6 @@ namespace Models public DbSet Users { get; set; } public DbSet LeafHeaders { get; set; } - - protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) - { - //FIXME: This couldn - optionsBuilder.UseSqlServer("Server=localhost,3341;Database=PortfolioPortalTest;User Id=SA;Password=LEAF-portal-test-enviroment1;"); - } } } diff --git a/backend/Program.cs b/backend/Program.cs index c24d7f2..0b22fae 100644 --- a/backend/Program.cs +++ b/backend/Program.cs @@ -1,11 +1,12 @@ using Models; using Serilog; +using Microsoft.EntityFrameworkCore; //TODO Make this configurable from appsettings Log.Logger = new LoggerConfiguration() .MinimumLevel.Debug() .WriteTo.Console() - .WriteTo.File("logs/portfolioportal.txt", rollingInterval: RollingInterval.Day) + //.WriteTo.File("logs/portfolioportal.txt", rollingInterval: RollingInterval.Day) .CreateLogger(); Log.Information("Starting Portfolio Portal ASP.NET Core Backend"); @@ -14,10 +15,14 @@ var builder = WebApplication.CreateBuilder(args); // Add services to the container. builder.Services.AddControllers() .AddNewtonsoftJson(); -builder.Services.AddDbContext(); builder.Logging.AddSerilog(); +var conString = builder.Configuration.GetConnectionString("PortfolioPortalConnection"); +Log.Information($"Connection string: {conString}"); +builder.Services.AddDbContext(options => + options.UseSqlServer(conString) + .EnableSensitiveDataLogging()); var app = builder.Build(); diff --git a/backend/appsettings.Development.json b/backend/appsettings.Development.json index f7a93a4..eb88a8b 100644 --- a/backend/appsettings.Development.json +++ b/backend/appsettings.Development.json @@ -6,13 +6,13 @@ } }, "ConnectionStrings": { - "TestConnectionString" : "Server=localhost,3341;Database=PortfolioPortalTest;User Id=SA;Password=LEAF-portal-test-enviroment1;" + "PortfolioPortalConnection": "Server=glott.me,3341;Database=PortfolioPortalTest;User Id=SA;Password=LEAF-portal-test-enviroment1;trusted_connection=false;Encrypt=False;Persist Security Info=False" }, "JwtSettings": { "issuer": "LEAFPPTL-Test", "audience": "PortfolioPartner-Test", "SecretKey": "DEV-KEY-PortPortal", - "expirtyTime": 60 + "expiryTime": 60 }, "AllowedHosts": "*", "UploadSavePath": "../Uploaded/", diff --git a/backend/logs/portfolioportal20230319.txt b/backend/logs/portfolioportal20230319.txt index e2e888b..409ae0c 100644 --- a/backend/logs/portfolioportal20230319.txt +++ b/backend/logs/portfolioportal20230319.txt @@ -10,3 +10,5615 @@ 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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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.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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) + at Microsoft.AspNetCore.Routing.EndpointMiddleware.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 diff --git a/database.tar.xz b/database.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..b6d68f557c7461d81df1e6c812b5217df91bfa18 GIT binary patch literal 20612 zcmV(lK=i-;H+ooF000E$*0e?f03iVu0001VFXf}*L;p}jT>vr|O759mrT5IGD*t?Q zVnC0WFKW-A_emeqi!uOw970A)2fr_(Z`bk|t(o4lm4hXaU+W}vC6Fy9DS?MN9@?1o zv_e^tu8jC(W1`#W+Iwoi;m(21|`AI6*Y2S%_S=t1rASaY> z2thpBf*#aoQRI;(37J&-U;_8(K7>(d$GY`tJQAQUoAxdk;PT5}L*}Utg%&iAySw*? zzzSg5R!chvt(UomC*IKnJfXuxCN(SpDnEoC}0JaScp z_5w6~9+uy>YqUkBT1k~iwOuL|KPvlt0+n@r5RRQALVNX@%8ep4HGjvwjy+~d3?--H z%>o<-^EmQ45~TgLxGBd$HWy)I6UvYe(_tHPJjLA-n6IG&XE`E%93Ti^+8O+q?%PKoL^N}ms`jft zx;0@pn^CVmAV!uN{WPD~cMr|+%a-M)Q*IljR1{?^X-Ej27}(^!Fnn2ofWIrl zH_)eW-#{JPghBixf5Z8cdQXLFylqN3A&RMiSV6CjgiN)?Ym>3%U3%_AtIU56a|*f6 z64;ZIHk>76BGx1vP;P1~5YcZQ3P`c~OWG45dZ936HIPYtHxS&5_q&h0#2E?vrnhQ! z7^rt+C?D;1MxH_L!G3eFb68UpJ{Qs%cPwD}c~!Wres_Genz(v6Ia5#SO>JXelGIzT zD{uT=Wr~%Zab`%DISC}?_2jK?rx`2+1u(B|IEI>~nTJD01u-v{!|9n8`1G?H$45!h}KnZ1%i)=dH&l z$SztC9ev#=0dL%%tE%3ps#3#K!Ylt(~nQ`y`A7s zUU$en%A(34MsW;P*pqDgnkzjq0QO!#V{F_kT%lzvWP02sBhqh5rMtv(AgIqugTz+N z`;M+|;a|-=lU@xLL^XuiYfb|#F+suEH*q^D8=0V(6M`(kSS0K%lX8Qsi5JXB&EQ@6 z1gsUU$P2fUJ%B@)U)o-1xwF;XsEFBDI%`Kz6D>hC@ClT@m>G39>Dz;C*>=*V*&*}P zI~tR7nMZaO$;wV`>}2CeSCxR$;>I7M1Yildk@d- zt=@EwAPFXBe_S|AW*`lvNz?b_wTC`3QU3>s;iaraCaw$N&uT{ucbDQl`x`lwZ|hmH zaJV$jw;7MI+lGf{JvN1&pM_hn%6deB7}d$)Xa}p?_Jd=^bF2rNSK~!F*^6}b&}nS!XK972c#hP57VZZ|T+Z1Pn4 zqugqR!E%4*7fBaOIz?JVMrrhOH2u3HIF~=?(o{e+N&5_64S8jkG_pMnlLS9+#Eob; z|6W_Kp_OHnf5f9aT$wLH@^DBi!zh>_CRQriZF;fOe)_|^-ub;mmCmq9q9Ev`PFSb6 z_esu@^cl3$MiXnG#I2fb%pPs5x{ckO=ig_4o4;@}(a!R7K_ajh$db0mwg)%Gh1J>1fxnZ9c4V>JP=*9vxh=$Ng-==bfjDIZ1U zPQk)omZ_%+m!ITfQaJrEMv6Q5f6cw$zoN!1v?3t4PXsg8-+DDp2pC|K{~eXJT(5;( za~cP3+h5uFV2a@{)bo6?;Gx6`xC}(i-uC)?s4 zgw*FLO)r~N0R-kmUlb-)ydEGia5w_K3*4&W1n z!(Y0BYw&ov8fFP-40Y5VNCo%({X{MP_MuMS-R4IK15BOA>BB1hy1i3Gw{)W2L24#7 zksO$nOoSDNeB`%ac=+Foo6?_ysO@g??FH~-+0d(f-6N$J@pFXOC%H?LR4yc8e}4+k$QnC`fD+JC+?b9&f?GVwHE|2!m`dWKsoA7WW$7IsCOXeH~y@8nr0rN$dif z_jMDUMTBfthI3bJ(q6Tr_jt_&(<^P8aUxrZH?_=@k|8JbTGn(7_lP8ryJ*NW=)xDU zwdHHLUIxqV2k{^N+_{v@7&9JsFMmJ|Ke|^b`>wAm(1fk)NT)N`nu-gZk-D8iihdVi zkoXb{v2`VOpU7HBU_ab}qE9X}cvN~8(>XAPY*(Uncq>%v^2WU0kzyvMlLo($1JxNH z*V$KX*9PH{wSzO-D}(*8dU|@-k|tlH>7=nwZpe8}(TDALtju;9Mx|1=M^6H%SN}ZV zQrVu^oakAB*>0SpXqbwMW0^did7j|sQt^U2 zrRCyB-Y!UIvtjQug_mE#Z(McRPE%BTuL~pRHAVm)ZoH9Bf2C~Oo zLez&Q7~qMSHKn=!7nK+N$|Nn~!>e`dY_ny)Mo`47$sqNlCow z9(y{loHpnRwB#4_Fiz-FBYJoT+1wn6zA{DpccLq`q~)vT;`;Bd2F4qY`D`JJj+gD~ zmXtdbMTj`u6o(PbgAY)JlGRoT9YuU8cpzQB#Cj+*4TTGaBc_V6C1Z8YmlRc`Rw;I&YagShadh zB7ebqp)JKhG(v>_Xze?8W~`lgh3@dE(`0X@IZ^wKG5yCD{ss6uVRO2H!KRzban5S_ zMeqpP#_p(BEaRT|Za3-uX2SRLnBv+dfA3@Oj_yIi-{}Fg%XJ(KzR%JEh zAO05`LTYL(;%|%)5;v-$cMQ?SwY$=3GY(Ns#Hv_M1m$>X`4U~2^P9?xR~JmrjnLm3 znwanD(m9PnjYG@^8f&c#CnKCJ!YS4W!p`=+f=Hw1+M=y;h1>^8EOaqhXKL)}*rULN$5 zBk&_aLh>^a+1pTu{6^6ZAuMlHT*{VA`HxlGI5%AFQ5)ug|muz+a%O4e09`@G(F3OpB3Ps9gA>ZMXy6s#9mXXDGe4!1hJ=zreuPL&U{4mW zYD5E1>$&i3pgz@fz#vTZ(ePEPdR=2iGxoC}i{+Wr zgr1k@bM03ND#oEB_#P`viNe+L!U38@ql($!j-aOoD8)wL$L~0LW`1{pZ)wtAavB_4 zpYIB|2?!7P(aNa&9+^7kkR+!70%!}8$z-~t+9(mion+G5YW*6*3v8)QGxOG;bqgx3Mr)* z3IE=E@je>vQLyPu+gkg2jOE4=X!445 zH)ecP`-Y)q5K4wi2=}k`B9C-#_&ShAE-{*M%l7EAT-7?*U0k&V4lv@P-F-kVlI!k- zQcD?2iE_7Q`i9sn%uq6>(;M3^NQ4@AtK&}%v?>m%YIrJ*T3k1CWkaJ+Jwq=FuLfF= zR5XJk%`QDJ@?bY^P0l-|RgL&yoXqon{t*6>_T`i2vG${jQ(L^W2>9XsO1jg}#4;kH z=)?H!&T&7yRA4=N2I^ucuW#A~;&&Js`tjg7WULn*X;d@RMf}ataGMt32UN{^uy?g^6)yc{wdh&1#1v16AlZa<2j3VNnoNK%d z?kb4j8fhScUK@+n%=$W-ES6%@yGB{KZaeH626}t9uup~Ypj=Sec}^;y2@=t^+%2^ez+n;_WvgNM_kRETtLy)eWB)rX1SEf;Dfn$ZAE9}( zqF1bI9!n`|C*XUDQou1RcLM?Ocpj-JC@LkEZA1UT0uTDap7|M70weT$C{YS<3 z-!S^heYBF_9=2-CDUHo^gLK;Z^kjqrA+vmAj9(0_Py4`oaMcAoV-AR^x_aYFEMiW! z*yTofp<3O@$<=jNC+tw zT+(q%Z)hZ@0xJ=W5tqM%@SJB;mXxQQcI|@1BI}JEu=q*Etu2^z2cdRxGnC0Z1qyXj zPC+DT#>U8@67V-;0kFcZIFN@=KRX z@k9N5ia7CF_<&yRhNYc@;Dfv9Zv6z>%XN2uF!TfexYZS13wJbsm-j5(OXXj7RNkC| zR!IrnMlG!Ls+ytXs)2HdOi+KRscNq3jgP`MM|J)>v3%H8wus`C{rSyeq$B%^7co8A zvSN0-oZa}=+>bNrH@Uvi#g$p&voaZh$EVZ~N*Y6+&~SZYZ;ms6-{h(MDrQ82MoG6O zQ9rSL2JaREw~TxX0X(%x-E-Nx?M*k`pGR(_ocYJ|7QZTw-l@ALT-O%iyz{FDej3s} z-bnS%CykM>AUhF2+gzvuCKdsyu27V;szQ`cr9k@)m(mEJ7+#xnqY^&K;n>N{3J^8x zwhD#v+gYBX)usm<5;iX)TCvc-^@woMo7t^3n^mw%02kI&n{V|rTcps>bP>z9pMPj% zs)=T}2aB`FlBDf5Lm|a`5Swj_OOtrAevl9o0Ztn~PlrKv`uCwZ-+*;*@w1d*@Q?&P z^stRkq2;X+r&LpZp(@$%6HPpKQ1*A~85-K-2V~H6u5ppVOy_+;$ zi%{G254G`6VZ?aZGnXj+g&&Nf?@^BP#E57`#HExp2ar&3f)W)g%5N>Xe4g;EX5+k3 zL5#VuLKB* zz?zkbF~HOCIr16{;x{E3qL);(-(7JWn0?2I^Lg-Y!KAQ-5mX=bS_Y&PgpU3jL9~PB zail{}jQWug<-csfRZ5lf?Ea*2kQ@Qf#fAY4YsLXK6PiQke;XA>g6k(enaXD7Vw(>) zRAGIaXnKxQ5e^;+S*nq>Cl{+=P-gF@#iHX6vBLlzydnqD28-dD|L4TqO4Y-Yc zo>J?yyV01Jek~iT}=!667ff4Uv8uy z98pK2M<~8G7dkC{BT)0iD(8ZDAq`dWll?cok$414=-o|&Z|4?mvg!tJ#mG6hD85nG7Pn?a^khHt>Rzx7BexVOc4ys*GOdJx!&cB>7LXk)rnA-L`el?UfCb&&!A{t z_(j$AITkP6guvUzuAReIC~5+O1->YcZnZ{x*e$6l{aw+`Jar|J%mYrwENF3YGJ7FuAOs-^?@5qaX z+hNxNuJHP&<0_D0ml;G7kO2feys#cL;x!ux99}B7@oQ#hy7P$**K5{zRGstraL*Nz z;u^-XzL2{QW)91~^1-+aU8#@Ksnw^~{s)k7*Pl@ND}Gi+Q?mdp(;JMJ;0uZLt70^L zor*0mD!C5kVyW0|c~QeI#@B2>U3^hI{$qmzG5s!5nY@gjvOD=f z$8o<&Rd8?IfLKRE%Uk@WUwH0xz1#PJzig4G61pl?kVK2?Pdkq6BMVEXpg{`gjw1|T zbY8O}6IibYFO!VP5GPCZQ-FChPJYV7or9O_7?9q2cRR0yE^I#USb=n28~6qSz3^Hm z2Syyh_U4M~M@Lo~zK}JUYrl2IS{JY+=Y7%A7p!QXW?bhvM9m@#Xk_n?Z70(YkEE8C z5QivRiUjoFJ0(`m^m2ZzV9=ChY9KnB1#hjYRdn;;B0=1A|w>!hq7|* zoy?|S#0C7Z=!7X_IRcTr9^O1hPSG-_j1iDtIacRk@Gjtiwu)BE=$NhKGd&0qPSVbEAbX4>b>QhX# z;;qzoiTeb^zlMJ1gYJ;)u<*&_4ZLL5XZ2RogiGc&Axl+a+0IVahp?Icvb{~y0no`M zpSh_BLz`^1z}|-nHd%2}2b*cR*G+l(Y3^NZlM3juCl?6Tvj&CPIgt7A_Um82IbDIsA} z)b$tWaW|!U7TlFDi%+ktS0hnFn>h3TdJ&mK(jyQs5QO$la#E;blZ^j#tewN=vev4k zt7w=meDu2CSWGO3-;lcz;g{!HVB=YuX%8u$`P;nVv$@L_frVJ=>>qOY%R_b3*Hc!x zQ|4H@F6^pC%k9TKtAK;4U`f_3fX#7CUxbnQl|GXMijPQA#Add6>%lRanIwC(F?Op! z7$wr$dPtoSL?ZRv@w;}`n(OIZ*Zdor1l|8CNH}l{xa<$L6m&%ITP|4l!*W$A6|^q6 zGWPS2#B+9382)~r;(*~I8dL)lb)&*m%l!@Iwf$IOk?}Tc04d=UKC}h@y^$mG1R5C$ zGMzLFD2et_*_-5EFVDb2AdNx)+HE_vT&8YXI^NkE8+cN4;<%GW3{SlB=JGC>2t=5) z=4THE8XZQQ_1ReQhz0h_7GhoYEej)N1xPq#D1HcFzRYm371c;LPkM#>)QzOq@&7d0 zHkvM-fkRatSEnnP9D9TtQ`RdfDb-Gl_$@KAv;u^=#ZY0ZP%oeBENluXYb76Om@|6o zeYF_Luui?J%VJZM`bWb$)&)jR72BehIyk{tH(Z8u9U+k^-i1ax+Kjd+5#bWlaNJA+ zRnqO2ZQ+V<4VxqOUdU&uNCbdn?1-jMwywG1e#%+LcoLs>r1g4d8*R+;b~RgW7)@}^ zKLWOMit>}uzqi2YA_cj-rudoG4zoeyU{{pyZh#x-8BL!@e`qp;2$-Q8C1)woE^;*` zI(0LwA~?Hgfu~a_t(-(UTD#4!tUXcgt*e>~D3QsVzK!%rAgo!$1`eEViKC6sWWN<1 zTrn$sZV9r^e&}af5(c48u9VEV#fvhX9e}G@Z%mZxm^A6jwa31S7e{N5%896ge5M~) zw?{PDl&Lsz0i>My3I^DB(7$$q?~hL7AV}>&8jgZLrSY1f5|XU%gut&yT_L{7rHg4l zCdVy!8g9x6IMo5hNKW7m)6M$j{H}%yFF4kc2ML@G`EJ|Rtv{V8IIX>YUr=(f1*dpj^H^$EfyG;m8d%Gy7a;rXQGXBLDlhMCc6LeJqm8FuhebWBK+ZIXsBKdb*|vc_iK1G9|zm*Z_daY1K)j)Q7OI1o60+iI4? zg2mjDI+>ObM3~H*}Jx)nUxEpb;=7=`)RF|+tndQaSzMxw<$8tvRp!$yO zo10~3&$V0U3VMic4F@2xR*y@P7kqfDKy0K{y;GZB{M}p`)pq5EC|efW)iFZ7QJ4w0WJ@V`g6& z>q2=0&OAE{)ZFYN(-}D?6w{}^6&tk#s~nQh&i=6$Xfziby3dJ1y;^D- z5e1(=*0}uY1F)YN$Bkr`lJWdQ(vbl42eYKNBFP3<0&Y}l6>USZwkE)PueluJspj+> zE~FuwlnFOpd0%PV24)sP8{PM0Vo47xV^r&>QkBSF-wbiRYgoV$JkkVB%1|adxb#|X z)3>^q9{fMmnGJx&{4Cix4Tc+y{$q*wI?W?#zZQte)djLF1!mEpB#%+MvyiSUX1j!0 zutV7K;c&9^mIS-Xl}a8_fY&^J8ul3raw{+FRxxl6R}6#@aZddgGS{=aZsc1A(QN%i ze){)H9JAeNw59#5yTaZaG!#19wn1uQ#pNFfz{hE$-_R6msX8P8eVXzw! zLg9n^Qx=}7!eDQvC=;Bq6MR<$=|9)hsv^_v>^(RnAiEz2iA&;7$h3ar>kVOfGKJBmUKZ@B$@!^p)xMcuk`^q z4t|2sZSUEb01VEc?FhnH4q%2D;vQqhF|0P?Z5it1fv?HYrX~tp$>fXwAjsGaj3ygZ zP5$o0ftFu;@2}{#!mdzsz-gMeB+(Q=t?^Y|kx-fRnocNaqyyinxrlrXt2t`MZRSXm5dI&uQmoG@qz8nQ(BPT3+q@3hhx#m-H1un@@5I%xJGWoS-bnG22(sVl5e^vuc3A{LSCUA&KC zG@=f*$%+|13O6N%_^w8?bRdBB0`E|>{K-ZYeNZ_0O13+zGUo^_w$-lbq@Z$t(E#C} zPTyoh?4qJCQK{MXG@n+#<5^H0jg;b8A|5^mvR~;7f#tg4tj|2NvqEy z)cTITRz*ReKa}8=ysVG%5=EuwG2XZUxqDp6Zhi@N4hl|X8hSC9tV4X=i#J}-vfkdU z2+N~6k08b8$Y@r-nhOI@UNH$~6wvTrV@QN5t`bc0v5J^N4TZTBa;JvT0r~`bo>~?| zSM6^zj;c6fDaEOqvzQ_ZMBAqXe{G(-MgzNq(D z`nU$@Ps&g=5v_AW6~_O_l&I4tQrifQyx9DP9V$B+RT8(*C+S?^ zU}tE@37HcF#O$@KjJ+%vQltFb#JdLwWz(Bz6GF|co%yQZzS{4iXKZ}NAi=Z1vMH6{ zu2NyyTaqL}^@tN!Yo$b(gQ?{ly%9M(cV(GQlQ&0xb3*B&t;Td7$!$Khj_g{Sq~iZ>KS^5 zVX0AZ1KW)71x?*xT_%MnS@^cfuToa-b(tNm;4W zI=Vi95b4`T^U{f=nPK0QK0|Y&D;sYD;0QGfhGT>ZIm5Z!tY_=m$0%Xt{fv~NsN~>O z@S8aHv##-`-pi;pIJX05uC^F^ms{ii6;kCy^^`BBq+PwsRBoCsLS#~&Io4&rK>gf&qgk~zg z_d2QvT2Y{TpfGM(nt`mNIH-kC-1=0*o?IrYVD+faaFPe+jZ15%L`k@#7k|=GOHZ+I z^d{k9uVlJog2hHfN4bfksHf8cgMQ8y>oIn^3gV>|{3RwDfb?bX@m{>g=B1VAASwIR z&yoHF!MZQx66((~0Aj|g{LKjEi-6%KN=~;VwL&f;Mjr>x!ERUHIqQT%s`g(|PyLi& zo0vpw>Gze6gKo_dgoD0P?m*HZ$pQh^MJVChI1=e2t%J=LVX=1B6VW!0P zPjkQ3QstwS{QLKUeTYMLGp6Y?{GWnmb%_HtK_Flkce0i5RT5I$gT!0ZN7?HbCXX^M zu8dvuWfS+K&Npbu1lB)Mz{z!n-T4d{P*_udKmlj zj+KP^gOYvIIe~CO2fbwA90KY-M`u^M!@SPvQ7D&$&ghDCjktMAn0dBb{4nk?uBB$v9>kX)*6}JFIBGcOtm~mapE99CL8067k1-3W8a*g>t6% z_n+I>%ntA*3)F)gcQm8c@pt`rOVj1^woFJz)CRNcR#6a-Dn9FlmXpQ5e&r`mS|io= zgd?oP`=rFNvsQ!I5?(XP*_1+QL>!{ZqlqDQgy}Nd0n)kX499IPt&;6HHU;UJ`{;0E zw{oW?FmFD<|5(R9^0oIlQ0H9AbGMj7cLYO|o+mW|)-d$U+)nt4W7kv|;YM*1=MRQV zad-QP$06ORj5NU|us^+$%)8AX0nWc&?JE%)_sd@#(Y`Rt$`@t941s9{9KM$6=|>Ae z$~ak7F~hrU|3|9GO{Vi+6EnM8doYTPrr57ry0;a^S3~5!vECxVOA6qL1}7cZ8ph9< z*GqTds?(+e@TCyTLHKXUYHa``8q8e;T)bp9t1%uv)W|uHZAKDoCn`6DWCsxpEB5oU zm*qY9p9u2`vnOTq^Gp|S7fCPmpOyyEqiFBkfof5*hSVqarhWz^-XS8~Qy;2`)D!zu zlg8R$_I;m^{+|aBYPd~p*aAFYi5KAI$2S*c1s*QC7yPOkx}8tvH;iG;Pb7CFXo}{= zfyF)bVz&O6jYZPu-4gy6rgZbv&wBhH-PiHqjQbRQXEi=t8O#v zJ48Wtr{>vF6W~x+h?)!gKHzfXN;RIOSkh5y$u`R;&k20qa~qc6sz>5V0iOr3XM5#g zTXwRIuVXGhV%&oYj2eo+c-d9iq!@qXd{0H8NZy(y)6VR9OL5vu127Elb>h5W3kx;;oAquQWOjI%{@L}u zQ30X+!jC*o7-{J9!Sez$={Hu4l4@hRPPJAK#aMoWN27(h9;zwO6}T99uQ(M{cT6$4 zFvL4pkaP{lF}6?gc=02jo+VR}JW$9sgAdO2me+_5Kxbj!D+PVa%MWN>xxb{;uZg`__}g*zN~keg-OH( zBeIg8d8_ZL3m!Qw$grsL=o6S0RTlMq)IzN+#v0ZLy+%Y)89Q%?>j@V~>U$>72Z+W2 z^)JGEX@!!R-~MI_o{9msy*F_%8By7EAbx%#k6~$OX_>C>V2?BM+u1admMRsxnAu(_ ziKzUdq+8`UJC=%nZaHj9yfzjq)3(;5{R;jm@e0x0xb=geIkHXNW=JNf{y6Sen38mR ztOg7vHXx>+I^rH_Y58hHy;f9Y(I5Rh+Ng9(+;$v?Myq9xWrKPd30X5mct8_0Blh83FVW3pG;Xf zo0q-ol6|6F95GicZRGoW4anZE0l&-ZmlsNkVSSJY@1SShV@gOuu zVf4B};IOBfDTH+Ag5`{zB2-*KGtFyX_C8Pz0NL;ZLL5m|k8NCxlfQycD)?F6^qHdV zsC90s=Acm79p{*F0-2&bZn&UiNe)x^<}-4$;AlNgz@k^t;|~2AquubvFu17> z!_=60+g!Jfs)_MmL#^C2!}F9qB83eir-9WnIqBk{Zd85zM_{|?w|}`it`<`7BvQV3 z(f_TfzE~lXVaVVwJnVBz#A-A2Ot*9NPM^{Uc4gxoX42c*z)(ijY)lgt`KVzow18CL zTDo{Qecg4isUL;3({VP^DX3Ntim8m1g_S$%G_E>kjuB3Wwx7&6ga0^MQ#at!YE_~p zvb9F~2nGBT32ee%=NSaSOW_byVw=YWh76uqWamihdZgtT_T94QliB`k3h-!)<@Jw5zoeJ z_;)NNfxNj?($gTdA#`;tO0?T#dzwzykCB1L#wdr{6R#mL0tH+8I!)QH(Kz+z>)N!A zD}&1^!E3(*vAD@Tz~4mjWFB!R+x~w9&Ou)awKJHt41rYo{nCe?^@Jn`86@37#Dbvg zqp=`%Mjp(Fr~6#2oo^rZ+EWXX_>bw5n!*ZTon28nClMXe2 zG@SC>w*h=5mfbhxV*IfoSe)9l)kj94OxM>)%P)Gpe1Sq-!S?!nPyi1vxc--IenYGSS5S> zvok?1wcTx)} zen!c9n=u-lez(z7E(MQp<~8L(%bP{PG?2DG41%Up_&~$d5i!y#cHRvp!rNJHFaNcl zXItOH8s<%>-f-uQ=ATuxssDB2hTw}FoGt|eYP1M3mw7@!q_((aYoWv^u^L=857>je z)b8G9i{I$3txGaBB@tqGWKSb{-Pqg_q&V_`**j0(sz5_0oiJEx+>imR0g4?=#89QI z0SfwN#=Aj%=|>Ts*&L#h$;)**n~e}-&;u?$OvH04>^+pevy$kH&YKG%DD0^VDLAYV z8$ifKY~Z(qg#W&p;lcck3%&IIs94g+vqYCQOuwI8-7J%RXXluntgA%yXrHzyY@OHh zyLN^zY~Nc`ZV(sbK~Ga3r&9@F)9dPNYaSJdyxpA5ZTpP*i{0eogQ{>HjXZ&(fo&Cz z;S{PPft~7GoM#4O6=#BSVCgL7!razV#t-22p^ape6WH2hnGuuZGgUZiUe{o&h7K?4 zewaI$tD?tOk;@OYyVDZ~M8YY|jxlz`Pw))$D{1wv_zxJN z7chGsdH29ignHX0xZxBvI_sv`U)6s}oUA9`0Taj;YHjsBR93?p$eY}EOu9G68oL9m zh$MpG+hgM5fb)*P(Q@!Aq6xGEE=a8;S6&T?iWn3xVZCfk9ZV9-H9xgoRGCu~oyZL2)vcqRyk5dnP3k3cJ zoz^F(bM+qC^WepI)r}B6Dwm5JUM&PzhU`1)EpJJvBO@;ImhEP&n<5{0SmgscW=Vg*Cdq%UD|90+B(5~p zz7^wncL&C|nh9?)HDLxB*4rkQ{MkfO@#wZ}(&IU_~548kk@49^r`B^EAsT;UeBLpC?l zAprB;A=P|ogL0Gt4yTN%H3kM$SZRxMH=3`6;(;}4G+~{?oKkJSqgDl90pJ9?qOng= zOe(ShugB5OOvrU5h*LVKeWv6W2n*XQxf-YIVCdWTm07bq{^!w5KhR;EzT-X1qKt4! zu*77N(56@iG7Ab0{;G&6%9Zi~q4+eFp46{$Y@Od@f+IucHtC(t3N_hBYm7X3(Q|Y; z`I8ts^goAG!{m3Dk!+-`Z*QZl>I z$ca$-o6N^J<~5pu%O6=%F2Z+~7MD9W$%fiEB<7KtTwbAL7)=)CEUUh(wdwlt;hM4Q zPi7_p;)cs5M!WSl_=cWDGJ!;N06w2|i;(4-!Z-=?Np^eQzB01T7<6s{rw=Ak-FhT8 zJ|mcGk9b-exMep@nbFHBQ>iX}LFiRVUyJ^K`GpZzj~eQ`v}7pGH&%7VjW^sony=TQ zy(yNkvNBsaxTwD~byYYIeP;PY=x%KZ7Q&rrUNWdQoslZjAd)-B{`wLOIG<}1swh<) z9=3hdLMXeqD>q-X}NW|dkur3 zB;&`L{03wgqgpTUz=^Wryh*8JtIm#)Y}Hjn5XQK*xOU72!m8$w#RYyR5B5{9@9(#Y z+4=SAwz0v;#1Apu|6dq=6;UUn%&5!qIoVvUR0+*~9>v_f?$L5xHt9B^Z^&;Vlx1l@ zUjEtqF$b1+OdiCZ4yqLoOFDSLuXgEhMkrb~83n5?)r&vWz}@n;lBCMuxVtTnTFjQw z(Nst40K=RKgjyI>OHfiD3n9q45fM6KK{2_{h{8^sa9X^~l<9`SBvmZo`}A$X-Yr&l zrd@CKGutGecqbWS-cIgEk46&VNA)Wkd~sdeZ? zWi%XT8e8}w!Y`K7psrIeEI|&vh#;;ECQ(%_VL_Z4LbIS7M?}LBi(MmQ_%NdbXexyB zV8U53HMc`JaJVmtbkS&xA)hY!)`A^- zd+8{AgMn<0+@N|(2m#11lb4+wR)mzxeh~mh1`Do8;~-w$P*8Pb$3#C7Z=jT+AvxWq zio&s$zkRmpA`xib%T*!Ex&#JcjZn`0kxeNS`~fB~K_oj_9dKhZ1sbwnupG<;tv z=72+W$Am2&-MUNzzkrSd!}#W)iay0^?C!`7VZFWH+Z;;a8^Tk7j)90AYv^PgePbX_ zHLqNkQt!2DdVHThrL*{=)7rnD=ZsA{*5PT@D%dnIkn!9=zt0!SselS42Ifad*pORw zL;BlM39-p`E^M3r@6x;Oqw*k6+M!n58uZ{H6|Dztd`{S(Nv3!)Ty6c5J}oM&>D^l9 z=*6KJ=K2(L=A$>?Z4RmFt`5Ywyq6-e*Z68P>dFV9{lmeLU}_TY@8f==CgLWzw$~!I zO!_;VIX{^3X4G0f7r~ClqKgNGV-U-gJQgH6mbotAi5QQ8I>okUxRg{W8$s&QibAJ` z<9DZ``Q1bv%&7)6Ry9b{(j3U%QCUV{Genbn03AQZe@Nlp)ei_g6mT_!U2$haAr^|4 z8nNK!nV>cc^>aXnbM>K#>F>3g)DXI`@^QV6Nz8So6CkL^0pFR6xDHHeoSH3$^02LPCd&rv;vZs)N z$wgUN4~;fLY({7shuGurfy;UbhqqnTPj_>IFBin;*-)VcO^PE)GDKl;?5;AJa(qG z{@!M^eNoM_K=_BH+;TdqEum-#nxq7_yvg*g9UJMtFty$`Q~R9w?bljJy(+Ai=&9u4 zZHjEU4=pXB#(h_vg;N{y@hT|C!24c`es4YOWV4pR0a;T?#fcj$cZ6O9)yiBz+}%~$>0n?Us8wk))a#so&~{ zp~(^#5kB*{?LDNeNfvE?D%wx1L@Kaq@Q9G|Ow72J;WJNst}|H0EAo-G75UN-Pt9`E z_2D5ru{5-C*Os!mp(9#mp8VxG?@x4K7cW0vqT_94OQm`hgD2dn z2S!&z6C-zkeA68pilPVJ*(>02iOc;u#i_pb%6z~VI=WLqJLOhOKLC%=4JF_)oUg!q z@^J;=5HF`(IhCVl9f4nhm@r&2dTT99+7}5)&__*b~1cFj{upn zdiu5G`l5H$4LI4cuJ7_>2~_d;-&Z=)AA}T&BD+vlSCdeAf+e$!kIdpab;IA5PHf`fWe6ssBX-fq26=>VG5Syc5TBEIt^LK+4g71=*8=`L>_1XQ>xfMo98SJX17>|+~nPKi&HqbMhdjhzc3>DS z1T1q=@)&xgcxgfru;y56E^6GbLuUT~Er9@)f{gYGztBw9Mq7XsJH)Crc zt^g~ut(O4!!4%9;okH1KbK1rz0Wr;GJTTQezQ*{u&2_AXs6?)1AbmQ@rf>x}Am1im zes(AjYlsH==kiP;JA`dY<3{bPjx=+LaXVGqUo+9(_NIxGpMkF9Lp^u!}n=+ zay^#slOLk<2h%rb2>s4EX>G$sZ(X!CA6oyvZDPdo|IHOLv<1>-z=2WY2k*Iz}J4dRvZhKPG7-i8H0JC7|| z;_63F0N}VB7uu25b;eb^QC)nn?R5Pd6qMvkYZ!w^JlD7J|MO5jNJ)j6#bNgRPC7^-26s)g3jnx!TE6zC`xVsPW%#0=Hq9=vH9gU7u zoaOD$Neck^?)>kfL?(f)`Wt3u()2z66%ry{b*>uUN|#$8I(uK$ zH8G}7D7AA#_Jk>&^#!Waf8m(tyNZK>x|U(RtYYQlvUT3n|2Aswn^W06>-l#&Mo2s# z={C##N<1R%(h!E~w6HwFc$3nGm6f8o2`2;v9<{!Q{VmSVY&jl`PQg3p7GFwh6u=v; zM~NhG)B&eZ#aE81oU8CaW%Q9;U+bvcPN-(5;krLkk90AS!8dNkkh92ejJ}g|Ef#!< zk}O&-_W=?2s_J|yp|xHnEqno-4qU2AVIdRyUU!J1sdG=lF<6HqC#M?{&_j(| z&dAU!9pvKK4HH>@F%BM>>%p7Ayv#I->t+h!%k9-IZdHf6im10r&_x+gYv~rnpcB~e zpI$U4<#C)`?U>pt>$7+ZLBS@`oBIv5sy9D!h=nW^R&mJAJ~&#ESwDjK(Iav-FMO%%!dkxM=B6h7JJRgUWdAMeiHl7Hs-~Egv;8A+)1EYkGxgC;q=JOXmDavE@ zD1@w2se_b>6txS>7-TzuCsU-w&{1oJ0!>c*pQz!2f5Mcvov9qi#MK9wO5lt3xJ?Nz zq}C0;e~dC5vPf8hb*&aysm0hVMf}AKAB5|hP=?P#K(<0rn6G+;oY1h)ME9JFo7Oc} z?-G$i+LG-dREVKxF#QiF23%)gZI2%`F5LiOm0p%|Zefw>nBe!^mtVa%h@Q)wr+-^z zy$d>Fang$X*!bw2X+w8O(>~~Pd;={*Of!@(ltv`9Vr+Pp zr4ZjWU;H|`By>?%;dCm`G2UJZwZ(?O6L+&8U6_a*E$&8s{I7Dyf6mZ=OAOLOkyO8!X6l-I4h zD;NF=Q|-31%l)j_0qBL51E6&^aN1@7lA*-7@)O_ZvSBP}_iR1n333;hVRtHy6&xE) z_uoS{;dR2Pw0fo$>`j$u!vcye{aXU7Q49+cgI34-tOCT%2P&ty0q`Y^0N!r5_O4{1 zniu!chx4MIC2zFM_5;@vJyA_gUqxR{FLyvynK1N6?w1sjUH)7=E`ptzLjXl;-*a#* z!jfw9_tw7bJk?a~-E0}@nq8@Wmu9@!1uBrT8UA_=@o~_E(t2l6`l^?EN*Tn3_)H}U zUnbEEi`%SSr@~l&%5`%5D8)mhQ6WyR(i4|UZLhF@v|dYP7Oe%p7kHoiuRm`-lK~F> zjP&ILXpMiaC|!A;ov{Td4Xp&2E;co16k8yTrQB0|tPzDrBr4$Q6fE-3rOR7W-)OgL%L$9yH;yaZ z72_%DBB0$9b?mp=6~UF^No;JnJDW+&d84cs{m$$Zt|d1=bD=bW{l=xFc|;V}wV;y> zFk0#U;%8MhLqAm6ldy3c`p2dy=P5I$7v^Jk;pnhGaIP2u)X5#jC3cDTmP~I;Y4A}f zv}1`cp$B*GF(! z0MB-hh#q#~rmHWjcF+AS$(7x6>{S+bju}b~DC351DgmcXYzflmLL-i$8gJ{O;r|X) zA0{91@`h!lv<#$BK{djsH+VN2A0^1*A;nA@6D(va=Stq)A`s&!3pz+%+>G}FaE@gh zNfSVd8fn1Ub2jtK0E`4JV3^wWxe7`;!^Ph(63qP_6F5~``$?qC3DO7-UTE z0?ZRN@Cbc`T4^45@;e}PQF-dcMum?aWWL=g<<*MYF2cf^xa6ls?53a0HwD;KFXOJ{ z>txs(5~(=@7qH1!{|nX8Bf@bOn$?SZT60+>dF;@!##gAX|3sb{(i+eE(Dd-5cIMA} zwv9)O_p^KYh;t?)h+Q{UDrPWU`L#aBD)_CkU8p1XJ81TgdK2dEjDXm1_y0D+nE}ZF jd2Cj_Niw^r00H2j0f2}F;L4AGvBYQl0ssI200dcDEEXcR literal 0 HcmV?d00001 diff --git a/database/BASE_DATA.sql b/database/BASE_DATA.sql index ae1c537..3bb1401 100644 --- a/database/BASE_DATA.sql +++ b/database/BASE_DATA.sql @@ -92,11 +92,11 @@ INSERT INTO PortfolioPortalTest.dbo.AuthLevels VALUES('ADMIN','Admin account with no limitations.'); GO -- My user -INSERT INTO PortfolioPortalTest.dbo.Users (Username, Email, PasswordHash, Created, Updated, CompanyID) - VALUES('glott', 'glott@leafnow.com', '$argon2i$v=19$m=65536,t=6,p=3$CAteY16ifJBZHtVjNLu/hA$plypuMy1aPww8ZfY2uGwnYk2Vzy7NvhvJy7TvgtpcPw', getdate(), getdate(), 1); -INSERT INTO PortfolioPortalTest.dbo.Users (Username, Email, PasswordHash, Created, Updated, CompanyID) - VALUES('pmolchan', 'pmolchan@leafnow.com', '$argon2i$v=19$m=65536,t=6,p=3$gE140D569YZvi+/CZbEZsg$+qunnN3wTfZx9PK++0Nv6AisvSWJ0f6lfT/UUDBzKTU', getdate(), getdate(), 1); +-- INSERT INTO PortfolioPortalTest.dbo.Users (Username, Email, PasswordHash, Created, Updated, CompanyID) +-- VALUES('glott', 'glott@leafnow.com', '$argon2i$v=19$m=65536,t=6,p=3$CAteY16ifJBZHtVjNLu/hA$plypuMy1aPww8ZfY2uGwnYk2Vzy7NvhvJy7TvgtpcPw', getdate(), getdate(), 1); +-- INSERT INTO PortfolioPortalTest.dbo.Users (Username, Email, PasswordHash, Created, Updated, CompanyID) +-- VALUES('pmolchan', 'pmolchan@leafnow.com', '$argon2i$v=19$m=65536,t=6,p=3$gE140D569YZvi+/CZbEZsg$+qunnN3wTfZx9PK++0Nv6AisvSWJ0f6lfT/UUDBzKTU', getdate(), getdate(), 1); --- Auth my user -INSERT INTO PortfolioPortalTest.dbo.Auths (UserID, AuthLevelID) - VALUES(1, 1); \ No newline at end of file +-- -- Auth my user +-- INSERT INTO PortfolioPortalTest.dbo.Auths (UserID, AuthLevelID) +-- VALUES(1, 1); \ No newline at end of file diff --git a/database/CREATE_TABLES.sql b/database/CREATE_TABLES.sql index f61a64b..f0c925d 100644 --- a/database/CREATE_TABLES.sql +++ b/database/CREATE_TABLES.sql @@ -40,11 +40,11 @@ CREATE TABLE Users ( PasswordHash VARCHAR(100) NOT NULL, Created DATETIMEOFFSET NOT NULL DEFAULT GETDATE(), Updated DATETIMEOFFSET, - PasswordUpdated DATETIMEOFFSET, - CompanyID SMALLINT FOREIGN KEY REFERENCES Company(CompanyID) NOT NULL, + PasswordUpdated DATETIMEOFFSET DEFAULT GETDATE(), + CompanyID SMALLINT FOREIGN KEY REFERENCES Company(CompanyID),--//TODO should company be optional? LastLogin DATETIMEOFFSET, FailedAttempts INT NOT NULL DEFAULT 0, - IsEnabled BIT NOT NULL DEFAULT 0 + IsEnabled BIT NOT NULL DEFAULT 1 ); -- Link the company and users tables ALTER TABLE Company diff --git a/src/components/UserLogin.vue b/src/components/UserLogin.vue index 28fd0ed..a7d3c4e 100644 --- a/src/components/UserLogin.vue +++ b/src/components/UserLogin.vue @@ -1,93 +1,73 @@ - + const responseData = await response.json(); + + // Store the private key and JWT in a secure storage, e.g., Vuex store or sessionStorage + sessionStorage.setItem("privateKey", eccManager.CSK); + sessionStorage.setItem("jwt", responseData.jwt); + + // Redirect to the desired page after successful login + // You can replace '/' with the desired route + this.$router.push("/"); + //} catch (error) { + // alert(`Login failed: ${error}`); + // } + } + } +}; + \ No newline at end of file diff --git a/src/ecc.js b/src/ecc.js index 8b45871..c738244 100644 --- a/src/ecc.js +++ b/src/ecc.js @@ -22,7 +22,23 @@ export class ECCManager { */ constructor(privateKey, publicKey) { this.CSK = privateKey; - this.CVK = publicKey; + this._CVK = publicKey; + } + + /** + * Getter function for the CVK property. Converts the Uint8Array to a string and encodes it to base64. + * @returns {string} The CVK property as a base64 encoded string. + */ + get CVK() { + // Convert the Uint8Array to a string + const byteString = String.fromCharCode.apply(null, this._CVK); + + // Encode the string to base64 + return window.btoa(byteString); + } + + set CVK(byteArray) { + this._CVK = byteArray; } /** @@ -50,7 +66,7 @@ export class ECCManager { const signature = await ed.sign(payloadBytes, this.CSK); //FIXME depricated function | Encode the signature using base64 - const base64Signature = btoa(String.fromCharCode.apply(null, signature)); + const base64Signature = window.btoa(String.fromCharCode.apply(null, signature)); // Append the X-Payload-Signature header to the given set of HTTP headers, with the value set to the base64-encoded signature currentHeaders.append("X-Payload-Signature", base64Signature);