2024-03-11 17:19:13.560 +05:30 WRN Using an in-memory repository. Keys will not be persisted to storage. 2024-03-11 17:19:13.617 +05:30 WRN Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits. 2024-03-11 17:19:13.643 +05:30 INF Creating key {0d582a95-0528-49ee-b83a-dd2fdcda9fb8} with creation date 2024-03-11 11:49:13Z, activation date 2024-03-11 11:49:13Z, and expiration date 2024-06-09 11:49:13Z. 2024-03-11 17:19:13.660 +05:30 WRN No XML encryptor configured. Key {0d582a95-0528-49ee-b83a-dd2fdcda9fb8} may be persisted to storage in unencrypted form. 2024-03-11 17:19:13.747 +05:30 INF Application started. Press Ctrl+C to shut down. 2024-03-11 17:19:13.748 +05:30 INF Hosting environment: Production 2024-03-11 17:19:13.748 +05:30 INF Content root path: C:\inetpub\wwwroot\Sang.Employee.Web.Api 2024-03-11 17:19:13.783 +05:30 4d4be88b-2b66-4d7b-a7a6-5ea59512d3b1 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 17:19:13.888 +05:30 6e1cd471-fafb-4387-826e-dde984e947f6 INF CORS policy execution successful. 2024-03-11 17:19:13.901 +05:30 6e1cd471-fafb-4387-826e-dde984e947f6 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 119.9013ms 2024-03-11 17:19:13.979 +05:30 7b1ce171-bf7b-41da-bcd9-011cf23a8b4d INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 110 2024-03-11 17:19:14.002 +05:30 7b1ce171-bf7b-41da-bcd9-011cf23a8b4d INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenMalformedException: IDX14100: JWT is not well formed, there are no dots (.). The token needs to be in JWS or JWE Compact Serialization Format. (JWS): 'EncodedHeader.EndcodedPayload.EncodedSignature'. (JWE): 'EncodedProtectedHeader.EncodedEncryptedKey.EncodedInitializationVector.EncodedCiphertext.EncodedAuthenticationTag'. ---> Microsoft.IdentityModel.Tokens.SecurityTokenMalformedException: IDX14100: JWT is not well formed, there are no dots (.). The token needs to be in JWS or JWE Compact Serialization Format. (JWS): 'EncodedHeader.EndcodedPayload.EncodedSignature'. (JWE): 'EncodedProtectedHeader.EncodedEncryptedKey.EncodedInitializationVector.EncodedCiphertext.EncodedAuthenticationTag'. at Microsoft.IdentityModel.JsonWebTokens.JsonWebToken.ReadToken(String encodedJson) at Microsoft.IdentityModel.JsonWebTokens.JsonWebToken..ctor(String jwtEncodedString) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ReadToken(String token, TokenValidationParameters validationParameters) --- End of inner exception stack trace --- 2024-03-11 17:19:14.013 +05:30 7b1ce171-bf7b-41da-bcd9-011cf23a8b4d INF Bearer was not authenticated. Failure message: IDX14100: JWT is not well formed, there are no dots (.). The token needs to be in JWS or JWE Compact Serialization Format. (JWS): 'EncodedHeader.EndcodedPayload.EncodedSignature'. (JWE): 'EncodedProtectedHeader.EncodedEncryptedKey.EncodedInitializationVector.EncodedCiphertext.EncodedAuthenticationTag'. 2024-03-11 17:19:14.014 +05:30 2459d3da-6f70-44c8-9f74-5c95811c9d34 INF CORS policy execution successful. 2024-03-11 17:19:14.023 +05:30 2459d3da-6f70-44c8-9f74-5c95811c9d34 INF Authorization failed. These requirements were not met: DenyAnonymousAuthorizationRequirement: Requires an authenticated user. 2024-03-11 17:19:14.028 +05:30 2459d3da-6f70-44c8-9f74-5c95811c9d34 INF AuthenticationScheme: Bearer was challenged. 2024-03-11 17:19:14.034 +05:30 2459d3da-6f70-44c8-9f74-5c95811c9d34 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 401 null null 55.0798ms 2024-03-11 17:19:14.375 +05:30 e889a5e3-4da9-4e9f-9e81-d2113f9eb805 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens - null null 2024-03-11 17:19:14.388 +05:30 8b73a344-b98e-4566-8440-1b6fba6ac682 INF CORS policy execution successful. 2024-03-11 17:19:14.392 +05:30 8b73a344-b98e-4566-8440-1b6fba6ac682 INF Executing endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 17:19:14.437 +05:30 8b73a344-b98e-4566-8440-1b6fba6ac682 INF Route matched with {action = "RegenerateTokens", controller = "Security"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Sang.Security.WebApi.Models.Tokens]] RegenerateTokens(System.String) on controller Sang.Security.WebApi.Controllers.SecurityController (Sang.Security.WebApi). 2024-03-11 17:19:14.481 +05:30 8b73a344-b98e-4566-8440-1b6fba6ac682 INF Executing BadRequestObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ValidationProblemDetails'. 2024-03-11 17:19:14.571 +05:30 8b73a344-b98e-4566-8440-1b6fba6ac682 INF Executed action Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi) in 126.4107ms 2024-03-11 17:19:14.572 +05:30 8b73a344-b98e-4566-8440-1b6fba6ac682 INF Executed endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 17:19:14.572 +05:30 8b73a344-b98e-4566-8440-1b6fba6ac682 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens - 400 null application/problem+json; charset=utf-8 197.1982ms 2024-03-11 17:22:46.896 +05:30 48e580a2-a376-483b-94b6-f8447818aece INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Login/GetCompany - null null 2024-03-11 17:22:46.905 +05:30 ac1ba944-d51e-4e8d-b9a4-943783b73df8 INF CORS policy execution successful. 2024-03-11 17:22:46.906 +05:30 ac1ba944-d51e-4e8d-b9a4-943783b73df8 INF Executing endpoint 'Sang.Security.WebApi.Controllers.LoginController.GetCompany (Sang.Security.WebApi)' 2024-03-11 17:22:46.921 +05:30 ac1ba944-d51e-4e8d-b9a4-943783b73df8 INF Route matched with {action = "GetCompany", controller = "Login"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCompany() on controller Sang.Security.WebApi.Controllers.LoginController (Sang.Security.WebApi). 2024-03-11 17:22:46.933 +05:30 ac1ba944-d51e-4e8d-b9a4-943783b73df8 INF Fetching Company deatails 2024-03-11 17:22:47.330 +05:30 ac1ba944-d51e-4e8d-b9a4-943783b73df8 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:22:47.367 +05:30 ac1ba944-d51e-4e8d-b9a4-943783b73df8 INF Executed action Sang.Security.WebApi.Controllers.LoginController.GetCompany (Sang.Security.WebApi) in 445.8172ms 2024-03-11 17:22:47.369 +05:30 ac1ba944-d51e-4e8d-b9a4-943783b73df8 INF Executed endpoint 'Sang.Security.WebApi.Controllers.LoginController.GetCompany (Sang.Security.WebApi)' 2024-03-11 17:22:47.375 +05:30 ac1ba944-d51e-4e8d-b9a4-943783b73df8 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Login/GetCompany - 200 null application/json; charset=utf-8 479.9954ms 2024-03-11 17:22:58.668 +05:30 e3b97802-a0df-4f90-845c-ba156bd48ace INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/login - null null 2024-03-11 17:22:58.671 +05:30 76472855-6bb5-4f6b-b3ed-cc25ea17ee86 INF CORS policy execution successful. 2024-03-11 17:22:58.672 +05:30 76472855-6bb5-4f6b-b3ed-cc25ea17ee86 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/login - 204 null null 3.9429ms 2024-03-11 17:22:58.894 +05:30 08dd1de4-e833-4df9-a62a-ec25d855b7ef INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Login/login - application/json 54 2024-03-11 17:22:58.895 +05:30 d3b9bd9a-0c68-4014-a435-963cb0d88162 INF CORS policy execution successful. 2024-03-11 17:22:58.896 +05:30 d3b9bd9a-0c68-4014-a435-963cb0d88162 INF Executing endpoint 'Sang.Security.WebApi.Controllers.LoginController.Login (Sang.Security.WebApi)' 2024-03-11 17:22:58.906 +05:30 d3b9bd9a-0c68-4014-a435-963cb0d88162 INF Route matched with {action = "Login", controller = "Login"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Login(Sang.Security.WebApi.Models.LoginRequest) on controller Sang.Security.WebApi.Controllers.LoginController (Sang.Security.WebApi). 2024-03-11 17:22:58.983 +05:30 d3b9bd9a-0c68-4014-a435-963cb0d88162 INF Connection string fetched 2024-03-11 17:22:59.457 +05:30 d3b9bd9a-0c68-4014-a435-963cb0d88162 INF Token generated 2024-03-11 17:22:59.461 +05:30 d3b9bd9a-0c68-4014-a435-963cb0d88162 INF Token generated 2024-03-11 17:22:59.462 +05:30 d3b9bd9a-0c68-4014-a435-963cb0d88162 INF Executing OkObjectResult, writing value of type '<>f__AnonymousType0`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[Sang.Security.WebApi.Models.Tokens, Sang.Security.WebApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2024-03-11 17:22:59.469 +05:30 d3b9bd9a-0c68-4014-a435-963cb0d88162 INF Executed action Sang.Security.WebApi.Controllers.LoginController.Login (Sang.Security.WebApi) in 562.8849ms 2024-03-11 17:22:59.470 +05:30 d3b9bd9a-0c68-4014-a435-963cb0d88162 INF Executed endpoint 'Sang.Security.WebApi.Controllers.LoginController.Login (Sang.Security.WebApi)' 2024-03-11 17:22:59.471 +05:30 d3b9bd9a-0c68-4014-a435-963cb0d88162 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Login/login - 200 null application/json; charset=utf-8 576.7282ms 2024-03-11 17:22:59.737 +05:30 2978c770-31b9-4eb7-86ab-8535e5436f67 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 17:22:59.738 +05:30 a2b4d4e2-3515-4a0b-8052-c36b72fee180 INF CORS policy execution successful. 2024-03-11 17:22:59.740 +05:30 a2b4d4e2-3515-4a0b-8052-c36b72fee180 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 204 null null 3.0892ms 2024-03-11 17:22:59.997 +05:30 7c5ede57-3bd5-43c5-90dc-e78eeb454735 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 17:22:59.998 +05:30 c56dde41-2c97-4cb8-abf9-784657ba5f9f INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 17:22:59.998 +05:30 1a9b5b51-eb4f-4740-a913-153c573aba5a INF CORS policy execution successful. 2024-03-11 17:22:59.998 +05:30 e820f62e-6d8c-4a75-99dc-ac3fec3b6767 INF CORS policy execution successful. 2024-03-11 17:22:59.999 +05:30 e820f62e-6d8c-4a75-99dc-ac3fec3b6767 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 204 null null 0.8481ms 2024-03-11 17:22:59.999 +05:30 1a9b5b51-eb4f-4740-a913-153c573aba5a INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 204 null null 1.9861ms 2024-03-11 17:23:00.001 +05:30 e8866d54-577c-4e5e-9767-607dafbc0cde INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 17:23:00.003 +05:30 45ca1348-9b05-4ec4-b9db-eff126463ce1 INF CORS policy execution successful. 2024-03-11 17:23:00.005 +05:30 45ca1348-9b05-4ec4-b9db-eff126463ce1 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 204 null null 4.0581ms 2024-03-11 17:23:00.020 +05:30 03091fc5-687a-4d0e-938e-80298e8db047 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 17:23:00.098 +05:30 8f3d3c7b-df8e-4c88-b520-ea747ffa72e3 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 17:23:00.098 +05:30 2619f067-4622-4703-9684-a0c256ea340b INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 17:23:00.104 +05:30 6aed40af-e8d6-4dcf-bd0a-e457b7ac1e28 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 17:23:00.122 +05:30 ca152e53-c3a9-4c73-bd54-020aa35f389a INF CORS policy execution successful. 2024-03-11 17:23:00.122 +05:30 a8a0b440-fabd-46ca-a5a2-553b54585d74 INF CORS policy execution successful. 2024-03-11 17:23:00.123 +05:30 a8a0b440-fabd-46ca-a5a2-553b54585d74 INF Executing endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 17:23:00.122 +05:30 6878636c-2f6c-433e-9e59-8849a9b681a3 INF CORS policy execution successful. 2024-03-11 17:23:00.124 +05:30 6878636c-2f6c-433e-9e59-8849a9b681a3 INF Executing endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 17:23:00.131 +05:30 ca152e53-c3a9-4c73-bd54-020aa35f389a INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 17:23:00.132 +05:30 ce661dd6-9cd7-4b55-abde-5e5d77c2d9ee INF CORS policy execution successful. 2024-03-11 17:23:00.133 +05:30 ce661dd6-9cd7-4b55-abde-5e5d77c2d9ee INF Executing endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 17:23:00.134 +05:30 a8a0b440-fabd-46ca-a5a2-553b54585d74 INF Route matched with {action = "GetDepartment", controller = "Department"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetDepartment() on controller Sang.Security.WebApi.Controllers.DepartmentController (Sang.Security.WebApi). 2024-03-11 17:23:00.134 +05:30 6878636c-2f6c-433e-9e59-8849a9b681a3 INF Route matched with {action = "GetCountry", controller = "Country"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCountry() on controller Sang.Security.WebApi.Controllers.CountryController (Sang.Security.WebApi). 2024-03-11 17:23:00.139 +05:30 ca152e53-c3a9-4c73-bd54-020aa35f389a INF Route matched with {action = "GetEmployees", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployees() on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 17:23:00.139 +05:30 ce661dd6-9cd7-4b55-abde-5e5d77c2d9ee INF Route matched with {action = "GetCities", controller = "City"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCities() on controller Sang.Security.WebApi.Controllers.CityController (Sang.Security.WebApi). 2024-03-11 17:23:00.174 +05:30 a8a0b440-fabd-46ca-a5a2-553b54585d74 INF Connection string fetched 2024-03-11 17:23:00.180 +05:30 a8a0b440-fabd-46ca-a5a2-553b54585d74 INF Fetching Department deatails 2024-03-11 17:23:00.181 +05:30 6878636c-2f6c-433e-9e59-8849a9b681a3 INF Fetching Country deatails 2024-03-11 17:23:00.181 +05:30 ce661dd6-9cd7-4b55-abde-5e5d77c2d9ee INF Fetching City deatails 2024-03-11 17:23:00.185 +05:30 ca152e53-c3a9-4c73-bd54-020aa35f389a INF Fetching Employees deatails 2024-03-11 17:23:00.191 +05:30 a8a0b440-fabd-46ca-a5a2-553b54585d74 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:23:00.193 +05:30 a8a0b440-fabd-46ca-a5a2-553b54585d74 INF Executed action Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi) in 57.6056ms 2024-03-11 17:23:00.193 +05:30 a8a0b440-fabd-46ca-a5a2-553b54585d74 INF Executed endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 17:23:00.194 +05:30 a8a0b440-fabd-46ca-a5a2-553b54585d74 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 200 null application/json; charset=utf-8 95.2863ms 2024-03-11 17:23:00.210 +05:30 ca152e53-c3a9-4c73-bd54-020aa35f389a INF Connection string fetched 2024-03-11 17:23:00.244 +05:30 6878636c-2f6c-433e-9e59-8849a9b681a3 INF Connection string fetched 2024-03-11 17:23:00.260 +05:30 ce661dd6-9cd7-4b55-abde-5e5d77c2d9ee INF Connection string fetched 2024-03-11 17:23:00.266 +05:30 6878636c-2f6c-433e-9e59-8849a9b681a3 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:23:00.267 +05:30 6878636c-2f6c-433e-9e59-8849a9b681a3 INF Executed action Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi) in 131.6272ms 2024-03-11 17:23:00.267 +05:30 ce661dd6-9cd7-4b55-abde-5e5d77c2d9ee INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:23:00.267 +05:30 6878636c-2f6c-433e-9e59-8849a9b681a3 INF Executed endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 17:23:00.267 +05:30 6878636c-2f6c-433e-9e59-8849a9b681a3 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 200 null application/json; charset=utf-8 163.183ms 2024-03-11 17:23:00.267 +05:30 ce661dd6-9cd7-4b55-abde-5e5d77c2d9ee INF Executed action Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi) in 128.5355ms 2024-03-11 17:23:00.268 +05:30 ce661dd6-9cd7-4b55-abde-5e5d77c2d9ee INF Executed endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 17:23:00.268 +05:30 ce661dd6-9cd7-4b55-abde-5e5d77c2d9ee INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 200 null application/json; charset=utf-8 248.3588ms 2024-03-11 17:23:00.306 +05:30 ca152e53-c3a9-4c73-bd54-020aa35f389a INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:23:00.309 +05:30 ca152e53-c3a9-4c73-bd54-020aa35f389a INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi) in 169.8649ms 2024-03-11 17:23:00.309 +05:30 ca152e53-c3a9-4c73-bd54-020aa35f389a INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 17:23:00.309 +05:30 ca152e53-c3a9-4c73-bd54-020aa35f389a INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 200 null application/json; charset=utf-8 211.0715ms 2024-03-11 17:23:30.691 +05:30 7be8582a-9c3b-49e4-8c40-23fcbdc2b104 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 17:23:30.693 +05:30 ceaaa37e-c6f5-436a-a550-ae5b5f75b524 INF CORS policy execution successful. 2024-03-11 17:23:30.695 +05:30 ceaaa37e-c6f5-436a-a550-ae5b5f75b524 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 3.1439ms 2024-03-11 17:23:31.288 +05:30 64580b7f-e741-4910-bfc4-98fe7603a953 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 179 2024-03-11 17:23:31.291 +05:30 a1d7618e-0467-410a-917d-c55c6dc69c35 INF CORS policy execution successful. 2024-03-11 17:23:31.294 +05:30 a1d7618e-0467-410a-917d-c55c6dc69c35 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 17:23:31.303 +05:30 a1d7618e-0467-410a-917d-c55c6dc69c35 INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 17:23:31.307 +05:30 a1d7618e-0467-410a-917d-c55c6dc69c35 INF Connection string fetched 2024-03-11 17:23:31.363 +05:30 a1d7618e-0467-410a-917d-c55c6dc69c35 INF Upserting Employee deatails 2024-03-11 17:23:31.377 +05:30 a1d7618e-0467-410a-917d-c55c6dc69c35 INF Validating Upsert result. 2024-03-11 17:23:31.379 +05:30 a1d7618e-0467-410a-917d-c55c6dc69c35 INF Executing ConflictObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:23:31.380 +05:30 a1d7618e-0467-410a-917d-c55c6dc69c35 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 76.5622ms 2024-03-11 17:23:31.380 +05:30 a1d7618e-0467-410a-917d-c55c6dc69c35 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 17:23:31.380 +05:30 a1d7618e-0467-410a-917d-c55c6dc69c35 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 409 null application/json; charset=utf-8 92.8529ms 2024-03-11 17:30:04.716 +05:30 74240b02-e76c-4243-8921-1b5c6637beca INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/GetCompany - null null 2024-03-11 17:30:04.722 +05:30 056b833a-e8a7-4ca7-935b-d4a6679175ba INF CORS policy execution successful. 2024-03-11 17:30:04.724 +05:30 056b833a-e8a7-4ca7-935b-d4a6679175ba INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/GetCompany - 204 null null 8.3863ms 2024-03-11 17:30:04.787 +05:30 75738291-7dff-4d88-b212-a820e1b4953f INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Login/GetCompany - null null 2024-03-11 17:30:04.809 +05:30 75738291-7dff-4d88-b212-a820e1b4953f INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 11:01:46 AM', Current time (UTC): '3/11/2024 12:00:04 PM'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) 2024-03-11 17:30:04.819 +05:30 75738291-7dff-4d88-b212-a820e1b4953f INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 11:01:46 AM', Current time (UTC): '3/11/2024 12:00:04 PM'. 2024-03-11 17:30:04.825 +05:30 cb5a5d4d-17bc-4b52-8e46-ecd84c486922 INF CORS policy execution successful. 2024-03-11 17:30:04.827 +05:30 cb5a5d4d-17bc-4b52-8e46-ecd84c486922 INF Executing endpoint 'Sang.Security.WebApi.Controllers.LoginController.GetCompany (Sang.Security.WebApi)' 2024-03-11 17:30:04.829 +05:30 cb5a5d4d-17bc-4b52-8e46-ecd84c486922 INF Route matched with {action = "GetCompany", controller = "Login"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCompany() on controller Sang.Security.WebApi.Controllers.LoginController (Sang.Security.WebApi). 2024-03-11 17:30:04.847 +05:30 cb5a5d4d-17bc-4b52-8e46-ecd84c486922 INF Fetching Company deatails 2024-03-11 17:30:04.898 +05:30 cb5a5d4d-17bc-4b52-8e46-ecd84c486922 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:30:04.902 +05:30 cb5a5d4d-17bc-4b52-8e46-ecd84c486922 INF Executed action Sang.Security.WebApi.Controllers.LoginController.GetCompany (Sang.Security.WebApi) in 72.329ms 2024-03-11 17:30:04.903 +05:30 cb5a5d4d-17bc-4b52-8e46-ecd84c486922 INF Executed endpoint 'Sang.Security.WebApi.Controllers.LoginController.GetCompany (Sang.Security.WebApi)' 2024-03-11 17:30:04.903 +05:30 cb5a5d4d-17bc-4b52-8e46-ecd84c486922 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Login/GetCompany - 200 null application/json; charset=utf-8 115.7598ms 2024-03-11 17:30:12.877 +05:30 3b785bec-52f1-4d0a-bade-46376a11f8b6 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/login - null null 2024-03-11 17:30:12.880 +05:30 c1dae9e6-d881-4d6e-ab06-26ff40d36bd2 INF CORS policy execution successful. 2024-03-11 17:30:12.890 +05:30 c1dae9e6-d881-4d6e-ab06-26ff40d36bd2 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/login - 204 null null 13.9462ms 2024-03-11 17:30:12.950 +05:30 9c3da8ae-0aa3-4e18-ba45-49a4a7816d47 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Login/login - application/json 54 2024-03-11 17:30:12.981 +05:30 9c3da8ae-0aa3-4e18-ba45-49a4a7816d47 INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 11:01:46 AM', Current time (UTC): '3/11/2024 12:00:12 PM'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) 2024-03-11 17:30:12.983 +05:30 9c3da8ae-0aa3-4e18-ba45-49a4a7816d47 INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 11:01:46 AM', Current time (UTC): '3/11/2024 12:00:12 PM'. 2024-03-11 17:30:12.983 +05:30 92aacaee-e71e-4d42-8838-ec165ac8fc19 INF CORS policy execution successful. 2024-03-11 17:30:12.984 +05:30 92aacaee-e71e-4d42-8838-ec165ac8fc19 INF Executing endpoint 'Sang.Security.WebApi.Controllers.LoginController.Login (Sang.Security.WebApi)' 2024-03-11 17:30:12.985 +05:30 92aacaee-e71e-4d42-8838-ec165ac8fc19 INF Route matched with {action = "Login", controller = "Login"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Login(Sang.Security.WebApi.Models.LoginRequest) on controller Sang.Security.WebApi.Controllers.LoginController (Sang.Security.WebApi). 2024-03-11 17:30:13.013 +05:30 92aacaee-e71e-4d42-8838-ec165ac8fc19 INF Connection string fetched 2024-03-11 17:30:13.325 +05:30 92aacaee-e71e-4d42-8838-ec165ac8fc19 INF Token generated 2024-03-11 17:30:13.325 +05:30 92aacaee-e71e-4d42-8838-ec165ac8fc19 INF Token generated 2024-03-11 17:30:13.326 +05:30 92aacaee-e71e-4d42-8838-ec165ac8fc19 INF Executing OkObjectResult, writing value of type '<>f__AnonymousType0`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[Sang.Security.WebApi.Models.Tokens, Sang.Security.WebApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2024-03-11 17:30:13.328 +05:30 92aacaee-e71e-4d42-8838-ec165ac8fc19 INF Executed action Sang.Security.WebApi.Controllers.LoginController.Login (Sang.Security.WebApi) in 342.3776ms 2024-03-11 17:30:13.328 +05:30 92aacaee-e71e-4d42-8838-ec165ac8fc19 INF Executed endpoint 'Sang.Security.WebApi.Controllers.LoginController.Login (Sang.Security.WebApi)' 2024-03-11 17:30:13.329 +05:30 92aacaee-e71e-4d42-8838-ec165ac8fc19 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Login/login - 200 null application/json; charset=utf-8 379.2685ms 2024-03-11 17:30:13.463 +05:30 fef82c94-738e-49eb-b3bd-acbfed672572 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 17:30:13.464 +05:30 06a613fd-286e-4c76-9fd7-132d6647d7eb INF CORS policy execution successful. 2024-03-11 17:30:13.465 +05:30 06a613fd-286e-4c76-9fd7-132d6647d7eb INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 204 null null 1.8029ms 2024-03-11 17:30:13.524 +05:30 4c5e066e-2de8-4be8-8470-e00e537755bb INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 17:30:13.524 +05:30 3f7b7113-f344-4969-b0c1-e902d9342573 INF CORS policy execution successful. 2024-03-11 17:30:13.525 +05:30 3f7b7113-f344-4969-b0c1-e902d9342573 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 204 null null 2.1784ms 2024-03-11 17:30:13.525 +05:30 1805994c-aef1-48fd-9de5-9dbf3a8af7ea INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 17:30:13.525 +05:30 2a756601-0c8e-40a2-ba0a-b312a6641454 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 17:30:13.526 +05:30 0df3dfa3-524d-4b71-b50c-061a85e1046c INF CORS policy execution successful. 2024-03-11 17:30:13.526 +05:30 0df3dfa3-524d-4b71-b50c-061a85e1046c INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 204 null null 0.6697ms 2024-03-11 17:30:13.526 +05:30 72e651f9-4dc6-4bd9-9636-f1c90c9378d3 INF CORS policy execution successful. 2024-03-11 17:30:13.526 +05:30 72e651f9-4dc6-4bd9-9636-f1c90c9378d3 INF Executing endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 17:30:13.527 +05:30 72e651f9-4dc6-4bd9-9636-f1c90c9378d3 INF Route matched with {action = "GetCities", controller = "City"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCities() on controller Sang.Security.WebApi.Controllers.CityController (Sang.Security.WebApi). 2024-03-11 17:30:13.528 +05:30 8fb31544-6dff-4419-ad98-97ddebac5b9b INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 17:30:13.528 +05:30 afbd3494-ec97-4950-9d59-5f36c6bce49c INF CORS policy execution successful. 2024-03-11 17:30:13.528 +05:30 afbd3494-ec97-4950-9d59-5f36c6bce49c INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 204 null null 0.5842ms 2024-03-11 17:30:13.530 +05:30 72e651f9-4dc6-4bd9-9636-f1c90c9378d3 INF Connection string fetched 2024-03-11 17:30:13.532 +05:30 72e651f9-4dc6-4bd9-9636-f1c90c9378d3 INF Fetching City deatails 2024-03-11 17:30:13.534 +05:30 72e651f9-4dc6-4bd9-9636-f1c90c9378d3 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:30:13.536 +05:30 72e651f9-4dc6-4bd9-9636-f1c90c9378d3 INF Executed action Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi) in 9.4589ms 2024-03-11 17:30:13.537 +05:30 72e651f9-4dc6-4bd9-9636-f1c90c9378d3 INF Executed endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 17:30:13.537 +05:30 72e651f9-4dc6-4bd9-9636-f1c90c9378d3 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 200 null application/json; charset=utf-8 11.5222ms 2024-03-11 17:30:13.594 +05:30 fde49cc7-5a02-45f0-a976-edfebac6a7b2 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 17:30:13.599 +05:30 79d4178e-f85e-417a-944b-735c179d0caa INF CORS policy execution successful. 2024-03-11 17:30:13.598 +05:30 397b3ba0-2812-438e-8272-e4fbca5e070a INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 17:30:13.601 +05:30 6c9ed916-b783-4857-a5b7-4ba2ae852534 INF CORS policy execution successful. 2024-03-11 17:30:13.601 +05:30 6c9ed916-b783-4857-a5b7-4ba2ae852534 INF Executing endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 17:30:13.601 +05:30 79d4178e-f85e-417a-944b-735c179d0caa INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 17:30:13.602 +05:30 6c9ed916-b783-4857-a5b7-4ba2ae852534 INF Route matched with {action = "GetCountry", controller = "Country"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCountry() on controller Sang.Security.WebApi.Controllers.CountryController (Sang.Security.WebApi). 2024-03-11 17:30:13.602 +05:30 79d4178e-f85e-417a-944b-735c179d0caa INF Route matched with {action = "GetEmployees", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployees() on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 17:30:13.603 +05:30 a0e23dcf-97e3-4189-a9b7-9ca056da82b3 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 17:30:13.605 +05:30 6c9ed916-b783-4857-a5b7-4ba2ae852534 INF Connection string fetched 2024-03-11 17:30:13.613 +05:30 e480444e-34df-4365-940e-4d1bbe679591 INF CORS policy execution successful. 2024-03-11 17:30:13.614 +05:30 e480444e-34df-4365-940e-4d1bbe679591 INF Executing endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 17:30:13.614 +05:30 e480444e-34df-4365-940e-4d1bbe679591 INF Route matched with {action = "GetDepartment", controller = "Department"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetDepartment() on controller Sang.Security.WebApi.Controllers.DepartmentController (Sang.Security.WebApi). 2024-03-11 17:30:13.616 +05:30 6c9ed916-b783-4857-a5b7-4ba2ae852534 INF Fetching Country deatails 2024-03-11 17:30:13.621 +05:30 79d4178e-f85e-417a-944b-735c179d0caa INF Fetching Employees deatails 2024-03-11 17:30:13.624 +05:30 e480444e-34df-4365-940e-4d1bbe679591 INF Connection string fetched 2024-03-11 17:30:13.634 +05:30 e480444e-34df-4365-940e-4d1bbe679591 INF Fetching Department deatails 2024-03-11 17:30:13.637 +05:30 e480444e-34df-4365-940e-4d1bbe679591 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:30:13.638 +05:30 e480444e-34df-4365-940e-4d1bbe679591 INF Executed action Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi) in 24.1184ms 2024-03-11 17:30:13.638 +05:30 e480444e-34df-4365-940e-4d1bbe679591 INF Executed endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 17:30:13.639 +05:30 e480444e-34df-4365-940e-4d1bbe679591 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 200 null application/json; charset=utf-8 35.4267ms 2024-03-11 17:30:13.642 +05:30 6c9ed916-b783-4857-a5b7-4ba2ae852534 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:30:13.653 +05:30 79d4178e-f85e-417a-944b-735c179d0caa INF Connection string fetched 2024-03-11 17:30:13.654 +05:30 6c9ed916-b783-4857-a5b7-4ba2ae852534 INF Executed action Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi) in 52.6838ms 2024-03-11 17:30:13.655 +05:30 6c9ed916-b783-4857-a5b7-4ba2ae852534 INF Executed endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 17:30:13.655 +05:30 6c9ed916-b783-4857-a5b7-4ba2ae852534 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 200 null application/json; charset=utf-8 56.598ms 2024-03-11 17:30:13.662 +05:30 79d4178e-f85e-417a-944b-735c179d0caa INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:30:13.663 +05:30 79d4178e-f85e-417a-944b-735c179d0caa INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi) in 59.8795ms 2024-03-11 17:30:13.664 +05:30 79d4178e-f85e-417a-944b-735c179d0caa INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 17:30:13.664 +05:30 79d4178e-f85e-417a-944b-735c179d0caa INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 200 null application/json; charset=utf-8 69.7681ms 2024-03-11 17:31:35.983 +05:30 47c1d639-0f55-4e5a-9f59-66316baabb06 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 17:31:35.986 +05:30 384e4152-7c9c-47af-90a8-471a8cb82785 INF CORS policy execution successful. 2024-03-11 17:31:35.988 +05:30 384e4152-7c9c-47af-90a8-471a8cb82785 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 4.3897ms 2024-03-11 17:31:36.048 +05:30 3beb7817-6e3e-45b9-aa92-30c1e5bd6ea9 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 188 2024-03-11 17:31:36.051 +05:30 ae63ef4f-edc5-476b-8ba5-6f05075acdc4 INF CORS policy execution successful. 2024-03-11 17:31:36.052 +05:30 ae63ef4f-edc5-476b-8ba5-6f05075acdc4 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 17:31:36.053 +05:30 ae63ef4f-edc5-476b-8ba5-6f05075acdc4 INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 17:31:36.061 +05:30 ae63ef4f-edc5-476b-8ba5-6f05075acdc4 INF Connection string fetched 2024-03-11 17:31:36.070 +05:30 ae63ef4f-edc5-476b-8ba5-6f05075acdc4 INF Executing BadRequestObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ValidationProblemDetails'. 2024-03-11 17:31:36.072 +05:30 ae63ef4f-edc5-476b-8ba5-6f05075acdc4 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 18.3354ms 2024-03-11 17:31:36.072 +05:30 ae63ef4f-edc5-476b-8ba5-6f05075acdc4 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 17:31:36.072 +05:30 ae63ef4f-edc5-476b-8ba5-6f05075acdc4 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 400 null application/problem+json; charset=utf-8 24.633ms 2024-03-11 17:31:59.575 +05:30 733e1cd1-072c-4670-a4f2-bfca379aaf0c INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 17:31:59.581 +05:30 efba0af1-d9e6-4a6a-8e84-4c00b329dec7 INF CORS policy execution successful. 2024-03-11 17:31:59.582 +05:30 efba0af1-d9e6-4a6a-8e84-4c00b329dec7 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 7.8989ms 2024-03-11 17:31:59.645 +05:30 8d0fb64f-694c-4378-ac39-2d71569910da INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 192 2024-03-11 17:31:59.649 +05:30 33c4422a-2fcc-4907-bf8e-18183b1b5a09 INF CORS policy execution successful. 2024-03-11 17:31:59.650 +05:30 33c4422a-2fcc-4907-bf8e-18183b1b5a09 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 17:31:59.651 +05:30 33c4422a-2fcc-4907-bf8e-18183b1b5a09 INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 17:31:59.655 +05:30 33c4422a-2fcc-4907-bf8e-18183b1b5a09 INF Connection string fetched 2024-03-11 17:31:59.659 +05:30 33c4422a-2fcc-4907-bf8e-18183b1b5a09 INF Upserting Employee deatails 2024-03-11 17:31:59.666 +05:30 33c4422a-2fcc-4907-bf8e-18183b1b5a09 INF Validating Upsert result. 2024-03-11 17:31:59.668 +05:30 33c4422a-2fcc-4907-bf8e-18183b1b5a09 INF Executing CreatedAtActionResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:31:59.702 +05:30 33c4422a-2fcc-4907-bf8e-18183b1b5a09 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 51.0737ms 2024-03-11 17:31:59.702 +05:30 33c4422a-2fcc-4907-bf8e-18183b1b5a09 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 17:31:59.702 +05:30 33c4422a-2fcc-4907-bf8e-18183b1b5a09 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 201 null application/json; charset=utf-8 57.3727ms 2024-03-11 17:32:01.300 +05:30 ae37e9d1-801d-497c-a6e3-bb770741b14e INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 17:32:01.302 +05:30 c6bfe527-c35e-4336-ae0e-fa1ee379d57c INF CORS policy execution successful. 2024-03-11 17:32:01.304 +05:30 c6bfe527-c35e-4336-ae0e-fa1ee379d57c INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 204 null null 3.6182ms 2024-03-11 17:32:01.363 +05:30 8a6641f7-4e0e-480a-9269-a8e6b3246548 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 17:32:01.365 +05:30 3d2393a7-cae1-4bba-a639-3080780bbf8d INF CORS policy execution successful. 2024-03-11 17:32:01.365 +05:30 3d2393a7-cae1-4bba-a639-3080780bbf8d INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 17:32:01.366 +05:30 3d2393a7-cae1-4bba-a639-3080780bbf8d INF Route matched with {action = "GetEmployees", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployees() on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 17:32:01.369 +05:30 3d2393a7-cae1-4bba-a639-3080780bbf8d INF Connection string fetched 2024-03-11 17:32:01.369 +05:30 3d2393a7-cae1-4bba-a639-3080780bbf8d INF Fetching Employees deatails 2024-03-11 17:32:01.375 +05:30 3d2393a7-cae1-4bba-a639-3080780bbf8d INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:32:01.378 +05:30 3d2393a7-cae1-4bba-a639-3080780bbf8d INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi) in 12.1705ms 2024-03-11 17:32:01.378 +05:30 3d2393a7-cae1-4bba-a639-3080780bbf8d INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 17:32:01.379 +05:30 3d2393a7-cae1-4bba-a639-3080780bbf8d INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 200 null application/json; charset=utf-8 15.9484ms 2024-03-11 17:32:17.767 +05:30 c493e3fd-ae49-4b80-8208-104dc8a0f2cc INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=32 - null null 2024-03-11 17:32:17.769 +05:30 e39a1d4f-1b8e-40ab-85b2-a5e64210b164 INF CORS policy execution successful. 2024-03-11 17:32:17.770 +05:30 e39a1d4f-1b8e-40ab-85b2-a5e64210b164 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=32 - 204 null null 2.3252ms 2024-03-11 17:32:17.834 +05:30 d498a8cb-8249-485c-b52e-7ee944af33dd INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=32 - null null 2024-03-11 17:32:17.837 +05:30 b69cdb03-4acc-49d0-ab72-5818d5de448d INF CORS policy execution successful. 2024-03-11 17:32:17.838 +05:30 b69cdb03-4acc-49d0-ab72-5818d5de448d INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi)' 2024-03-11 17:32:17.857 +05:30 b69cdb03-4acc-49d0-ab72-5818d5de448d INF Route matched with {action = "GetEmployeebyId", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployeebyId(Int32) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 17:32:17.862 +05:30 b69cdb03-4acc-49d0-ab72-5818d5de448d INF Connection string fetched 2024-03-11 17:32:17.877 +05:30 b69cdb03-4acc-49d0-ab72-5818d5de448d INF Fetching Employee deatails 2024-03-11 17:32:17.880 +05:30 b69cdb03-4acc-49d0-ab72-5818d5de448d INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:32:17.881 +05:30 b69cdb03-4acc-49d0-ab72-5818d5de448d INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi) in 23.8155ms 2024-03-11 17:32:17.881 +05:30 b69cdb03-4acc-49d0-ab72-5818d5de448d INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi)' 2024-03-11 17:32:17.881 +05:30 b69cdb03-4acc-49d0-ab72-5818d5de448d INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=32 - 200 null application/json; charset=utf-8 47.7591ms 2024-03-11 17:32:31.980 +05:30 1a758658-3f03-441d-9383-9b353db7cc89 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 17:32:31.981 +05:30 2b4c7764-96a9-4fcf-be4a-a99a9fbbbb24 INF CORS policy execution successful. 2024-03-11 17:32:31.982 +05:30 2b4c7764-96a9-4fcf-be4a-a99a9fbbbb24 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 2.7973ms 2024-03-11 17:32:32.046 +05:30 585623b8-64bf-47ca-9c8c-5142c1933d40 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 176 2024-03-11 17:32:32.048 +05:30 2cde4f49-1513-4393-b781-962f246f49e1 INF CORS policy execution successful. 2024-03-11 17:32:32.049 +05:30 2cde4f49-1513-4393-b781-962f246f49e1 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 17:32:32.049 +05:30 2cde4f49-1513-4393-b781-962f246f49e1 INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 17:32:32.052 +05:30 2cde4f49-1513-4393-b781-962f246f49e1 INF Connection string fetched 2024-03-11 17:32:32.054 +05:30 2cde4f49-1513-4393-b781-962f246f49e1 INF Upserting Employee deatails 2024-03-11 17:32:32.066 +05:30 2cde4f49-1513-4393-b781-962f246f49e1 ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 17:32:32.070 +05:30 2cde4f49-1513-4393-b781-962f246f49e1 ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 17:32:32.070 +05:30 2cde4f49-1513-4393-b781-962f246f49e1 ERR Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 17:32:32.082 +05:30 2cde4f49-1513-4393-b781-962f246f49e1 ERR Upserting Employee Failed System.Exception: Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. ---> System.Data.SqlClient.SqlException (0x80131904): The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) at Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Services.EmployeeRepository.<>c__DisplayClass4_0.<b__0>d.MoveNext() in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 49 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8b770571-f80d-4479-a963-c0c6369d4ff9 Error Number:547,State:0,Class:16 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Services.EmployeeRepository.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 32 at Sang.Security.WebApi.Services.EmployeeService.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Services\EmployeeService.cs:line 16 at Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Controllers\EmployeeController.cs:line 32 2024-03-11 17:32:32.082 +05:30 2cde4f49-1513-4393-b781-962f246f49e1 INF Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2024-03-11 17:32:32.088 +05:30 2cde4f49-1513-4393-b781-962f246f49e1 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 38.7005ms 2024-03-11 17:32:32.088 +05:30 2cde4f49-1513-4393-b781-962f246f49e1 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 17:32:32.088 +05:30 2cde4f49-1513-4393-b781-962f246f49e1 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 500 null application/problem+json; charset=utf-8 42.0642ms 2024-03-11 17:32:42.731 +05:30 eed0b06f-6aaf-4fb8-a359-99cab3fb013d INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 17:32:42.732 +05:30 33eb41cc-6dd6-469f-99e6-613eb2fb23ad INF CORS policy execution successful. 2024-03-11 17:32:42.733 +05:30 33eb41cc-6dd6-469f-99e6-613eb2fb23ad INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 2.2407ms 2024-03-11 17:32:42.792 +05:30 15e6f551-c5ca-4aa6-83e2-ca1679a6003f INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 176 2024-03-11 17:32:42.793 +05:30 47d734a1-aa8b-42a1-a648-8ee420293e42 INF CORS policy execution successful. 2024-03-11 17:32:42.794 +05:30 47d734a1-aa8b-42a1-a648-8ee420293e42 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 17:32:42.795 +05:30 47d734a1-aa8b-42a1-a648-8ee420293e42 INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 17:32:42.799 +05:30 47d734a1-aa8b-42a1-a648-8ee420293e42 INF Connection string fetched 2024-03-11 17:32:42.802 +05:30 47d734a1-aa8b-42a1-a648-8ee420293e42 INF Upserting Employee deatails 2024-03-11 17:32:42.809 +05:30 47d734a1-aa8b-42a1-a648-8ee420293e42 ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 17:32:42.810 +05:30 47d734a1-aa8b-42a1-a648-8ee420293e42 ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 17:32:42.810 +05:30 47d734a1-aa8b-42a1-a648-8ee420293e42 ERR Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 17:32:42.813 +05:30 47d734a1-aa8b-42a1-a648-8ee420293e42 ERR Upserting Employee Failed System.Exception: Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. ---> System.Data.SqlClient.SqlException (0x80131904): The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) at Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Services.EmployeeRepository.<>c__DisplayClass4_0.<b__0>d.MoveNext() in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 49 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8b770571-f80d-4479-a963-c0c6369d4ff9 Error Number:547,State:0,Class:16 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Services.EmployeeRepository.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 32 at Sang.Security.WebApi.Services.EmployeeService.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Services\EmployeeService.cs:line 16 at Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Controllers\EmployeeController.cs:line 32 2024-03-11 17:32:42.814 +05:30 47d734a1-aa8b-42a1-a648-8ee420293e42 INF Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2024-03-11 17:32:42.815 +05:30 47d734a1-aa8b-42a1-a648-8ee420293e42 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 20.3103ms 2024-03-11 17:32:42.815 +05:30 47d734a1-aa8b-42a1-a648-8ee420293e42 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 17:32:42.816 +05:30 47d734a1-aa8b-42a1-a648-8ee420293e42 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 500 null application/problem+json; charset=utf-8 23.898ms 2024-03-11 17:33:19.948 +05:30 c66bb4bb-4e2f-4418-892d-895937b6330b INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 17:33:19.950 +05:30 f13bd4da-ef4f-4bff-a163-0cb8d32036b8 INF CORS policy execution successful. 2024-03-11 17:33:19.952 +05:30 f13bd4da-ef4f-4bff-a163-0cb8d32036b8 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 4.1218ms 2024-03-11 17:33:20.251 +05:30 0e270de2-d929-42bd-a63c-662746e57def INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 186 2024-03-11 17:33:20.254 +05:30 0e270de2-d929-42bd-a63c-662746e57def INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 11:57:59 AM', Current time (UTC): '3/11/2024 12:03:20 PM'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) 2024-03-11 17:33:20.256 +05:30 0e270de2-d929-42bd-a63c-662746e57def INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 11:57:59 AM', Current time (UTC): '3/11/2024 12:03:20 PM'. 2024-03-11 17:33:20.256 +05:30 358a3bcc-2c3c-4e14-946e-27267e4b30fb INF CORS policy execution successful. 2024-03-11 17:33:20.258 +05:30 358a3bcc-2c3c-4e14-946e-27267e4b30fb INF Authorization failed. These requirements were not met: DenyAnonymousAuthorizationRequirement: Requires an authenticated user. 2024-03-11 17:33:20.259 +05:30 358a3bcc-2c3c-4e14-946e-27267e4b30fb INF AuthenticationScheme: Bearer was challenged. 2024-03-11 17:33:20.260 +05:30 358a3bcc-2c3c-4e14-946e-27267e4b30fb INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 401 null null 9.1851ms 2024-03-11 17:33:20.635 +05:30 8e4350d7-0108-43d9-b84b-3e755754886c INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens?refershToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiYWRtaW4iLCJ1bmlxdWVfbmFtZSI6ImFkbWluIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZG5zIjoiMSIsIm5iZiI6MTcxMDE1Nzk3OSwiZXhwIjoxNzEwMTU5Nzc5LCJpYXQiOjE3MTAxNTc5Nzl9.G82ihXQSu6QCV_KhADnHC6-8yNm8O2WkAfR7XKgRovY - null null 2024-03-11 17:33:20.640 +05:30 6c51bd86-eb15-44ee-a45f-837680677040 INF CORS policy execution successful. 2024-03-11 17:33:20.641 +05:30 6c51bd86-eb15-44ee-a45f-837680677040 INF Executing endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 17:33:20.642 +05:30 6c51bd86-eb15-44ee-a45f-837680677040 INF Route matched with {action = "RegenerateTokens", controller = "Security"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Sang.Security.WebApi.Models.Tokens]] RegenerateTokens(System.String) on controller Sang.Security.WebApi.Controllers.SecurityController (Sang.Security.WebApi). 2024-03-11 17:33:20.678 +05:30 6c51bd86-eb15-44ee-a45f-837680677040 INF Token generated 2024-03-11 17:33:20.679 +05:30 6c51bd86-eb15-44ee-a45f-837680677040 INF Token generated 2024-03-11 17:33:20.682 +05:30 6c51bd86-eb15-44ee-a45f-837680677040 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.Tokens'. 2024-03-11 17:33:20.684 +05:30 6c51bd86-eb15-44ee-a45f-837680677040 INF Executed action Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi) in 40.9985ms 2024-03-11 17:33:20.684 +05:30 6c51bd86-eb15-44ee-a45f-837680677040 INF Executed endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 17:33:20.684 +05:30 6c51bd86-eb15-44ee-a45f-837680677040 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens?refershToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiYWRtaW4iLCJ1bmlxdWVfbmFtZSI6ImFkbWluIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZG5zIjoiMSIsIm5iZiI6MTcxMDE1Nzk3OSwiZXhwIjoxNzEwMTU5Nzc5LCJpYXQiOjE3MTAxNTc5Nzl9.G82ihXQSu6QCV_KhADnHC6-8yNm8O2WkAfR7XKgRovY - 200 null application/json; charset=utf-8 49.0432ms 2024-03-11 17:33:20.951 +05:30 daccc558-7748-46c5-9be2-501768c83bc5 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 186 2024-03-11 17:33:20.952 +05:30 cce85402-7755-40fe-ba71-2b3240d43a75 INF CORS policy execution successful. 2024-03-11 17:33:20.953 +05:30 cce85402-7755-40fe-ba71-2b3240d43a75 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 17:33:20.954 +05:30 cce85402-7755-40fe-ba71-2b3240d43a75 INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 17:33:20.963 +05:30 cce85402-7755-40fe-ba71-2b3240d43a75 INF Connection string fetched 2024-03-11 17:33:20.964 +05:30 cce85402-7755-40fe-ba71-2b3240d43a75 INF Upserting Employee deatails 2024-03-11 17:33:20.970 +05:30 cce85402-7755-40fe-ba71-2b3240d43a75 INF Validating Upsert result. 2024-03-11 17:33:20.971 +05:30 cce85402-7755-40fe-ba71-2b3240d43a75 INF Executing CreatedAtActionResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:33:20.973 +05:30 cce85402-7755-40fe-ba71-2b3240d43a75 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 17.476ms 2024-03-11 17:33:20.973 +05:30 cce85402-7755-40fe-ba71-2b3240d43a75 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 17:33:20.973 +05:30 cce85402-7755-40fe-ba71-2b3240d43a75 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 201 null application/json; charset=utf-8 22.7885ms 2024-03-11 17:36:49.595 +05:30 9b2a8270-9b78-431d-805e-2ba50e94a6c4 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=32 - null null 2024-03-11 17:36:49.599 +05:30 e63ff026-3646-4a13-ae7e-ef1a0ca1ee5f INF CORS policy execution successful. 2024-03-11 17:36:49.600 +05:30 e63ff026-3646-4a13-ae7e-ef1a0ca1ee5f INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=32 - 204 null null 4.5396ms 2024-03-11 17:36:49.661 +05:30 9c355189-0f49-4be0-8ef5-c370a5e2de5e INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=32 - null null 2024-03-11 17:36:49.665 +05:30 9c355189-0f49-4be0-8ef5-c370a5e2de5e INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 12:05:13 PM', Current time (UTC): '3/11/2024 12:06:49 PM'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) 2024-03-11 17:36:49.667 +05:30 9c355189-0f49-4be0-8ef5-c370a5e2de5e INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 12:05:13 PM', Current time (UTC): '3/11/2024 12:06:49 PM'. 2024-03-11 17:36:49.668 +05:30 ad830b20-73a8-468d-b922-171a74ca915d INF CORS policy execution successful. 2024-03-11 17:36:49.669 +05:30 ad830b20-73a8-468d-b922-171a74ca915d INF Authorization failed. These requirements were not met: DenyAnonymousAuthorizationRequirement: Requires an authenticated user. 2024-03-11 17:36:49.669 +05:30 ad830b20-73a8-468d-b922-171a74ca915d INF AuthenticationScheme: Bearer was challenged. 2024-03-11 17:36:49.670 +05:30 ad830b20-73a8-468d-b922-171a74ca915d INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=32 - 401 null null 8.9823ms 2024-03-11 17:36:49.741 +05:30 b2441b97-3bfa-4136-9687-a6c7a9e576b6 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens?refershToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiYWRtaW4iLCJ1bmlxdWVfbmFtZSI6ImFkbWluIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZG5zIjoiMSIsIm5iZiI6MTcxMDE1ODQxMywiZXhwIjoxNzEwMTYwMjEzLCJpYXQiOjE3MTAxNTg0MTN9.BgPo-WH6Y7X3qBx7dgmOhmsq2HKLNzSdcu6Ju9hz3a4 - null null 2024-03-11 17:36:49.742 +05:30 e2fe1bf8-01ff-4f5c-9077-8d30f4ad3cc5 INF CORS policy execution successful. 2024-03-11 17:36:49.742 +05:30 e2fe1bf8-01ff-4f5c-9077-8d30f4ad3cc5 INF Executing endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 17:36:49.743 +05:30 e2fe1bf8-01ff-4f5c-9077-8d30f4ad3cc5 INF Route matched with {action = "RegenerateTokens", controller = "Security"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Sang.Security.WebApi.Models.Tokens]] RegenerateTokens(System.String) on controller Sang.Security.WebApi.Controllers.SecurityController (Sang.Security.WebApi). 2024-03-11 17:36:49.757 +05:30 e2fe1bf8-01ff-4f5c-9077-8d30f4ad3cc5 INF Token generated 2024-03-11 17:36:49.758 +05:30 e2fe1bf8-01ff-4f5c-9077-8d30f4ad3cc5 INF Token generated 2024-03-11 17:36:49.759 +05:30 e2fe1bf8-01ff-4f5c-9077-8d30f4ad3cc5 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.Tokens'. 2024-03-11 17:36:49.761 +05:30 e2fe1bf8-01ff-4f5c-9077-8d30f4ad3cc5 INF Executed action Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi) in 16.9729ms 2024-03-11 17:36:49.761 +05:30 e2fe1bf8-01ff-4f5c-9077-8d30f4ad3cc5 INF Executed endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 17:36:49.761 +05:30 e2fe1bf8-01ff-4f5c-9077-8d30f4ad3cc5 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens?refershToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiYWRtaW4iLCJ1bmlxdWVfbmFtZSI6ImFkbWluIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZG5zIjoiMSIsIm5iZiI6MTcxMDE1ODQxMywiZXhwIjoxNzEwMTYwMjEzLCJpYXQiOjE3MTAxNTg0MTN9.BgPo-WH6Y7X3qBx7dgmOhmsq2HKLNzSdcu6Ju9hz3a4 - 200 null application/json; charset=utf-8 19.5942ms 2024-03-11 17:36:49.825 +05:30 4231110b-a679-400d-b5a1-39e366253ddd INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=32 - null null 2024-03-11 17:36:49.826 +05:30 766d7435-6b9a-4c37-b150-42725fd8eaa1 INF CORS policy execution successful. 2024-03-11 17:36:49.827 +05:30 766d7435-6b9a-4c37-b150-42725fd8eaa1 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi)' 2024-03-11 17:36:49.827 +05:30 766d7435-6b9a-4c37-b150-42725fd8eaa1 INF Route matched with {action = "GetEmployeebyId", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployeebyId(Int32) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 17:36:49.830 +05:30 766d7435-6b9a-4c37-b150-42725fd8eaa1 INF Connection string fetched 2024-03-11 17:36:49.831 +05:30 766d7435-6b9a-4c37-b150-42725fd8eaa1 INF Fetching Employee deatails 2024-03-11 17:36:49.833 +05:30 766d7435-6b9a-4c37-b150-42725fd8eaa1 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:36:49.833 +05:30 766d7435-6b9a-4c37-b150-42725fd8eaa1 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi) in 6.3723ms 2024-03-11 17:36:49.834 +05:30 766d7435-6b9a-4c37-b150-42725fd8eaa1 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi)' 2024-03-11 17:36:49.834 +05:30 766d7435-6b9a-4c37-b150-42725fd8eaa1 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=32 - 200 null application/json; charset=utf-8 8.9171ms 2024-03-11 17:36:55.212 +05:30 bbd11dab-2929-4efd-8207-752dc437e8dc INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=32 - null null 2024-03-11 17:36:55.212 +05:30 0364d2c9-6bf5-482a-9166-efdccf0f28fb INF CORS policy execution successful. 2024-03-11 17:36:55.212 +05:30 0364d2c9-6bf5-482a-9166-efdccf0f28fb INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=32 - 204 null null 0.7661ms 2024-03-11 17:36:55.273 +05:30 8e7653d4-7c27-45ff-bf34-7fde5ccb034c INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=32 - null null 2024-03-11 17:36:55.274 +05:30 f60a968e-e823-4126-985b-a67950379f0a INF CORS policy execution successful. 2024-03-11 17:36:55.274 +05:30 f60a968e-e823-4126-985b-a67950379f0a INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi)' 2024-03-11 17:36:55.274 +05:30 f60a968e-e823-4126-985b-a67950379f0a INF Route matched with {action = "GetEmployeebyId", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployeebyId(Int32) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 17:36:55.276 +05:30 f60a968e-e823-4126-985b-a67950379f0a INF Connection string fetched 2024-03-11 17:36:55.277 +05:30 f60a968e-e823-4126-985b-a67950379f0a INF Fetching Employee deatails 2024-03-11 17:36:55.278 +05:30 f60a968e-e823-4126-985b-a67950379f0a INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:36:55.279 +05:30 f60a968e-e823-4126-985b-a67950379f0a INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi) in 4.0706ms 2024-03-11 17:36:55.279 +05:30 f60a968e-e823-4126-985b-a67950379f0a INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi)' 2024-03-11 17:36:55.279 +05:30 f60a968e-e823-4126-985b-a67950379f0a INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=32 - 200 null application/json; charset=utf-8 5.7994ms 2024-03-11 17:37:08.994 +05:30 a9aa2a3a-a747-48c9-b5b3-e81f80184cea INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 17:37:08.994 +05:30 2a140dc7-7fb6-4c7b-a1fb-d8c297a1c950 INF CORS policy execution successful. 2024-03-11 17:37:08.996 +05:30 2a140dc7-7fb6-4c7b-a1fb-d8c297a1c950 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 2.0212ms 2024-03-11 17:37:09.062 +05:30 809eb468-9b31-41b3-82ea-aab7f127afc5 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 176 2024-03-11 17:37:09.064 +05:30 411a0602-ec9d-4a95-9453-f74a7d5464e9 INF CORS policy execution successful. 2024-03-11 17:37:09.064 +05:30 411a0602-ec9d-4a95-9453-f74a7d5464e9 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 17:37:09.065 +05:30 411a0602-ec9d-4a95-9453-f74a7d5464e9 INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 17:37:09.070 +05:30 411a0602-ec9d-4a95-9453-f74a7d5464e9 INF Connection string fetched 2024-03-11 17:37:09.073 +05:30 411a0602-ec9d-4a95-9453-f74a7d5464e9 INF Upserting Employee deatails 2024-03-11 17:37:09.083 +05:30 411a0602-ec9d-4a95-9453-f74a7d5464e9 ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 17:37:09.084 +05:30 411a0602-ec9d-4a95-9453-f74a7d5464e9 ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 17:37:09.084 +05:30 411a0602-ec9d-4a95-9453-f74a7d5464e9 ERR Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 17:37:09.088 +05:30 411a0602-ec9d-4a95-9453-f74a7d5464e9 ERR Upserting Employee Failed System.Exception: Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. ---> System.Data.SqlClient.SqlException (0x80131904): The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) at Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Services.EmployeeRepository.<>c__DisplayClass4_0.<b__0>d.MoveNext() in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 49 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:d3393487-4828-4723-bc2f-fee3cff6dea0 Error Number:547,State:0,Class:16 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Services.EmployeeRepository.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 32 at Sang.Security.WebApi.Services.EmployeeService.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Services\EmployeeService.cs:line 16 at Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Controllers\EmployeeController.cs:line 32 2024-03-11 17:37:09.088 +05:30 411a0602-ec9d-4a95-9453-f74a7d5464e9 INF Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2024-03-11 17:37:09.089 +05:30 411a0602-ec9d-4a95-9453-f74a7d5464e9 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 24.3376ms 2024-03-11 17:37:09.089 +05:30 411a0602-ec9d-4a95-9453-f74a7d5464e9 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 17:37:09.089 +05:30 411a0602-ec9d-4a95-9453-f74a7d5464e9 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 500 null application/problem+json; charset=utf-8 27.2642ms 2024-03-11 17:45:10.024 +05:30 4a5549d8-737c-495a-aa30-49f7c827bffc INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 17:45:10.040 +05:30 266b50e3-e332-44b1-90ed-0975eb3a0773 INF CORS policy execution successful. 2024-03-11 17:45:10.043 +05:30 266b50e3-e332-44b1-90ed-0975eb3a0773 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 19.8603ms 2024-03-11 17:45:10.112 +05:30 52c8eb59-0a85-49ac-828c-e000b5e57a1c INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 176 2024-03-11 17:45:10.116 +05:30 52c8eb59-0a85-49ac-828c-e000b5e57a1c INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 12:11:49 PM', Current time (UTC): '3/11/2024 12:15:10 PM'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) 2024-03-11 17:45:10.120 +05:30 52c8eb59-0a85-49ac-828c-e000b5e57a1c INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 12:11:49 PM', Current time (UTC): '3/11/2024 12:15:10 PM'. 2024-03-11 17:45:10.120 +05:30 efc4059e-bfda-45a6-8059-997034bc247d INF CORS policy execution successful. 2024-03-11 17:45:10.123 +05:30 efc4059e-bfda-45a6-8059-997034bc247d INF Authorization failed. These requirements were not met: DenyAnonymousAuthorizationRequirement: Requires an authenticated user. 2024-03-11 17:45:10.123 +05:30 efc4059e-bfda-45a6-8059-997034bc247d INF AuthenticationScheme: Bearer was challenged. 2024-03-11 17:45:10.132 +05:30 efc4059e-bfda-45a6-8059-997034bc247d INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 401 null null 20.6297ms 2024-03-11 17:45:10.194 +05:30 337523d3-7d42-4e93-a9d6-96f6dfc50268 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens?refershToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiYWRtaW4iLCJ1bmlxdWVfbmFtZSI6ImFkbWluIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZG5zIjoiMSIsIm5iZiI6MTcxMDE1ODgwOSwiZXhwIjoxNzEwMTYwNjA5LCJpYXQiOjE3MTAxNTg4MDl9.GMDV3uLJVZGRsLtP1ml815f0q1KRSCBbDI41wlhd5dg - null null 2024-03-11 17:45:10.196 +05:30 883f2e1b-4a81-4f03-9938-1cfd9996eae4 INF CORS policy execution successful. 2024-03-11 17:45:10.197 +05:30 883f2e1b-4a81-4f03-9938-1cfd9996eae4 INF Executing endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 17:45:10.198 +05:30 883f2e1b-4a81-4f03-9938-1cfd9996eae4 INF Route matched with {action = "RegenerateTokens", controller = "Security"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Sang.Security.WebApi.Models.Tokens]] RegenerateTokens(System.String) on controller Sang.Security.WebApi.Controllers.SecurityController (Sang.Security.WebApi). 2024-03-11 17:45:10.227 +05:30 883f2e1b-4a81-4f03-9938-1cfd9996eae4 INF Token generated 2024-03-11 17:45:10.228 +05:30 883f2e1b-4a81-4f03-9938-1cfd9996eae4 INF Token generated 2024-03-11 17:45:10.229 +05:30 883f2e1b-4a81-4f03-9938-1cfd9996eae4 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.Tokens'. 2024-03-11 17:45:10.230 +05:30 883f2e1b-4a81-4f03-9938-1cfd9996eae4 INF Executed action Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi) in 31.7196ms 2024-03-11 17:45:10.230 +05:30 883f2e1b-4a81-4f03-9938-1cfd9996eae4 INF Executed endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 17:45:10.231 +05:30 883f2e1b-4a81-4f03-9938-1cfd9996eae4 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens?refershToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiYWRtaW4iLCJ1bmlxdWVfbmFtZSI6ImFkbWluIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZG5zIjoiMSIsIm5iZiI6MTcxMDE1ODgwOSwiZXhwIjoxNzEwMTYwNjA5LCJpYXQiOjE3MTAxNTg4MDl9.GMDV3uLJVZGRsLtP1ml815f0q1KRSCBbDI41wlhd5dg - 200 null application/json; charset=utf-8 36.4275ms 2024-03-11 17:45:10.290 +05:30 413f6275-3c55-4559-a961-dfcd5873ccb0 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 176 2024-03-11 17:45:10.291 +05:30 3cda40f0-94b3-4251-9f41-96bd6f0f03ba INF CORS policy execution successful. 2024-03-11 17:45:10.291 +05:30 3cda40f0-94b3-4251-9f41-96bd6f0f03ba INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 17:45:10.292 +05:30 3cda40f0-94b3-4251-9f41-96bd6f0f03ba INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 17:45:10.295 +05:30 3cda40f0-94b3-4251-9f41-96bd6f0f03ba INF Connection string fetched 2024-03-11 17:45:10.300 +05:30 3cda40f0-94b3-4251-9f41-96bd6f0f03ba INF Upserting Employee deatails 2024-03-11 17:45:10.312 +05:30 3cda40f0-94b3-4251-9f41-96bd6f0f03ba ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 17:45:10.315 +05:30 3cda40f0-94b3-4251-9f41-96bd6f0f03ba ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 17:45:10.315 +05:30 3cda40f0-94b3-4251-9f41-96bd6f0f03ba ERR Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 17:45:10.321 +05:30 3cda40f0-94b3-4251-9f41-96bd6f0f03ba ERR Upserting Employee Failed System.Exception: Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. ---> System.Data.SqlClient.SqlException (0x80131904): The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) at Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Services.EmployeeRepository.<>c__DisplayClass4_0.<b__0>d.MoveNext() in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 49 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:15386af3-cac6-4830-93a8-b2fb2b342b6f Error Number:547,State:0,Class:16 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Services.EmployeeRepository.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 32 at Sang.Security.WebApi.Services.EmployeeService.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Services\EmployeeService.cs:line 16 at Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Controllers\EmployeeController.cs:line 32 2024-03-11 17:45:10.323 +05:30 3cda40f0-94b3-4251-9f41-96bd6f0f03ba INF Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2024-03-11 17:45:10.328 +05:30 3cda40f0-94b3-4251-9f41-96bd6f0f03ba INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 36.2674ms 2024-03-11 17:45:10.328 +05:30 3cda40f0-94b3-4251-9f41-96bd6f0f03ba INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 17:45:10.329 +05:30 3cda40f0-94b3-4251-9f41-96bd6f0f03ba INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 500 null application/problem+json; charset=utf-8 38.7915ms 2024-03-11 17:55:12.111 +05:30 INF Application is shutting down... 2024-03-11 17:55:49.436 +05:30 WRN Using an in-memory repository. Keys will not be persisted to storage. 2024-03-11 17:55:49.493 +05:30 WRN Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits. 2024-03-11 17:55:49.517 +05:30 INF Creating key {6974d9ce-2e19-449a-af89-ea78190aca33} with creation date 2024-03-11 12:25:49Z, activation date 2024-03-11 12:25:49Z, and expiration date 2024-06-09 12:25:49Z. 2024-03-11 17:55:49.529 +05:30 WRN No XML encryptor configured. Key {6974d9ce-2e19-449a-af89-ea78190aca33} may be persisted to storage in unencrypted form. 2024-03-11 17:55:49.612 +05:30 INF Application started. Press Ctrl+C to shut down. 2024-03-11 17:55:49.612 +05:30 INF Hosting environment: Production 2024-03-11 17:55:49.613 +05:30 INF Content root path: C:\inetpub\wwwroot\Sang.Employee.Web.Api 2024-03-11 17:55:49.641 +05:30 d92badf9-d71b-429d-9431-7b29e4a5e3c3 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 17:55:49.753 +05:30 094d60e7-f942-4fdd-b6ce-3f135e24b3c7 INF CORS policy execution successful. 2024-03-11 17:55:49.765 +05:30 094d60e7-f942-4fdd-b6ce-3f135e24b3c7 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 126.1117ms 2024-03-11 17:55:49.846 +05:30 a686f2cb-04c9-4972-a9e9-b355703e5f57 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 198 2024-03-11 17:55:49.987 +05:30 a686f2cb-04c9-4972-a9e9-b355703e5f57 INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 12:20:10 PM', Current time (UTC): '3/11/2024 12:25:49 PM'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) 2024-03-11 17:55:50.006 +05:30 a686f2cb-04c9-4972-a9e9-b355703e5f57 INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 12:20:10 PM', Current time (UTC): '3/11/2024 12:25:49 PM'. 2024-03-11 17:55:50.009 +05:30 e1578762-873c-4fd4-868c-7948e381cf29 INF CORS policy execution successful. 2024-03-11 17:55:50.020 +05:30 e1578762-873c-4fd4-868c-7948e381cf29 INF Authorization failed. These requirements were not met: DenyAnonymousAuthorizationRequirement: Requires an authenticated user. 2024-03-11 17:55:50.027 +05:30 e1578762-873c-4fd4-868c-7948e381cf29 INF AuthenticationScheme: Bearer was challenged. 2024-03-11 17:55:50.034 +05:30 e1578762-873c-4fd4-868c-7948e381cf29 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 401 null null 188.4812ms 2024-03-11 17:55:50.124 +05:30 8cb1895f-f636-4b8d-bfae-1edac264e313 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens?refershToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiYWRtaW4iLCJ1bmlxdWVfbmFtZSI6ImFkbWluIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZG5zIjoiMSIsIm5iZiI6MTcxMDE1OTMxMCwiZXhwIjoxNzEwMTYxMTEwLCJpYXQiOjE3MTAxNTkzMTB9.wIXChqyqBbdf4uiSoacKpzW2sidSdAFx024R_HCJW9Y - null null 2024-03-11 17:55:50.137 +05:30 c4464a7d-43c3-4cf4-863d-3563eec37e76 INF CORS policy execution successful. 2024-03-11 17:55:50.143 +05:30 c4464a7d-43c3-4cf4-863d-3563eec37e76 INF Executing endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 17:55:50.183 +05:30 c4464a7d-43c3-4cf4-863d-3563eec37e76 INF Route matched with {action = "RegenerateTokens", controller = "Security"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Sang.Security.WebApi.Models.Tokens]] RegenerateTokens(System.String) on controller Sang.Security.WebApi.Controllers.SecurityController (Sang.Security.WebApi). 2024-03-11 17:55:50.523 +05:30 c4464a7d-43c3-4cf4-863d-3563eec37e76 INF Token generated 2024-03-11 17:55:50.525 +05:30 c4464a7d-43c3-4cf4-863d-3563eec37e76 INF Token generated 2024-03-11 17:55:50.531 +05:30 c4464a7d-43c3-4cf4-863d-3563eec37e76 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.Tokens'. 2024-03-11 17:55:50.561 +05:30 c4464a7d-43c3-4cf4-863d-3563eec37e76 INF Executed action Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi) in 372.4795ms 2024-03-11 17:55:50.562 +05:30 c4464a7d-43c3-4cf4-863d-3563eec37e76 INF Executed endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 17:55:50.565 +05:30 c4464a7d-43c3-4cf4-863d-3563eec37e76 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens?refershToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiYWRtaW4iLCJ1bmlxdWVfbmFtZSI6ImFkbWluIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZG5zIjoiMSIsIm5iZiI6MTcxMDE1OTMxMCwiZXhwIjoxNzEwMTYxMTEwLCJpYXQiOjE3MTAxNTkzMTB9.wIXChqyqBbdf4uiSoacKpzW2sidSdAFx024R_HCJW9Y - 200 null application/json; charset=utf-8 441.3742ms 2024-03-11 17:55:50.650 +05:30 5c6d9509-c6a8-4e12-ab09-535bb62bc92b INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 198 2024-03-11 17:55:50.659 +05:30 0d5de131-c601-4d9a-b7a0-139d8b6112e6 INF CORS policy execution successful. 2024-03-11 17:55:50.662 +05:30 0d5de131-c601-4d9a-b7a0-139d8b6112e6 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 17:55:50.668 +05:30 0d5de131-c601-4d9a-b7a0-139d8b6112e6 INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 17:55:50.694 +05:30 0d5de131-c601-4d9a-b7a0-139d8b6112e6 INF Connection string fetched 2024-03-11 17:55:50.758 +05:30 0d5de131-c601-4d9a-b7a0-139d8b6112e6 INF Upserting Employee deatails 2024-03-11 17:55:50.776 +05:30 0d5de131-c601-4d9a-b7a0-139d8b6112e6 INF Validating Upsert result. 2024-03-11 17:55:50.869 +05:30 0d5de131-c601-4d9a-b7a0-139d8b6112e6 INF Executing CreatedAtActionResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:55:50.929 +05:30 0d5de131-c601-4d9a-b7a0-139d8b6112e6 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 261.168ms 2024-03-11 17:55:50.929 +05:30 0d5de131-c601-4d9a-b7a0-139d8b6112e6 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 17:55:50.930 +05:30 0d5de131-c601-4d9a-b7a0-139d8b6112e6 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 201 null application/json; charset=utf-8 279.9474ms 2024-03-11 17:57:30.456 +05:30 68cee8b9-6a3f-450e-85b8-ab8f80bb4e0d INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 17:57:30.461 +05:30 ae7234b0-9888-4743-a0b7-595f53860573 INF CORS policy execution successful. 2024-03-11 17:57:30.462 +05:30 ae7234b0-9888-4743-a0b7-595f53860573 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 204 null null 6.852ms 2024-03-11 17:57:30.512 +05:30 b02e3ea7-e4b8-47d5-8f68-a94598beefe9 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 17:57:30.512 +05:30 ec678781-5e2b-4ee6-80fd-a4811976c3aa INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 17:57:30.513 +05:30 c13b922f-ff81-4970-a95b-dc1efd1291e7 INF CORS policy execution successful. 2024-03-11 17:57:30.513 +05:30 bf690ba5-9cf0-455f-9409-3596d2384492 INF CORS policy execution successful. 2024-03-11 17:57:30.513 +05:30 bf690ba5-9cf0-455f-9409-3596d2384492 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 204 null null 1.1354ms 2024-03-11 17:57:30.513 +05:30 c13b922f-ff81-4970-a95b-dc1efd1291e7 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 204 null null 1.4389ms 2024-03-11 17:57:30.530 +05:30 46e738cb-8aad-4ba1-9855-20a1b908e54d INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 17:57:30.532 +05:30 68705a70-7320-4e36-a7fd-9ebeac932606 INF CORS policy execution successful. 2024-03-11 17:57:30.533 +05:30 68705a70-7320-4e36-a7fd-9ebeac932606 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 204 null null 3.4625ms 2024-03-11 17:57:30.547 +05:30 61b0906b-ca8c-41de-9ccb-1a122050b1ed INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 17:57:30.558 +05:30 7f7e0f8b-c96d-4411-bb90-ef511956baca INF CORS policy execution successful. 2024-03-11 17:57:30.559 +05:30 7f7e0f8b-c96d-4411-bb90-ef511956baca INF Executing endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 17:57:30.572 +05:30 24269ed0-6c14-41ec-98a6-9ec2726704bb INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 17:57:30.572 +05:30 8e618922-cc6d-49c1-9e1e-d6f5f331a375 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 17:57:30.572 +05:30 7f7e0f8b-c96d-4411-bb90-ef511956baca INF Route matched with {action = "GetCities", controller = "City"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCities() on controller Sang.Security.WebApi.Controllers.CityController (Sang.Security.WebApi). 2024-03-11 17:57:30.576 +05:30 8ac59d1c-1de1-4abc-9dca-f4fb652c6e11 INF CORS policy execution successful. 2024-03-11 17:57:30.577 +05:30 8ac59d1c-1de1-4abc-9dca-f4fb652c6e11 INF Executing endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 17:57:30.580 +05:30 bed8ed9a-6234-4685-a42c-aa20a5a54389 INF CORS policy execution successful. 2024-03-11 17:57:30.581 +05:30 bed8ed9a-6234-4685-a42c-aa20a5a54389 INF Executing endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 17:57:30.586 +05:30 8ac59d1c-1de1-4abc-9dca-f4fb652c6e11 INF Route matched with {action = "GetDepartment", controller = "Department"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetDepartment() on controller Sang.Security.WebApi.Controllers.DepartmentController (Sang.Security.WebApi). 2024-03-11 17:57:30.586 +05:30 bed8ed9a-6234-4685-a42c-aa20a5a54389 INF Route matched with {action = "GetCountry", controller = "Country"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCountry() on controller Sang.Security.WebApi.Controllers.CountryController (Sang.Security.WebApi). 2024-03-11 17:57:30.587 +05:30 7f7e0f8b-c96d-4411-bb90-ef511956baca INF Connection string fetched 2024-03-11 17:57:30.588 +05:30 8ac59d1c-1de1-4abc-9dca-f4fb652c6e11 INF Connection string fetched 2024-03-11 17:57:30.593 +05:30 7f7e0f8b-c96d-4411-bb90-ef511956baca INF Fetching City deatails 2024-03-11 17:57:30.594 +05:30 8ac59d1c-1de1-4abc-9dca-f4fb652c6e11 INF Fetching Department deatails 2024-03-11 17:57:30.598 +05:30 bed8ed9a-6234-4685-a42c-aa20a5a54389 INF Fetching Country deatails 2024-03-11 17:57:30.604 +05:30 7f7e0f8b-c96d-4411-bb90-ef511956baca INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:57:30.606 +05:30 bed8ed9a-6234-4685-a42c-aa20a5a54389 INF Connection string fetched 2024-03-11 17:57:30.606 +05:30 7f7e0f8b-c96d-4411-bb90-ef511956baca INF Executed action Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi) in 31.9798ms 2024-03-11 17:57:30.608 +05:30 7f7e0f8b-c96d-4411-bb90-ef511956baca INF Executed endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 17:57:30.608 +05:30 7f7e0f8b-c96d-4411-bb90-ef511956baca INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 200 null application/json; charset=utf-8 61.2136ms 2024-03-11 17:57:30.613 +05:30 8ac59d1c-1de1-4abc-9dca-f4fb652c6e11 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:57:30.613 +05:30 bed8ed9a-6234-4685-a42c-aa20a5a54389 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:57:30.614 +05:30 bed8ed9a-6234-4685-a42c-aa20a5a54389 INF Executed action Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi) in 28.3448ms 2024-03-11 17:57:30.614 +05:30 8ac59d1c-1de1-4abc-9dca-f4fb652c6e11 INF Executed action Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi) in 28.4283ms 2024-03-11 17:57:30.615 +05:30 bed8ed9a-6234-4685-a42c-aa20a5a54389 INF Executed endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 17:57:30.615 +05:30 8ac59d1c-1de1-4abc-9dca-f4fb652c6e11 INF Executed endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 17:57:30.615 +05:30 bed8ed9a-6234-4685-a42c-aa20a5a54389 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 200 null application/json; charset=utf-8 43.2789ms 2024-03-11 17:57:30.615 +05:30 8ac59d1c-1de1-4abc-9dca-f4fb652c6e11 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 200 null application/json; charset=utf-8 43.3674ms 2024-03-11 17:57:30.617 +05:30 8b005d4f-935d-49c6-b184-4803875ed156 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 17:57:30.618 +05:30 7a01602a-3261-431b-9d4e-9dab9db179c2 INF CORS policy execution successful. 2024-03-11 17:57:30.621 +05:30 7a01602a-3261-431b-9d4e-9dab9db179c2 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 17:57:30.628 +05:30 7a01602a-3261-431b-9d4e-9dab9db179c2 INF Route matched with {action = "GetEmployees", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployees() on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 17:57:30.630 +05:30 7a01602a-3261-431b-9d4e-9dab9db179c2 INF Connection string fetched 2024-03-11 17:57:30.634 +05:30 7a01602a-3261-431b-9d4e-9dab9db179c2 INF Fetching Employees deatails 2024-03-11 17:57:30.648 +05:30 7a01602a-3261-431b-9d4e-9dab9db179c2 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:57:30.650 +05:30 7a01602a-3261-431b-9d4e-9dab9db179c2 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi) in 21.9717ms 2024-03-11 17:57:30.650 +05:30 7a01602a-3261-431b-9d4e-9dab9db179c2 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 17:57:30.651 +05:30 7a01602a-3261-431b-9d4e-9dab9db179c2 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 200 null application/json; charset=utf-8 33.4171ms 2024-03-11 17:58:08.996 +05:30 9bb1b2ed-55da-444c-a42d-8fbafe431879 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=34 - null null 2024-03-11 17:58:09.001 +05:30 cab5b406-4946-4c0c-b666-ff8626c617fe INF CORS policy execution successful. 2024-03-11 17:58:09.003 +05:30 cab5b406-4946-4c0c-b666-ff8626c617fe INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=34 - 204 null null 7.9098ms 2024-03-11 17:58:09.084 +05:30 a502d291-906c-4b97-ab84-de53c634ecaf INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=34 - null null 2024-03-11 17:58:09.088 +05:30 52482c05-b5f6-440f-bc76-aeaff503f0d5 INF CORS policy execution successful. 2024-03-11 17:58:09.089 +05:30 52482c05-b5f6-440f-bc76-aeaff503f0d5 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi)' 2024-03-11 17:58:09.101 +05:30 52482c05-b5f6-440f-bc76-aeaff503f0d5 INF Route matched with {action = "GetEmployeebyId", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployeebyId(Int32) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 17:58:09.112 +05:30 52482c05-b5f6-440f-bc76-aeaff503f0d5 INF Connection string fetched 2024-03-11 17:58:09.120 +05:30 52482c05-b5f6-440f-bc76-aeaff503f0d5 INF Fetching Employee deatails 2024-03-11 17:58:09.124 +05:30 52482c05-b5f6-440f-bc76-aeaff503f0d5 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:58:09.125 +05:30 52482c05-b5f6-440f-bc76-aeaff503f0d5 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi) in 23.7939ms 2024-03-11 17:58:09.125 +05:30 52482c05-b5f6-440f-bc76-aeaff503f0d5 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi)' 2024-03-11 17:58:09.126 +05:30 52482c05-b5f6-440f-bc76-aeaff503f0d5 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=34 - 200 null application/json; charset=utf-8 41.689ms 2024-03-11 17:58:13.486 +05:30 e70f0bf4-c26a-4d08-8447-3e5e2d1d26b8 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 17:58:13.487 +05:30 88fcdd88-4be6-41df-833b-6662c90d6ddd INF CORS policy execution successful. 2024-03-11 17:58:13.488 +05:30 88fcdd88-4be6-41df-833b-6662c90d6ddd INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 2.1441ms 2024-03-11 17:58:13.570 +05:30 939ed28f-1006-4b60-ab10-82e71b342f68 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 182 2024-03-11 17:58:13.571 +05:30 4db7001c-e32c-4933-9bd7-68509fcd37ec INF CORS policy execution successful. 2024-03-11 17:58:13.572 +05:30 4db7001c-e32c-4933-9bd7-68509fcd37ec INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 17:58:13.572 +05:30 4db7001c-e32c-4933-9bd7-68509fcd37ec INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 17:58:13.574 +05:30 4db7001c-e32c-4933-9bd7-68509fcd37ec INF Connection string fetched 2024-03-11 17:58:13.578 +05:30 4db7001c-e32c-4933-9bd7-68509fcd37ec INF Upserting Employee deatails 2024-03-11 17:58:13.586 +05:30 4db7001c-e32c-4933-9bd7-68509fcd37ec ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 17:58:13.589 +05:30 4db7001c-e32c-4933-9bd7-68509fcd37ec ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 17:58:13.589 +05:30 4db7001c-e32c-4933-9bd7-68509fcd37ec ERR Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 17:58:13.598 +05:30 4db7001c-e32c-4933-9bd7-68509fcd37ec ERR Upserting Employee Failed System.Exception: Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. ---> System.Data.SqlClient.SqlException (0x80131904): The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) at Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Services.EmployeeRepository.<>c__DisplayClass4_0.<b__0>d.MoveNext() in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 49 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8854f3e2-cd8b-4ada-9e2e-a26d94ad9d75 Error Number:547,State:0,Class:16 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Services.EmployeeRepository.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 32 at Sang.Security.WebApi.Services.EmployeeService.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Services\EmployeeService.cs:line 16 at Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Controllers\EmployeeController.cs:line 32 2024-03-11 17:58:13.599 +05:30 4db7001c-e32c-4933-9bd7-68509fcd37ec INF Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2024-03-11 17:58:13.638 +05:30 4db7001c-e32c-4933-9bd7-68509fcd37ec INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 65.6655ms 2024-03-11 17:58:13.638 +05:30 4db7001c-e32c-4933-9bd7-68509fcd37ec INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 17:58:13.639 +05:30 4db7001c-e32c-4933-9bd7-68509fcd37ec INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 500 null application/problem+json; charset=utf-8 68.8221ms 2024-03-11 17:58:24.950 +05:30 b58b7b1f-93f3-4348-9796-ba5419226694 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 17:58:24.951 +05:30 5e218468-21c1-4cea-85ae-1dbceafbb432 INF CORS policy execution successful. 2024-03-11 17:58:24.952 +05:30 5e218468-21c1-4cea-85ae-1dbceafbb432 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 2.5232ms 2024-03-11 17:58:25.033 +05:30 4fbd53b3-ded5-4df3-ad75-9900c334864a INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 182 2024-03-11 17:58:25.034 +05:30 29c7a0f2-73ee-4ffb-b676-2ee4cbe3f19d INF CORS policy execution successful. 2024-03-11 17:58:25.035 +05:30 29c7a0f2-73ee-4ffb-b676-2ee4cbe3f19d INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 17:58:25.035 +05:30 29c7a0f2-73ee-4ffb-b676-2ee4cbe3f19d INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 17:58:25.039 +05:30 29c7a0f2-73ee-4ffb-b676-2ee4cbe3f19d INF Connection string fetched 2024-03-11 17:58:25.041 +05:30 29c7a0f2-73ee-4ffb-b676-2ee4cbe3f19d INF Upserting Employee deatails 2024-03-11 17:58:25.045 +05:30 29c7a0f2-73ee-4ffb-b676-2ee4cbe3f19d ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 17:58:25.062 +05:30 29c7a0f2-73ee-4ffb-b676-2ee4cbe3f19d ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 17:58:25.063 +05:30 29c7a0f2-73ee-4ffb-b676-2ee4cbe3f19d ERR Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 17:58:25.065 +05:30 29c7a0f2-73ee-4ffb-b676-2ee4cbe3f19d ERR Upserting Employee Failed System.Exception: Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. ---> System.Data.SqlClient.SqlException (0x80131904): The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) at Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Services.EmployeeRepository.<>c__DisplayClass4_0.<b__0>d.MoveNext() in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 49 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8854f3e2-cd8b-4ada-9e2e-a26d94ad9d75 Error Number:547,State:0,Class:16 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Services.EmployeeRepository.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 32 at Sang.Security.WebApi.Services.EmployeeService.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Services\EmployeeService.cs:line 16 at Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Controllers\EmployeeController.cs:line 32 2024-03-11 17:58:25.066 +05:30 29c7a0f2-73ee-4ffb-b676-2ee4cbe3f19d INF Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2024-03-11 17:58:25.068 +05:30 29c7a0f2-73ee-4ffb-b676-2ee4cbe3f19d INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 32.0632ms 2024-03-11 17:58:25.068 +05:30 29c7a0f2-73ee-4ffb-b676-2ee4cbe3f19d INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 17:58:25.068 +05:30 29c7a0f2-73ee-4ffb-b676-2ee4cbe3f19d INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 500 null application/problem+json; charset=utf-8 35.3265ms 2024-03-11 17:58:32.443 +05:30 1e29f7a5-438b-4071-b9d7-2246d29209fe INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 17:58:32.444 +05:30 b742953f-5e8b-441e-92ab-3d0ccbf3d7bc INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 17:58:32.445 +05:30 d111becb-1fb0-4ac9-959c-329c067dc904 INF CORS policy execution successful. 2024-03-11 17:58:32.445 +05:30 d500cc69-b25a-4e6b-8ec0-d67218de7130 INF CORS policy execution successful. 2024-03-11 17:58:32.445 +05:30 d111becb-1fb0-4ac9-959c-329c067dc904 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 204 null null 1.0797ms 2024-03-11 17:58:32.445 +05:30 d500cc69-b25a-4e6b-8ec0-d67218de7130 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 204 null null 2.0496ms 2024-03-11 17:58:32.446 +05:30 6e6cf761-407f-49be-bd3b-41c183d4d73c INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 17:58:32.446 +05:30 71da2a92-27fe-4159-9ea5-49eff7d01adc INF CORS policy execution successful. 2024-03-11 17:58:32.447 +05:30 71da2a92-27fe-4159-9ea5-49eff7d01adc INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 204 null null 0.9008ms 2024-03-11 17:58:32.447 +05:30 3ea4c9ea-2c9f-45fc-addc-332c17706966 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 17:58:32.447 +05:30 ac8a759f-15b3-4cef-9b3e-fe0e23542211 INF CORS policy execution successful. 2024-03-11 17:58:32.447 +05:30 ac8a759f-15b3-4cef-9b3e-fe0e23542211 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 204 null null 0.5303ms 2024-03-11 17:58:32.503 +05:30 b64dfaf2-27bb-4121-b638-90036753cfdb INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 17:58:32.504 +05:30 24802fcf-f1b0-431d-80a9-ec90d3738b6f INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 17:58:32.505 +05:30 b6121be5-58a4-4f5b-b106-66cc7592c55b INF CORS policy execution successful. 2024-03-11 17:58:32.505 +05:30 16d0f22f-ed5f-4185-be3a-12f25368c2d2 INF CORS policy execution successful. 2024-03-11 17:58:32.505 +05:30 b6121be5-58a4-4f5b-b106-66cc7592c55b INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 17:58:32.505 +05:30 16d0f22f-ed5f-4185-be3a-12f25368c2d2 INF Executing endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 17:58:32.506 +05:30 b6121be5-58a4-4f5b-b106-66cc7592c55b INF Route matched with {action = "GetEmployees", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployees() on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 17:58:32.506 +05:30 16d0f22f-ed5f-4185-be3a-12f25368c2d2 INF Route matched with {action = "GetDepartment", controller = "Department"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetDepartment() on controller Sang.Security.WebApi.Controllers.DepartmentController (Sang.Security.WebApi). 2024-03-11 17:58:32.508 +05:30 16d0f22f-ed5f-4185-be3a-12f25368c2d2 INF Connection string fetched 2024-03-11 17:58:32.508 +05:30 b6121be5-58a4-4f5b-b106-66cc7592c55b INF Connection string fetched 2024-03-11 17:58:32.508 +05:30 b6121be5-58a4-4f5b-b106-66cc7592c55b INF Fetching Employees deatails 2024-03-11 17:58:32.510 +05:30 16d0f22f-ed5f-4185-be3a-12f25368c2d2 INF Fetching Department deatails 2024-03-11 17:58:32.513 +05:30 16d0f22f-ed5f-4185-be3a-12f25368c2d2 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:58:32.514 +05:30 b6121be5-58a4-4f5b-b106-66cc7592c55b INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:58:32.515 +05:30 16d0f22f-ed5f-4185-be3a-12f25368c2d2 INF Executed action Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi) in 8.9465ms 2024-03-11 17:58:32.515 +05:30 16d0f22f-ed5f-4185-be3a-12f25368c2d2 INF Executed endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 17:58:32.515 +05:30 b6121be5-58a4-4f5b-b106-66cc7592c55b INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi) in 9.4746ms 2024-03-11 17:58:32.515 +05:30 16d0f22f-ed5f-4185-be3a-12f25368c2d2 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 200 null application/json; charset=utf-8 10.9055ms 2024-03-11 17:58:32.515 +05:30 b6121be5-58a4-4f5b-b106-66cc7592c55b INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 17:58:32.516 +05:30 b6121be5-58a4-4f5b-b106-66cc7592c55b INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 200 null application/json; charset=utf-8 12.4472ms 2024-03-11 17:58:32.525 +05:30 59667d4c-1cc5-4024-b0ce-3ff09c35a214 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 17:58:32.525 +05:30 a64906db-195b-4826-83d4-ccb902cb9c58 INF CORS policy execution successful. 2024-03-11 17:58:32.525 +05:30 a64906db-195b-4826-83d4-ccb902cb9c58 INF Executing endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 17:58:32.526 +05:30 a64906db-195b-4826-83d4-ccb902cb9c58 INF Route matched with {action = "GetCities", controller = "City"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCities() on controller Sang.Security.WebApi.Controllers.CityController (Sang.Security.WebApi). 2024-03-11 17:58:32.528 +05:30 a64906db-195b-4826-83d4-ccb902cb9c58 INF Connection string fetched 2024-03-11 17:58:32.528 +05:30 a64906db-195b-4826-83d4-ccb902cb9c58 INF Fetching City deatails 2024-03-11 17:58:32.530 +05:30 ce9080e2-2fa4-4b82-bc6b-2d8f82d842ac INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 17:58:32.530 +05:30 a64906db-195b-4826-83d4-ccb902cb9c58 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:58:32.530 +05:30 c8702458-5348-46c2-9ffa-789af5df78fb INF CORS policy execution successful. 2024-03-11 17:58:32.530 +05:30 c8702458-5348-46c2-9ffa-789af5df78fb INF Executing endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 17:58:32.530 +05:30 c8702458-5348-46c2-9ffa-789af5df78fb INF Route matched with {action = "GetCountry", controller = "Country"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCountry() on controller Sang.Security.WebApi.Controllers.CountryController (Sang.Security.WebApi). 2024-03-11 17:58:32.531 +05:30 a64906db-195b-4826-83d4-ccb902cb9c58 INF Executed action Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi) in 4.7622ms 2024-03-11 17:58:32.531 +05:30 a64906db-195b-4826-83d4-ccb902cb9c58 INF Executed endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 17:58:32.531 +05:30 a64906db-195b-4826-83d4-ccb902cb9c58 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 200 null application/json; charset=utf-8 6.2181ms 2024-03-11 17:58:32.532 +05:30 c8702458-5348-46c2-9ffa-789af5df78fb INF Connection string fetched 2024-03-11 17:58:32.532 +05:30 c8702458-5348-46c2-9ffa-789af5df78fb INF Fetching Country deatails 2024-03-11 17:58:32.534 +05:30 c8702458-5348-46c2-9ffa-789af5df78fb INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:58:32.534 +05:30 c8702458-5348-46c2-9ffa-789af5df78fb INF Executed action Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi) in 3.8683ms 2024-03-11 17:58:32.534 +05:30 c8702458-5348-46c2-9ffa-789af5df78fb INF Executed endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 17:58:32.535 +05:30 c8702458-5348-46c2-9ffa-789af5df78fb INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 200 null application/json; charset=utf-8 5.1191ms 2024-03-11 17:59:51.229 +05:30 992e83e2-595e-4300-86bc-984f28ba43d7 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=34 - null null 2024-03-11 17:59:51.232 +05:30 a97b7ec1-df15-4963-a618-f81b47d411ee INF CORS policy execution successful. 2024-03-11 17:59:51.234 +05:30 a97b7ec1-df15-4963-a618-f81b47d411ee INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=34 - 204 null null 5.726ms 2024-03-11 17:59:51.315 +05:30 197eaac3-0652-4d38-b839-ecfbb889a5ee INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=34 - null null 2024-03-11 17:59:51.319 +05:30 4fe02a72-190b-498d-976c-f16cacf6a7e9 INF CORS policy execution successful. 2024-03-11 17:59:51.319 +05:30 4fe02a72-190b-498d-976c-f16cacf6a7e9 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi)' 2024-03-11 17:59:51.321 +05:30 4fe02a72-190b-498d-976c-f16cacf6a7e9 INF Route matched with {action = "GetEmployeebyId", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployeebyId(Int32) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 17:59:51.325 +05:30 4fe02a72-190b-498d-976c-f16cacf6a7e9 INF Connection string fetched 2024-03-11 17:59:51.328 +05:30 4fe02a72-190b-498d-976c-f16cacf6a7e9 INF Fetching Employee deatails 2024-03-11 17:59:51.330 +05:30 4fe02a72-190b-498d-976c-f16cacf6a7e9 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 17:59:51.332 +05:30 4fe02a72-190b-498d-976c-f16cacf6a7e9 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi) in 11.5052ms 2024-03-11 17:59:51.332 +05:30 4fe02a72-190b-498d-976c-f16cacf6a7e9 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi)' 2024-03-11 17:59:51.333 +05:30 4fe02a72-190b-498d-976c-f16cacf6a7e9 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=34 - 200 null application/json; charset=utf-8 17.2458ms 2024-03-11 17:59:58.325 +05:30 359885ed-0e3f-44c4-9d71-dc95c1f7e041 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 17:59:58.326 +05:30 ec1c5756-a7b1-490e-9d02-5da5d61a5296 INF CORS policy execution successful. 2024-03-11 17:59:58.327 +05:30 ec1c5756-a7b1-490e-9d02-5da5d61a5296 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 2.348ms 2024-03-11 17:59:58.412 +05:30 d17b1693-330f-4887-992a-ffbc214205f5 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 182 2024-03-11 17:59:58.413 +05:30 9e6dc3d4-b89d-4d39-a28f-82d3ee75fc59 INF CORS policy execution successful. 2024-03-11 17:59:58.413 +05:30 9e6dc3d4-b89d-4d39-a28f-82d3ee75fc59 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 17:59:58.413 +05:30 9e6dc3d4-b89d-4d39-a28f-82d3ee75fc59 INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 17:59:58.416 +05:30 9e6dc3d4-b89d-4d39-a28f-82d3ee75fc59 INF Connection string fetched 2024-03-11 17:59:58.419 +05:30 9e6dc3d4-b89d-4d39-a28f-82d3ee75fc59 INF Upserting Employee deatails 2024-03-11 17:59:58.426 +05:30 9e6dc3d4-b89d-4d39-a28f-82d3ee75fc59 ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 17:59:58.428 +05:30 9e6dc3d4-b89d-4d39-a28f-82d3ee75fc59 ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 17:59:58.429 +05:30 9e6dc3d4-b89d-4d39-a28f-82d3ee75fc59 ERR Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 17:59:58.436 +05:30 9e6dc3d4-b89d-4d39-a28f-82d3ee75fc59 ERR Upserting Employee Failed System.Exception: Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. ---> System.Data.SqlClient.SqlException (0x80131904): The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) at Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Services.EmployeeRepository.<>c__DisplayClass4_0.<b__0>d.MoveNext() in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 49 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:e5fc98df-30d9-4e80-99f3-27d71c99ef35 Error Number:547,State:0,Class:16 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Services.EmployeeRepository.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 32 at Sang.Security.WebApi.Services.EmployeeService.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Services\EmployeeService.cs:line 16 at Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Controllers\EmployeeController.cs:line 32 2024-03-11 17:59:58.437 +05:30 9e6dc3d4-b89d-4d39-a28f-82d3ee75fc59 INF Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2024-03-11 17:59:58.439 +05:30 9e6dc3d4-b89d-4d39-a28f-82d3ee75fc59 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 25.1583ms 2024-03-11 17:59:58.439 +05:30 9e6dc3d4-b89d-4d39-a28f-82d3ee75fc59 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 17:59:58.439 +05:30 9e6dc3d4-b89d-4d39-a28f-82d3ee75fc59 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 500 null application/problem+json; charset=utf-8 27.7309ms 2024-03-11 18:00:11.360 +05:30 2bce75e4-8bcb-4451-b080-3085168c1487 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 18:00:11.361 +05:30 72d761c7-a9cd-457f-a698-2c4acf8b791c INF CORS policy execution successful. 2024-03-11 18:00:11.365 +05:30 72d761c7-a9cd-457f-a698-2c4acf8b791c INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 204 null null 4.8434ms 2024-03-11 18:00:11.366 +05:30 4d04e500-f6b2-4552-aa2a-f822617fce46 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:00:11.366 +05:30 f79fdd0b-ebdd-4bd7-90b9-7ac757e8d74d INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 18:00:11.366 +05:30 8c58377e-5aed-4bed-a33f-775e5f2ba03e INF CORS policy execution successful. 2024-03-11 18:00:11.366 +05:30 b1bd19fd-5944-4f5c-aa6f-684422064c93 INF CORS policy execution successful. 2024-03-11 18:00:11.367 +05:30 b1bd19fd-5944-4f5c-aa6f-684422064c93 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 204 null null 1.0646ms 2024-03-11 18:00:11.367 +05:30 8c58377e-5aed-4bed-a33f-775e5f2ba03e INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 204 null null 1.0076ms 2024-03-11 18:00:11.368 +05:30 5697a733-a52b-482c-a79c-5f34e4a81b9a INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 18:00:11.369 +05:30 99e25e66-ad88-474d-8a37-530b4dde16d1 INF CORS policy execution successful. 2024-03-11 18:00:11.369 +05:30 99e25e66-ad88-474d-8a37-530b4dde16d1 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 204 null null 1.405ms 2024-03-11 18:00:11.428 +05:30 31dccd04-9df3-4e8d-ac45-e7b8a507f390 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 18:00:11.428 +05:30 1f270448-6d51-4759-9774-491e3716ef31 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:00:11.430 +05:30 0e63ae83-54c0-479d-886b-1d66ae7a3504 INF CORS policy execution successful. 2024-03-11 18:00:11.430 +05:30 884a1896-cef4-4e31-b1d4-ff741cf4329a INF CORS policy execution successful. 2024-03-11 18:00:11.431 +05:30 884a1896-cef4-4e31-b1d4-ff741cf4329a INF Executing endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 18:00:11.432 +05:30 884a1896-cef4-4e31-b1d4-ff741cf4329a INF Route matched with {action = "GetDepartment", controller = "Department"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetDepartment() on controller Sang.Security.WebApi.Controllers.DepartmentController (Sang.Security.WebApi). 2024-03-11 18:00:11.435 +05:30 0e63ae83-54c0-479d-886b-1d66ae7a3504 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 18:00:11.436 +05:30 0e63ae83-54c0-479d-886b-1d66ae7a3504 INF Route matched with {action = "GetEmployees", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployees() on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 18:00:11.440 +05:30 884a1896-cef4-4e31-b1d4-ff741cf4329a INF Connection string fetched 2024-03-11 18:00:11.440 +05:30 0e63ae83-54c0-479d-886b-1d66ae7a3504 INF Connection string fetched 2024-03-11 18:00:11.440 +05:30 0e63ae83-54c0-479d-886b-1d66ae7a3504 INF Fetching Employees deatails 2024-03-11 18:00:11.440 +05:30 884a1896-cef4-4e31-b1d4-ff741cf4329a INF Fetching Department deatails 2024-03-11 18:00:11.443 +05:30 884a1896-cef4-4e31-b1d4-ff741cf4329a INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:00:11.443 +05:30 0e63ae83-54c0-479d-886b-1d66ae7a3504 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:00:11.444 +05:30 0e63ae83-54c0-479d-886b-1d66ae7a3504 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi) in 7.4919ms 2024-03-11 18:00:11.444 +05:30 884a1896-cef4-4e31-b1d4-ff741cf4329a INF Executed action Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi) in 11.707ms 2024-03-11 18:00:11.444 +05:30 0e63ae83-54c0-479d-886b-1d66ae7a3504 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 18:00:11.444 +05:30 884a1896-cef4-4e31-b1d4-ff741cf4329a INF Executed endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 18:00:11.444 +05:30 0e63ae83-54c0-479d-886b-1d66ae7a3504 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 200 null application/json; charset=utf-8 15.7335ms 2024-03-11 18:00:11.444 +05:30 884a1896-cef4-4e31-b1d4-ff741cf4329a INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 200 null application/json; charset=utf-8 15.7334ms 2024-03-11 18:00:11.447 +05:30 7fcf26d3-6c33-41fa-ab81-a164201b6a9c INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 18:00:11.447 +05:30 419fb063-2e7f-4dce-98e0-5ba1dada4bfb INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 18:00:11.448 +05:30 c5f88e2e-db7c-4e62-af24-36bc0a88b964 INF CORS policy execution successful. 2024-03-11 18:00:11.448 +05:30 c5f88e2e-db7c-4e62-af24-36bc0a88b964 INF Executing endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 18:00:11.448 +05:30 c5f88e2e-db7c-4e62-af24-36bc0a88b964 INF Route matched with {action = "GetCountry", controller = "Country"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCountry() on controller Sang.Security.WebApi.Controllers.CountryController (Sang.Security.WebApi). 2024-03-11 18:00:11.451 +05:30 b985fcbb-58e0-47c8-b504-16d48648fa8e INF CORS policy execution successful. 2024-03-11 18:00:11.452 +05:30 b985fcbb-58e0-47c8-b504-16d48648fa8e INF Executing endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 18:00:11.452 +05:30 b985fcbb-58e0-47c8-b504-16d48648fa8e INF Route matched with {action = "GetCities", controller = "City"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCities() on controller Sang.Security.WebApi.Controllers.CityController (Sang.Security.WebApi). 2024-03-11 18:00:11.453 +05:30 c5f88e2e-db7c-4e62-af24-36bc0a88b964 INF Connection string fetched 2024-03-11 18:00:11.453 +05:30 c5f88e2e-db7c-4e62-af24-36bc0a88b964 INF Fetching Country deatails 2024-03-11 18:00:11.455 +05:30 c5f88e2e-db7c-4e62-af24-36bc0a88b964 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:00:11.457 +05:30 c5f88e2e-db7c-4e62-af24-36bc0a88b964 INF Executed action Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi) in 8.5476ms 2024-03-11 18:00:11.457 +05:30 c5f88e2e-db7c-4e62-af24-36bc0a88b964 INF Executed endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 18:00:11.458 +05:30 c5f88e2e-db7c-4e62-af24-36bc0a88b964 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 200 null application/json; charset=utf-8 10.965ms 2024-03-11 18:00:11.459 +05:30 b985fcbb-58e0-47c8-b504-16d48648fa8e INF Connection string fetched 2024-03-11 18:00:11.460 +05:30 b985fcbb-58e0-47c8-b504-16d48648fa8e INF Fetching City deatails 2024-03-11 18:00:11.462 +05:30 b985fcbb-58e0-47c8-b504-16d48648fa8e INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:00:11.462 +05:30 b985fcbb-58e0-47c8-b504-16d48648fa8e INF Executed action Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi) in 10.372ms 2024-03-11 18:00:11.462 +05:30 b985fcbb-58e0-47c8-b504-16d48648fa8e INF Executed endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 18:00:11.463 +05:30 b985fcbb-58e0-47c8-b504-16d48648fa8e INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 200 null application/json; charset=utf-8 15.8881ms 2024-03-11 18:01:44.237 +05:30 75d7c49e-1176-4b0a-95da-4a0770d7fd13 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 18:01:44.243 +05:30 0ceca6a1-6c84-46e4-87b6-b375ed55f2e4 INF CORS policy execution successful. 2024-03-11 18:01:44.245 +05:30 0ceca6a1-6c84-46e4-87b6-b375ed55f2e4 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 7.8067ms 2024-03-11 18:01:44.329 +05:30 d47207b8-b141-4d19-ba16-5ba5dfbeb222 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 190 2024-03-11 18:01:44.334 +05:30 d47207b8-b141-4d19-ba16-5ba5dfbeb222 INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 12:30:50 PM', Current time (UTC): '3/11/2024 12:31:44 PM'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) 2024-03-11 18:01:44.339 +05:30 d47207b8-b141-4d19-ba16-5ba5dfbeb222 INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 12:30:50 PM', Current time (UTC): '3/11/2024 12:31:44 PM'. 2024-03-11 18:01:44.340 +05:30 3c037715-7012-4603-9697-3510ce2ace6f INF CORS policy execution successful. 2024-03-11 18:01:44.342 +05:30 3c037715-7012-4603-9697-3510ce2ace6f INF Authorization failed. These requirements were not met: DenyAnonymousAuthorizationRequirement: Requires an authenticated user. 2024-03-11 18:01:44.343 +05:30 3c037715-7012-4603-9697-3510ce2ace6f INF AuthenticationScheme: Bearer was challenged. 2024-03-11 18:01:44.344 +05:30 3c037715-7012-4603-9697-3510ce2ace6f INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 401 null null 15.3655ms 2024-03-11 18:01:44.442 +05:30 27c0039f-9510-4688-b0bc-a90618398551 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens?refershToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiYWRtaW4iLCJ1bmlxdWVfbmFtZSI6ImFkbWluIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZG5zIjoiMSIsIm5iZiI6MTcxMDE1OTk1MCwiZXhwIjoxNzEwMTYxNzUwLCJpYXQiOjE3MTAxNTk5NTB9.Cb3jsuqvgLsI2L8ZKY2y3PlWxwn1Ox6QVdFjpoj90uw - null null 2024-03-11 18:01:44.444 +05:30 09047501-e2b6-49bb-a771-060b184b6c12 INF CORS policy execution successful. 2024-03-11 18:01:44.444 +05:30 09047501-e2b6-49bb-a771-060b184b6c12 INF Executing endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 18:01:44.445 +05:30 09047501-e2b6-49bb-a771-060b184b6c12 INF Route matched with {action = "RegenerateTokens", controller = "Security"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Sang.Security.WebApi.Models.Tokens]] RegenerateTokens(System.String) on controller Sang.Security.WebApi.Controllers.SecurityController (Sang.Security.WebApi). 2024-03-11 18:01:44.472 +05:30 09047501-e2b6-49bb-a771-060b184b6c12 INF Token generated 2024-03-11 18:01:44.473 +05:30 09047501-e2b6-49bb-a771-060b184b6c12 INF Token generated 2024-03-11 18:01:44.474 +05:30 09047501-e2b6-49bb-a771-060b184b6c12 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.Tokens'. 2024-03-11 18:01:44.476 +05:30 09047501-e2b6-49bb-a771-060b184b6c12 INF Executed action Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi) in 30.3412ms 2024-03-11 18:01:44.476 +05:30 09047501-e2b6-49bb-a771-060b184b6c12 INF Executed endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 18:01:44.476 +05:30 09047501-e2b6-49bb-a771-060b184b6c12 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens?refershToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiYWRtaW4iLCJ1bmlxdWVfbmFtZSI6ImFkbWluIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZG5zIjoiMSIsIm5iZiI6MTcxMDE1OTk1MCwiZXhwIjoxNzEwMTYxNzUwLCJpYXQiOjE3MTAxNTk5NTB9.Cb3jsuqvgLsI2L8ZKY2y3PlWxwn1Ox6QVdFjpoj90uw - 200 null application/json; charset=utf-8 34.1487ms 2024-03-11 18:01:44.563 +05:30 5385b4bb-a7a5-4d06-8b18-fa9b5e49b4e7 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 190 2024-03-11 18:01:44.565 +05:30 2374c770-23dd-4407-a30e-59eec3d687b7 INF CORS policy execution successful. 2024-03-11 18:01:44.566 +05:30 2374c770-23dd-4407-a30e-59eec3d687b7 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 18:01:44.566 +05:30 2374c770-23dd-4407-a30e-59eec3d687b7 INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 18:01:44.570 +05:30 2374c770-23dd-4407-a30e-59eec3d687b7 INF Connection string fetched 2024-03-11 18:01:44.573 +05:30 2374c770-23dd-4407-a30e-59eec3d687b7 INF Upserting Employee deatails 2024-03-11 18:01:44.579 +05:30 2374c770-23dd-4407-a30e-59eec3d687b7 INF Validating Upsert result. 2024-03-11 18:01:44.581 +05:30 2374c770-23dd-4407-a30e-59eec3d687b7 INF Executing CreatedAtActionResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:01:44.584 +05:30 2374c770-23dd-4407-a30e-59eec3d687b7 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 17.5181ms 2024-03-11 18:01:44.584 +05:30 2374c770-23dd-4407-a30e-59eec3d687b7 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 18:01:44.584 +05:30 2374c770-23dd-4407-a30e-59eec3d687b7 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 201 null application/json; charset=utf-8 21.245ms 2024-03-11 18:01:49.644 +05:30 6140496b-6927-4ecd-a75e-7f4387617f6f INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:01:49.644 +05:30 8cd5659b-8d0f-4b8f-9c73-095eeef87353 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 18:01:49.644 +05:30 e6c7f611-993c-40cf-bf80-97da1bf5486b INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 18:01:49.644 +05:30 65647815-891a-411a-b1a3-ed22194fd619 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 18:01:49.645 +05:30 5d084d68-9380-47cc-b2d3-cbcb78b7b5e4 INF CORS policy execution successful. 2024-03-11 18:01:49.645 +05:30 ae4e287b-0257-44d4-a203-addbcf7b4eb8 INF CORS policy execution successful. 2024-03-11 18:01:49.645 +05:30 35231cd0-f8d5-406c-91e5-3037595e8b34 INF CORS policy execution successful. 2024-03-11 18:01:49.645 +05:30 12a2587d-ca09-4737-97d0-4b58882aabf2 INF CORS policy execution successful. 2024-03-11 18:01:49.645 +05:30 ae4e287b-0257-44d4-a203-addbcf7b4eb8 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 204 null null 1.5454ms 2024-03-11 18:01:49.645 +05:30 35231cd0-f8d5-406c-91e5-3037595e8b34 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 204 null null 1.1824ms 2024-03-11 18:01:49.645 +05:30 12a2587d-ca09-4737-97d0-4b58882aabf2 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 204 null null 1.6473ms 2024-03-11 18:01:49.645 +05:30 5d084d68-9380-47cc-b2d3-cbcb78b7b5e4 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 204 null null 1.4874ms 2024-03-11 18:01:49.703 +05:30 0b09a3b6-65b2-408e-ad6f-2b64fe7d910c INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:01:49.704 +05:30 2bbcbe0c-3e55-4341-a3e9-5cf649fa002d INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 18:01:49.705 +05:30 ff669d53-4640-4344-a37b-b27154bb80c2 INF CORS policy execution successful. 2024-03-11 18:01:49.705 +05:30 6f3f0d76-b586-446b-b9c0-042e8bd2ccd7 INF CORS policy execution successful. 2024-03-11 18:01:49.705 +05:30 6f3f0d76-b586-446b-b9c0-042e8bd2ccd7 INF Executing endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 18:01:49.705 +05:30 ff669d53-4640-4344-a37b-b27154bb80c2 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 18:01:49.706 +05:30 ff669d53-4640-4344-a37b-b27154bb80c2 INF Route matched with {action = "GetEmployees", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployees() on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 18:01:49.706 +05:30 6f3f0d76-b586-446b-b9c0-042e8bd2ccd7 INF Route matched with {action = "GetDepartment", controller = "Department"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetDepartment() on controller Sang.Security.WebApi.Controllers.DepartmentController (Sang.Security.WebApi). 2024-03-11 18:01:49.709 +05:30 ff669d53-4640-4344-a37b-b27154bb80c2 INF Connection string fetched 2024-03-11 18:01:49.709 +05:30 ff669d53-4640-4344-a37b-b27154bb80c2 INF Fetching Employees deatails 2024-03-11 18:01:49.709 +05:30 6f3f0d76-b586-446b-b9c0-042e8bd2ccd7 INF Connection string fetched 2024-03-11 18:01:49.710 +05:30 6f3f0d76-b586-446b-b9c0-042e8bd2ccd7 INF Fetching Department deatails 2024-03-11 18:01:49.711 +05:30 ff669d53-4640-4344-a37b-b27154bb80c2 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:01:49.711 +05:30 6f3f0d76-b586-446b-b9c0-042e8bd2ccd7 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:01:49.712 +05:30 6f3f0d76-b586-446b-b9c0-042e8bd2ccd7 INF Executed action Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi) in 6.0147ms 2024-03-11 18:01:49.712 +05:30 ff669d53-4640-4344-a37b-b27154bb80c2 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi) in 6.1865ms 2024-03-11 18:01:49.712 +05:30 6f3f0d76-b586-446b-b9c0-042e8bd2ccd7 INF Executed endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 18:01:49.712 +05:30 ff669d53-4640-4344-a37b-b27154bb80c2 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 18:01:49.712 +05:30 6f3f0d76-b586-446b-b9c0-042e8bd2ccd7 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 200 null application/json; charset=utf-8 8.3281ms 2024-03-11 18:01:49.712 +05:30 ff669d53-4640-4344-a37b-b27154bb80c2 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 200 null application/json; charset=utf-8 9.1472ms 2024-03-11 18:01:49.728 +05:30 57eec838-4fec-4f7e-bcdb-8737398d4007 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 18:01:49.729 +05:30 6b2f6e45-c763-43bc-87ef-55b01c49873d INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 18:01:49.729 +05:30 937502ed-9aa6-4cf3-801d-4007e04a1ab9 INF CORS policy execution successful. 2024-03-11 18:01:49.729 +05:30 4bc871ad-2071-41a9-ae9b-f2634e8317bd INF CORS policy execution successful. 2024-03-11 18:01:49.729 +05:30 937502ed-9aa6-4cf3-801d-4007e04a1ab9 INF Executing endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 18:01:49.730 +05:30 4bc871ad-2071-41a9-ae9b-f2634e8317bd INF Executing endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 18:01:49.730 +05:30 937502ed-9aa6-4cf3-801d-4007e04a1ab9 INF Route matched with {action = "GetCountry", controller = "Country"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCountry() on controller Sang.Security.WebApi.Controllers.CountryController (Sang.Security.WebApi). 2024-03-11 18:01:49.730 +05:30 4bc871ad-2071-41a9-ae9b-f2634e8317bd INF Route matched with {action = "GetCities", controller = "City"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCities() on controller Sang.Security.WebApi.Controllers.CityController (Sang.Security.WebApi). 2024-03-11 18:01:49.731 +05:30 4bc871ad-2071-41a9-ae9b-f2634e8317bd INF Connection string fetched 2024-03-11 18:01:49.731 +05:30 937502ed-9aa6-4cf3-801d-4007e04a1ab9 INF Connection string fetched 2024-03-11 18:01:49.731 +05:30 4bc871ad-2071-41a9-ae9b-f2634e8317bd INF Fetching City deatails 2024-03-11 18:01:49.731 +05:30 937502ed-9aa6-4cf3-801d-4007e04a1ab9 INF Fetching Country deatails 2024-03-11 18:01:49.732 +05:30 4bc871ad-2071-41a9-ae9b-f2634e8317bd INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:01:49.732 +05:30 937502ed-9aa6-4cf3-801d-4007e04a1ab9 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:01:49.733 +05:30 4bc871ad-2071-41a9-ae9b-f2634e8317bd INF Executed action Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi) in 3.0409ms 2024-03-11 18:01:49.733 +05:30 937502ed-9aa6-4cf3-801d-4007e04a1ab9 INF Executed action Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi) in 3.21ms 2024-03-11 18:01:49.733 +05:30 4bc871ad-2071-41a9-ae9b-f2634e8317bd INF Executed endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 18:01:49.733 +05:30 937502ed-9aa6-4cf3-801d-4007e04a1ab9 INF Executed endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 18:01:49.733 +05:30 4bc871ad-2071-41a9-ae9b-f2634e8317bd INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 200 null application/json; charset=utf-8 4.8066ms 2024-03-11 18:01:49.733 +05:30 937502ed-9aa6-4cf3-801d-4007e04a1ab9 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 200 null application/json; charset=utf-8 4.9203ms 2024-03-11 18:02:09.441 +05:30 6f5dbd21-6b24-4120-81f8-68261266d97d INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=35 - null null 2024-03-11 18:02:09.442 +05:30 d0b9a7d1-a5f8-4a59-b176-7785c8119a07 INF CORS policy execution successful. 2024-03-11 18:02:09.443 +05:30 d0b9a7d1-a5f8-4a59-b176-7785c8119a07 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=35 - 204 null null 1.6164ms 2024-03-11 18:02:09.546 +05:30 02169f29-38e0-42c8-a664-0516f21ec750 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=35 - null null 2024-03-11 18:02:09.548 +05:30 5346ee0b-7b84-4252-973d-f875c4d799ca INF CORS policy execution successful. 2024-03-11 18:02:09.548 +05:30 5346ee0b-7b84-4252-973d-f875c4d799ca INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi)' 2024-03-11 18:02:09.549 +05:30 5346ee0b-7b84-4252-973d-f875c4d799ca INF Route matched with {action = "GetEmployeebyId", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployeebyId(Int32) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 18:02:09.551 +05:30 5346ee0b-7b84-4252-973d-f875c4d799ca INF Connection string fetched 2024-03-11 18:02:09.552 +05:30 5346ee0b-7b84-4252-973d-f875c4d799ca INF Fetching Employee deatails 2024-03-11 18:02:09.554 +05:30 5346ee0b-7b84-4252-973d-f875c4d799ca INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:02:09.555 +05:30 5346ee0b-7b84-4252-973d-f875c4d799ca INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi) in 6.1779ms 2024-03-11 18:02:09.555 +05:30 5346ee0b-7b84-4252-973d-f875c4d799ca INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi)' 2024-03-11 18:02:09.555 +05:30 5346ee0b-7b84-4252-973d-f875c4d799ca INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=35 - 200 null application/json; charset=utf-8 8.8528ms 2024-03-11 18:02:21.452 +05:30 d96f9d97-24c4-44c2-ab64-42e82bcda67f INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 18:02:21.453 +05:30 fef4647d-ff46-4073-8bd7-ef4f5ed5a4e5 INF CORS policy execution successful. 2024-03-11 18:02:21.454 +05:30 fef4647d-ff46-4073-8bd7-ef4f5ed5a4e5 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 1.5643ms 2024-03-11 18:02:21.513 +05:30 6a99dfb1-b724-46c1-ac6f-76e2d0078f83 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 176 2024-03-11 18:02:21.515 +05:30 8f74ae27-5c16-4dfa-9178-3a1a7ec7c873 INF CORS policy execution successful. 2024-03-11 18:02:21.515 +05:30 8f74ae27-5c16-4dfa-9178-3a1a7ec7c873 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 18:02:21.516 +05:30 8f74ae27-5c16-4dfa-9178-3a1a7ec7c873 INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 18:02:21.518 +05:30 8f74ae27-5c16-4dfa-9178-3a1a7ec7c873 INF Connection string fetched 2024-03-11 18:02:21.520 +05:30 8f74ae27-5c16-4dfa-9178-3a1a7ec7c873 INF Upserting Employee deatails 2024-03-11 18:02:21.524 +05:30 8f74ae27-5c16-4dfa-9178-3a1a7ec7c873 ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 18:02:21.525 +05:30 8f74ae27-5c16-4dfa-9178-3a1a7ec7c873 ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 18:02:21.525 +05:30 8f74ae27-5c16-4dfa-9178-3a1a7ec7c873 ERR Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 18:02:21.527 +05:30 8f74ae27-5c16-4dfa-9178-3a1a7ec7c873 ERR Upserting Employee Failed System.Exception: Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. ---> System.Data.SqlClient.SqlException (0x80131904): The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) at Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Services.EmployeeRepository.<>c__DisplayClass4_0.<b__0>d.MoveNext() in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 49 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8854f3e2-cd8b-4ada-9e2e-a26d94ad9d75 Error Number:547,State:0,Class:16 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Services.EmployeeRepository.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 32 at Sang.Security.WebApi.Services.EmployeeService.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Services\EmployeeService.cs:line 16 at Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Controllers\EmployeeController.cs:line 32 2024-03-11 18:02:21.527 +05:30 8f74ae27-5c16-4dfa-9178-3a1a7ec7c873 INF Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2024-03-11 18:02:21.528 +05:30 8f74ae27-5c16-4dfa-9178-3a1a7ec7c873 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 12.5457ms 2024-03-11 18:02:21.528 +05:30 8f74ae27-5c16-4dfa-9178-3a1a7ec7c873 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 18:02:21.529 +05:30 8f74ae27-5c16-4dfa-9178-3a1a7ec7c873 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 500 null application/problem+json; charset=utf-8 15.1048ms 2024-03-11 18:02:27.330 +05:30 037a8c49-2fa5-4a0a-8471-6cb576a5fa4d INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 18:02:27.331 +05:30 dedc7fe5-3016-4937-b502-1cc4881574f7 INF CORS policy execution successful. 2024-03-11 18:02:27.331 +05:30 ef7b4cd0-75a4-47a1-819b-aa4dbad93a99 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 18:02:27.331 +05:30 dedc7fe5-3016-4937-b502-1cc4881574f7 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 204 null null 0.9092ms 2024-03-11 18:02:27.331 +05:30 7ab441a7-5e26-449e-90ae-faed76bb3abb INF CORS policy execution successful. 2024-03-11 18:02:27.331 +05:30 33582fb8-9e4a-49a9-b722-3adf878edb12 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:02:27.331 +05:30 814645d7-c067-4922-be35-37e4d6d6170d INF CORS policy execution successful. 2024-03-11 18:02:27.331 +05:30 7ab441a7-5e26-449e-90ae-faed76bb3abb INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 204 null null 0.4887ms 2024-03-11 18:02:27.332 +05:30 814645d7-c067-4922-be35-37e4d6d6170d INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 204 null null 0.2271ms 2024-03-11 18:02:27.332 +05:30 dce93cf6-716c-4e4a-ad5d-841aba2ffca9 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 18:02:27.332 +05:30 64ba29db-c550-4738-b476-3f83e601e25d INF CORS policy execution successful. 2024-03-11 18:02:27.332 +05:30 64ba29db-c550-4738-b476-3f83e601e25d INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 204 null null 0.4167ms 2024-03-11 18:02:27.391 +05:30 2df1591a-cdb3-4816-bc35-1ab32f96c692 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:02:27.391 +05:30 be91bba6-6fe9-4528-96c8-3308bef21b4d INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 18:02:27.393 +05:30 56ab0b62-92ea-43eb-b809-9b3474a5db4e INF CORS policy execution successful. 2024-03-11 18:02:27.393 +05:30 6cdb4e0f-dded-478e-9eaa-710d2d49ea37 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 18:02:27.393 +05:30 8435d9de-68ea-48ee-b655-d4db8b6b74a0 INF CORS policy execution successful. 2024-03-11 18:02:27.393 +05:30 56ab0b62-92ea-43eb-b809-9b3474a5db4e INF Executing endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 18:02:27.393 +05:30 51f56afa-0efb-4720-bfbe-54f3a1a35229 INF CORS policy execution successful. 2024-03-11 18:02:27.393 +05:30 56ab0b62-92ea-43eb-b809-9b3474a5db4e INF Route matched with {action = "GetCities", controller = "City"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCities() on controller Sang.Security.WebApi.Controllers.CityController (Sang.Security.WebApi). 2024-03-11 18:02:27.393 +05:30 51f56afa-0efb-4720-bfbe-54f3a1a35229 INF Executing endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 18:02:27.393 +05:30 8435d9de-68ea-48ee-b655-d4db8b6b74a0 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 18:02:27.393 +05:30 607e7314-bd3c-4354-943b-5b3750e85ecf INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 18:02:27.393 +05:30 8435d9de-68ea-48ee-b655-d4db8b6b74a0 INF Route matched with {action = "GetEmployees", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployees() on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 18:02:27.393 +05:30 51f56afa-0efb-4720-bfbe-54f3a1a35229 INF Route matched with {action = "GetCountry", controller = "Country"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCountry() on controller Sang.Security.WebApi.Controllers.CountryController (Sang.Security.WebApi). 2024-03-11 18:02:27.394 +05:30 11aaff4c-46e1-4cc9-83e9-517ad5a48793 INF CORS policy execution successful. 2024-03-11 18:02:27.394 +05:30 11aaff4c-46e1-4cc9-83e9-517ad5a48793 INF Executing endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 18:02:27.394 +05:30 11aaff4c-46e1-4cc9-83e9-517ad5a48793 INF Route matched with {action = "GetDepartment", controller = "Department"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetDepartment() on controller Sang.Security.WebApi.Controllers.DepartmentController (Sang.Security.WebApi). 2024-03-11 18:02:27.395 +05:30 51f56afa-0efb-4720-bfbe-54f3a1a35229 INF Connection string fetched 2024-03-11 18:02:27.395 +05:30 8435d9de-68ea-48ee-b655-d4db8b6b74a0 INF Connection string fetched 2024-03-11 18:02:27.395 +05:30 51f56afa-0efb-4720-bfbe-54f3a1a35229 INF Fetching Country deatails 2024-03-11 18:02:27.396 +05:30 8435d9de-68ea-48ee-b655-d4db8b6b74a0 INF Fetching Employees deatails 2024-03-11 18:02:27.396 +05:30 56ab0b62-92ea-43eb-b809-9b3474a5db4e INF Fetching City deatails 2024-03-11 18:02:27.396 +05:30 11aaff4c-46e1-4cc9-83e9-517ad5a48793 INF Fetching Department deatails 2024-03-11 18:02:27.397 +05:30 51f56afa-0efb-4720-bfbe-54f3a1a35229 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:02:27.398 +05:30 51f56afa-0efb-4720-bfbe-54f3a1a35229 INF Executed action Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi) in 4.2402ms 2024-03-11 18:02:27.398 +05:30 8435d9de-68ea-48ee-b655-d4db8b6b74a0 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:02:27.398 +05:30 51f56afa-0efb-4720-bfbe-54f3a1a35229 INF Executed endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 18:02:27.398 +05:30 51f56afa-0efb-4720-bfbe-54f3a1a35229 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 200 null application/json; charset=utf-8 5.2258ms 2024-03-11 18:02:27.398 +05:30 8435d9de-68ea-48ee-b655-d4db8b6b74a0 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi) in 4.8394ms 2024-03-11 18:02:27.398 +05:30 8435d9de-68ea-48ee-b655-d4db8b6b74a0 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 18:02:27.398 +05:30 8435d9de-68ea-48ee-b655-d4db8b6b74a0 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 200 null application/json; charset=utf-8 7.181ms 2024-03-11 18:02:27.403 +05:30 11aaff4c-46e1-4cc9-83e9-517ad5a48793 INF Connection string fetched 2024-03-11 18:02:27.404 +05:30 56ab0b62-92ea-43eb-b809-9b3474a5db4e INF Connection string fetched 2024-03-11 18:02:27.406 +05:30 56ab0b62-92ea-43eb-b809-9b3474a5db4e INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:02:27.406 +05:30 56ab0b62-92ea-43eb-b809-9b3474a5db4e INF Executed action Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi) in 13.0005ms 2024-03-11 18:02:27.406 +05:30 56ab0b62-92ea-43eb-b809-9b3474a5db4e INF Executed endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 18:02:27.407 +05:30 56ab0b62-92ea-43eb-b809-9b3474a5db4e INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 200 null application/json; charset=utf-8 15.3397ms 2024-03-11 18:02:27.407 +05:30 11aaff4c-46e1-4cc9-83e9-517ad5a48793 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:02:27.407 +05:30 11aaff4c-46e1-4cc9-83e9-517ad5a48793 INF Executed action Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi) in 13.4527ms 2024-03-11 18:02:27.407 +05:30 11aaff4c-46e1-4cc9-83e9-517ad5a48793 INF Executed endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 18:02:27.408 +05:30 11aaff4c-46e1-4cc9-83e9-517ad5a48793 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 200 null application/json; charset=utf-8 14.3222ms 2024-03-11 18:03:34.484 +05:30 1371dd83-93fc-4282-abdc-e359dc4bc6ed INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/GetCompany - null null 2024-03-11 18:03:34.488 +05:30 acfa7f82-4dad-4ebb-831b-f219f1639794 INF CORS policy execution successful. 2024-03-11 18:03:34.488 +05:30 acfa7f82-4dad-4ebb-831b-f219f1639794 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/GetCompany - 204 null null 4.2168ms 2024-03-11 18:03:34.551 +05:30 4ac40d41-67df-4d03-88f2-fb5a23417582 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Login/GetCompany - null null 2024-03-11 18:03:34.555 +05:30 68bbecf3-e2ac-41aa-a863-000cea43169d INF CORS policy execution successful. 2024-03-11 18:03:34.556 +05:30 68bbecf3-e2ac-41aa-a863-000cea43169d INF Executing endpoint 'Sang.Security.WebApi.Controllers.LoginController.GetCompany (Sang.Security.WebApi)' 2024-03-11 18:03:34.569 +05:30 68bbecf3-e2ac-41aa-a863-000cea43169d INF Route matched with {action = "GetCompany", controller = "Login"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCompany() on controller Sang.Security.WebApi.Controllers.LoginController (Sang.Security.WebApi). 2024-03-11 18:03:34.578 +05:30 68bbecf3-e2ac-41aa-a863-000cea43169d INF Connection string fetched 2024-03-11 18:03:34.582 +05:30 68bbecf3-e2ac-41aa-a863-000cea43169d INF Fetching Company deatails 2024-03-11 18:03:34.584 +05:30 68bbecf3-e2ac-41aa-a863-000cea43169d INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:03:34.585 +05:30 68bbecf3-e2ac-41aa-a863-000cea43169d INF Executed action Sang.Security.WebApi.Controllers.LoginController.GetCompany (Sang.Security.WebApi) in 15.7454ms 2024-03-11 18:03:34.585 +05:30 68bbecf3-e2ac-41aa-a863-000cea43169d INF Executed endpoint 'Sang.Security.WebApi.Controllers.LoginController.GetCompany (Sang.Security.WebApi)' 2024-03-11 18:03:34.585 +05:30 68bbecf3-e2ac-41aa-a863-000cea43169d INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Login/GetCompany - 200 null application/json; charset=utf-8 34.8315ms 2024-03-11 18:08:23.707 +05:30 28e039fe-d29a-4d9a-a8ce-4b3ff16d58b9 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 18:08:23.710 +05:30 c009ffe1-42b3-4864-9933-abd57377cb26 INF CORS policy execution successful. 2024-03-11 18:08:23.711 +05:30 c009ffe1-42b3-4864-9933-abd57377cb26 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 3.7156ms 2024-03-11 18:08:23.774 +05:30 f60dc6d6-c10f-4b9f-a98d-538953509763 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 159 2024-03-11 18:08:23.780 +05:30 f60dc6d6-c10f-4b9f-a98d-538953509763 INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 12:08:20 PM', Current time (UTC): '3/11/2024 12:38:23 PM'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) 2024-03-11 18:08:23.782 +05:30 f60dc6d6-c10f-4b9f-a98d-538953509763 INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 12:08:20 PM', Current time (UTC): '3/11/2024 12:38:23 PM'. 2024-03-11 18:08:23.782 +05:30 7ab919fa-2bb6-4178-b77b-8cea8d24b5a0 INF CORS policy execution successful. 2024-03-11 18:08:23.784 +05:30 7ab919fa-2bb6-4178-b77b-8cea8d24b5a0 INF Authorization failed. These requirements were not met: DenyAnonymousAuthorizationRequirement: Requires an authenticated user. 2024-03-11 18:08:23.785 +05:30 7ab919fa-2bb6-4178-b77b-8cea8d24b5a0 INF AuthenticationScheme: Bearer was challenged. 2024-03-11 18:08:23.785 +05:30 7ab919fa-2bb6-4178-b77b-8cea8d24b5a0 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 401 null null 11.5731ms 2024-03-11 18:08:23.858 +05:30 614ba539-2416-4d06-a4fd-86bc24f6f18d INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens?refershToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiYWRtaW4iLCJ1bmlxdWVfbmFtZSI6ImFkbWluIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZG5zIjoiMSIsIm5iZiI6MTcxMDE1ODYwMCwiZXhwIjoxNzEwMTYwNDAwLCJpYXQiOjE3MTAxNTg2MDB9.yBrwruCxbwXIotFC53M-VqzDL1BBFgD2jN5s7Th1NdU - null null 2024-03-11 18:08:23.859 +05:30 b53fb649-d9ab-44e0-88d1-54bab6663b5e INF CORS policy execution successful. 2024-03-11 18:08:23.860 +05:30 b53fb649-d9ab-44e0-88d1-54bab6663b5e INF Executing endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 18:08:23.861 +05:30 b53fb649-d9ab-44e0-88d1-54bab6663b5e INF Route matched with {action = "RegenerateTokens", controller = "Security"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Sang.Security.WebApi.Models.Tokens]] RegenerateTokens(System.String) on controller Sang.Security.WebApi.Controllers.SecurityController (Sang.Security.WebApi). 2024-03-11 18:08:23.867 +05:30 b53fb649-d9ab-44e0-88d1-54bab6663b5e ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 71 2024-03-11 18:08:23.870 +05:30 b53fb649-d9ab-44e0-88d1-54bab6663b5e INF Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2024-03-11 18:08:23.873 +05:30 b53fb649-d9ab-44e0-88d1-54bab6663b5e INF Executed action Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi) in 12.1917ms 2024-03-11 18:08:23.873 +05:30 b53fb649-d9ab-44e0-88d1-54bab6663b5e INF Executed endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 18:08:23.874 +05:30 b53fb649-d9ab-44e0-88d1-54bab6663b5e INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens?refershToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiYWRtaW4iLCJ1bmlxdWVfbmFtZSI6ImFkbWluIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZG5zIjoiMSIsIm5iZiI6MTcxMDE1ODYwMCwiZXhwIjoxNzEwMTYwNDAwLCJpYXQiOjE3MTAxNTg2MDB9.yBrwruCxbwXIotFC53M-VqzDL1BBFgD2jN5s7Th1NdU - 500 null application/problem+json; charset=utf-8 15.7742ms 2024-03-11 18:08:40.876 +05:30 44e5e7a2-48a8-48d0-b5b4-5483a731c9b0 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 18:08:40.877 +05:30 821cd815-c030-4554-aa72-fad65331b806 INF CORS policy execution successful. 2024-03-11 18:08:40.878 +05:30 821cd815-c030-4554-aa72-fad65331b806 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 2.6585ms 2024-03-11 18:08:40.938 +05:30 cd9a3025-01e1-4594-a81e-dd0b51259e4a INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 159 2024-03-11 18:08:40.940 +05:30 cd9a3025-01e1-4594-a81e-dd0b51259e4a INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenMalformedException: IDX14100: JWT is not well formed, there are no dots (.). The token needs to be in JWS or JWE Compact Serialization Format. (JWS): 'EncodedHeader.EndcodedPayload.EncodedSignature'. (JWE): 'EncodedProtectedHeader.EncodedEncryptedKey.EncodedInitializationVector.EncodedCiphertext.EncodedAuthenticationTag'. ---> Microsoft.IdentityModel.Tokens.SecurityTokenMalformedException: IDX14100: JWT is not well formed, there are no dots (.). The token needs to be in JWS or JWE Compact Serialization Format. (JWS): 'EncodedHeader.EndcodedPayload.EncodedSignature'. (JWE): 'EncodedProtectedHeader.EncodedEncryptedKey.EncodedInitializationVector.EncodedCiphertext.EncodedAuthenticationTag'. at Microsoft.IdentityModel.JsonWebTokens.JsonWebToken.ReadToken(String encodedJson) at Microsoft.IdentityModel.JsonWebTokens.JsonWebToken..ctor(String jwtEncodedString) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ReadToken(String token, TokenValidationParameters validationParameters) --- End of inner exception stack trace --- 2024-03-11 18:08:40.941 +05:30 cd9a3025-01e1-4594-a81e-dd0b51259e4a INF Bearer was not authenticated. Failure message: IDX14100: JWT is not well formed, there are no dots (.). The token needs to be in JWS or JWE Compact Serialization Format. (JWS): 'EncodedHeader.EndcodedPayload.EncodedSignature'. (JWE): 'EncodedProtectedHeader.EncodedEncryptedKey.EncodedInitializationVector.EncodedCiphertext.EncodedAuthenticationTag'. 2024-03-11 18:08:40.941 +05:30 6821348b-8c38-4d75-89b0-8642c8855919 INF CORS policy execution successful. 2024-03-11 18:08:40.942 +05:30 6821348b-8c38-4d75-89b0-8642c8855919 INF Authorization failed. These requirements were not met: DenyAnonymousAuthorizationRequirement: Requires an authenticated user. 2024-03-11 18:08:40.942 +05:30 6821348b-8c38-4d75-89b0-8642c8855919 INF AuthenticationScheme: Bearer was challenged. 2024-03-11 18:08:40.943 +05:30 6821348b-8c38-4d75-89b0-8642c8855919 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 401 null null 5.0022ms 2024-03-11 18:08:41.018 +05:30 7b7ad32c-e108-4e16-9ef9-5193833a5832 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens - null null 2024-03-11 18:08:41.019 +05:30 5826e75d-710f-46a7-b72e-6c27fa0294dd INF CORS policy execution successful. 2024-03-11 18:08:41.020 +05:30 5826e75d-710f-46a7-b72e-6c27fa0294dd INF Executing endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 18:08:41.020 +05:30 5826e75d-710f-46a7-b72e-6c27fa0294dd INF Route matched with {action = "RegenerateTokens", controller = "Security"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Sang.Security.WebApi.Models.Tokens]] RegenerateTokens(System.String) on controller Sang.Security.WebApi.Controllers.SecurityController (Sang.Security.WebApi). 2024-03-11 18:08:41.027 +05:30 5826e75d-710f-46a7-b72e-6c27fa0294dd INF Executing BadRequestObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ValidationProblemDetails'. 2024-03-11 18:08:41.040 +05:30 5826e75d-710f-46a7-b72e-6c27fa0294dd INF Executed action Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi) in 19.0401ms 2024-03-11 18:08:41.040 +05:30 5826e75d-710f-46a7-b72e-6c27fa0294dd INF Executed endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 18:08:41.040 +05:30 5826e75d-710f-46a7-b72e-6c27fa0294dd INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens - 400 null application/problem+json; charset=utf-8 21.7383ms 2024-03-11 18:08:44.940 +05:30 5f8c3368-1429-4b9a-95c2-c793688f4f1e INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:08:44.941 +05:30 2eb1dfa2-9e03-45ec-9942-b37ad1ac23f2 INF CORS policy execution successful. 2024-03-11 18:08:44.942 +05:30 2eb1dfa2-9e03-45ec-9942-b37ad1ac23f2 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 204 null null 1.8305ms 2024-03-11 18:08:45.013 +05:30 195dfd80-fb8b-4541-985a-530b980d1075 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:08:45.013 +05:30 195dfd80-fb8b-4541-985a-530b980d1075 INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenMalformedException: IDX14100: JWT is not well formed, there are no dots (.). The token needs to be in JWS or JWE Compact Serialization Format. (JWS): 'EncodedHeader.EndcodedPayload.EncodedSignature'. (JWE): 'EncodedProtectedHeader.EncodedEncryptedKey.EncodedInitializationVector.EncodedCiphertext.EncodedAuthenticationTag'. ---> Microsoft.IdentityModel.Tokens.SecurityTokenMalformedException: IDX14100: JWT is not well formed, there are no dots (.). The token needs to be in JWS or JWE Compact Serialization Format. (JWS): 'EncodedHeader.EndcodedPayload.EncodedSignature'. (JWE): 'EncodedProtectedHeader.EncodedEncryptedKey.EncodedInitializationVector.EncodedCiphertext.EncodedAuthenticationTag'. at Microsoft.IdentityModel.JsonWebTokens.JsonWebToken.ReadToken(String encodedJson) at Microsoft.IdentityModel.JsonWebTokens.JsonWebToken..ctor(String jwtEncodedString) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ReadToken(String token, TokenValidationParameters validationParameters) --- End of inner exception stack trace --- 2024-03-11 18:08:45.014 +05:30 195dfd80-fb8b-4541-985a-530b980d1075 INF Bearer was not authenticated. Failure message: IDX14100: JWT is not well formed, there are no dots (.). The token needs to be in JWS or JWE Compact Serialization Format. (JWS): 'EncodedHeader.EndcodedPayload.EncodedSignature'. (JWE): 'EncodedProtectedHeader.EncodedEncryptedKey.EncodedInitializationVector.EncodedCiphertext.EncodedAuthenticationTag'. 2024-03-11 18:08:45.014 +05:30 21046c24-75f8-4861-8f72-380cc67ca009 INF CORS policy execution successful. 2024-03-11 18:08:45.014 +05:30 21046c24-75f8-4861-8f72-380cc67ca009 INF Authorization failed. These requirements were not met: DenyAnonymousAuthorizationRequirement: Requires an authenticated user. 2024-03-11 18:08:45.014 +05:30 21046c24-75f8-4861-8f72-380cc67ca009 INF AuthenticationScheme: Bearer was challenged. 2024-03-11 18:08:45.015 +05:30 21046c24-75f8-4861-8f72-380cc67ca009 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 401 null null 2.1466ms 2024-03-11 18:08:45.072 +05:30 36b698ee-24bb-499e-a0b0-8384cf576108 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens - null null 2024-03-11 18:08:45.073 +05:30 f61353b3-0a7b-4821-84b6-1cf28064606a INF CORS policy execution successful. 2024-03-11 18:08:45.073 +05:30 f61353b3-0a7b-4821-84b6-1cf28064606a INF Executing endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 18:08:45.073 +05:30 f61353b3-0a7b-4821-84b6-1cf28064606a INF Route matched with {action = "RegenerateTokens", controller = "Security"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Sang.Security.WebApi.Models.Tokens]] RegenerateTokens(System.String) on controller Sang.Security.WebApi.Controllers.SecurityController (Sang.Security.WebApi). 2024-03-11 18:08:45.074 +05:30 f61353b3-0a7b-4821-84b6-1cf28064606a INF Executing BadRequestObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ValidationProblemDetails'. 2024-03-11 18:08:45.075 +05:30 f61353b3-0a7b-4821-84b6-1cf28064606a INF Executed action Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi) in 1.597ms 2024-03-11 18:08:45.075 +05:30 f61353b3-0a7b-4821-84b6-1cf28064606a INF Executed endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 18:08:45.075 +05:30 f61353b3-0a7b-4821-84b6-1cf28064606a INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens - 400 null application/problem+json; charset=utf-8 2.6797ms 2024-03-11 18:09:56.490 +05:30 49d50de0-b4d9-46c6-8f47-2949987edfe8 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 18:09:56.492 +05:30 2db60235-b7e0-4c5d-b14a-258a737422fe INF CORS policy execution successful. 2024-03-11 18:09:56.493 +05:30 2db60235-b7e0-4c5d-b14a-258a737422fe INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 2.5243ms 2024-03-11 18:09:56.574 +05:30 19466a19-c004-4864-b554-d5e40fc3e888 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 183 2024-03-11 18:09:56.575 +05:30 19466a19-c004-4864-b554-d5e40fc3e888 INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenMalformedException: IDX14100: JWT is not well formed, there are no dots (.). The token needs to be in JWS or JWE Compact Serialization Format. (JWS): 'EncodedHeader.EndcodedPayload.EncodedSignature'. (JWE): 'EncodedProtectedHeader.EncodedEncryptedKey.EncodedInitializationVector.EncodedCiphertext.EncodedAuthenticationTag'. ---> Microsoft.IdentityModel.Tokens.SecurityTokenMalformedException: IDX14100: JWT is not well formed, there are no dots (.). The token needs to be in JWS or JWE Compact Serialization Format. (JWS): 'EncodedHeader.EndcodedPayload.EncodedSignature'. (JWE): 'EncodedProtectedHeader.EncodedEncryptedKey.EncodedInitializationVector.EncodedCiphertext.EncodedAuthenticationTag'. at Microsoft.IdentityModel.JsonWebTokens.JsonWebToken.ReadToken(String encodedJson) at Microsoft.IdentityModel.JsonWebTokens.JsonWebToken..ctor(String jwtEncodedString) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ReadToken(String token, TokenValidationParameters validationParameters) --- End of inner exception stack trace --- 2024-03-11 18:09:56.577 +05:30 19466a19-c004-4864-b554-d5e40fc3e888 INF Bearer was not authenticated. Failure message: IDX14100: JWT is not well formed, there are no dots (.). The token needs to be in JWS or JWE Compact Serialization Format. (JWS): 'EncodedHeader.EndcodedPayload.EncodedSignature'. (JWE): 'EncodedProtectedHeader.EncodedEncryptedKey.EncodedInitializationVector.EncodedCiphertext.EncodedAuthenticationTag'. 2024-03-11 18:09:56.577 +05:30 934dc1db-9844-4d5f-b20f-c6612a0d1553 INF CORS policy execution successful. 2024-03-11 18:09:56.578 +05:30 934dc1db-9844-4d5f-b20f-c6612a0d1553 INF Authorization failed. These requirements were not met: DenyAnonymousAuthorizationRequirement: Requires an authenticated user. 2024-03-11 18:09:56.579 +05:30 934dc1db-9844-4d5f-b20f-c6612a0d1553 INF AuthenticationScheme: Bearer was challenged. 2024-03-11 18:09:56.580 +05:30 934dc1db-9844-4d5f-b20f-c6612a0d1553 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 401 null null 5.8801ms 2024-03-11 18:09:56.668 +05:30 d849196b-508d-448b-b5c6-a54a9afa9efc INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens - null null 2024-03-11 18:09:56.669 +05:30 cd6a69d4-441d-41a7-ac07-7e89fbbed645 INF CORS policy execution successful. 2024-03-11 18:09:56.669 +05:30 cd6a69d4-441d-41a7-ac07-7e89fbbed645 INF Executing endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 18:09:56.670 +05:30 cd6a69d4-441d-41a7-ac07-7e89fbbed645 INF Route matched with {action = "RegenerateTokens", controller = "Security"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Sang.Security.WebApi.Models.Tokens]] RegenerateTokens(System.String) on controller Sang.Security.WebApi.Controllers.SecurityController (Sang.Security.WebApi). 2024-03-11 18:09:56.674 +05:30 cd6a69d4-441d-41a7-ac07-7e89fbbed645 INF Executing BadRequestObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ValidationProblemDetails'. 2024-03-11 18:09:56.676 +05:30 cd6a69d4-441d-41a7-ac07-7e89fbbed645 INF Executed action Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi) in 5.9691ms 2024-03-11 18:09:56.676 +05:30 cd6a69d4-441d-41a7-ac07-7e89fbbed645 INF Executed endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 18:09:56.677 +05:30 cd6a69d4-441d-41a7-ac07-7e89fbbed645 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens - 400 null application/problem+json; charset=utf-8 8.709ms 2024-03-11 18:10:01.249 +05:30 c0d83d48-55fd-4887-9719-9b05f75142fc INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Login/GetCompany - null null 2024-03-11 18:10:01.251 +05:30 b8c186aa-8533-4b60-b6cf-621e7cffa74e INF CORS policy execution successful. 2024-03-11 18:10:01.251 +05:30 b8c186aa-8533-4b60-b6cf-621e7cffa74e INF Executing endpoint 'Sang.Security.WebApi.Controllers.LoginController.GetCompany (Sang.Security.WebApi)' 2024-03-11 18:10:01.251 +05:30 b8c186aa-8533-4b60-b6cf-621e7cffa74e INF Route matched with {action = "GetCompany", controller = "Login"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCompany() on controller Sang.Security.WebApi.Controllers.LoginController (Sang.Security.WebApi). 2024-03-11 18:10:01.253 +05:30 b8c186aa-8533-4b60-b6cf-621e7cffa74e INF Fetching Company deatails 2024-03-11 18:10:01.281 +05:30 b8c186aa-8533-4b60-b6cf-621e7cffa74e INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:10:01.282 +05:30 b8c186aa-8533-4b60-b6cf-621e7cffa74e INF Executed action Sang.Security.WebApi.Controllers.LoginController.GetCompany (Sang.Security.WebApi) in 30.7326ms 2024-03-11 18:10:01.282 +05:30 b8c186aa-8533-4b60-b6cf-621e7cffa74e INF Executed endpoint 'Sang.Security.WebApi.Controllers.LoginController.GetCompany (Sang.Security.WebApi)' 2024-03-11 18:10:01.283 +05:30 b8c186aa-8533-4b60-b6cf-621e7cffa74e INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Login/GetCompany - 200 null application/json; charset=utf-8 33.6234ms 2024-03-11 18:10:08.538 +05:30 ad1c5d56-cb1d-488c-ab64-b96d3d3b29a0 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/login - null null 2024-03-11 18:10:08.538 +05:30 82660320-3143-4fc9-8d31-75b9ad0df80a INF CORS policy execution successful. 2024-03-11 18:10:08.539 +05:30 82660320-3143-4fc9-8d31-75b9ad0df80a INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/login - 204 null null 1.4257ms 2024-03-11 18:10:08.604 +05:30 313985fa-f674-43f8-a061-93cba386541c INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Login/login - application/json 58 2024-03-11 18:10:08.605 +05:30 03f48ec8-f6e4-4b30-8a39-8085298d7846 INF CORS policy execution successful. 2024-03-11 18:10:08.606 +05:30 03f48ec8-f6e4-4b30-8a39-8085298d7846 INF Executing endpoint 'Sang.Security.WebApi.Controllers.LoginController.Login (Sang.Security.WebApi)' 2024-03-11 18:10:08.621 +05:30 03f48ec8-f6e4-4b30-8a39-8085298d7846 INF Route matched with {action = "Login", controller = "Login"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Login(Sang.Security.WebApi.Models.LoginRequest) on controller Sang.Security.WebApi.Controllers.LoginController (Sang.Security.WebApi). 2024-03-11 18:10:08.646 +05:30 03f48ec8-f6e4-4b30-8a39-8085298d7846 INF Connection string fetched 2024-03-11 18:10:08.672 +05:30 03f48ec8-f6e4-4b30-8a39-8085298d7846 INF Executing NotFoundObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:10:08.674 +05:30 03f48ec8-f6e4-4b30-8a39-8085298d7846 INF Executed action Sang.Security.WebApi.Controllers.LoginController.Login (Sang.Security.WebApi) in 52.8633ms 2024-03-11 18:10:08.674 +05:30 03f48ec8-f6e4-4b30-8a39-8085298d7846 INF Executed endpoint 'Sang.Security.WebApi.Controllers.LoginController.Login (Sang.Security.WebApi)' 2024-03-11 18:10:08.675 +05:30 03f48ec8-f6e4-4b30-8a39-8085298d7846 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Login/login - 404 null application/json; charset=utf-8 70.4088ms 2024-03-11 18:10:27.644 +05:30 c058b144-a55c-408d-9554-24f0c9fb9430 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/login - null null 2024-03-11 18:10:27.645 +05:30 aa770d4f-c132-4b18-86f7-0e05057fe45a INF CORS policy execution successful. 2024-03-11 18:10:27.646 +05:30 aa770d4f-c132-4b18-86f7-0e05057fe45a INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/login - 204 null null 1.8454ms 2024-03-11 18:10:27.718 +05:30 bbcde209-9657-43a7-8bed-e1e3c00d975d INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Login/login - application/json 54 2024-03-11 18:10:27.719 +05:30 ded5aabe-457f-493e-a9dd-e31da1d15531 INF CORS policy execution successful. 2024-03-11 18:10:27.719 +05:30 ded5aabe-457f-493e-a9dd-e31da1d15531 INF Executing endpoint 'Sang.Security.WebApi.Controllers.LoginController.Login (Sang.Security.WebApi)' 2024-03-11 18:10:27.720 +05:30 ded5aabe-457f-493e-a9dd-e31da1d15531 INF Route matched with {action = "Login", controller = "Login"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Login(Sang.Security.WebApi.Models.LoginRequest) on controller Sang.Security.WebApi.Controllers.LoginController (Sang.Security.WebApi). 2024-03-11 18:10:27.727 +05:30 ded5aabe-457f-493e-a9dd-e31da1d15531 INF Connection string fetched 2024-03-11 18:10:28.161 +05:30 ded5aabe-457f-493e-a9dd-e31da1d15531 INF Token generated 2024-03-11 18:10:28.162 +05:30 ded5aabe-457f-493e-a9dd-e31da1d15531 INF Token generated 2024-03-11 18:10:28.171 +05:30 ded5aabe-457f-493e-a9dd-e31da1d15531 INF Executing OkObjectResult, writing value of type '<>f__AnonymousType0`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[Sang.Security.WebApi.Models.Tokens, Sang.Security.WebApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2024-03-11 18:10:28.187 +05:30 ded5aabe-457f-493e-a9dd-e31da1d15531 INF Executed action Sang.Security.WebApi.Controllers.LoginController.Login (Sang.Security.WebApi) in 467.3316ms 2024-03-11 18:10:28.188 +05:30 ded5aabe-457f-493e-a9dd-e31da1d15531 INF Executed endpoint 'Sang.Security.WebApi.Controllers.LoginController.Login (Sang.Security.WebApi)' 2024-03-11 18:10:28.188 +05:30 ded5aabe-457f-493e-a9dd-e31da1d15531 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Login/login - 200 null application/json; charset=utf-8 469.8628ms 2024-03-11 18:10:28.290 +05:30 51133656-aa12-4909-9096-6fd8a37b231d INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 18:10:28.291 +05:30 c8057de0-0e9b-4e11-8fc4-b0a22f6dee3f INF CORS policy execution successful. 2024-03-11 18:10:28.292 +05:30 c8057de0-0e9b-4e11-8fc4-b0a22f6dee3f INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 204 null null 2.1403ms 2024-03-11 18:10:28.352 +05:30 25b8934f-1802-429f-a244-d338804752fa INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 18:10:28.352 +05:30 1f399012-f9de-4503-bd9b-71292e645019 INF CORS policy execution successful. 2024-03-11 18:10:28.353 +05:30 1f399012-f9de-4503-bd9b-71292e645019 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 204 null null 0.8589ms 2024-03-11 18:10:28.363 +05:30 06943a8f-282d-4317-aa86-5c7c2fc7d1a3 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 18:10:28.364 +05:30 256b3471-21e9-41ab-898b-971dbdbe1df9 INF CORS policy execution successful. 2024-03-11 18:10:28.364 +05:30 256b3471-21e9-41ab-898b-971dbdbe1df9 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 204 null null 1.2278ms 2024-03-11 18:10:28.375 +05:30 dd1bba0b-2a90-4799-888a-e1c275874e76 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:10:28.375 +05:30 759f6dc0-b393-4bc3-882c-699c7c0cb7c5 INF CORS policy execution successful. 2024-03-11 18:10:28.376 +05:30 759f6dc0-b393-4bc3-882c-699c7c0cb7c5 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 204 null null 0.859ms 2024-03-11 18:10:28.385 +05:30 14ac6cec-6fc9-48d3-8044-71a4c3567d8a INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 18:10:28.386 +05:30 79dda624-4e63-472f-92c0-d885a2770ccc INF CORS policy execution successful. 2024-03-11 18:10:28.387 +05:30 79dda624-4e63-472f-92c0-d885a2770ccc INF Executing endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 18:10:28.387 +05:30 79dda624-4e63-472f-92c0-d885a2770ccc INF Route matched with {action = "GetCities", controller = "City"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCities() on controller Sang.Security.WebApi.Controllers.CityController (Sang.Security.WebApi). 2024-03-11 18:10:28.395 +05:30 79dda624-4e63-472f-92c0-d885a2770ccc INF Connection string fetched 2024-03-11 18:10:28.396 +05:30 79dda624-4e63-472f-92c0-d885a2770ccc INF Fetching City deatails 2024-03-11 18:10:28.399 +05:30 79dda624-4e63-472f-92c0-d885a2770ccc INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:10:28.400 +05:30 79dda624-4e63-472f-92c0-d885a2770ccc INF Executed action Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi) in 12.8024ms 2024-03-11 18:10:28.400 +05:30 79dda624-4e63-472f-92c0-d885a2770ccc INF Executed endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 18:10:28.400 +05:30 79dda624-4e63-472f-92c0-d885a2770ccc INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 200 null application/json; charset=utf-8 15.3727ms 2024-03-11 18:10:28.425 +05:30 5de44287-3c3b-4ef1-a004-d504e9b0ac77 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 18:10:28.426 +05:30 abc14667-78fb-4642-aa38-84be1a5bebd0 INF CORS policy execution successful. 2024-03-11 18:10:28.426 +05:30 abc14667-78fb-4642-aa38-84be1a5bebd0 INF Executing endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 18:10:28.426 +05:30 abc14667-78fb-4642-aa38-84be1a5bebd0 INF Route matched with {action = "GetCountry", controller = "Country"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCountry() on controller Sang.Security.WebApi.Controllers.CountryController (Sang.Security.WebApi). 2024-03-11 18:10:28.428 +05:30 abc14667-78fb-4642-aa38-84be1a5bebd0 INF Connection string fetched 2024-03-11 18:10:28.428 +05:30 abc14667-78fb-4642-aa38-84be1a5bebd0 INF Fetching Country deatails 2024-03-11 18:10:28.430 +05:30 abc14667-78fb-4642-aa38-84be1a5bebd0 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:10:28.430 +05:30 abc14667-78fb-4642-aa38-84be1a5bebd0 INF Executed action Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi) in 3.9711ms 2024-03-11 18:10:28.430 +05:30 abc14667-78fb-4642-aa38-84be1a5bebd0 INF Executed endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 18:10:28.431 +05:30 abc14667-78fb-4642-aa38-84be1a5bebd0 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 200 null application/json; charset=utf-8 5.6259ms 2024-03-11 18:10:28.439 +05:30 41f9c8d3-3c9d-475c-9977-daf5b199b063 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 18:10:28.440 +05:30 3a7b3c11-0867-446d-b589-a9e769972c05 INF CORS policy execution successful. 2024-03-11 18:10:28.440 +05:30 3a7b3c11-0867-446d-b589-a9e769972c05 INF Executing endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 18:10:28.440 +05:30 3a7b3c11-0867-446d-b589-a9e769972c05 INF Route matched with {action = "GetDepartment", controller = "Department"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetDepartment() on controller Sang.Security.WebApi.Controllers.DepartmentController (Sang.Security.WebApi). 2024-03-11 18:10:28.442 +05:30 3a7b3c11-0867-446d-b589-a9e769972c05 INF Connection string fetched 2024-03-11 18:10:28.442 +05:30 3a7b3c11-0867-446d-b589-a9e769972c05 INF Fetching Department deatails 2024-03-11 18:10:28.444 +05:30 3a7b3c11-0867-446d-b589-a9e769972c05 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:10:28.444 +05:30 3a7b3c11-0867-446d-b589-a9e769972c05 INF Executed action Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi) in 3.6915ms 2024-03-11 18:10:28.444 +05:30 3a7b3c11-0867-446d-b589-a9e769972c05 INF Executed endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 18:10:28.444 +05:30 3a7b3c11-0867-446d-b589-a9e769972c05 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 200 null application/json; charset=utf-8 5.2334ms 2024-03-11 18:10:28.450 +05:30 eb13aa8e-c091-4225-ba7f-1cc5eb9aaf24 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:10:28.450 +05:30 ee22024d-fa1f-4a02-a5f5-4a75e9533788 INF CORS policy execution successful. 2024-03-11 18:10:28.451 +05:30 ee22024d-fa1f-4a02-a5f5-4a75e9533788 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 18:10:28.451 +05:30 ee22024d-fa1f-4a02-a5f5-4a75e9533788 INF Route matched with {action = "GetEmployees", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployees() on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 18:10:28.453 +05:30 ee22024d-fa1f-4a02-a5f5-4a75e9533788 INF Connection string fetched 2024-03-11 18:10:28.453 +05:30 ee22024d-fa1f-4a02-a5f5-4a75e9533788 INF Fetching Employees deatails 2024-03-11 18:10:28.457 +05:30 ee22024d-fa1f-4a02-a5f5-4a75e9533788 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:10:28.458 +05:30 ee22024d-fa1f-4a02-a5f5-4a75e9533788 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi) in 7.3729ms 2024-03-11 18:10:28.458 +05:30 ee22024d-fa1f-4a02-a5f5-4a75e9533788 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 18:10:28.459 +05:30 ee22024d-fa1f-4a02-a5f5-4a75e9533788 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 200 null application/json; charset=utf-8 9.0504ms 2024-03-11 18:11:09.671 +05:30 bf46e9a6-7661-45af-970b-05337f5ed834 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 18:11:09.673 +05:30 4cf24ffa-b9fa-40aa-8227-342a8f8a9110 INF CORS policy execution successful. 2024-03-11 18:11:09.674 +05:30 4cf24ffa-b9fa-40aa-8227-342a8f8a9110 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 2.2641ms 2024-03-11 18:11:09.755 +05:30 bf5ed752-54c1-4450-92ed-367b3c4ebeba INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 142 2024-03-11 18:11:09.757 +05:30 92bd9482-8aba-4c7f-a3e9-0e860dc27554 INF CORS policy execution successful. 2024-03-11 18:11:09.759 +05:30 92bd9482-8aba-4c7f-a3e9-0e860dc27554 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 18:11:09.759 +05:30 92bd9482-8aba-4c7f-a3e9-0e860dc27554 INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 18:11:09.765 +05:30 92bd9482-8aba-4c7f-a3e9-0e860dc27554 INF Connection string fetched 2024-03-11 18:11:09.777 +05:30 92bd9482-8aba-4c7f-a3e9-0e860dc27554 INF Executing BadRequestObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ValidationProblemDetails'. 2024-03-11 18:11:09.778 +05:30 92bd9482-8aba-4c7f-a3e9-0e860dc27554 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 18.4113ms 2024-03-11 18:11:09.778 +05:30 92bd9482-8aba-4c7f-a3e9-0e860dc27554 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 18:11:09.778 +05:30 92bd9482-8aba-4c7f-a3e9-0e860dc27554 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 400 null application/problem+json; charset=utf-8 23.031ms 2024-03-11 18:11:16.469 +05:30 8fc5c0b1-c8dc-4edd-9ca4-622a9b83ebd8 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 18:11:16.470 +05:30 b99be42a-a7f1-4d4e-9292-59ea298166d9 INF CORS policy execution successful. 2024-03-11 18:11:16.471 +05:30 b99be42a-a7f1-4d4e-9292-59ea298166d9 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 204 null null 2.4954ms 2024-03-11 18:11:16.483 +05:30 c11f9e5f-1d6a-4248-a80d-be6713baa981 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 18:11:16.483 +05:30 1fcf90e0-39b1-4b08-a8e6-22300b4c3016 INF CORS policy execution successful. 2024-03-11 18:11:16.484 +05:30 1fcf90e0-39b1-4b08-a8e6-22300b4c3016 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 204 null null 0.8889ms 2024-03-11 18:11:16.489 +05:30 0db96db0-dd08-467d-af88-7f006dfcd8a0 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 18:11:16.489 +05:30 06413685-add4-48fc-8df4-50766ffa1a6a INF CORS policy execution successful. 2024-03-11 18:11:16.489 +05:30 06413685-add4-48fc-8df4-50766ffa1a6a INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 204 null null 0.6243ms 2024-03-11 18:11:16.500 +05:30 0eacc54a-8ee8-4ffa-b117-11c195707c6d INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:11:16.500 +05:30 946ee383-b717-4c66-bb8b-bf9adb6a72d5 INF CORS policy execution successful. 2024-03-11 18:11:16.501 +05:30 946ee383-b717-4c66-bb8b-bf9adb6a72d5 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 204 null null 1.0731ms 2024-03-11 18:11:16.536 +05:30 7fd270ba-ea0b-42ef-8b32-aa08bd7e9de3 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 18:11:16.537 +05:30 2883e6a3-6d52-451d-8fbe-01dedd19bb33 INF CORS policy execution successful. 2024-03-11 18:11:16.538 +05:30 2883e6a3-6d52-451d-8fbe-01dedd19bb33 INF Executing endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 18:11:16.538 +05:30 2883e6a3-6d52-451d-8fbe-01dedd19bb33 INF Route matched with {action = "GetDepartment", controller = "Department"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetDepartment() on controller Sang.Security.WebApi.Controllers.DepartmentController (Sang.Security.WebApi). 2024-03-11 18:11:16.540 +05:30 2883e6a3-6d52-451d-8fbe-01dedd19bb33 INF Connection string fetched 2024-03-11 18:11:16.540 +05:30 2883e6a3-6d52-451d-8fbe-01dedd19bb33 INF Fetching Department deatails 2024-03-11 18:11:16.542 +05:30 2883e6a3-6d52-451d-8fbe-01dedd19bb33 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:11:16.543 +05:30 2883e6a3-6d52-451d-8fbe-01dedd19bb33 INF Executed action Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi) in 4.661ms 2024-03-11 18:11:16.543 +05:30 2883e6a3-6d52-451d-8fbe-01dedd19bb33 INF Executed endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 18:11:16.543 +05:30 2883e6a3-6d52-451d-8fbe-01dedd19bb33 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 200 null application/json; charset=utf-8 7.1708ms 2024-03-11 18:11:16.555 +05:30 eb280199-d8b1-470a-9e4d-b17a87ee5c5b INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 18:11:16.557 +05:30 222c084a-6ceb-47d7-bee9-431011cb536c INF CORS policy execution successful. 2024-03-11 18:11:16.557 +05:30 222c084a-6ceb-47d7-bee9-431011cb536c INF Executing endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 18:11:16.557 +05:30 222c084a-6ceb-47d7-bee9-431011cb536c INF Route matched with {action = "GetCountry", controller = "Country"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCountry() on controller Sang.Security.WebApi.Controllers.CountryController (Sang.Security.WebApi). 2024-03-11 18:11:16.559 +05:30 222c084a-6ceb-47d7-bee9-431011cb536c INF Connection string fetched 2024-03-11 18:11:16.559 +05:30 222c084a-6ceb-47d7-bee9-431011cb536c INF Fetching Country deatails 2024-03-11 18:11:16.560 +05:30 222c084a-6ceb-47d7-bee9-431011cb536c INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:11:16.560 +05:30 222c084a-6ceb-47d7-bee9-431011cb536c INF Executed action Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi) in 3.3072ms 2024-03-11 18:11:16.560 +05:30 222c084a-6ceb-47d7-bee9-431011cb536c INF Executed endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 18:11:16.561 +05:30 222c084a-6ceb-47d7-bee9-431011cb536c INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 200 null application/json; charset=utf-8 5.9887ms 2024-03-11 18:11:16.564 +05:30 23197c58-3192-400c-88a6-794b54be1148 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 18:11:16.565 +05:30 7919ce50-928c-4c37-ae07-10741a9d68bd INF CORS policy execution successful. 2024-03-11 18:11:16.565 +05:30 7919ce50-928c-4c37-ae07-10741a9d68bd INF Executing endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 18:11:16.565 +05:30 7919ce50-928c-4c37-ae07-10741a9d68bd INF Route matched with {action = "GetCities", controller = "City"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCities() on controller Sang.Security.WebApi.Controllers.CityController (Sang.Security.WebApi). 2024-03-11 18:11:16.567 +05:30 7919ce50-928c-4c37-ae07-10741a9d68bd INF Connection string fetched 2024-03-11 18:11:16.568 +05:30 7919ce50-928c-4c37-ae07-10741a9d68bd INF Fetching City deatails 2024-03-11 18:11:16.569 +05:30 7919ce50-928c-4c37-ae07-10741a9d68bd INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:11:16.569 +05:30 7919ce50-928c-4c37-ae07-10741a9d68bd INF Executed action Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi) in 3.8864ms 2024-03-11 18:11:16.569 +05:30 7919ce50-928c-4c37-ae07-10741a9d68bd INF Executed endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 18:11:16.570 +05:30 7919ce50-928c-4c37-ae07-10741a9d68bd INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 200 null application/json; charset=utf-8 5.2057ms 2024-03-11 18:11:16.588 +05:30 e8f4a802-5382-4069-821e-3a7ca3591e15 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:11:16.589 +05:30 7a58925a-fc00-4fca-9896-c377a7da076a INF CORS policy execution successful. 2024-03-11 18:11:16.589 +05:30 7a58925a-fc00-4fca-9896-c377a7da076a INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 18:11:16.589 +05:30 7a58925a-fc00-4fca-9896-c377a7da076a INF Route matched with {action = "GetEmployees", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployees() on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 18:11:16.590 +05:30 7a58925a-fc00-4fca-9896-c377a7da076a INF Connection string fetched 2024-03-11 18:11:16.590 +05:30 7a58925a-fc00-4fca-9896-c377a7da076a INF Fetching Employees deatails 2024-03-11 18:11:16.593 +05:30 7a58925a-fc00-4fca-9896-c377a7da076a INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:11:16.594 +05:30 7a58925a-fc00-4fca-9896-c377a7da076a INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi) in 4.6434ms 2024-03-11 18:11:16.594 +05:30 7a58925a-fc00-4fca-9896-c377a7da076a INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 18:11:16.594 +05:30 7a58925a-fc00-4fca-9896-c377a7da076a INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 200 null application/json; charset=utf-8 5.862ms 2024-03-11 18:11:22.306 +05:30 40d3eadd-ad03-4960-a949-2ef3cae86481 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/login - null null 2024-03-11 18:11:22.306 +05:30 bbaab61f-af21-44de-a591-72a137eeefc3 INF CORS policy execution successful. 2024-03-11 18:11:22.307 +05:30 bbaab61f-af21-44de-a591-72a137eeefc3 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/login - 204 null null 0.9653ms 2024-03-11 18:11:22.367 +05:30 6c518afd-c175-4d4d-b08d-669c9ddba2b4 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Login/login - application/json 54 2024-03-11 18:11:22.369 +05:30 6c518afd-c175-4d4d-b08d-669c9ddba2b4 INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 12:36:44 PM', Current time (UTC): '3/11/2024 12:41:22 PM'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) 2024-03-11 18:11:22.371 +05:30 6c518afd-c175-4d4d-b08d-669c9ddba2b4 INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 12:36:44 PM', Current time (UTC): '3/11/2024 12:41:22 PM'. 2024-03-11 18:11:22.372 +05:30 78d31d1d-33ce-46e1-a050-695b7ec26242 INF CORS policy execution successful. 2024-03-11 18:11:22.372 +05:30 78d31d1d-33ce-46e1-a050-695b7ec26242 INF Executing endpoint 'Sang.Security.WebApi.Controllers.LoginController.Login (Sang.Security.WebApi)' 2024-03-11 18:11:22.373 +05:30 78d31d1d-33ce-46e1-a050-695b7ec26242 INF Route matched with {action = "Login", controller = "Login"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Login(Sang.Security.WebApi.Models.LoginRequest) on controller Sang.Security.WebApi.Controllers.LoginController (Sang.Security.WebApi). 2024-03-11 18:11:22.381 +05:30 78d31d1d-33ce-46e1-a050-695b7ec26242 INF Connection string fetched 2024-03-11 18:11:22.563 +05:30 78d31d1d-33ce-46e1-a050-695b7ec26242 INF Token generated 2024-03-11 18:11:22.563 +05:30 78d31d1d-33ce-46e1-a050-695b7ec26242 INF Token generated 2024-03-11 18:11:22.563 +05:30 78d31d1d-33ce-46e1-a050-695b7ec26242 INF Executing OkObjectResult, writing value of type '<>f__AnonymousType0`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[Sang.Security.WebApi.Models.Tokens, Sang.Security.WebApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2024-03-11 18:11:22.564 +05:30 78d31d1d-33ce-46e1-a050-695b7ec26242 INF Executed action Sang.Security.WebApi.Controllers.LoginController.Login (Sang.Security.WebApi) in 191.0242ms 2024-03-11 18:11:22.564 +05:30 78d31d1d-33ce-46e1-a050-695b7ec26242 INF Executed endpoint 'Sang.Security.WebApi.Controllers.LoginController.Login (Sang.Security.WebApi)' 2024-03-11 18:11:22.564 +05:30 78d31d1d-33ce-46e1-a050-695b7ec26242 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Login/login - 200 null application/json; charset=utf-8 196.8277ms 2024-03-11 18:11:22.685 +05:30 b0fa42be-dc73-4b24-9aa2-667f6384917a INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 18:11:22.685 +05:30 515aba8f-c921-47fe-8627-534201cacc61 INF CORS policy execution successful. 2024-03-11 18:11:22.686 +05:30 515aba8f-c921-47fe-8627-534201cacc61 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 204 null null 1.5999ms 2024-03-11 18:11:22.746 +05:30 2000b7da-a0ae-48aa-a941-5c2558c9ba9c INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:11:22.747 +05:30 ecb48436-f98a-47df-9e09-bdf6d27eb0ec INF CORS policy execution successful. 2024-03-11 18:11:22.747 +05:30 ecb48436-f98a-47df-9e09-bdf6d27eb0ec INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 204 null null 0.5518ms 2024-03-11 18:11:22.747 +05:30 86819417-7382-4311-a707-8eaa78ed1e4f INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 18:11:22.747 +05:30 9ae83bff-e6bf-43de-9c43-9189e6988fa6 INF CORS policy execution successful. 2024-03-11 18:11:22.748 +05:30 3be17b98-1ec6-483a-a642-ca5af8866b57 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 18:11:22.748 +05:30 9ae83bff-e6bf-43de-9c43-9189e6988fa6 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 204 null null 0.308ms 2024-03-11 18:11:22.748 +05:30 cac9c40f-8504-485b-ab00-280f2cc8da4f INF CORS policy execution successful. 2024-03-11 18:11:22.748 +05:30 cac9c40f-8504-485b-ab00-280f2cc8da4f INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 204 null null 0.4202ms 2024-03-11 18:11:22.748 +05:30 7f6fab4c-f7f3-44b5-a978-8675218dcfe2 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 18:11:22.749 +05:30 8e085a9a-fd60-48a0-9155-deaa34d015cd INF CORS policy execution successful. 2024-03-11 18:11:22.749 +05:30 8e085a9a-fd60-48a0-9155-deaa34d015cd INF Executing endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 18:11:22.749 +05:30 8e085a9a-fd60-48a0-9155-deaa34d015cd INF Route matched with {action = "GetCities", controller = "City"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCities() on controller Sang.Security.WebApi.Controllers.CityController (Sang.Security.WebApi). 2024-03-11 18:11:22.750 +05:30 8e085a9a-fd60-48a0-9155-deaa34d015cd INF Connection string fetched 2024-03-11 18:11:22.750 +05:30 8e085a9a-fd60-48a0-9155-deaa34d015cd INF Fetching City deatails 2024-03-11 18:11:22.751 +05:30 8e085a9a-fd60-48a0-9155-deaa34d015cd INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:11:22.752 +05:30 8e085a9a-fd60-48a0-9155-deaa34d015cd INF Executed action Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi) in 2.6404ms 2024-03-11 18:11:22.752 +05:30 8e085a9a-fd60-48a0-9155-deaa34d015cd INF Executed endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 18:11:22.752 +05:30 8e085a9a-fd60-48a0-9155-deaa34d015cd INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 200 null application/json; charset=utf-8 3.6016ms 2024-03-11 18:11:22.804 +05:30 9b330513-ade5-400b-86df-8d7e4a0052a1 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:11:22.804 +05:30 86efbaf4-40e2-4ff8-9127-97668b9a9462 INF CORS policy execution successful. 2024-03-11 18:11:22.805 +05:30 d95e183f-431f-4e90-be3a-7fa1b93aac7c INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 18:11:22.805 +05:30 615d45b7-8f0f-4977-91e9-41dd881ec8fe INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 18:11:22.805 +05:30 e99a060a-2888-4d2f-bae3-eb44d1e0102b INF CORS policy execution successful. 2024-03-11 18:11:22.805 +05:30 8be276fd-17d9-4b20-bc37-74223d287387 INF CORS policy execution successful. 2024-03-11 18:11:22.805 +05:30 e99a060a-2888-4d2f-bae3-eb44d1e0102b INF Executing endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 18:11:22.805 +05:30 86efbaf4-40e2-4ff8-9127-97668b9a9462 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 18:11:22.805 +05:30 8be276fd-17d9-4b20-bc37-74223d287387 INF Executing endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 18:11:22.805 +05:30 e99a060a-2888-4d2f-bae3-eb44d1e0102b INF Route matched with {action = "GetDepartment", controller = "Department"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetDepartment() on controller Sang.Security.WebApi.Controllers.DepartmentController (Sang.Security.WebApi). 2024-03-11 18:11:22.805 +05:30 8be276fd-17d9-4b20-bc37-74223d287387 INF Route matched with {action = "GetCountry", controller = "Country"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCountry() on controller Sang.Security.WebApi.Controllers.CountryController (Sang.Security.WebApi). 2024-03-11 18:11:22.805 +05:30 86efbaf4-40e2-4ff8-9127-97668b9a9462 INF Route matched with {action = "GetEmployees", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployees() on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 18:11:22.806 +05:30 e99a060a-2888-4d2f-bae3-eb44d1e0102b INF Fetching Department deatails 2024-03-11 18:11:22.806 +05:30 8be276fd-17d9-4b20-bc37-74223d287387 INF Fetching Country deatails 2024-03-11 18:11:22.807 +05:30 86efbaf4-40e2-4ff8-9127-97668b9a9462 INF Connection string fetched 2024-03-11 18:11:22.807 +05:30 86efbaf4-40e2-4ff8-9127-97668b9a9462 INF Fetching Employees deatails 2024-03-11 18:11:22.809 +05:30 86efbaf4-40e2-4ff8-9127-97668b9a9462 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:11:22.809 +05:30 86efbaf4-40e2-4ff8-9127-97668b9a9462 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi) in 4.1821ms 2024-03-11 18:11:22.810 +05:30 86efbaf4-40e2-4ff8-9127-97668b9a9462 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 18:11:22.810 +05:30 86efbaf4-40e2-4ff8-9127-97668b9a9462 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 200 null application/json; charset=utf-8 5.8046ms 2024-03-11 18:11:22.815 +05:30 e99a060a-2888-4d2f-bae3-eb44d1e0102b INF Connection string fetched 2024-03-11 18:11:22.815 +05:30 8be276fd-17d9-4b20-bc37-74223d287387 INF Connection string fetched 2024-03-11 18:11:22.820 +05:30 e99a060a-2888-4d2f-bae3-eb44d1e0102b INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:11:22.820 +05:30 8be276fd-17d9-4b20-bc37-74223d287387 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:11:22.821 +05:30 e99a060a-2888-4d2f-bae3-eb44d1e0102b INF Executed action Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi) in 15.391ms 2024-03-11 18:11:22.821 +05:30 8be276fd-17d9-4b20-bc37-74223d287387 INF Executed action Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi) in 15.3752ms 2024-03-11 18:11:22.821 +05:30 e99a060a-2888-4d2f-bae3-eb44d1e0102b INF Executed endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 18:11:22.821 +05:30 8be276fd-17d9-4b20-bc37-74223d287387 INF Executed endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 18:11:22.821 +05:30 8be276fd-17d9-4b20-bc37-74223d287387 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 200 null application/json; charset=utf-8 16.1756ms 2024-03-11 18:11:22.821 +05:30 e99a060a-2888-4d2f-bae3-eb44d1e0102b INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 200 null application/json; charset=utf-8 16.2551ms 2024-03-11 18:21:48.246 +05:30 INF Application is shutting down... 2024-03-11 18:24:31.214 +05:30 WRN Using an in-memory repository. Keys will not be persisted to storage. 2024-03-11 18:24:31.278 +05:30 WRN Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits. 2024-03-11 18:24:31.303 +05:30 INF Creating key {c890c0a7-fda7-43c0-a0e0-00e58f5f72ee} with creation date 2024-03-11 12:54:31Z, activation date 2024-03-11 12:54:31Z, and expiration date 2024-06-09 12:54:31Z. 2024-03-11 18:24:31.329 +05:30 WRN No XML encryptor configured. Key {c890c0a7-fda7-43c0-a0e0-00e58f5f72ee} may be persisted to storage in unencrypted form. 2024-03-11 18:24:31.435 +05:30 INF Application started. Press Ctrl+C to shut down. 2024-03-11 18:24:31.436 +05:30 INF Hosting environment: Production 2024-03-11 18:24:31.436 +05:30 INF Content root path: C:\inetpub\wwwroot\Sang.Employee.Web.Api 2024-03-11 18:24:31.470 +05:30 5b0c437b-424c-437d-a8bb-8c52db076185 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 18:24:31.470 +05:30 317bfcda-ece3-4d16-8501-1d243f5f7507 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 18:24:31.470 +05:30 a70ce01d-891b-43e2-8ffe-ab230782ee64 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 18:24:31.470 +05:30 ed189cdf-5137-4cbe-bcb5-70a355264928 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:24:31.602 +05:30 c39488b0-7856-45ab-ba17-4ef1b2745d95 INF CORS policy execution successful. 2024-03-11 18:24:31.602 +05:30 d89b601a-53cc-475e-a719-f5589a163d43 INF CORS policy execution successful. 2024-03-11 18:24:31.602 +05:30 6e8673e2-51f5-4014-8ecd-356573807973 INF CORS policy execution successful. 2024-03-11 18:24:31.602 +05:30 3c981325-de6b-4498-9e7f-de86a0965ba3 INF CORS policy execution successful. 2024-03-11 18:24:31.614 +05:30 3c981325-de6b-4498-9e7f-de86a0965ba3 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 204 null null 147.0938ms 2024-03-11 18:24:31.625 +05:30 6e8673e2-51f5-4014-8ecd-356573807973 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 204 null null 158.2516ms 2024-03-11 18:24:31.625 +05:30 c39488b0-7856-45ab-ba17-4ef1b2745d95 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 204 null null 158.1658ms 2024-03-11 18:24:31.625 +05:30 d89b601a-53cc-475e-a719-f5589a163d43 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 204 null null 158.2377ms 2024-03-11 18:24:31.674 +05:30 1569b7f3-4da4-4dfc-8fa2-a42adf89d58d INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 18:24:31.689 +05:30 86ef9606-9947-4566-96e3-3ae715628a7d INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:24:31.689 +05:30 497473b7-8ca5-4422-9311-695edd6f1484 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 18:24:31.689 +05:30 f0d3c708-7443-4066-9eb9-41265f2b0d65 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 18:24:31.809 +05:30 f0d3c708-7443-4066-9eb9-41265f2b0d65 INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 12:46:22 PM', Current time (UTC): '3/11/2024 12:54:31 PM'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) 2024-03-11 18:24:31.809 +05:30 1569b7f3-4da4-4dfc-8fa2-a42adf89d58d INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 12:46:22 PM', Current time (UTC): '3/11/2024 12:54:31 PM'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) 2024-03-11 18:24:31.809 +05:30 86ef9606-9947-4566-96e3-3ae715628a7d INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 12:46:22 PM', Current time (UTC): '3/11/2024 12:54:31 PM'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) 2024-03-11 18:24:31.809 +05:30 497473b7-8ca5-4422-9311-695edd6f1484 INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 12:46:22 PM', Current time (UTC): '3/11/2024 12:54:31 PM'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) 2024-03-11 18:24:31.828 +05:30 497473b7-8ca5-4422-9311-695edd6f1484 INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 12:46:22 PM', Current time (UTC): '3/11/2024 12:54:31 PM'. 2024-03-11 18:24:31.828 +05:30 f0d3c708-7443-4066-9eb9-41265f2b0d65 INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 12:46:22 PM', Current time (UTC): '3/11/2024 12:54:31 PM'. 2024-03-11 18:24:31.828 +05:30 86ef9606-9947-4566-96e3-3ae715628a7d INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 12:46:22 PM', Current time (UTC): '3/11/2024 12:54:31 PM'. 2024-03-11 18:24:31.828 +05:30 1569b7f3-4da4-4dfc-8fa2-a42adf89d58d INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 12:46:22 PM', Current time (UTC): '3/11/2024 12:54:31 PM'. 2024-03-11 18:24:31.838 +05:30 6acbe8fb-0c70-4d8d-82a1-a08520954f86 INF CORS policy execution successful. 2024-03-11 18:24:31.838 +05:30 0119ab13-822d-487d-8538-73b9624e2ef4 INF CORS policy execution successful. 2024-03-11 18:24:31.838 +05:30 3b67d26f-ddf9-4776-8f7f-f3f33a50d964 INF CORS policy execution successful. 2024-03-11 18:24:31.839 +05:30 0d67e831-2e3b-4fae-b7f8-fc8b057445b6 INF CORS policy execution successful. 2024-03-11 18:24:31.849 +05:30 0119ab13-822d-487d-8538-73b9624e2ef4 INF Executing endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 18:24:31.849 +05:30 3b67d26f-ddf9-4776-8f7f-f3f33a50d964 INF Executing endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 18:24:31.849 +05:30 0d67e831-2e3b-4fae-b7f8-fc8b057445b6 INF Executing endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 18:24:31.851 +05:30 6acbe8fb-0c70-4d8d-82a1-a08520954f86 INF Authorization failed. These requirements were not met: DenyAnonymousAuthorizationRequirement: Requires an authenticated user. 2024-03-11 18:24:31.859 +05:30 6acbe8fb-0c70-4d8d-82a1-a08520954f86 INF AuthenticationScheme: Bearer was challenged. 2024-03-11 18:24:31.867 +05:30 6acbe8fb-0c70-4d8d-82a1-a08520954f86 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 401 null null 177.5393ms 2024-03-11 18:24:31.875 +05:30 3b67d26f-ddf9-4776-8f7f-f3f33a50d964 INF Route matched with {action = "GetDepartment", controller = "Department"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetDepartment() on controller Sang.Security.WebApi.Controllers.DepartmentController (Sang.Security.WebApi). 2024-03-11 18:24:31.875 +05:30 0119ab13-822d-487d-8538-73b9624e2ef4 INF Route matched with {action = "GetCities", controller = "City"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCities() on controller Sang.Security.WebApi.Controllers.CityController (Sang.Security.WebApi). 2024-03-11 18:24:31.875 +05:30 0d67e831-2e3b-4fae-b7f8-fc8b057445b6 INF Route matched with {action = "GetCountry", controller = "Country"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCountry() on controller Sang.Security.WebApi.Controllers.CountryController (Sang.Security.WebApi). 2024-03-11 18:24:31.928 +05:30 3b67d26f-ddf9-4776-8f7f-f3f33a50d964 INF Fetching Department deatails 2024-03-11 18:24:31.928 +05:30 0119ab13-822d-487d-8538-73b9624e2ef4 INF Fetching City deatails 2024-03-11 18:24:31.928 +05:30 0d67e831-2e3b-4fae-b7f8-fc8b057445b6 INF Fetching Country deatails 2024-03-11 18:24:31.933 +05:30 5192ccb8-3afd-43ba-aa4b-6a8694ea942f INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens?refershToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiYWRtaW4iLCJ1bmlxdWVfbmFtZSI6ImFkbWluIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZG5zIjoiMSIsIm5iZiI6MTcxMDE2MDg4MiwiZXhwIjoxNzEwMTYyNjgyLCJpYXQiOjE3MTAxNjA4ODJ9.TCV9-0XjYE-KzjpJQ-6yTWQF773YyfIiEfon2112Kmc - null null 2024-03-11 18:24:31.935 +05:30 903e400c-699c-4a71-ad5e-cfb94f127031 INF CORS policy execution successful. 2024-03-11 18:24:31.936 +05:30 903e400c-699c-4a71-ad5e-cfb94f127031 INF Executing endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 18:24:31.951 +05:30 903e400c-699c-4a71-ad5e-cfb94f127031 INF Route matched with {action = "RegenerateTokens", controller = "Security"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Sang.Security.WebApi.Models.Tokens]] RegenerateTokens(System.String) on controller Sang.Security.WebApi.Controllers.SecurityController (Sang.Security.WebApi). 2024-03-11 18:24:32.148 +05:30 903e400c-699c-4a71-ad5e-cfb94f127031 INF Token generated 2024-03-11 18:24:32.150 +05:30 903e400c-699c-4a71-ad5e-cfb94f127031 INF Token generated 2024-03-11 18:24:32.158 +05:30 903e400c-699c-4a71-ad5e-cfb94f127031 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.Tokens'. 2024-03-11 18:24:32.186 +05:30 903e400c-699c-4a71-ad5e-cfb94f127031 INF Executed action Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi) in 231.4455ms 2024-03-11 18:24:32.187 +05:30 903e400c-699c-4a71-ad5e-cfb94f127031 INF Executed endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 18:24:32.190 +05:30 903e400c-699c-4a71-ad5e-cfb94f127031 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens?refershToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiYWRtaW4iLCJ1bmlxdWVfbmFtZSI6ImFkbWluIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZG5zIjoiMSIsIm5iZiI6MTcxMDE2MDg4MiwiZXhwIjoxNzEwMTYyNjgyLCJpYXQiOjE3MTAxNjA4ODJ9.TCV9-0XjYE-KzjpJQ-6yTWQF773YyfIiEfon2112Kmc - 200 null application/json; charset=utf-8 256.6816ms 2024-03-11 18:24:32.213 +05:30 0d67e831-2e3b-4fae-b7f8-fc8b057445b6 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:24:32.213 +05:30 3b67d26f-ddf9-4776-8f7f-f3f33a50d964 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:24:32.213 +05:30 0119ab13-822d-487d-8538-73b9624e2ef4 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:24:32.240 +05:30 0119ab13-822d-487d-8538-73b9624e2ef4 INF Executed action Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi) in 364.1528ms 2024-03-11 18:24:32.240 +05:30 3b67d26f-ddf9-4776-8f7f-f3f33a50d964 INF Executed action Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi) in 364.1885ms 2024-03-11 18:24:32.240 +05:30 0119ab13-822d-487d-8538-73b9624e2ef4 INF Executed endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 18:24:32.240 +05:30 0d67e831-2e3b-4fae-b7f8-fc8b057445b6 INF Executed action Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi) in 364.0756ms 2024-03-11 18:24:32.240 +05:30 3b67d26f-ddf9-4776-8f7f-f3f33a50d964 INF Executed endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 18:24:32.240 +05:30 0d67e831-2e3b-4fae-b7f8-fc8b057445b6 INF Executed endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 18:24:32.241 +05:30 0119ab13-822d-487d-8538-73b9624e2ef4 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 200 null application/json; charset=utf-8 566.5149ms 2024-03-11 18:24:32.241 +05:30 3b67d26f-ddf9-4776-8f7f-f3f33a50d964 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 200 null application/json; charset=utf-8 551.3583ms 2024-03-11 18:24:32.241 +05:30 0d67e831-2e3b-4fae-b7f8-fc8b057445b6 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 200 null application/json; charset=utf-8 551.3812ms 2024-03-11 18:24:32.256 +05:30 53d93535-1bd9-46f5-9cd7-490348f173e6 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:24:32.268 +05:30 2ae812dd-a425-4c62-ab79-de5bb0004ecd INF CORS policy execution successful. 2024-03-11 18:24:32.271 +05:30 2ae812dd-a425-4c62-ab79-de5bb0004ecd INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 18:24:32.276 +05:30 2ae812dd-a425-4c62-ab79-de5bb0004ecd INF Route matched with {action = "GetEmployees", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployees() on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 18:24:32.283 +05:30 2ae812dd-a425-4c62-ab79-de5bb0004ecd INF Connection string fetched 2024-03-11 18:24:32.286 +05:30 2ae812dd-a425-4c62-ab79-de5bb0004ecd INF Fetching Employees deatails 2024-03-11 18:24:32.301 +05:30 2ae812dd-a425-4c62-ab79-de5bb0004ecd INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:24:32.305 +05:30 2ae812dd-a425-4c62-ab79-de5bb0004ecd INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi) in 29.0594ms 2024-03-11 18:24:32.305 +05:30 2ae812dd-a425-4c62-ab79-de5bb0004ecd INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 18:24:32.306 +05:30 2ae812dd-a425-4c62-ab79-de5bb0004ecd INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 200 null application/json; charset=utf-8 49.8861ms 2024-03-11 18:24:42.903 +05:30 dbdb9879-e8fd-47a9-aeee-28fcd7057928 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:24:42.903 +05:30 517e7cd2-ffc5-46b3-b222-a2d1af82de31 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 18:24:42.903 +05:30 6ee3b66b-3079-474a-a02a-0f9b3f5ee7f5 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 18:24:42.903 +05:30 7d32e9e1-7eed-4c77-b9b2-e37b990fa365 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 18:24:42.904 +05:30 906f1776-fa9b-4208-af79-0a72c80a1e64 INF CORS policy execution successful. 2024-03-11 18:24:42.904 +05:30 37065497-45be-4d95-8506-f774f20015f2 INF CORS policy execution successful. 2024-03-11 18:24:42.904 +05:30 f1ab8192-5d32-45bd-b541-438a9d2d2003 INF CORS policy execution successful. 2024-03-11 18:24:42.904 +05:30 2d5d914e-0124-4900-913c-1c0ea53b12d0 INF CORS policy execution successful. 2024-03-11 18:24:42.905 +05:30 f1ab8192-5d32-45bd-b541-438a9d2d2003 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 204 null null 2.6969ms 2024-03-11 18:24:42.905 +05:30 2d5d914e-0124-4900-913c-1c0ea53b12d0 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 204 null null 2.7398ms 2024-03-11 18:24:42.905 +05:30 37065497-45be-4d95-8506-f774f20015f2 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 204 null null 2.5465ms 2024-03-11 18:24:42.905 +05:30 906f1776-fa9b-4208-af79-0a72c80a1e64 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 204 null null 2.8156ms 2024-03-11 18:24:42.964 +05:30 35b58df9-a0f0-4ca7-b9b5-203967ad1b03 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:24:42.964 +05:30 36854709-73ba-43ef-80b7-31b02c13e52a INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 18:24:42.965 +05:30 5850f1d8-070a-47a3-bbfe-937b1099c740 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 18:24:42.965 +05:30 de167358-a1ca-479c-8580-f4329b2d8d92 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 18:24:42.966 +05:30 100933f8-a9c2-4b6f-829e-97230ec04cb0 INF CORS policy execution successful. 2024-03-11 18:24:42.966 +05:30 1d2f9e44-32e3-43d4-aa7a-cf4d82bf70ee INF CORS policy execution successful. 2024-03-11 18:24:42.966 +05:30 0504345f-7b17-41fd-9f63-30fdf9cdfeaa INF CORS policy execution successful. 2024-03-11 18:24:42.967 +05:30 100933f8-a9c2-4b6f-829e-97230ec04cb0 INF Executing endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 18:24:42.966 +05:30 31b78ca7-4518-407c-967f-63988927df50 INF CORS policy execution successful. 2024-03-11 18:24:42.967 +05:30 0504345f-7b17-41fd-9f63-30fdf9cdfeaa INF Executing endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 18:24:42.967 +05:30 31b78ca7-4518-407c-967f-63988927df50 INF Executing endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 18:24:42.967 +05:30 31b78ca7-4518-407c-967f-63988927df50 INF Route matched with {action = "GetCities", controller = "City"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCities() on controller Sang.Security.WebApi.Controllers.CityController (Sang.Security.WebApi). 2024-03-11 18:24:42.967 +05:30 100933f8-a9c2-4b6f-829e-97230ec04cb0 INF Route matched with {action = "GetDepartment", controller = "Department"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetDepartment() on controller Sang.Security.WebApi.Controllers.DepartmentController (Sang.Security.WebApi). 2024-03-11 18:24:42.967 +05:30 0504345f-7b17-41fd-9f63-30fdf9cdfeaa INF Route matched with {action = "GetCountry", controller = "Country"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCountry() on controller Sang.Security.WebApi.Controllers.CountryController (Sang.Security.WebApi). 2024-03-11 18:24:42.971 +05:30 1d2f9e44-32e3-43d4-aa7a-cf4d82bf70ee INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 18:24:42.972 +05:30 1d2f9e44-32e3-43d4-aa7a-cf4d82bf70ee INF Route matched with {action = "GetEmployees", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployees() on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 18:24:42.972 +05:30 0504345f-7b17-41fd-9f63-30fdf9cdfeaa INF Connection string fetched 2024-03-11 18:24:42.972 +05:30 31b78ca7-4518-407c-967f-63988927df50 INF Connection string fetched 2024-03-11 18:24:42.974 +05:30 0504345f-7b17-41fd-9f63-30fdf9cdfeaa INF Fetching Country deatails 2024-03-11 18:24:42.974 +05:30 31b78ca7-4518-407c-967f-63988927df50 INF Fetching City deatails 2024-03-11 18:24:42.975 +05:30 1d2f9e44-32e3-43d4-aa7a-cf4d82bf70ee INF Connection string fetched 2024-03-11 18:24:42.975 +05:30 100933f8-a9c2-4b6f-829e-97230ec04cb0 INF Connection string fetched 2024-03-11 18:24:42.976 +05:30 1d2f9e44-32e3-43d4-aa7a-cf4d82bf70ee INF Fetching Employees deatails 2024-03-11 18:24:42.976 +05:30 0504345f-7b17-41fd-9f63-30fdf9cdfeaa INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:24:42.976 +05:30 100933f8-a9c2-4b6f-829e-97230ec04cb0 INF Fetching Department deatails 2024-03-11 18:24:42.976 +05:30 31b78ca7-4518-407c-967f-63988927df50 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:24:42.977 +05:30 0504345f-7b17-41fd-9f63-30fdf9cdfeaa INF Executed action Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi) in 9.5234ms 2024-03-11 18:24:42.977 +05:30 31b78ca7-4518-407c-967f-63988927df50 INF Executed action Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi) in 9.7413ms 2024-03-11 18:24:42.977 +05:30 0504345f-7b17-41fd-9f63-30fdf9cdfeaa INF Executed endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 18:24:42.978 +05:30 31b78ca7-4518-407c-967f-63988927df50 INF Executed endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 18:24:42.978 +05:30 0504345f-7b17-41fd-9f63-30fdf9cdfeaa INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 200 null application/json; charset=utf-8 12.7712ms 2024-03-11 18:24:42.978 +05:30 31b78ca7-4518-407c-967f-63988927df50 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 200 null application/json; charset=utf-8 13.102ms 2024-03-11 18:24:42.978 +05:30 100933f8-a9c2-4b6f-829e-97230ec04cb0 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:24:42.979 +05:30 100933f8-a9c2-4b6f-829e-97230ec04cb0 INF Executed action Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi) in 11.5064ms 2024-03-11 18:24:42.979 +05:30 100933f8-a9c2-4b6f-829e-97230ec04cb0 INF Executed endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 18:24:42.979 +05:30 1d2f9e44-32e3-43d4-aa7a-cf4d82bf70ee INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:24:42.979 +05:30 100933f8-a9c2-4b6f-829e-97230ec04cb0 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 200 null application/json; charset=utf-8 15.3421ms 2024-03-11 18:24:42.980 +05:30 1d2f9e44-32e3-43d4-aa7a-cf4d82bf70ee INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi) in 8.5574ms 2024-03-11 18:24:42.980 +05:30 1d2f9e44-32e3-43d4-aa7a-cf4d82bf70ee INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 18:24:42.981 +05:30 1d2f9e44-32e3-43d4-aa7a-cf4d82bf70ee INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 200 null application/json; charset=utf-8 16.6169ms 2024-03-11 18:24:52.516 +05:30 41221f6d-0e57-4a2e-bd97-0c2ddc0b7b09 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Login/GetCompany - null null 2024-03-11 18:24:52.518 +05:30 3389dccc-b8bb-475c-8312-a34fbb7c194a INF CORS policy execution successful. 2024-03-11 18:24:52.519 +05:30 3389dccc-b8bb-475c-8312-a34fbb7c194a INF Executing endpoint 'Sang.Security.WebApi.Controllers.LoginController.GetCompany (Sang.Security.WebApi)' 2024-03-11 18:24:52.527 +05:30 3389dccc-b8bb-475c-8312-a34fbb7c194a INF Route matched with {action = "GetCompany", controller = "Login"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCompany() on controller Sang.Security.WebApi.Controllers.LoginController (Sang.Security.WebApi). 2024-03-11 18:24:52.533 +05:30 3389dccc-b8bb-475c-8312-a34fbb7c194a INF Fetching Company deatails 2024-03-11 18:24:52.536 +05:30 3389dccc-b8bb-475c-8312-a34fbb7c194a INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:24:52.537 +05:30 3389dccc-b8bb-475c-8312-a34fbb7c194a INF Executed action Sang.Security.WebApi.Controllers.LoginController.GetCompany (Sang.Security.WebApi) in 9.2386ms 2024-03-11 18:24:52.537 +05:30 3389dccc-b8bb-475c-8312-a34fbb7c194a INF Executed endpoint 'Sang.Security.WebApi.Controllers.LoginController.GetCompany (Sang.Security.WebApi)' 2024-03-11 18:24:52.537 +05:30 3389dccc-b8bb-475c-8312-a34fbb7c194a INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Login/GetCompany - 200 null application/json; charset=utf-8 21.6159ms 2024-03-11 18:25:07.072 +05:30 630af84c-6b86-44e2-b32d-c613d132ae7d INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/login - null null 2024-03-11 18:25:07.079 +05:30 1537ed5f-815e-4e3f-8a14-25f8f561959f INF CORS policy execution successful. 2024-03-11 18:25:07.080 +05:30 1537ed5f-815e-4e3f-8a14-25f8f561959f INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/login - 204 null null 8.3551ms 2024-03-11 18:25:07.142 +05:30 aaa97bd7-f629-4ecf-8e35-e4b273abafd3 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Login/login - application/json 54 2024-03-11 18:25:07.144 +05:30 e9230da0-0af5-4734-97eb-ebd01c996ff0 INF CORS policy execution successful. 2024-03-11 18:25:07.145 +05:30 e9230da0-0af5-4734-97eb-ebd01c996ff0 INF Executing endpoint 'Sang.Security.WebApi.Controllers.LoginController.Login (Sang.Security.WebApi)' 2024-03-11 18:25:07.162 +05:30 e9230da0-0af5-4734-97eb-ebd01c996ff0 INF Route matched with {action = "Login", controller = "Login"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Login(Sang.Security.WebApi.Models.LoginRequest) on controller Sang.Security.WebApi.Controllers.LoginController (Sang.Security.WebApi). 2024-03-11 18:25:07.233 +05:30 e9230da0-0af5-4734-97eb-ebd01c996ff0 INF Connection string fetched 2024-03-11 18:25:07.798 +05:30 e9230da0-0af5-4734-97eb-ebd01c996ff0 INF Token generated 2024-03-11 18:25:07.798 +05:30 e9230da0-0af5-4734-97eb-ebd01c996ff0 INF Token generated 2024-03-11 18:25:07.800 +05:30 e9230da0-0af5-4734-97eb-ebd01c996ff0 INF Executing OkObjectResult, writing value of type '<>f__AnonymousType0`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[Sang.Security.WebApi.Models.Tokens, Sang.Security.WebApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2024-03-11 18:25:07.806 +05:30 e9230da0-0af5-4734-97eb-ebd01c996ff0 INF Executed action Sang.Security.WebApi.Controllers.LoginController.Login (Sang.Security.WebApi) in 643.7109ms 2024-03-11 18:25:07.806 +05:30 e9230da0-0af5-4734-97eb-ebd01c996ff0 INF Executed endpoint 'Sang.Security.WebApi.Controllers.LoginController.Login (Sang.Security.WebApi)' 2024-03-11 18:25:07.807 +05:30 e9230da0-0af5-4734-97eb-ebd01c996ff0 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Login/login - 200 null application/json; charset=utf-8 665.3029ms 2024-03-11 18:25:07.913 +05:30 e960a59f-47e3-41ef-899b-c9f19a0c8672 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 18:25:07.913 +05:30 bee0eb15-8e70-473e-84a6-0d6ba6026724 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 18:25:07.914 +05:30 86f78dc9-d8d8-4d25-a796-bdeca8841911 INF CORS policy execution successful. 2024-03-11 18:25:07.914 +05:30 0501afe9-4e32-4efb-b08f-2c2bb31e99b5 INF CORS policy execution successful. 2024-03-11 18:25:07.915 +05:30 86f78dc9-d8d8-4d25-a796-bdeca8841911 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 204 null null 1.7143ms 2024-03-11 18:25:07.915 +05:30 10154f4a-b2da-43bc-9327-6777ff6b7f32 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:25:07.916 +05:30 71e4e8aa-5fd0-412d-bcb0-534e31e0a949 INF CORS policy execution successful. 2024-03-11 18:25:07.917 +05:30 71e4e8aa-5fd0-412d-bcb0-534e31e0a949 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 204 null null 1.1728ms 2024-03-11 18:25:07.917 +05:30 4ba07bf1-aa64-46fc-8a9d-17670419c1af INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 18:25:07.917 +05:30 947217e0-74c3-4ad9-ad62-8ff114064533 INF CORS policy execution successful. 2024-03-11 18:25:07.915 +05:30 0501afe9-4e32-4efb-b08f-2c2bb31e99b5 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 204 null null 1.7981ms 2024-03-11 18:25:07.919 +05:30 947217e0-74c3-4ad9-ad62-8ff114064533 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 204 null null 1.8661ms 2024-03-11 18:25:07.976 +05:30 76a47a90-7da5-4928-968c-01e93cd3f4b2 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:25:07.976 +05:30 587e3181-288e-4438-ad39-6ee691af8982 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 18:25:07.976 +05:30 be3e6bf5-dedc-4ad2-b08c-d61bc4ff3a35 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 18:25:07.976 +05:30 25ee59aa-0e5e-479d-8062-97e73ef62c99 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 18:25:07.978 +05:30 f15add7d-5574-4200-b6c7-b15b929102d8 INF CORS policy execution successful. 2024-03-11 18:25:07.978 +05:30 5a6ee861-3d85-4e7b-a448-ee2730852e09 INF CORS policy execution successful. 2024-03-11 18:25:07.978 +05:30 371cbc7a-4c5f-4527-a2e0-20a4a2d5c245 INF CORS policy execution successful. 2024-03-11 18:25:07.978 +05:30 7a16e8ce-9fc7-4f91-ab5b-152537ff269c INF CORS policy execution successful. 2024-03-11 18:25:07.978 +05:30 f15add7d-5574-4200-b6c7-b15b929102d8 INF Executing endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 18:25:07.978 +05:30 5a6ee861-3d85-4e7b-a448-ee2730852e09 INF Executing endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 18:25:07.978 +05:30 371cbc7a-4c5f-4527-a2e0-20a4a2d5c245 INF Executing endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 18:25:07.979 +05:30 5a6ee861-3d85-4e7b-a448-ee2730852e09 INF Route matched with {action = "GetCountry", controller = "Country"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCountry() on controller Sang.Security.WebApi.Controllers.CountryController (Sang.Security.WebApi). 2024-03-11 18:25:07.979 +05:30 371cbc7a-4c5f-4527-a2e0-20a4a2d5c245 INF Route matched with {action = "GetDepartment", controller = "Department"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetDepartment() on controller Sang.Security.WebApi.Controllers.DepartmentController (Sang.Security.WebApi). 2024-03-11 18:25:07.979 +05:30 f15add7d-5574-4200-b6c7-b15b929102d8 INF Route matched with {action = "GetCities", controller = "City"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCities() on controller Sang.Security.WebApi.Controllers.CityController (Sang.Security.WebApi). 2024-03-11 18:25:07.979 +05:30 7a16e8ce-9fc7-4f91-ab5b-152537ff269c INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 18:25:07.979 +05:30 7a16e8ce-9fc7-4f91-ab5b-152537ff269c INF Route matched with {action = "GetEmployees", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployees() on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 18:25:07.986 +05:30 f15add7d-5574-4200-b6c7-b15b929102d8 INF Connection string fetched 2024-03-11 18:25:07.986 +05:30 7a16e8ce-9fc7-4f91-ab5b-152537ff269c INF Connection string fetched 2024-03-11 18:25:07.986 +05:30 5a6ee861-3d85-4e7b-a448-ee2730852e09 INF Connection string fetched 2024-03-11 18:25:07.987 +05:30 f15add7d-5574-4200-b6c7-b15b929102d8 INF Fetching City deatails 2024-03-11 18:25:07.987 +05:30 7a16e8ce-9fc7-4f91-ab5b-152537ff269c INF Fetching Employees deatails 2024-03-11 18:25:07.987 +05:30 5a6ee861-3d85-4e7b-a448-ee2730852e09 INF Fetching Country deatails 2024-03-11 18:25:07.987 +05:30 371cbc7a-4c5f-4527-a2e0-20a4a2d5c245 INF Connection string fetched 2024-03-11 18:25:07.987 +05:30 371cbc7a-4c5f-4527-a2e0-20a4a2d5c245 INF Fetching Department deatails 2024-03-11 18:25:07.989 +05:30 5a6ee861-3d85-4e7b-a448-ee2730852e09 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:25:07.989 +05:30 f15add7d-5574-4200-b6c7-b15b929102d8 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:25:07.989 +05:30 371cbc7a-4c5f-4527-a2e0-20a4a2d5c245 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:25:07.990 +05:30 371cbc7a-4c5f-4527-a2e0-20a4a2d5c245 INF Executed action Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi) in 11.0158ms 2024-03-11 18:25:07.990 +05:30 5a6ee861-3d85-4e7b-a448-ee2730852e09 INF Executed action Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi) in 11.094ms 2024-03-11 18:25:07.990 +05:30 f15add7d-5574-4200-b6c7-b15b929102d8 INF Executed action Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi) in 10.628ms 2024-03-11 18:25:07.990 +05:30 371cbc7a-4c5f-4527-a2e0-20a4a2d5c245 INF Executed endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 18:25:07.990 +05:30 5a6ee861-3d85-4e7b-a448-ee2730852e09 INF Executed endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 18:25:07.990 +05:30 f15add7d-5574-4200-b6c7-b15b929102d8 INF Executed endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 18:25:07.991 +05:30 f15add7d-5574-4200-b6c7-b15b929102d8 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 200 null application/json; charset=utf-8 14.6247ms 2024-03-11 18:25:07.991 +05:30 371cbc7a-4c5f-4527-a2e0-20a4a2d5c245 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 200 null application/json; charset=utf-8 14.0325ms 2024-03-11 18:25:07.991 +05:30 5a6ee861-3d85-4e7b-a448-ee2730852e09 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 200 null application/json; charset=utf-8 14.5678ms 2024-03-11 18:25:07.991 +05:30 7a16e8ce-9fc7-4f91-ab5b-152537ff269c INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:25:07.992 +05:30 7a16e8ce-9fc7-4f91-ab5b-152537ff269c INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi) in 12.1918ms 2024-03-11 18:25:07.992 +05:30 7a16e8ce-9fc7-4f91-ab5b-152537ff269c INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 18:25:07.992 +05:30 7a16e8ce-9fc7-4f91-ab5b-152537ff269c INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 200 null application/json; charset=utf-8 16.1523ms 2024-03-11 18:25:50.972 +05:30 eabc0485-6093-47d1-abbf-ef6cc51a43f4 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 18:25:50.975 +05:30 147ddc65-997d-4f0f-9eb5-5cee28487734 INF CORS policy execution successful. 2024-03-11 18:25:50.977 +05:30 147ddc65-997d-4f0f-9eb5-5cee28487734 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 5.7223ms 2024-03-11 18:25:51.039 +05:30 770c6a41-974e-4344-a80c-69cb0c612798 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 187 2024-03-11 18:25:51.042 +05:30 c9f83e89-1dc7-4892-bb3d-83ef1cdf6490 INF CORS policy execution successful. 2024-03-11 18:25:51.044 +05:30 c9f83e89-1dc7-4892-bb3d-83ef1cdf6490 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 18:25:51.058 +05:30 c9f83e89-1dc7-4892-bb3d-83ef1cdf6490 INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 18:25:51.066 +05:30 c9f83e89-1dc7-4892-bb3d-83ef1cdf6490 INF Connection string fetched 2024-03-11 18:25:51.126 +05:30 c9f83e89-1dc7-4892-bb3d-83ef1cdf6490 INF Upserting Employee deatails 2024-03-11 18:25:51.159 +05:30 c9f83e89-1dc7-4892-bb3d-83ef1cdf6490 INF Validating Upsert result. 2024-03-11 18:25:51.162 +05:30 c9f83e89-1dc7-4892-bb3d-83ef1cdf6490 INF Executing CreatedAtActionResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:25:51.198 +05:30 c9f83e89-1dc7-4892-bb3d-83ef1cdf6490 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 139.4996ms 2024-03-11 18:25:51.198 +05:30 c9f83e89-1dc7-4892-bb3d-83ef1cdf6490 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 18:25:51.198 +05:30 c9f83e89-1dc7-4892-bb3d-83ef1cdf6490 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 201 null application/json; charset=utf-8 159.2345ms 2024-03-11 18:25:52.769 +05:30 6f4d8f58-9d65-4510-82c6-ecfa8939e886 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:25:52.770 +05:30 67a2669f-0d0d-46c0-abd0-b3f097215182 INF CORS policy execution successful. 2024-03-11 18:25:52.772 +05:30 67a2669f-0d0d-46c0-abd0-b3f097215182 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 204 null null 2.8027ms 2024-03-11 18:25:52.829 +05:30 03660494-14e6-4af2-bcd9-fd2cd8172e4e INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:25:52.830 +05:30 422a2e69-2ccd-440f-ab21-7d30798a5d9b INF CORS policy execution successful. 2024-03-11 18:25:52.831 +05:30 422a2e69-2ccd-440f-ab21-7d30798a5d9b INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 18:25:52.831 +05:30 422a2e69-2ccd-440f-ab21-7d30798a5d9b INF Route matched with {action = "GetEmployees", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployees() on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 18:25:52.833 +05:30 422a2e69-2ccd-440f-ab21-7d30798a5d9b INF Connection string fetched 2024-03-11 18:25:52.833 +05:30 422a2e69-2ccd-440f-ab21-7d30798a5d9b INF Fetching Employees deatails 2024-03-11 18:25:52.835 +05:30 422a2e69-2ccd-440f-ab21-7d30798a5d9b INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:25:52.836 +05:30 422a2e69-2ccd-440f-ab21-7d30798a5d9b INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi) in 5.4287ms 2024-03-11 18:25:52.837 +05:30 422a2e69-2ccd-440f-ab21-7d30798a5d9b INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 18:25:52.837 +05:30 422a2e69-2ccd-440f-ab21-7d30798a5d9b INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 200 null application/json; charset=utf-8 8.0553ms 2024-03-11 18:26:37.056 +05:30 4db52ca2-304b-4fe2-9e62-15e505bc5fc1 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=36 - null null 2024-03-11 18:26:37.059 +05:30 c155c868-4e0f-41cc-9291-3d5305b42bf2 INF CORS policy execution successful. 2024-03-11 18:26:37.060 +05:30 c155c868-4e0f-41cc-9291-3d5305b42bf2 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=36 - 204 null null 4.4418ms 2024-03-11 18:26:37.117 +05:30 71bdedbb-16c8-4b65-8055-de7a89093ed7 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=36 - null null 2024-03-11 18:26:37.121 +05:30 21007a6d-8071-4de6-b055-a813d284a6ca INF CORS policy execution successful. 2024-03-11 18:26:37.122 +05:30 21007a6d-8071-4de6-b055-a813d284a6ca INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi)' 2024-03-11 18:26:37.135 +05:30 21007a6d-8071-4de6-b055-a813d284a6ca INF Route matched with {action = "GetEmployeebyId", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployeebyId(Int32) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 18:26:37.141 +05:30 21007a6d-8071-4de6-b055-a813d284a6ca INF Connection string fetched 2024-03-11 18:26:37.148 +05:30 21007a6d-8071-4de6-b055-a813d284a6ca INF Fetching Employee deatails 2024-03-11 18:26:37.151 +05:30 21007a6d-8071-4de6-b055-a813d284a6ca INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:26:37.152 +05:30 21007a6d-8071-4de6-b055-a813d284a6ca INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi) in 16.4803ms 2024-03-11 18:26:37.152 +05:30 21007a6d-8071-4de6-b055-a813d284a6ca INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi)' 2024-03-11 18:26:37.153 +05:30 21007a6d-8071-4de6-b055-a813d284a6ca INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=36 - 200 null application/json; charset=utf-8 35.4051ms 2024-03-11 18:26:41.268 +05:30 c1443628-679f-41a6-8663-a35cea06d243 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 18:26:41.269 +05:30 df0dc719-5866-4b2f-b216-8ed082ed5e75 INF CORS policy execution successful. 2024-03-11 18:26:41.273 +05:30 df0dc719-5866-4b2f-b216-8ed082ed5e75 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 4.9107ms 2024-03-11 18:26:41.330 +05:30 d454c908-9975-4bc8-8921-2636ddac3a73 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 171 2024-03-11 18:26:41.332 +05:30 f367f8b4-ecc6-4d8d-96f3-24ec35cbfbe9 INF CORS policy execution successful. 2024-03-11 18:26:41.332 +05:30 f367f8b4-ecc6-4d8d-96f3-24ec35cbfbe9 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 18:26:41.333 +05:30 f367f8b4-ecc6-4d8d-96f3-24ec35cbfbe9 INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 18:26:41.335 +05:30 f367f8b4-ecc6-4d8d-96f3-24ec35cbfbe9 INF Connection string fetched 2024-03-11 18:26:41.339 +05:30 f367f8b4-ecc6-4d8d-96f3-24ec35cbfbe9 INF Upserting Employee deatails 2024-03-11 18:26:41.350 +05:30 f367f8b4-ecc6-4d8d-96f3-24ec35cbfbe9 ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 18:26:41.355 +05:30 f367f8b4-ecc6-4d8d-96f3-24ec35cbfbe9 ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 18:26:41.355 +05:30 f367f8b4-ecc6-4d8d-96f3-24ec35cbfbe9 ERR Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 18:26:41.368 +05:30 f367f8b4-ecc6-4d8d-96f3-24ec35cbfbe9 ERR Upserting Employee Failed System.Exception: Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. ---> System.Data.SqlClient.SqlException (0x80131904): The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) at Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Services.EmployeeRepository.<>c__DisplayClass4_0.<b__0>d.MoveNext() in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 49 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:f797598a-9b7f-4d77-aee3-12fb30267db0 Error Number:547,State:0,Class:16 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Services.EmployeeRepository.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 32 at Sang.Security.WebApi.Services.EmployeeService.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Services\EmployeeService.cs:line 16 at Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Controllers\EmployeeController.cs:line 32 2024-03-11 18:26:41.369 +05:30 f367f8b4-ecc6-4d8d-96f3-24ec35cbfbe9 INF Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2024-03-11 18:26:41.415 +05:30 f367f8b4-ecc6-4d8d-96f3-24ec35cbfbe9 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 81.7698ms 2024-03-11 18:26:41.415 +05:30 f367f8b4-ecc6-4d8d-96f3-24ec35cbfbe9 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 18:26:41.415 +05:30 f367f8b4-ecc6-4d8d-96f3-24ec35cbfbe9 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 500 null application/problem+json; charset=utf-8 84.8936ms 2024-03-11 18:31:22.849 +05:30 7ea2b8d0-0d10-45ee-8c9d-617ea8b74660 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 18:31:22.849 +05:30 d8c702a5-c3ee-4dbf-bed6-c670ff2d5047 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 18:31:22.849 +05:30 75edf817-e7ac-4c29-a7f4-29ba1751a404 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:31:22.849 +05:30 72f11bef-022b-46d6-8c9f-5dd0b0e2fe50 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 18:31:22.854 +05:30 59561e90-b1fd-46f9-a5e2-77ab22f44c06 INF CORS policy execution successful. 2024-03-11 18:31:22.854 +05:30 7b9bbc08-e74f-4e36-9229-2f96adb69c09 INF CORS policy execution successful. 2024-03-11 18:31:22.854 +05:30 bed20083-1da4-47c8-b2b6-925c6b6ec2ea INF CORS policy execution successful. 2024-03-11 18:31:22.854 +05:30 2f007fba-80f4-4d40-9518-cb49c5de52ec INF CORS policy execution successful. 2024-03-11 18:31:22.857 +05:30 2f007fba-80f4-4d40-9518-cb49c5de52ec INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 204 null null 6.9733ms 2024-03-11 18:31:22.857 +05:30 7b9bbc08-e74f-4e36-9229-2f96adb69c09 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 204 null null 7.5584ms 2024-03-11 18:31:22.857 +05:30 bed20083-1da4-47c8-b2b6-925c6b6ec2ea INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 204 null null 7.5993ms 2024-03-11 18:31:22.857 +05:30 59561e90-b1fd-46f9-a5e2-77ab22f44c06 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 204 null null 7.5611ms 2024-03-11 18:31:22.922 +05:30 b5354718-4537-4e42-8e6c-bb0d3c3b838a INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:31:22.924 +05:30 4a22417e-6181-48dd-b8ae-9816b29da8cc INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 18:31:22.926 +05:30 ddd773df-9766-49fc-b5ae-08dd1446f133 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 18:31:22.927 +05:30 d0b3d02f-3de2-4906-a25c-0dc2b59b493e INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 18:31:22.931 +05:30 d0b3d02f-3de2-4906-a25c-0dc2b59b493e INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 1:00:07 PM', Current time (UTC): '3/11/2024 1:01:22 PM'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) 2024-03-11 18:31:22.931 +05:30 ddd773df-9766-49fc-b5ae-08dd1446f133 INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 1:00:07 PM', Current time (UTC): '3/11/2024 1:01:22 PM'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) 2024-03-11 18:31:22.931 +05:30 4a22417e-6181-48dd-b8ae-9816b29da8cc INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 1:00:07 PM', Current time (UTC): '3/11/2024 1:01:22 PM'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) 2024-03-11 18:31:22.931 +05:30 b5354718-4537-4e42-8e6c-bb0d3c3b838a INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 1:00:07 PM', Current time (UTC): '3/11/2024 1:01:22 PM'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) 2024-03-11 18:31:22.933 +05:30 d0b3d02f-3de2-4906-a25c-0dc2b59b493e INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 1:00:07 PM', Current time (UTC): '3/11/2024 1:01:22 PM'. 2024-03-11 18:31:22.934 +05:30 ddd773df-9766-49fc-b5ae-08dd1446f133 INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 1:00:07 PM', Current time (UTC): '3/11/2024 1:01:22 PM'. 2024-03-11 18:31:22.934 +05:30 4a22417e-6181-48dd-b8ae-9816b29da8cc INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 1:00:07 PM', Current time (UTC): '3/11/2024 1:01:22 PM'. 2024-03-11 18:31:22.935 +05:30 b5354718-4537-4e42-8e6c-bb0d3c3b838a INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 1:00:07 PM', Current time (UTC): '3/11/2024 1:01:22 PM'. 2024-03-11 18:31:22.936 +05:30 40fcff92-a79b-416f-9842-77f10cd61c1e INF CORS policy execution successful. 2024-03-11 18:31:22.936 +05:30 f2422fdc-e33a-4cd9-97ca-e40da0227957 INF CORS policy execution successful. 2024-03-11 18:31:22.936 +05:30 f5bf2767-3b5a-4a5a-8877-8d298e344817 INF CORS policy execution successful. 2024-03-11 18:31:22.936 +05:30 0671bf34-b9b4-4aca-8811-65058597bdd4 INF CORS policy execution successful. 2024-03-11 18:31:22.937 +05:30 40fcff92-a79b-416f-9842-77f10cd61c1e INF Executing endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 18:31:22.937 +05:30 f5bf2767-3b5a-4a5a-8877-8d298e344817 INF Executing endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 18:31:22.937 +05:30 f2422fdc-e33a-4cd9-97ca-e40da0227957 INF Executing endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 18:31:22.938 +05:30 f5bf2767-3b5a-4a5a-8877-8d298e344817 INF Route matched with {action = "GetCities", controller = "City"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCities() on controller Sang.Security.WebApi.Controllers.CityController (Sang.Security.WebApi). 2024-03-11 18:31:22.938 +05:30 40fcff92-a79b-416f-9842-77f10cd61c1e INF Route matched with {action = "GetCountry", controller = "Country"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCountry() on controller Sang.Security.WebApi.Controllers.CountryController (Sang.Security.WebApi). 2024-03-11 18:31:22.938 +05:30 f2422fdc-e33a-4cd9-97ca-e40da0227957 INF Route matched with {action = "GetDepartment", controller = "Department"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetDepartment() on controller Sang.Security.WebApi.Controllers.DepartmentController (Sang.Security.WebApi). 2024-03-11 18:31:22.939 +05:30 0671bf34-b9b4-4aca-8811-65058597bdd4 INF Authorization failed. These requirements were not met: DenyAnonymousAuthorizationRequirement: Requires an authenticated user. 2024-03-11 18:31:22.940 +05:30 0671bf34-b9b4-4aca-8811-65058597bdd4 INF AuthenticationScheme: Bearer was challenged. 2024-03-11 18:31:22.941 +05:30 0671bf34-b9b4-4aca-8811-65058597bdd4 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 401 null null 18.7416ms 2024-03-11 18:31:22.941 +05:30 40fcff92-a79b-416f-9842-77f10cd61c1e INF Fetching Country deatails 2024-03-11 18:31:22.941 +05:30 f5bf2767-3b5a-4a5a-8877-8d298e344817 INF Fetching City deatails 2024-03-11 18:31:22.941 +05:30 f2422fdc-e33a-4cd9-97ca-e40da0227957 INF Fetching Department deatails 2024-03-11 18:31:22.957 +05:30 f2422fdc-e33a-4cd9-97ca-e40da0227957 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:31:22.959 +05:30 f2422fdc-e33a-4cd9-97ca-e40da0227957 INF Executed action Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi) in 20.5457ms 2024-03-11 18:31:22.959 +05:30 f2422fdc-e33a-4cd9-97ca-e40da0227957 INF Executed endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 18:31:22.960 +05:30 f2422fdc-e33a-4cd9-97ca-e40da0227957 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 200 null application/json; charset=utf-8 35.5876ms 2024-03-11 18:31:22.960 +05:30 f5bf2767-3b5a-4a5a-8877-8d298e344817 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:31:22.961 +05:30 f5bf2767-3b5a-4a5a-8877-8d298e344817 INF Executed action Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi) in 22.2697ms 2024-03-11 18:31:22.961 +05:30 f5bf2767-3b5a-4a5a-8877-8d298e344817 INF Executed endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 18:31:22.961 +05:30 f5bf2767-3b5a-4a5a-8877-8d298e344817 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 200 null application/json; charset=utf-8 35.3827ms 2024-03-11 18:31:22.961 +05:30 40fcff92-a79b-416f-9842-77f10cd61c1e INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:31:22.962 +05:30 40fcff92-a79b-416f-9842-77f10cd61c1e INF Executed action Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi) in 23.2868ms 2024-03-11 18:31:22.962 +05:30 40fcff92-a79b-416f-9842-77f10cd61c1e INF Executed endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 18:31:22.962 +05:30 40fcff92-a79b-416f-9842-77f10cd61c1e INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 200 null application/json; charset=utf-8 34.9098ms 2024-03-11 18:31:23.028 +05:30 3bbabd52-53f8-4806-8bf5-b2b8a6bf67fd INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens?refershToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiYWRtaW4iLCJ1bmlxdWVfbmFtZSI6ImFkbWluIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZG5zIjoiMSIsIm5iZiI6MTcxMDE2MTcwNywiZXhwIjoxNzEwMTYzNTA3LCJpYXQiOjE3MTAxNjE3MDd9.o9ZjBW6OghEdJVVC0cgtrwRkVoA-ibE86bSZyyLKw8w - null null 2024-03-11 18:31:23.029 +05:30 7c44d41b-6b82-4070-bf49-81db1c6984e4 INF CORS policy execution successful. 2024-03-11 18:31:23.029 +05:30 7c44d41b-6b82-4070-bf49-81db1c6984e4 INF Executing endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 18:31:23.030 +05:30 7c44d41b-6b82-4070-bf49-81db1c6984e4 INF Route matched with {action = "RegenerateTokens", controller = "Security"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Sang.Security.WebApi.Models.Tokens]] RegenerateTokens(System.String) on controller Sang.Security.WebApi.Controllers.SecurityController (Sang.Security.WebApi). 2024-03-11 18:31:23.037 +05:30 7c44d41b-6b82-4070-bf49-81db1c6984e4 INF Token generated 2024-03-11 18:31:23.037 +05:30 7c44d41b-6b82-4070-bf49-81db1c6984e4 INF Token generated 2024-03-11 18:31:23.037 +05:30 7c44d41b-6b82-4070-bf49-81db1c6984e4 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.Tokens'. 2024-03-11 18:31:23.038 +05:30 7c44d41b-6b82-4070-bf49-81db1c6984e4 INF Executed action Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi) in 8.3864ms 2024-03-11 18:31:23.038 +05:30 7c44d41b-6b82-4070-bf49-81db1c6984e4 INF Executed endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 18:31:23.038 +05:30 7c44d41b-6b82-4070-bf49-81db1c6984e4 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens?refershToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiYWRtaW4iLCJ1bmlxdWVfbmFtZSI6ImFkbWluIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZG5zIjoiMSIsIm5iZiI6MTcxMDE2MTcwNywiZXhwIjoxNzEwMTYzNTA3LCJpYXQiOjE3MTAxNjE3MDd9.o9ZjBW6OghEdJVVC0cgtrwRkVoA-ibE86bSZyyLKw8w - 200 null application/json; charset=utf-8 10.0366ms 2024-03-11 18:31:23.166 +05:30 cee7efa9-acd5-473e-9672-36f4d85353d1 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:31:23.167 +05:30 7785727f-3915-48d4-9c7c-2d17612e474c INF CORS policy execution successful. 2024-03-11 18:31:23.167 +05:30 7785727f-3915-48d4-9c7c-2d17612e474c INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 18:31:23.168 +05:30 7785727f-3915-48d4-9c7c-2d17612e474c INF Route matched with {action = "GetEmployees", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployees() on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 18:31:23.170 +05:30 7785727f-3915-48d4-9c7c-2d17612e474c INF Connection string fetched 2024-03-11 18:31:23.170 +05:30 7785727f-3915-48d4-9c7c-2d17612e474c INF Fetching Employees deatails 2024-03-11 18:31:23.173 +05:30 7785727f-3915-48d4-9c7c-2d17612e474c INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:31:23.174 +05:30 7785727f-3915-48d4-9c7c-2d17612e474c INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi) in 6.4418ms 2024-03-11 18:31:23.174 +05:30 7785727f-3915-48d4-9c7c-2d17612e474c INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 18:31:23.175 +05:30 7785727f-3915-48d4-9c7c-2d17612e474c INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 200 null application/json; charset=utf-8 8.7281ms 2024-03-11 18:33:41.987 +05:30 3b50d2da-b39b-42ee-996c-38eb43154aaf INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/GetCompany - null null 2024-03-11 18:33:41.991 +05:30 66a216e6-c7c7-4474-8bbc-945aba638265 INF CORS policy execution successful. 2024-03-11 18:33:41.992 +05:30 66a216e6-c7c7-4474-8bbc-945aba638265 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/GetCompany - 204 null null 5.06ms 2024-03-11 18:33:42.053 +05:30 d5dbb8e5-a96b-4bd3-97ea-1d2ffc210cd8 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Login/GetCompany - null null 2024-03-11 18:33:42.057 +05:30 e87a70b6-358d-48cd-80fc-e7fcd33a0f1b INF CORS policy execution successful. 2024-03-11 18:33:42.058 +05:30 e87a70b6-358d-48cd-80fc-e7fcd33a0f1b INF Executing endpoint 'Sang.Security.WebApi.Controllers.LoginController.GetCompany (Sang.Security.WebApi)' 2024-03-11 18:33:42.059 +05:30 e87a70b6-358d-48cd-80fc-e7fcd33a0f1b INF Route matched with {action = "GetCompany", controller = "Login"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCompany() on controller Sang.Security.WebApi.Controllers.LoginController (Sang.Security.WebApi). 2024-03-11 18:33:42.067 +05:30 e87a70b6-358d-48cd-80fc-e7fcd33a0f1b INF Connection string fetched 2024-03-11 18:33:42.067 +05:30 e87a70b6-358d-48cd-80fc-e7fcd33a0f1b INF Fetching Company deatails 2024-03-11 18:33:42.070 +05:30 e87a70b6-358d-48cd-80fc-e7fcd33a0f1b INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:33:42.071 +05:30 e87a70b6-358d-48cd-80fc-e7fcd33a0f1b INF Executed action Sang.Security.WebApi.Controllers.LoginController.GetCompany (Sang.Security.WebApi) in 12.2418ms 2024-03-11 18:33:42.072 +05:30 e87a70b6-358d-48cd-80fc-e7fcd33a0f1b INF Executed endpoint 'Sang.Security.WebApi.Controllers.LoginController.GetCompany (Sang.Security.WebApi)' 2024-03-11 18:33:42.072 +05:30 e87a70b6-358d-48cd-80fc-e7fcd33a0f1b INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Login/GetCompany - 200 null application/json; charset=utf-8 18.9225ms 2024-03-11 18:33:56.664 +05:30 c8319c78-2e49-42e4-a51f-55a3395ec4a5 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/login - null null 2024-03-11 18:33:56.664 +05:30 f19b849e-13b6-4b7b-9e07-846b700a16eb INF CORS policy execution successful. 2024-03-11 18:33:56.665 +05:30 f19b849e-13b6-4b7b-9e07-846b700a16eb INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/login - 204 null null 1.9022ms 2024-03-11 18:33:56.729 +05:30 7a65f3a5-87d8-4d32-b925-5c60a652f151 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Login/login - application/json 54 2024-03-11 18:33:56.731 +05:30 56211a79-9099-4e6b-8d7a-55bb1f20768d INF CORS policy execution successful. 2024-03-11 18:33:56.731 +05:30 56211a79-9099-4e6b-8d7a-55bb1f20768d INF Executing endpoint 'Sang.Security.WebApi.Controllers.LoginController.Login (Sang.Security.WebApi)' 2024-03-11 18:33:56.732 +05:30 56211a79-9099-4e6b-8d7a-55bb1f20768d INF Route matched with {action = "Login", controller = "Login"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Login(Sang.Security.WebApi.Models.LoginRequest) on controller Sang.Security.WebApi.Controllers.LoginController (Sang.Security.WebApi). 2024-03-11 18:33:56.737 +05:30 56211a79-9099-4e6b-8d7a-55bb1f20768d INF Connection string fetched 2024-03-11 18:33:56.744 +05:30 56211a79-9099-4e6b-8d7a-55bb1f20768d INF Connection string fetched 2024-03-11 18:33:56.937 +05:30 56211a79-9099-4e6b-8d7a-55bb1f20768d INF Token generated 2024-03-11 18:33:56.937 +05:30 56211a79-9099-4e6b-8d7a-55bb1f20768d INF Token generated 2024-03-11 18:33:56.937 +05:30 56211a79-9099-4e6b-8d7a-55bb1f20768d INF Executing OkObjectResult, writing value of type '<>f__AnonymousType0`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[Sang.Security.WebApi.Models.Tokens, Sang.Security.WebApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2024-03-11 18:33:56.938 +05:30 56211a79-9099-4e6b-8d7a-55bb1f20768d INF Executed action Sang.Security.WebApi.Controllers.LoginController.Login (Sang.Security.WebApi) in 206.0839ms 2024-03-11 18:33:56.938 +05:30 56211a79-9099-4e6b-8d7a-55bb1f20768d INF Executed endpoint 'Sang.Security.WebApi.Controllers.LoginController.Login (Sang.Security.WebApi)' 2024-03-11 18:33:56.938 +05:30 56211a79-9099-4e6b-8d7a-55bb1f20768d INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Login/login - 200 null application/json; charset=utf-8 209.9071ms 2024-03-11 18:33:57.096 +05:30 305398bb-1704-4bb0-85c8-696e90c5a412 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 18:33:57.096 +05:30 1ac236e4-70ae-4674-bee8-0bc3a45bc379 INF CORS policy execution successful. 2024-03-11 18:33:57.097 +05:30 1ac236e4-70ae-4674-bee8-0bc3a45bc379 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 204 null null 1.1655ms 2024-03-11 18:33:57.180 +05:30 e4227248-f45b-4f3f-87df-f20abc02b2b1 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 18:33:57.181 +05:30 6277012e-fe0d-467b-a4a6-425c784d35bb INF CORS policy execution successful. 2024-03-11 18:33:57.182 +05:30 cbaea2b9-afb5-428d-bb5b-bc06705e1744 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 18:33:57.183 +05:30 6277012e-fe0d-467b-a4a6-425c784d35bb INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 204 null null 2.0128ms 2024-03-11 18:33:57.183 +05:30 52830c59-a3c3-47b4-bbf8-2282c0a0071d INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:33:57.183 +05:30 9a55f946-7c7d-4d92-b9cc-747a9272e3fa INF CORS policy execution successful. 2024-03-11 18:33:57.183 +05:30 1c738336-513a-4efe-8a65-3ce3b27b723d INF CORS policy execution successful. 2024-03-11 18:33:57.184 +05:30 a772851d-5a19-4acf-8ac6-fb2a0c6e391d INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 18:33:57.184 +05:30 1c738336-513a-4efe-8a65-3ce3b27b723d INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 204 null null 0.9644ms 2024-03-11 18:33:57.184 +05:30 9a55f946-7c7d-4d92-b9cc-747a9272e3fa INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 204 null null 1.9258ms 2024-03-11 18:33:57.186 +05:30 a14d419f-d370-41a8-9fe6-b3d9d4909099 INF CORS policy execution successful. 2024-03-11 18:33:57.186 +05:30 a14d419f-d370-41a8-9fe6-b3d9d4909099 INF Executing endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 18:33:57.186 +05:30 a14d419f-d370-41a8-9fe6-b3d9d4909099 INF Route matched with {action = "GetCities", controller = "City"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCities() on controller Sang.Security.WebApi.Controllers.CityController (Sang.Security.WebApi). 2024-03-11 18:33:57.190 +05:30 a14d419f-d370-41a8-9fe6-b3d9d4909099 INF Connection string fetched 2024-03-11 18:33:57.190 +05:30 a14d419f-d370-41a8-9fe6-b3d9d4909099 INF Fetching City deatails 2024-03-11 18:33:57.192 +05:30 a14d419f-d370-41a8-9fe6-b3d9d4909099 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:33:57.193 +05:30 a14d419f-d370-41a8-9fe6-b3d9d4909099 INF Executed action Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi) in 6.8397ms 2024-03-11 18:33:57.194 +05:30 a14d419f-d370-41a8-9fe6-b3d9d4909099 INF Executed endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 18:33:57.194 +05:30 a14d419f-d370-41a8-9fe6-b3d9d4909099 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 200 null application/json; charset=utf-8 9.9076ms 2024-03-11 18:33:57.246 +05:30 95e7f114-15f4-44b3-b465-08cb3b03d318 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 18:33:57.246 +05:30 a3861182-1ab4-4b3a-9cd5-8197324858bd INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 18:33:57.246 +05:30 37d0c323-0283-4a48-a9f2-c3123fc3d74f INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:33:57.246 +05:30 635cc2ee-cf7e-4b2c-8a74-d3bb85b2a617 INF CORS policy execution successful. 2024-03-11 18:33:57.246 +05:30 dce264b0-68fd-48ef-84c7-99e1fd5ee7ef INF CORS policy execution successful. 2024-03-11 18:33:57.246 +05:30 b569fc24-8cad-42ce-8115-9f452b54f3b2 INF CORS policy execution successful. 2024-03-11 18:33:57.247 +05:30 dce264b0-68fd-48ef-84c7-99e1fd5ee7ef INF Executing endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 18:33:57.247 +05:30 b569fc24-8cad-42ce-8115-9f452b54f3b2 INF Executing endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 18:33:57.247 +05:30 635cc2ee-cf7e-4b2c-8a74-d3bb85b2a617 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 18:33:57.247 +05:30 b569fc24-8cad-42ce-8115-9f452b54f3b2 INF Route matched with {action = "GetDepartment", controller = "Department"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetDepartment() on controller Sang.Security.WebApi.Controllers.DepartmentController (Sang.Security.WebApi). 2024-03-11 18:33:57.247 +05:30 dce264b0-68fd-48ef-84c7-99e1fd5ee7ef INF Route matched with {action = "GetCountry", controller = "Country"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCountry() on controller Sang.Security.WebApi.Controllers.CountryController (Sang.Security.WebApi). 2024-03-11 18:33:57.247 +05:30 635cc2ee-cf7e-4b2c-8a74-d3bb85b2a617 INF Route matched with {action = "GetEmployees", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployees() on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 18:33:57.250 +05:30 635cc2ee-cf7e-4b2c-8a74-d3bb85b2a617 INF Connection string fetched 2024-03-11 18:33:57.251 +05:30 635cc2ee-cf7e-4b2c-8a74-d3bb85b2a617 INF Fetching Employees deatails 2024-03-11 18:33:57.253 +05:30 dce264b0-68fd-48ef-84c7-99e1fd5ee7ef INF Connection string fetched 2024-03-11 18:33:57.254 +05:30 dce264b0-68fd-48ef-84c7-99e1fd5ee7ef INF Fetching Country deatails 2024-03-11 18:33:57.256 +05:30 dce264b0-68fd-48ef-84c7-99e1fd5ee7ef INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:33:57.257 +05:30 635cc2ee-cf7e-4b2c-8a74-d3bb85b2a617 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:33:57.257 +05:30 b569fc24-8cad-42ce-8115-9f452b54f3b2 INF Fetching Department deatails 2024-03-11 18:33:57.257 +05:30 dce264b0-68fd-48ef-84c7-99e1fd5ee7ef INF Executed action Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi) in 10.5511ms 2024-03-11 18:33:57.258 +05:30 dce264b0-68fd-48ef-84c7-99e1fd5ee7ef INF Executed endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 18:33:57.258 +05:30 635cc2ee-cf7e-4b2c-8a74-d3bb85b2a617 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi) in 10.5872ms 2024-03-11 18:33:57.258 +05:30 635cc2ee-cf7e-4b2c-8a74-d3bb85b2a617 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 18:33:57.258 +05:30 dce264b0-68fd-48ef-84c7-99e1fd5ee7ef INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 200 null application/json; charset=utf-8 12.2278ms 2024-03-11 18:33:57.258 +05:30 635cc2ee-cf7e-4b2c-8a74-d3bb85b2a617 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 200 null application/json; charset=utf-8 12.3189ms 2024-03-11 18:33:57.260 +05:30 b569fc24-8cad-42ce-8115-9f452b54f3b2 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:33:57.260 +05:30 b569fc24-8cad-42ce-8115-9f452b54f3b2 INF Executed action Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi) in 13.3359ms 2024-03-11 18:33:57.260 +05:30 b569fc24-8cad-42ce-8115-9f452b54f3b2 INF Executed endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 18:33:57.261 +05:30 b569fc24-8cad-42ce-8115-9f452b54f3b2 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 200 null application/json; charset=utf-8 14.9662ms 2024-03-11 18:33:57.268 +05:30 INF Connection string fetched 2024-03-11 18:34:19.001 +05:30 4d3d65e8-3373-40c2-bb4f-73a8d52fb2e3 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=16 - null null 2024-03-11 18:34:19.005 +05:30 602beb12-7789-41ac-9690-765f5beb81c6 INF CORS policy execution successful. 2024-03-11 18:34:19.007 +05:30 602beb12-7789-41ac-9690-765f5beb81c6 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=16 - 204 null null 5.9232ms 2024-03-11 18:34:19.067 +05:30 138ff47e-b5e7-4f95-811d-e81ffdd20bf0 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=16 - null null 2024-03-11 18:34:19.069 +05:30 340c6e6f-56e9-4f5b-a9a7-d0476e0b6f6a INF CORS policy execution successful. 2024-03-11 18:34:19.070 +05:30 340c6e6f-56e9-4f5b-a9a7-d0476e0b6f6a INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi)' 2024-03-11 18:34:19.070 +05:30 340c6e6f-56e9-4f5b-a9a7-d0476e0b6f6a INF Route matched with {action = "GetEmployeebyId", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployeebyId(Int32) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 18:34:19.075 +05:30 340c6e6f-56e9-4f5b-a9a7-d0476e0b6f6a INF Connection string fetched 2024-03-11 18:34:19.077 +05:30 340c6e6f-56e9-4f5b-a9a7-d0476e0b6f6a INF Fetching Employee deatails 2024-03-11 18:34:19.080 +05:30 340c6e6f-56e9-4f5b-a9a7-d0476e0b6f6a INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:34:19.081 +05:30 340c6e6f-56e9-4f5b-a9a7-d0476e0b6f6a INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi) in 9.8622ms 2024-03-11 18:34:19.081 +05:30 340c6e6f-56e9-4f5b-a9a7-d0476e0b6f6a INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi)' 2024-03-11 18:34:19.082 +05:30 340c6e6f-56e9-4f5b-a9a7-d0476e0b6f6a INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=16 - 200 null application/json; charset=utf-8 14.7753ms 2024-03-11 18:34:24.188 +05:30 2603d3c8-a2da-4bd0-9468-94f136abd8eb INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 18:34:24.189 +05:30 2db6a3e2-c91d-4a2d-b3c2-a4890385ba3f INF CORS policy execution successful. 2024-03-11 18:34:24.189 +05:30 2db6a3e2-c91d-4a2d-b3c2-a4890385ba3f INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 1.2331ms 2024-03-11 18:34:24.248 +05:30 da8ab0d0-04de-401d-9ba1-c9576b0f7e32 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 185 2024-03-11 18:34:24.249 +05:30 3d3fa221-2fb5-4f23-abf8-ff81d497e5be INF CORS policy execution successful. 2024-03-11 18:34:24.250 +05:30 3d3fa221-2fb5-4f23-abf8-ff81d497e5be INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 18:34:24.250 +05:30 3d3fa221-2fb5-4f23-abf8-ff81d497e5be INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 18:34:24.253 +05:30 3d3fa221-2fb5-4f23-abf8-ff81d497e5be INF Connection string fetched 2024-03-11 18:34:24.255 +05:30 3d3fa221-2fb5-4f23-abf8-ff81d497e5be INF Upserting Employee deatails 2024-03-11 18:34:24.261 +05:30 3d3fa221-2fb5-4f23-abf8-ff81d497e5be ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 18:34:24.261 +05:30 3d3fa221-2fb5-4f23-abf8-ff81d497e5be ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 18:34:24.262 +05:30 3d3fa221-2fb5-4f23-abf8-ff81d497e5be ERR Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 18:34:24.264 +05:30 3d3fa221-2fb5-4f23-abf8-ff81d497e5be ERR Upserting Employee Failed System.Exception: Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. ---> System.Data.SqlClient.SqlException (0x80131904): The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) at Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Services.EmployeeRepository.<>c__DisplayClass4_0.<b__0>d.MoveNext() in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 49 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:0e3e6578-7973-4fc9-9cf4-d5bfd7b9ad19 Error Number:547,State:0,Class:16 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Services.EmployeeRepository.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 32 at Sang.Security.WebApi.Services.EmployeeService.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Services\EmployeeService.cs:line 16 at Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Controllers\EmployeeController.cs:line 32 2024-03-11 18:34:24.265 +05:30 3d3fa221-2fb5-4f23-abf8-ff81d497e5be INF Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2024-03-11 18:34:24.266 +05:30 3d3fa221-2fb5-4f23-abf8-ff81d497e5be INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 15.5486ms 2024-03-11 18:34:24.266 +05:30 3d3fa221-2fb5-4f23-abf8-ff81d497e5be INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 18:34:24.266 +05:30 3d3fa221-2fb5-4f23-abf8-ff81d497e5be INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 500 null application/problem+json; charset=utf-8 18.185ms 2024-03-11 18:35:06.550 +05:30 6b994d60-7e86-49f4-b81c-6fb81487bc7c INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 18:35:06.550 +05:30 15385d5d-c5e5-4fcf-8908-073bb1b9c28b INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 18:35:06.552 +05:30 1265cc68-0fb2-42eb-941e-7a79d8b78a93 INF CORS policy execution successful. 2024-03-11 18:35:06.552 +05:30 947bddfd-382a-4238-87f6-b64b21c83724 INF CORS policy execution successful. 2024-03-11 18:35:06.554 +05:30 1265cc68-0fb2-42eb-941e-7a79d8b78a93 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 204 null null 4.09ms 2024-03-11 18:35:06.555 +05:30 d197f5af-21b4-4565-98ef-33f678176927 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:35:06.556 +05:30 ada6b083-3d9e-4039-8ac7-fdfef8112037 INF CORS policy execution successful. 2024-03-11 18:35:06.557 +05:30 ada6b083-3d9e-4039-8ac7-fdfef8112037 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 204 null null 1.9527ms 2024-03-11 18:35:06.561 +05:30 947bddfd-382a-4238-87f6-b64b21c83724 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 204 null null 10.4852ms 2024-03-11 18:35:06.565 +05:30 37a59c1d-793b-4697-ac0e-570fcbe55d7a INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 18:35:06.566 +05:30 a8c91347-fbd7-4cd2-8236-4edb4120d44d INF CORS policy execution successful. 2024-03-11 18:35:06.566 +05:30 a8c91347-fbd7-4cd2-8236-4edb4120d44d INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 204 null null 1.34ms 2024-03-11 18:35:06.612 +05:30 69e222a2-1376-4f61-8c73-f3b1ef052d49 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 18:35:06.619 +05:30 42e486bc-41f8-419b-80df-ea15d79d946f INF CORS policy execution successful. 2024-03-11 18:35:06.623 +05:30 42e486bc-41f8-419b-80df-ea15d79d946f INF Executing endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 18:35:06.626 +05:30 bb8a0b20-40bc-4b5c-ae73-4731e4593f4e INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 18:35:06.628 +05:30 42e486bc-41f8-419b-80df-ea15d79d946f INF Route matched with {action = "GetCountry", controller = "Country"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCountry() on controller Sang.Security.WebApi.Controllers.CountryController (Sang.Security.WebApi). 2024-03-11 18:35:06.636 +05:30 39bd3e4c-2526-4c2b-9000-4b7b617c0480 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 18:35:06.637 +05:30 81ba268a-fa67-4aa0-902a-b8a59805981c INF CORS policy execution successful. 2024-03-11 18:35:06.638 +05:30 81ba268a-fa67-4aa0-902a-b8a59805981c INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 18:35:06.638 +05:30 81ba268a-fa67-4aa0-902a-b8a59805981c INF Route matched with {action = "GetEmployees", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployees() on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 18:35:06.640 +05:30 b828c143-2540-4082-8654-75ed9cb7c443 INF CORS policy execution successful. 2024-03-11 18:35:06.640 +05:30 b828c143-2540-4082-8654-75ed9cb7c443 INF Executing endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 18:35:06.641 +05:30 b828c143-2540-4082-8654-75ed9cb7c443 INF Route matched with {action = "GetCities", controller = "City"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCities() on controller Sang.Security.WebApi.Controllers.CityController (Sang.Security.WebApi). 2024-03-11 18:35:06.643 +05:30 9adadbf4-7d4b-4f03-9032-41b1f334b9e0 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 18:35:06.644 +05:30 9c059276-da3c-42c8-817d-066949089f76 INF CORS policy execution successful. 2024-03-11 18:35:06.644 +05:30 9c059276-da3c-42c8-817d-066949089f76 INF Executing endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 18:35:06.645 +05:30 9c059276-da3c-42c8-817d-066949089f76 INF Route matched with {action = "GetDepartment", controller = "Department"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetDepartment() on controller Sang.Security.WebApi.Controllers.DepartmentController (Sang.Security.WebApi). 2024-03-11 18:35:06.645 +05:30 42e486bc-41f8-419b-80df-ea15d79d946f INF Connection string fetched 2024-03-11 18:35:06.645 +05:30 42e486bc-41f8-419b-80df-ea15d79d946f INF Fetching Country deatails 2024-03-11 18:35:06.647 +05:30 9c059276-da3c-42c8-817d-066949089f76 INF Fetching Department deatails 2024-03-11 18:35:06.649 +05:30 81ba268a-fa67-4aa0-902a-b8a59805981c INF Connection string fetched 2024-03-11 18:35:06.649 +05:30 b828c143-2540-4082-8654-75ed9cb7c443 INF Connection string fetched 2024-03-11 18:35:06.649 +05:30 42e486bc-41f8-419b-80df-ea15d79d946f INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:35:06.649 +05:30 81ba268a-fa67-4aa0-902a-b8a59805981c INF Fetching Employees deatails 2024-03-11 18:35:06.649 +05:30 b828c143-2540-4082-8654-75ed9cb7c443 INF Fetching City deatails 2024-03-11 18:35:06.651 +05:30 42e486bc-41f8-419b-80df-ea15d79d946f INF Executed action Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi) in 20.2148ms 2024-03-11 18:35:06.651 +05:30 42e486bc-41f8-419b-80df-ea15d79d946f INF Executed endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 18:35:06.651 +05:30 42e486bc-41f8-419b-80df-ea15d79d946f INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 200 null application/json; charset=utf-8 39.0726ms 2024-03-11 18:35:06.656 +05:30 b828c143-2540-4082-8654-75ed9cb7c443 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:35:06.657 +05:30 b828c143-2540-4082-8654-75ed9cb7c443 INF Executed action Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi) in 16.0623ms 2024-03-11 18:35:06.657 +05:30 b828c143-2540-4082-8654-75ed9cb7c443 INF Executed endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 18:35:06.658 +05:30 b828c143-2540-4082-8654-75ed9cb7c443 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 200 null application/json; charset=utf-8 31.8816ms 2024-03-11 18:35:06.659 +05:30 81ba268a-fa67-4aa0-902a-b8a59805981c INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:35:06.665 +05:30 81ba268a-fa67-4aa0-902a-b8a59805981c INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi) in 26.5022ms 2024-03-11 18:35:06.667 +05:30 81ba268a-fa67-4aa0-902a-b8a59805981c INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 18:35:06.667 +05:30 81ba268a-fa67-4aa0-902a-b8a59805981c INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 200 null application/json; charset=utf-8 31.6542ms 2024-03-11 18:35:06.689 +05:30 9c059276-da3c-42c8-817d-066949089f76 INF Connection string fetched 2024-03-11 18:35:06.690 +05:30 9c059276-da3c-42c8-817d-066949089f76 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:35:06.691 +05:30 9c059276-da3c-42c8-817d-066949089f76 INF Executed action Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi) in 46.8021ms 2024-03-11 18:35:06.692 +05:30 9c059276-da3c-42c8-817d-066949089f76 INF Executed endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 18:35:06.692 +05:30 9c059276-da3c-42c8-817d-066949089f76 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 200 null application/json; charset=utf-8 49.3805ms 2024-03-11 18:36:55.547 +05:30 7e030e1b-193f-4eae-9e3f-955b07b054cb INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=35 - null null 2024-03-11 18:36:55.554 +05:30 938c0d88-dbda-4c81-b443-8fa3fc823cff INF CORS policy execution successful. 2024-03-11 18:36:55.556 +05:30 938c0d88-dbda-4c81-b443-8fa3fc823cff INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=35 - 204 null null 9.0288ms 2024-03-11 18:36:55.613 +05:30 2dacbb2f-e99f-4e6a-a64d-0944a2a25b4e INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=35 - null null 2024-03-11 18:36:55.618 +05:30 aaf52ca1-473f-4603-a05d-bf2503306551 INF CORS policy execution successful. 2024-03-11 18:36:55.619 +05:30 aaf52ca1-473f-4603-a05d-bf2503306551 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi)' 2024-03-11 18:36:55.621 +05:30 aaf52ca1-473f-4603-a05d-bf2503306551 INF Route matched with {action = "GetEmployeebyId", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployeebyId(Int32) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 18:36:55.629 +05:30 aaf52ca1-473f-4603-a05d-bf2503306551 INF Connection string fetched 2024-03-11 18:36:55.632 +05:30 aaf52ca1-473f-4603-a05d-bf2503306551 INF Fetching Employee deatails 2024-03-11 18:36:55.636 +05:30 aaf52ca1-473f-4603-a05d-bf2503306551 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:36:55.638 +05:30 aaf52ca1-473f-4603-a05d-bf2503306551 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi) in 16.6873ms 2024-03-11 18:36:55.638 +05:30 aaf52ca1-473f-4603-a05d-bf2503306551 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi)' 2024-03-11 18:36:55.639 +05:30 aaf52ca1-473f-4603-a05d-bf2503306551 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=35 - 200 null application/json; charset=utf-8 25.6218ms 2024-03-11 18:37:02.813 +05:30 a3b8508c-3132-4fb0-8c98-16ba80d7dbdb INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 18:37:02.814 +05:30 7b2a1858-10a2-4cbb-aedc-24206111950e INF CORS policy execution successful. 2024-03-11 18:37:02.815 +05:30 7b2a1858-10a2-4cbb-aedc-24206111950e INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 1.5696ms 2024-03-11 18:37:02.876 +05:30 193b96cf-28e0-414d-828e-93a6b0a29ac2 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 174 2024-03-11 18:37:02.877 +05:30 699d1a37-eb0e-4ff6-a4c6-18e2f10395f1 INF CORS policy execution successful. 2024-03-11 18:37:02.878 +05:30 699d1a37-eb0e-4ff6-a4c6-18e2f10395f1 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 18:37:02.878 +05:30 699d1a37-eb0e-4ff6-a4c6-18e2f10395f1 INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 18:37:02.883 +05:30 699d1a37-eb0e-4ff6-a4c6-18e2f10395f1 INF Connection string fetched 2024-03-11 18:37:02.891 +05:30 699d1a37-eb0e-4ff6-a4c6-18e2f10395f1 INF Upserting Employee deatails 2024-03-11 18:37:02.900 +05:30 699d1a37-eb0e-4ff6-a4c6-18e2f10395f1 ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 18:37:02.902 +05:30 699d1a37-eb0e-4ff6-a4c6-18e2f10395f1 ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 18:37:02.902 +05:30 699d1a37-eb0e-4ff6-a4c6-18e2f10395f1 ERR Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 18:37:02.910 +05:30 699d1a37-eb0e-4ff6-a4c6-18e2f10395f1 ERR Upserting Employee Failed System.Exception: Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. ---> System.Data.SqlClient.SqlException (0x80131904): The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) at Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Services.EmployeeRepository.<>c__DisplayClass4_0.<b__0>d.MoveNext() in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 49 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:3e56ff93-0f2b-4ba2-89f6-d3b8c9d87d7a Error Number:547,State:0,Class:16 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Services.EmployeeRepository.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 32 at Sang.Security.WebApi.Services.EmployeeService.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Services\EmployeeService.cs:line 16 at Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Controllers\EmployeeController.cs:line 32 2024-03-11 18:37:02.912 +05:30 699d1a37-eb0e-4ff6-a4c6-18e2f10395f1 INF Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2024-03-11 18:37:02.913 +05:30 699d1a37-eb0e-4ff6-a4c6-18e2f10395f1 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 34.9858ms 2024-03-11 18:37:02.914 +05:30 699d1a37-eb0e-4ff6-a4c6-18e2f10395f1 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 18:37:02.914 +05:30 699d1a37-eb0e-4ff6-a4c6-18e2f10395f1 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 500 null application/problem+json; charset=utf-8 38.2547ms 2024-03-11 18:37:17.864 +05:30 55d3326f-6e78-486b-b824-bafe4acd06a9 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 18:37:17.866 +05:30 0dc95039-f721-4681-ae80-59c588d65f21 INF CORS policy execution successful. 2024-03-11 18:37:17.867 +05:30 0dc95039-f721-4681-ae80-59c588d65f21 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 2.8167ms 2024-03-11 18:37:17.924 +05:30 ac7c4408-11e1-467f-878b-f1c5a04c9feb INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 174 2024-03-11 18:37:17.925 +05:30 6bf03d70-1f38-4382-8cec-ee68f31369cf INF CORS policy execution successful. 2024-03-11 18:37:17.926 +05:30 6bf03d70-1f38-4382-8cec-ee68f31369cf INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 18:37:17.926 +05:30 6bf03d70-1f38-4382-8cec-ee68f31369cf INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 18:37:17.929 +05:30 6bf03d70-1f38-4382-8cec-ee68f31369cf INF Connection string fetched 2024-03-11 18:37:17.931 +05:30 6bf03d70-1f38-4382-8cec-ee68f31369cf INF Upserting Employee deatails 2024-03-11 18:37:17.934 +05:30 6bf03d70-1f38-4382-8cec-ee68f31369cf ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 18:37:17.935 +05:30 6bf03d70-1f38-4382-8cec-ee68f31369cf ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 18:37:17.935 +05:30 6bf03d70-1f38-4382-8cec-ee68f31369cf ERR Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 18:37:17.937 +05:30 6bf03d70-1f38-4382-8cec-ee68f31369cf ERR Upserting Employee Failed System.Exception: Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. ---> System.Data.SqlClient.SqlException (0x80131904): The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) at Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Services.EmployeeRepository.<>c__DisplayClass4_0.<b__0>d.MoveNext() in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 49 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:3e56ff93-0f2b-4ba2-89f6-d3b8c9d87d7a Error Number:547,State:0,Class:16 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Services.EmployeeRepository.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 32 at Sang.Security.WebApi.Services.EmployeeService.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Services\EmployeeService.cs:line 16 at Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Controllers\EmployeeController.cs:line 32 2024-03-11 18:37:17.938 +05:30 6bf03d70-1f38-4382-8cec-ee68f31369cf INF Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2024-03-11 18:37:17.938 +05:30 6bf03d70-1f38-4382-8cec-ee68f31369cf INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 12.5509ms 2024-03-11 18:37:17.939 +05:30 6bf03d70-1f38-4382-8cec-ee68f31369cf INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 18:37:17.939 +05:30 6bf03d70-1f38-4382-8cec-ee68f31369cf INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 500 null application/problem+json; charset=utf-8 14.9532ms 2024-03-11 18:39:50.146 +05:30 536d6037-5929-4e48-ae03-2fd276e68088 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 18:39:50.149 +05:30 dc731575-a892-4a5b-8381-505a12f01679 INF CORS policy execution successful. 2024-03-11 18:39:50.150 +05:30 dc731575-a892-4a5b-8381-505a12f01679 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 4.3579ms 2024-03-11 18:39:50.209 +05:30 cca10ba4-7a90-470e-a4b3-4a3fdf453938 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 182 2024-03-11 18:39:50.213 +05:30 cca10ba4-7a90-470e-a4b3-4a3fdf453938 INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 1:08:56 PM', Current time (UTC): '3/11/2024 1:09:50 PM'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) 2024-03-11 18:39:50.215 +05:30 cca10ba4-7a90-470e-a4b3-4a3fdf453938 INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 1:08:56 PM', Current time (UTC): '3/11/2024 1:09:50 PM'. 2024-03-11 18:39:50.215 +05:30 acc50b03-2409-431d-985f-065e31ca9b5a INF CORS policy execution successful. 2024-03-11 18:39:50.216 +05:30 acc50b03-2409-431d-985f-065e31ca9b5a INF Authorization failed. These requirements were not met: DenyAnonymousAuthorizationRequirement: Requires an authenticated user. 2024-03-11 18:39:50.216 +05:30 acc50b03-2409-431d-985f-065e31ca9b5a INF AuthenticationScheme: Bearer was challenged. 2024-03-11 18:39:50.217 +05:30 acc50b03-2409-431d-985f-065e31ca9b5a INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 401 null null 7.6031ms 2024-03-11 18:39:50.281 +05:30 593bcc2c-6909-4e9d-aee7-69c8f5ef2fad INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens?refershToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiYWRtaW4iLCJ1bmlxdWVfbmFtZSI6ImFkbWluIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZG5zIjoiMSIsIm5iZiI6MTcxMDE2MjIzNiwiZXhwIjoxNzEwMTY0MDM2LCJpYXQiOjE3MTAxNjIyMzZ9.fr7tcsTUm4qWxR1KH7HdgWZP3dNRGg1vsfIxNfrseLc - null null 2024-03-11 18:39:50.282 +05:30 7994a7d8-4d76-4a82-a060-d3e7d95e36e7 INF CORS policy execution successful. 2024-03-11 18:39:50.282 +05:30 7994a7d8-4d76-4a82-a060-d3e7d95e36e7 INF Executing endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 18:39:50.283 +05:30 7994a7d8-4d76-4a82-a060-d3e7d95e36e7 INF Route matched with {action = "RegenerateTokens", controller = "Security"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Sang.Security.WebApi.Models.Tokens]] RegenerateTokens(System.String) on controller Sang.Security.WebApi.Controllers.SecurityController (Sang.Security.WebApi). 2024-03-11 18:39:50.293 +05:30 7994a7d8-4d76-4a82-a060-d3e7d95e36e7 INF Token generated 2024-03-11 18:39:50.293 +05:30 7994a7d8-4d76-4a82-a060-d3e7d95e36e7 INF Token generated 2024-03-11 18:39:50.294 +05:30 7994a7d8-4d76-4a82-a060-d3e7d95e36e7 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.Tokens'. 2024-03-11 18:39:50.295 +05:30 7994a7d8-4d76-4a82-a060-d3e7d95e36e7 INF Executed action Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi) in 12.6686ms 2024-03-11 18:39:50.296 +05:30 7994a7d8-4d76-4a82-a060-d3e7d95e36e7 INF Executed endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 18:39:50.296 +05:30 7994a7d8-4d76-4a82-a060-d3e7d95e36e7 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens?refershToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiYWRtaW4iLCJ1bmlxdWVfbmFtZSI6ImFkbWluIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZG5zIjoiMSIsIm5iZiI6MTcxMDE2MjIzNiwiZXhwIjoxNzEwMTY0MDM2LCJpYXQiOjE3MTAxNjIyMzZ9.fr7tcsTUm4qWxR1KH7HdgWZP3dNRGg1vsfIxNfrseLc - 200 null application/json; charset=utf-8 14.8371ms 2024-03-11 18:39:50.356 +05:30 98604cbd-f177-4d2d-af9d-8d06751dedfc INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 182 2024-03-11 18:39:50.358 +05:30 4db33119-2d3a-4a2f-aaec-baefb0389484 INF CORS policy execution successful. 2024-03-11 18:39:50.358 +05:30 4db33119-2d3a-4a2f-aaec-baefb0389484 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 18:39:50.358 +05:30 4db33119-2d3a-4a2f-aaec-baefb0389484 INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 18:39:50.360 +05:30 4db33119-2d3a-4a2f-aaec-baefb0389484 INF Connection string fetched 2024-03-11 18:39:50.364 +05:30 4db33119-2d3a-4a2f-aaec-baefb0389484 INF Upserting Employee deatails 2024-03-11 18:39:50.368 +05:30 4db33119-2d3a-4a2f-aaec-baefb0389484 INF Validating Upsert result. 2024-03-11 18:39:50.369 +05:30 4db33119-2d3a-4a2f-aaec-baefb0389484 INF Executing CreatedAtActionResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 18:39:50.373 +05:30 4db33119-2d3a-4a2f-aaec-baefb0389484 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 14.523ms 2024-03-11 18:39:50.374 +05:30 4db33119-2d3a-4a2f-aaec-baefb0389484 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 18:39:50.374 +05:30 4db33119-2d3a-4a2f-aaec-baefb0389484 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 201 null application/json; charset=utf-8 18.0302ms 2024-03-11 18:50:29.934 +05:30 INF Application is shutting down... 2024-03-11 22:55:18.520 +05:30 WRN Using an in-memory repository. Keys will not be persisted to storage. 2024-03-11 22:55:18.582 +05:30 WRN Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits. 2024-03-11 22:55:18.615 +05:30 INF Creating key {38dbe1ff-59a5-4e43-aec5-6ee733433469} with creation date 2024-03-11 17:25:18Z, activation date 2024-03-11 17:25:18Z, and expiration date 2024-06-09 17:25:18Z. 2024-03-11 22:55:18.643 +05:30 WRN No XML encryptor configured. Key {38dbe1ff-59a5-4e43-aec5-6ee733433469} may be persisted to storage in unencrypted form. 2024-03-11 22:55:18.741 +05:30 INF Application started. Press Ctrl+C to shut down. 2024-03-11 22:55:18.742 +05:30 INF Hosting environment: Production 2024-03-11 22:55:18.742 +05:30 INF Content root path: C:\inetpub\wwwroot\Sang.Employee.Web.Api 2024-03-11 22:55:18.793 +05:30 76334c3c-6f78-4367-8e17-36f0a28d9160 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/GetCompany - null null 2024-03-11 22:55:18.952 +05:30 bffd0699-08b3-4251-b77e-ade5656723f4 INF CORS policy execution successful. 2024-03-11 22:55:18.969 +05:30 bffd0699-08b3-4251-b77e-ade5656723f4 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/GetCompany - 204 null null 178.3079ms 2024-03-11 22:55:19.035 +05:30 bf2f8f35-728f-4077-bc1e-2a03b12027c0 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Login/GetCompany - null null 2024-03-11 22:55:19.205 +05:30 bf2f8f35-728f-4077-bc1e-2a03b12027c0 INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 1:14:50 PM', Current time (UTC): '3/11/2024 5:25:19 PM'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) 2024-03-11 22:55:19.233 +05:30 bf2f8f35-728f-4077-bc1e-2a03b12027c0 INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 1:14:50 PM', Current time (UTC): '3/11/2024 5:25:19 PM'. 2024-03-11 22:55:19.240 +05:30 05e35928-abc0-411f-a862-e6da72a93924 INF CORS policy execution successful. 2024-03-11 22:55:19.248 +05:30 05e35928-abc0-411f-a862-e6da72a93924 INF Executing endpoint 'Sang.Security.WebApi.Controllers.LoginController.GetCompany (Sang.Security.WebApi)' 2024-03-11 22:55:19.280 +05:30 05e35928-abc0-411f-a862-e6da72a93924 INF Route matched with {action = "GetCompany", controller = "Login"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCompany() on controller Sang.Security.WebApi.Controllers.LoginController (Sang.Security.WebApi). 2024-03-11 22:55:19.317 +05:30 05e35928-abc0-411f-a862-e6da72a93924 INF Fetching Company deatails 2024-03-11 22:55:19.831 +05:30 05e35928-abc0-411f-a862-e6da72a93924 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 22:55:19.889 +05:30 05e35928-abc0-411f-a862-e6da72a93924 INF Executed action Sang.Security.WebApi.Controllers.LoginController.GetCompany (Sang.Security.WebApi) in 605.0975ms 2024-03-11 22:55:19.890 +05:30 05e35928-abc0-411f-a862-e6da72a93924 INF Executed endpoint 'Sang.Security.WebApi.Controllers.LoginController.GetCompany (Sang.Security.WebApi)' 2024-03-11 22:55:19.893 +05:30 05e35928-abc0-411f-a862-e6da72a93924 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Login/GetCompany - 200 null application/json; charset=utf-8 857.719ms 2024-03-11 22:55:29.225 +05:30 9ca106f7-3178-424a-acbb-fa4ed8090d34 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/login - null null 2024-03-11 22:55:29.232 +05:30 ef5234ed-8400-48a8-82a8-511499381377 INF CORS policy execution successful. 2024-03-11 22:55:29.234 +05:30 ef5234ed-8400-48a8-82a8-511499381377 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/login - 204 null null 8.5363ms 2024-03-11 22:55:29.305 +05:30 8dc5fdb2-03ff-4b10-bc53-39446ae92c19 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Login/login - application/json 54 2024-03-11 22:55:29.307 +05:30 8dc5fdb2-03ff-4b10-bc53-39446ae92c19 INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 1:14:50 PM', Current time (UTC): '3/11/2024 5:25:29 PM'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) 2024-03-11 22:55:29.308 +05:30 8dc5fdb2-03ff-4b10-bc53-39446ae92c19 INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 1:14:50 PM', Current time (UTC): '3/11/2024 5:25:29 PM'. 2024-03-11 22:55:29.308 +05:30 3f0582fa-2bc3-478a-8eef-b4ba16490390 INF CORS policy execution successful. 2024-03-11 22:55:29.309 +05:30 3f0582fa-2bc3-478a-8eef-b4ba16490390 INF Executing endpoint 'Sang.Security.WebApi.Controllers.LoginController.Login (Sang.Security.WebApi)' 2024-03-11 22:55:29.327 +05:30 3f0582fa-2bc3-478a-8eef-b4ba16490390 INF Route matched with {action = "Login", controller = "Login"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Login(Sang.Security.WebApi.Models.LoginRequest) on controller Sang.Security.WebApi.Controllers.LoginController (Sang.Security.WebApi). 2024-03-11 22:55:29.425 +05:30 3f0582fa-2bc3-478a-8eef-b4ba16490390 INF Connection string fetched 2024-03-11 22:55:29.959 +05:30 3f0582fa-2bc3-478a-8eef-b4ba16490390 INF Token generated 2024-03-11 22:55:29.963 +05:30 3f0582fa-2bc3-478a-8eef-b4ba16490390 INF Token generated 2024-03-11 22:55:29.965 +05:30 3f0582fa-2bc3-478a-8eef-b4ba16490390 INF Executing OkObjectResult, writing value of type '<>f__AnonymousType0`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[Sang.Security.WebApi.Models.Tokens, Sang.Security.WebApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2024-03-11 22:55:29.970 +05:30 3f0582fa-2bc3-478a-8eef-b4ba16490390 INF Executed action Sang.Security.WebApi.Controllers.LoginController.Login (Sang.Security.WebApi) in 642.929ms 2024-03-11 22:55:29.970 +05:30 3f0582fa-2bc3-478a-8eef-b4ba16490390 INF Executed endpoint 'Sang.Security.WebApi.Controllers.LoginController.Login (Sang.Security.WebApi)' 2024-03-11 22:55:29.971 +05:30 3f0582fa-2bc3-478a-8eef-b4ba16490390 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Login/login - 200 null application/json; charset=utf-8 666.3713ms 2024-03-11 22:55:30.150 +05:30 d7f66b6f-a9d5-4e82-8111-81d686220729 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 22:55:30.151 +05:30 415eac7b-9169-42f3-a5e1-9e8bde304ada INF CORS policy execution successful. 2024-03-11 22:55:30.152 +05:30 415eac7b-9169-42f3-a5e1-9e8bde304ada INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 204 null null 2.5236ms 2024-03-11 22:55:30.203 +05:30 5a0b33f0-4899-4a4a-b88c-74c74e9f091a INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 22:55:30.204 +05:30 693c9c91-a7aa-4279-a617-16dd90e8d505 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 22:55:30.205 +05:30 96796674-ff62-4495-852c-f8ba01df64a6 INF CORS policy execution successful. 2024-03-11 22:55:30.205 +05:30 c8943cdb-7ef2-4768-aa24-9d121bd0e4f7 INF CORS policy execution successful. 2024-03-11 22:55:30.205 +05:30 c8943cdb-7ef2-4768-aa24-9d121bd0e4f7 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 204 null null 1.9008ms 2024-03-11 22:55:30.205 +05:30 96796674-ff62-4495-852c-f8ba01df64a6 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 204 null null 1.8314ms 2024-03-11 22:55:30.218 +05:30 bffc1fd9-d82a-4114-b7f2-be4d85105fa3 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 22:55:30.220 +05:30 b14edefb-0871-4e70-97d9-76eee767126d INF CORS policy execution successful. 2024-03-11 22:55:30.221 +05:30 b14edefb-0871-4e70-97d9-76eee767126d INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 204 null null 3.8292ms 2024-03-11 22:55:30.224 +05:30 53a37a2c-e803-4cdd-9d5d-93fbe4bc76fe INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 22:55:30.247 +05:30 33f934fd-d1d5-49cb-bf13-476a5836e033 INF CORS policy execution successful. 2024-03-11 22:55:30.248 +05:30 33f934fd-d1d5-49cb-bf13-476a5836e033 INF Executing endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 22:55:30.255 +05:30 33f934fd-d1d5-49cb-bf13-476a5836e033 INF Route matched with {action = "GetCities", controller = "City"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCities() on controller Sang.Security.WebApi.Controllers.CityController (Sang.Security.WebApi). 2024-03-11 22:55:30.265 +05:30 33f934fd-d1d5-49cb-bf13-476a5836e033 INF Connection string fetched 2024-03-11 22:55:30.267 +05:30 284b8a43-0084-4898-855b-55922ca65959 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 22:55:30.267 +05:30 f490b87f-35cd-4deb-8842-4f1234fd3361 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 22:55:30.268 +05:30 33f934fd-d1d5-49cb-bf13-476a5836e033 INF Fetching City deatails 2024-03-11 22:55:30.269 +05:30 dfddc0b7-4361-4a1e-a3e2-5770906aaa10 INF CORS policy execution successful. 2024-03-11 22:55:30.269 +05:30 d8cca512-19e7-416e-89e3-dd1e4bccaecd INF CORS policy execution successful. 2024-03-11 22:55:30.270 +05:30 dfddc0b7-4361-4a1e-a3e2-5770906aaa10 INF Executing endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 22:55:30.270 +05:30 d8cca512-19e7-416e-89e3-dd1e4bccaecd INF Executing endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 22:55:30.274 +05:30 dfddc0b7-4361-4a1e-a3e2-5770906aaa10 INF Route matched with {action = "GetDepartment", controller = "Department"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetDepartment() on controller Sang.Security.WebApi.Controllers.DepartmentController (Sang.Security.WebApi). 2024-03-11 22:55:30.274 +05:30 d8cca512-19e7-416e-89e3-dd1e4bccaecd INF Route matched with {action = "GetCountry", controller = "Country"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCountry() on controller Sang.Security.WebApi.Controllers.CountryController (Sang.Security.WebApi). 2024-03-11 22:55:30.278 +05:30 33f934fd-d1d5-49cb-bf13-476a5836e033 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 22:55:30.279 +05:30 33f934fd-d1d5-49cb-bf13-476a5836e033 INF Executed action Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi) in 23.6226ms 2024-03-11 22:55:30.279 +05:30 33f934fd-d1d5-49cb-bf13-476a5836e033 INF Executed endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 22:55:30.280 +05:30 33f934fd-d1d5-49cb-bf13-476a5836e033 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 200 null application/json; charset=utf-8 55.0517ms 2024-03-11 22:55:30.282 +05:30 dfddc0b7-4361-4a1e-a3e2-5770906aaa10 INF Fetching Department deatails 2024-03-11 22:55:30.282 +05:30 d8cca512-19e7-416e-89e3-dd1e4bccaecd INF Fetching Country deatails 2024-03-11 22:55:30.284 +05:30 d8cca512-19e7-416e-89e3-dd1e4bccaecd INF Connection string fetched 2024-03-11 22:55:30.284 +05:30 dfddc0b7-4361-4a1e-a3e2-5770906aaa10 INF Connection string fetched 2024-03-11 22:55:30.290 +05:30 546247db-40ba-4781-b4a5-d43292f6cfc2 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 22:55:30.293 +05:30 8ebc86c6-48ea-439f-8a4f-3cb0f5ec9ffb INF CORS policy execution successful. 2024-03-11 22:55:30.296 +05:30 dfddc0b7-4361-4a1e-a3e2-5770906aaa10 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 22:55:30.297 +05:30 dfddc0b7-4361-4a1e-a3e2-5770906aaa10 INF Executed action Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi) in 22.3471ms 2024-03-11 22:55:30.297 +05:30 dfddc0b7-4361-4a1e-a3e2-5770906aaa10 INF Executed endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 22:55:30.298 +05:30 dfddc0b7-4361-4a1e-a3e2-5770906aaa10 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 200 null application/json; charset=utf-8 30.8018ms 2024-03-11 22:55:30.299 +05:30 d8cca512-19e7-416e-89e3-dd1e4bccaecd INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 22:55:30.300 +05:30 d8cca512-19e7-416e-89e3-dd1e4bccaecd INF Executed action Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi) in 25.4576ms 2024-03-11 22:55:30.300 +05:30 d8cca512-19e7-416e-89e3-dd1e4bccaecd INF Executed endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 22:55:30.300 +05:30 d8cca512-19e7-416e-89e3-dd1e4bccaecd INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 200 null application/json; charset=utf-8 33.5972ms 2024-03-11 22:55:30.303 +05:30 8ebc86c6-48ea-439f-8a4f-3cb0f5ec9ffb INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 22:55:30.311 +05:30 8ebc86c6-48ea-439f-8a4f-3cb0f5ec9ffb INF Route matched with {action = "GetEmployees", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployees() on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 22:55:30.315 +05:30 8ebc86c6-48ea-439f-8a4f-3cb0f5ec9ffb INF Connection string fetched 2024-03-11 22:55:30.319 +05:30 8ebc86c6-48ea-439f-8a4f-3cb0f5ec9ffb INF Fetching Employees deatails 2024-03-11 22:55:30.338 +05:30 8ebc86c6-48ea-439f-8a4f-3cb0f5ec9ffb INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 22:55:30.342 +05:30 8ebc86c6-48ea-439f-8a4f-3cb0f5ec9ffb INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi) in 29.7341ms 2024-03-11 22:55:30.342 +05:30 8ebc86c6-48ea-439f-8a4f-3cb0f5ec9ffb INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 22:55:30.342 +05:30 8ebc86c6-48ea-439f-8a4f-3cb0f5ec9ffb INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 200 null application/json; charset=utf-8 52.4435ms 2024-03-11 22:56:01.409 +05:30 65ae716d-843b-46fa-88a1-0d6deb8bec4a INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=36 - null null 2024-03-11 22:56:01.411 +05:30 2d931c1f-f3ab-4c4e-b1f6-cb99eb6ff4a2 INF CORS policy execution successful. 2024-03-11 22:56:01.413 +05:30 2d931c1f-f3ab-4c4e-b1f6-cb99eb6ff4a2 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=36 - 204 null null 3.7893ms 2024-03-11 22:56:01.483 +05:30 d89afe5b-5c8f-4ca7-95a8-515bddae899b INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=36 - null null 2024-03-11 22:56:01.488 +05:30 4a1c3f09-8396-4754-b937-0c8e9f271dbd INF CORS policy execution successful. 2024-03-11 22:56:01.496 +05:30 4a1c3f09-8396-4754-b937-0c8e9f271dbd INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi)' 2024-03-11 22:56:01.516 +05:30 4a1c3f09-8396-4754-b937-0c8e9f271dbd INF Route matched with {action = "GetEmployeebyId", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployeebyId(Int32) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 22:56:01.522 +05:30 4a1c3f09-8396-4754-b937-0c8e9f271dbd INF Connection string fetched 2024-03-11 22:56:01.558 +05:30 4a1c3f09-8396-4754-b937-0c8e9f271dbd INF Fetching Employee deatails 2024-03-11 22:56:01.569 +05:30 4a1c3f09-8396-4754-b937-0c8e9f271dbd INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 22:56:01.570 +05:30 4a1c3f09-8396-4754-b937-0c8e9f271dbd INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi) in 54.3138ms 2024-03-11 22:56:01.571 +05:30 4a1c3f09-8396-4754-b937-0c8e9f271dbd INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi)' 2024-03-11 22:56:01.571 +05:30 4a1c3f09-8396-4754-b937-0c8e9f271dbd INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=36 - 200 null application/json; charset=utf-8 88.0624ms 2024-03-11 22:56:13.498 +05:30 4ea1dc89-fc7e-487c-9eed-709d3ae1fe64 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 22:56:13.499 +05:30 27b1e00d-68d4-4994-88ef-4cb514bb7fd6 INF CORS policy execution successful. 2024-03-11 22:56:13.500 +05:30 27b1e00d-68d4-4994-88ef-4cb514bb7fd6 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 2.4932ms 2024-03-11 22:56:13.572 +05:30 3ab9cd77-3ff6-4b48-9c5f-fab66418ab37 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 171 2024-03-11 22:56:13.573 +05:30 0ca6fafc-16a9-4b62-8baa-486231e7278b INF CORS policy execution successful. 2024-03-11 22:56:13.576 +05:30 0ca6fafc-16a9-4b62-8baa-486231e7278b INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 22:56:13.582 +05:30 0ca6fafc-16a9-4b62-8baa-486231e7278b INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 22:56:13.589 +05:30 0ca6fafc-16a9-4b62-8baa-486231e7278b INF Connection string fetched 2024-03-11 22:56:13.650 +05:30 0ca6fafc-16a9-4b62-8baa-486231e7278b INF Upserting Employee deatails 2024-03-11 22:56:13.688 +05:30 0ca6fafc-16a9-4b62-8baa-486231e7278b ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 22:56:13.691 +05:30 0ca6fafc-16a9-4b62-8baa-486231e7278b ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 22:56:13.691 +05:30 0ca6fafc-16a9-4b62-8baa-486231e7278b ERR Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 22:56:13.705 +05:30 0ca6fafc-16a9-4b62-8baa-486231e7278b ERR Upserting Employee Failed System.Exception: Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. ---> System.Data.SqlClient.SqlException (0x80131904): The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) at Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Services.EmployeeRepository.<>c__DisplayClass4_0.<b__0>d.MoveNext() in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 49 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:a5314239-262e-4f24-8808-29e05a200932 Error Number:547,State:0,Class:16 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Services.EmployeeRepository.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 32 at Sang.Security.WebApi.Services.EmployeeService.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Services\EmployeeService.cs:line 16 at Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Controllers\EmployeeController.cs:line 32 2024-03-11 22:56:13.708 +05:30 0ca6fafc-16a9-4b62-8baa-486231e7278b INF Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2024-03-11 22:56:13.745 +05:30 0ca6fafc-16a9-4b62-8baa-486231e7278b INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 163.5165ms 2024-03-11 22:56:13.746 +05:30 0ca6fafc-16a9-4b62-8baa-486231e7278b INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 22:56:13.746 +05:30 0ca6fafc-16a9-4b62-8baa-486231e7278b INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 500 null application/problem+json; charset=utf-8 174.7669ms 2024-03-11 22:57:45.405 +05:30 062d00bf-1b6d-43f9-b861-0e16f6fb124c INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 22:57:45.409 +05:30 4e2c9d5c-9b45-4b87-98c9-25ada755e3b5 INF CORS policy execution successful. 2024-03-11 22:57:45.410 +05:30 4e2c9d5c-9b45-4b87-98c9-25ada755e3b5 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 6.0722ms 2024-03-11 22:57:45.480 +05:30 3873bbde-eb48-4161-8320-29673ffa692b INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 171 2024-03-11 22:57:45.485 +05:30 dff36099-41db-4eae-b39d-9c66bad35b5f INF CORS policy execution successful. 2024-03-11 22:57:45.487 +05:30 dff36099-41db-4eae-b39d-9c66bad35b5f INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 22:57:45.488 +05:30 dff36099-41db-4eae-b39d-9c66bad35b5f INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 22:57:45.496 +05:30 dff36099-41db-4eae-b39d-9c66bad35b5f INF Connection string fetched 2024-03-11 22:57:45.500 +05:30 dff36099-41db-4eae-b39d-9c66bad35b5f INF Upserting Employee deatails 2024-03-11 22:57:45.509 +05:30 dff36099-41db-4eae-b39d-9c66bad35b5f ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 22:57:45.519 +05:30 dff36099-41db-4eae-b39d-9c66bad35b5f ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 22:57:45.519 +05:30 dff36099-41db-4eae-b39d-9c66bad35b5f ERR Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 22:57:45.523 +05:30 dff36099-41db-4eae-b39d-9c66bad35b5f ERR Upserting Employee Failed System.Exception: Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. ---> System.Data.SqlClient.SqlException (0x80131904): The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) at Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Services.EmployeeRepository.<>c__DisplayClass4_0.<b__0>d.MoveNext() in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 49 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:a5314239-262e-4f24-8808-29e05a200932 Error Number:547,State:0,Class:16 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Services.EmployeeRepository.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 32 at Sang.Security.WebApi.Services.EmployeeService.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Services\EmployeeService.cs:line 16 at Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Controllers\EmployeeController.cs:line 32 2024-03-11 22:57:45.524 +05:30 dff36099-41db-4eae-b39d-9c66bad35b5f INF Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2024-03-11 22:57:45.526 +05:30 dff36099-41db-4eae-b39d-9c66bad35b5f INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 36.9514ms 2024-03-11 22:57:45.526 +05:30 dff36099-41db-4eae-b39d-9c66bad35b5f INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 22:57:45.526 +05:30 dff36099-41db-4eae-b39d-9c66bad35b5f INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 500 null application/problem+json; charset=utf-8 46.1884ms 2024-03-11 23:03:39.430 +05:30 b19ca198-28d7-4c51-b766-ebe04c4fe18c INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/GetCompany - null null 2024-03-11 23:03:39.438 +05:30 6c724b2d-0f56-4df7-980f-91aad212d419 INF CORS policy execution successful. 2024-03-11 23:03:39.440 +05:30 6c724b2d-0f56-4df7-980f-91aad212d419 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/GetCompany - 204 null null 11.3891ms 2024-03-11 23:03:39.498 +05:30 a0335d3d-3ca5-476a-b188-5f361d8d212a INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Login/GetCompany - null null 2024-03-11 23:03:39.504 +05:30 a0335d3d-3ca5-476a-b188-5f361d8d212a INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 5:30:29 PM', Current time (UTC): '3/11/2024 5:33:39 PM'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) 2024-03-11 23:03:39.506 +05:30 a0335d3d-3ca5-476a-b188-5f361d8d212a INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 5:30:29 PM', Current time (UTC): '3/11/2024 5:33:39 PM'. 2024-03-11 23:03:39.507 +05:30 a1f23425-7bf4-409f-abc5-86317fc1bb7f INF CORS policy execution successful. 2024-03-11 23:03:39.507 +05:30 a1f23425-7bf4-409f-abc5-86317fc1bb7f INF Executing endpoint 'Sang.Security.WebApi.Controllers.LoginController.GetCompany (Sang.Security.WebApi)' 2024-03-11 23:03:39.508 +05:30 a1f23425-7bf4-409f-abc5-86317fc1bb7f INF Route matched with {action = "GetCompany", controller = "Login"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCompany() on controller Sang.Security.WebApi.Controllers.LoginController (Sang.Security.WebApi). 2024-03-11 23:03:39.518 +05:30 a1f23425-7bf4-409f-abc5-86317fc1bb7f INF Fetching Company deatails 2024-03-11 23:03:39.673 +05:30 a1f23425-7bf4-409f-abc5-86317fc1bb7f INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 23:03:39.675 +05:30 a1f23425-7bf4-409f-abc5-86317fc1bb7f INF Executed action Sang.Security.WebApi.Controllers.LoginController.GetCompany (Sang.Security.WebApi) in 166.3808ms 2024-03-11 23:03:39.675 +05:30 a1f23425-7bf4-409f-abc5-86317fc1bb7f INF Executed endpoint 'Sang.Security.WebApi.Controllers.LoginController.GetCompany (Sang.Security.WebApi)' 2024-03-11 23:03:39.675 +05:30 a1f23425-7bf4-409f-abc5-86317fc1bb7f INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Login/GetCompany - 200 null application/json; charset=utf-8 177.1457ms 2024-03-11 23:03:56.723 +05:30 447b1d4b-dd9c-40ac-ba9b-99ef47ad0960 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/login - null null 2024-03-11 23:03:56.725 +05:30 f88b2250-ac35-4214-b745-3ebbf7767ee4 INF CORS policy execution successful. 2024-03-11 23:03:56.727 +05:30 f88b2250-ac35-4214-b745-3ebbf7767ee4 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Login/login - 204 null null 4.3813ms 2024-03-11 23:03:56.792 +05:30 82e63075-3979-4ce7-8b95-844499e9e3eb INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Login/login - application/json 54 2024-03-11 23:03:56.795 +05:30 82e63075-3979-4ce7-8b95-844499e9e3eb INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 5:30:29 PM', Current time (UTC): '3/11/2024 5:33:56 PM'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) 2024-03-11 23:03:56.797 +05:30 82e63075-3979-4ce7-8b95-844499e9e3eb INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 5:30:29 PM', Current time (UTC): '3/11/2024 5:33:56 PM'. 2024-03-11 23:03:56.797 +05:30 049d491d-4259-47fb-892f-409100be5a7f INF CORS policy execution successful. 2024-03-11 23:03:56.797 +05:30 049d491d-4259-47fb-892f-409100be5a7f INF Executing endpoint 'Sang.Security.WebApi.Controllers.LoginController.Login (Sang.Security.WebApi)' 2024-03-11 23:03:56.798 +05:30 049d491d-4259-47fb-892f-409100be5a7f INF Route matched with {action = "Login", controller = "Login"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Login(Sang.Security.WebApi.Models.LoginRequest) on controller Sang.Security.WebApi.Controllers.LoginController (Sang.Security.WebApi). 2024-03-11 23:03:56.810 +05:30 049d491d-4259-47fb-892f-409100be5a7f INF Connection string fetched 2024-03-11 23:03:57.016 +05:30 049d491d-4259-47fb-892f-409100be5a7f INF Token generated 2024-03-11 23:03:57.016 +05:30 049d491d-4259-47fb-892f-409100be5a7f INF Token generated 2024-03-11 23:03:57.017 +05:30 049d491d-4259-47fb-892f-409100be5a7f INF Executing OkObjectResult, writing value of type '<>f__AnonymousType0`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[Sang.Security.WebApi.Models.Tokens, Sang.Security.WebApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2024-03-11 23:03:57.019 +05:30 049d491d-4259-47fb-892f-409100be5a7f INF Executed action Sang.Security.WebApi.Controllers.LoginController.Login (Sang.Security.WebApi) in 220.7905ms 2024-03-11 23:03:57.020 +05:30 049d491d-4259-47fb-892f-409100be5a7f INF Executed endpoint 'Sang.Security.WebApi.Controllers.LoginController.Login (Sang.Security.WebApi)' 2024-03-11 23:03:57.020 +05:30 049d491d-4259-47fb-892f-409100be5a7f INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Login/login - 200 null application/json; charset=utf-8 227.7577ms 2024-03-11 23:03:57.318 +05:30 b2868b52-fd8a-4b44-98ef-ee9c60acff42 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 23:03:57.319 +05:30 3719826f-3d46-4535-b8e8-eaac96a73061 INF CORS policy execution successful. 2024-03-11 23:03:57.319 +05:30 3719826f-3d46-4535-b8e8-eaac96a73061 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 204 null null 1.4747ms 2024-03-11 23:03:57.372 +05:30 cd4f9929-20c3-43f4-a1c0-b4a02d9a39ba INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 23:03:57.372 +05:30 f759e0d2-381f-4608-bc0c-f4f5336d2db8 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 23:03:57.372 +05:30 048fdbd7-b3ea-4714-9625-aed41d14b8cb INF CORS policy execution successful. 2024-03-11 23:03:57.372 +05:30 e6fed7d2-53ae-4de2-b479-7c6c09c5773d INF CORS policy execution successful. 2024-03-11 23:03:57.373 +05:30 048fdbd7-b3ea-4714-9625-aed41d14b8cb INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 204 null null 0.8908ms 2024-03-11 23:03:57.373 +05:30 e6fed7d2-53ae-4de2-b479-7c6c09c5773d INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 204 null null 0.7857ms 2024-03-11 23:03:57.373 +05:30 68e56ed4-25b8-49fd-9789-5cfe93a86a44 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 23:03:57.374 +05:30 81f62d5b-ff6b-42ca-8855-ae10a60a3682 INF CORS policy execution successful. 2024-03-11 23:03:57.374 +05:30 81f62d5b-ff6b-42ca-8855-ae10a60a3682 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 204 null null 1.0999ms 2024-03-11 23:03:57.375 +05:30 9d958b29-e480-4a56-83f8-f9570200e915 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 23:03:57.377 +05:30 002a273f-3d5a-48a9-b845-50b71d03a2bf INF CORS policy execution successful. 2024-03-11 23:03:57.377 +05:30 002a273f-3d5a-48a9-b845-50b71d03a2bf INF Executing endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 23:03:57.381 +05:30 002a273f-3d5a-48a9-b845-50b71d03a2bf INF Route matched with {action = "GetCities", controller = "City"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCities() on controller Sang.Security.WebApi.Controllers.CityController (Sang.Security.WebApi). 2024-03-11 23:03:57.383 +05:30 002a273f-3d5a-48a9-b845-50b71d03a2bf INF Connection string fetched 2024-03-11 23:03:57.385 +05:30 002a273f-3d5a-48a9-b845-50b71d03a2bf INF Fetching City deatails 2024-03-11 23:03:57.391 +05:30 002a273f-3d5a-48a9-b845-50b71d03a2bf INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 23:03:57.393 +05:30 002a273f-3d5a-48a9-b845-50b71d03a2bf INF Executed action Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi) in 11.5908ms 2024-03-11 23:03:57.393 +05:30 002a273f-3d5a-48a9-b845-50b71d03a2bf INF Executed endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 23:03:57.393 +05:30 002a273f-3d5a-48a9-b845-50b71d03a2bf INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 200 null application/json; charset=utf-8 17.6242ms 2024-03-11 23:03:57.435 +05:30 16b953cd-659d-49fa-9efc-3a0ba3488bba INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 23:03:57.435 +05:30 60f49bee-6e9b-4618-b081-270c8fce5df0 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 23:03:57.436 +05:30 9216edff-5570-4c44-aaff-5c160dc0f707 INF CORS policy execution successful. 2024-03-11 23:03:57.436 +05:30 d84047b3-4688-431d-9af1-237ac9e96768 INF CORS policy execution successful. 2024-03-11 23:03:57.436 +05:30 9216edff-5570-4c44-aaff-5c160dc0f707 INF Executing endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 23:03:57.436 +05:30 b8115178-3901-4fbd-9e28-3e65bcff2bc8 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 23:03:57.436 +05:30 9216edff-5570-4c44-aaff-5c160dc0f707 INF Route matched with {action = "GetCountry", controller = "Country"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCountry() on controller Sang.Security.WebApi.Controllers.CountryController (Sang.Security.WebApi). 2024-03-11 23:03:57.436 +05:30 d84047b3-4688-431d-9af1-237ac9e96768 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 23:03:57.436 +05:30 f7faca76-0c87-4126-8344-3f7c7ddda128 INF CORS policy execution successful. 2024-03-11 23:03:57.436 +05:30 d84047b3-4688-431d-9af1-237ac9e96768 INF Route matched with {action = "GetEmployees", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployees() on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 23:03:57.436 +05:30 f7faca76-0c87-4126-8344-3f7c7ddda128 INF Executing endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 23:03:57.437 +05:30 f7faca76-0c87-4126-8344-3f7c7ddda128 INF Route matched with {action = "GetDepartment", controller = "Department"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetDepartment() on controller Sang.Security.WebApi.Controllers.DepartmentController (Sang.Security.WebApi). 2024-03-11 23:03:57.438 +05:30 d84047b3-4688-431d-9af1-237ac9e96768 INF Fetching Employees deatails 2024-03-11 23:03:57.438 +05:30 9216edff-5570-4c44-aaff-5c160dc0f707 INF Connection string fetched 2024-03-11 23:03:57.439 +05:30 9216edff-5570-4c44-aaff-5c160dc0f707 INF Fetching Country deatails 2024-03-11 23:03:57.439 +05:30 f7faca76-0c87-4126-8344-3f7c7ddda128 INF Fetching Department deatails 2024-03-11 23:03:57.443 +05:30 9216edff-5570-4c44-aaff-5c160dc0f707 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 23:03:57.444 +05:30 9216edff-5570-4c44-aaff-5c160dc0f707 INF Executed action Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi) in 7.7823ms 2024-03-11 23:03:57.444 +05:30 9216edff-5570-4c44-aaff-5c160dc0f707 INF Executed endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 23:03:57.444 +05:30 9216edff-5570-4c44-aaff-5c160dc0f707 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 200 null application/json; charset=utf-8 9.7311ms 2024-03-11 23:03:57.450 +05:30 d84047b3-4688-431d-9af1-237ac9e96768 INF Connection string fetched 2024-03-11 23:03:57.452 +05:30 f7faca76-0c87-4126-8344-3f7c7ddda128 INF Connection string fetched 2024-03-11 23:03:57.459 +05:30 f7faca76-0c87-4126-8344-3f7c7ddda128 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 23:03:57.460 +05:30 f7faca76-0c87-4126-8344-3f7c7ddda128 INF Executed action Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi) in 23.036ms 2024-03-11 23:03:57.460 +05:30 f7faca76-0c87-4126-8344-3f7c7ddda128 INF Executed endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 23:03:57.460 +05:30 f7faca76-0c87-4126-8344-3f7c7ddda128 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 200 null application/json; charset=utf-8 24.0739ms 2024-03-11 23:03:57.468 +05:30 d84047b3-4688-431d-9af1-237ac9e96768 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 23:03:57.469 +05:30 d84047b3-4688-431d-9af1-237ac9e96768 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi) in 32.8655ms 2024-03-11 23:03:57.470 +05:30 d84047b3-4688-431d-9af1-237ac9e96768 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 23:03:57.470 +05:30 d84047b3-4688-431d-9af1-237ac9e96768 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 200 null application/json; charset=utf-8 34.9361ms 2024-03-11 23:04:10.247 +05:30 ae6e507b-5a69-4abd-8298-46a9e9c07ef1 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=21 - null null 2024-03-11 23:04:10.249 +05:30 bce74332-cf2e-47a9-b1cb-dfaa9e04d31a INF CORS policy execution successful. 2024-03-11 23:04:10.250 +05:30 bce74332-cf2e-47a9-b1cb-dfaa9e04d31a INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=21 - 204 null null 2.908ms 2024-03-11 23:04:10.310 +05:30 798e2fe5-6fe5-43e1-bf83-4229871674d7 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=21 - null null 2024-03-11 23:04:10.314 +05:30 fb8de1f4-56ba-48b9-b014-ad5bd679b9af INF CORS policy execution successful. 2024-03-11 23:04:10.314 +05:30 fb8de1f4-56ba-48b9-b014-ad5bd679b9af INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi)' 2024-03-11 23:04:10.315 +05:30 fb8de1f4-56ba-48b9-b014-ad5bd679b9af INF Route matched with {action = "GetEmployeebyId", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployeebyId(Int32) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 23:04:10.319 +05:30 fb8de1f4-56ba-48b9-b014-ad5bd679b9af INF Connection string fetched 2024-03-11 23:04:10.321 +05:30 fb8de1f4-56ba-48b9-b014-ad5bd679b9af INF Fetching Employee deatails 2024-03-11 23:04:10.333 +05:30 fb8de1f4-56ba-48b9-b014-ad5bd679b9af INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 23:04:10.335 +05:30 fb8de1f4-56ba-48b9-b014-ad5bd679b9af INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi) in 20.0621ms 2024-03-11 23:04:10.335 +05:30 fb8de1f4-56ba-48b9-b014-ad5bd679b9af INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployeebyId (Sang.Security.WebApi)' 2024-03-11 23:04:10.336 +05:30 fb8de1f4-56ba-48b9-b014-ad5bd679b9af INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployeebyId?id=21 - 200 null application/json; charset=utf-8 25.8867ms 2024-03-11 23:04:13.567 +05:30 9726aee2-2f6c-4c06-a112-c2e435bcbd75 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 23:04:13.568 +05:30 5263e9da-d677-4858-b5f3-4e45d3184e87 INF CORS policy execution successful. 2024-03-11 23:04:13.569 +05:30 5263e9da-d677-4858-b5f3-4e45d3184e87 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 1.6078ms 2024-03-11 23:04:13.628 +05:30 ea0443b3-0509-462d-8d5c-b5d6a356e2d4 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 175 2024-03-11 23:04:13.629 +05:30 441cb80c-8508-480c-b79d-4e3e8dae907c INF CORS policy execution successful. 2024-03-11 23:04:13.630 +05:30 441cb80c-8508-480c-b79d-4e3e8dae907c INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 23:04:13.630 +05:30 441cb80c-8508-480c-b79d-4e3e8dae907c INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 23:04:13.634 +05:30 441cb80c-8508-480c-b79d-4e3e8dae907c INF Connection string fetched 2024-03-11 23:04:13.637 +05:30 441cb80c-8508-480c-b79d-4e3e8dae907c INF Upserting Employee deatails 2024-03-11 23:04:13.659 +05:30 441cb80c-8508-480c-b79d-4e3e8dae907c ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 23:04:13.661 +05:30 441cb80c-8508-480c-b79d-4e3e8dae907c ERR The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 23:04:13.661 +05:30 441cb80c-8508-480c-b79d-4e3e8dae907c ERR Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. 2024-03-11 23:04:13.664 +05:30 441cb80c-8508-480c-b79d-4e3e8dae907c ERR Upserting Employee Failed System.Exception: Database connection error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. ---> System.Data.SqlClient.SqlException (0x80131904): The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_t_m_Employee_t_m_Department". The conflict occurred in database "SANG_01", table "dbo.t_m_Department", column 'iId'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) at Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Services.EmployeeRepository.<>c__DisplayClass4_0.<b__0>d.MoveNext() in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 49 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:2105036e-d85c-4837-a054-b3a5858c6316 Error Number:547,State:0,Class:16 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Services.EmployeeRepository.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Repositories\EmployeeRepository.cs:line 32 at Sang.Security.WebApi.Services.EmployeeService.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Services\EmployeeService.cs:line 16 at Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee(Employee employee) in C:\Users\Lenovo\source\repos\Sang.WebApi\Sang.WebApi\Sang.Security.WebApi\Controllers\EmployeeController.cs:line 32 2024-03-11 23:04:13.665 +05:30 441cb80c-8508-480c-b79d-4e3e8dae907c INF Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2024-03-11 23:04:13.666 +05:30 441cb80c-8508-480c-b79d-4e3e8dae907c INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 35.7709ms 2024-03-11 23:04:13.666 +05:30 441cb80c-8508-480c-b79d-4e3e8dae907c INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 23:04:13.666 +05:30 441cb80c-8508-480c-b79d-4e3e8dae907c INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 500 null application/problem+json; charset=utf-8 39.0046ms 2024-03-11 23:06:42.377 +05:30 f114a5a5-4bb7-4956-82d5-57fe5123772d INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 23:06:42.381 +05:30 588c906d-719f-40b0-b590-d53836ddc89a INF CORS policy execution successful. 2024-03-11 23:06:42.382 +05:30 588c906d-719f-40b0-b590-d53836ddc89a INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 5.2835ms 2024-03-11 23:06:42.439 +05:30 b8156bea-dc67-4703-835a-3cef8d461c73 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 190 2024-03-11 23:06:42.443 +05:30 669e5f8e-7142-4e0a-9114-6b6be644f2f0 INF CORS policy execution successful. 2024-03-11 23:06:42.444 +05:30 669e5f8e-7142-4e0a-9114-6b6be644f2f0 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 23:06:42.445 +05:30 669e5f8e-7142-4e0a-9114-6b6be644f2f0 INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 23:06:42.451 +05:30 669e5f8e-7142-4e0a-9114-6b6be644f2f0 INF Connection string fetched 2024-03-11 23:06:42.460 +05:30 669e5f8e-7142-4e0a-9114-6b6be644f2f0 INF Upserting Employee deatails 2024-03-11 23:06:42.471 +05:30 669e5f8e-7142-4e0a-9114-6b6be644f2f0 INF Validating Upsert result. 2024-03-11 23:06:42.474 +05:30 669e5f8e-7142-4e0a-9114-6b6be644f2f0 INF Executing CreatedAtActionResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 23:06:42.523 +05:30 669e5f8e-7142-4e0a-9114-6b6be644f2f0 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 77.6785ms 2024-03-11 23:06:42.523 +05:30 669e5f8e-7142-4e0a-9114-6b6be644f2f0 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 23:06:42.524 +05:30 669e5f8e-7142-4e0a-9114-6b6be644f2f0 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 201 null application/json; charset=utf-8 84.7435ms 2024-03-11 23:06:44.115 +05:30 bf70c592-5be8-4caf-aefa-0359a8982577 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 23:06:44.116 +05:30 72b1a275-89cb-4e87-906c-69d6be447625 INF CORS policy execution successful. 2024-03-11 23:06:44.116 +05:30 72b1a275-89cb-4e87-906c-69d6be447625 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 204 null null 1.0301ms 2024-03-11 23:06:44.173 +05:30 5963012f-b9d2-4d47-abf2-646f1958a765 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 23:06:44.174 +05:30 2c43148e-a5cf-405f-a039-2714922258cf INF CORS policy execution successful. 2024-03-11 23:06:44.175 +05:30 2c43148e-a5cf-405f-a039-2714922258cf INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 23:06:44.175 +05:30 2c43148e-a5cf-405f-a039-2714922258cf INF Route matched with {action = "GetEmployees", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployees() on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 23:06:44.177 +05:30 2c43148e-a5cf-405f-a039-2714922258cf INF Connection string fetched 2024-03-11 23:06:44.177 +05:30 2c43148e-a5cf-405f-a039-2714922258cf INF Fetching Employees deatails 2024-03-11 23:06:44.180 +05:30 2c43148e-a5cf-405f-a039-2714922258cf INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 23:06:44.181 +05:30 2c43148e-a5cf-405f-a039-2714922258cf INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi) in 5.5175ms 2024-03-11 23:06:44.181 +05:30 2c43148e-a5cf-405f-a039-2714922258cf INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 23:06:44.181 +05:30 2c43148e-a5cf-405f-a039-2714922258cf INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 200 null application/json; charset=utf-8 7.8908ms 2024-03-11 23:16:05.697 +05:30 13208c84-1f9a-4fb7-ab59-d15b33903d59 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 23:16:05.699 +05:30 ce360b2b-c5c6-4f7b-8ee8-4d28974b0c22 INF CORS policy execution successful. 2024-03-11 23:16:05.701 +05:30 ce360b2b-c5c6-4f7b-8ee8-4d28974b0c22 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 4.2526ms 2024-03-11 23:16:05.758 +05:30 e0a58967-5bad-4ab9-b951-b48294d1d09c INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 189 2024-03-11 23:16:05.762 +05:30 e0a58967-5bad-4ab9-b951-b48294d1d09c INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 5:38:57 PM', Current time (UTC): '3/11/2024 5:46:05 PM'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) 2024-03-11 23:16:05.765 +05:30 e0a58967-5bad-4ab9-b951-b48294d1d09c INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 5:38:57 PM', Current time (UTC): '3/11/2024 5:46:05 PM'. 2024-03-11 23:16:05.765 +05:30 bdb2856b-895c-4ba1-91cd-06f4ecd712dc INF CORS policy execution successful. 2024-03-11 23:16:05.775 +05:30 bdb2856b-895c-4ba1-91cd-06f4ecd712dc INF Authorization failed. These requirements were not met: DenyAnonymousAuthorizationRequirement: Requires an authenticated user. 2024-03-11 23:16:05.784 +05:30 bdb2856b-895c-4ba1-91cd-06f4ecd712dc INF AuthenticationScheme: Bearer was challenged. 2024-03-11 23:16:05.786 +05:30 bdb2856b-895c-4ba1-91cd-06f4ecd712dc INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 401 null null 27.3418ms 2024-03-11 23:16:05.850 +05:30 96351bf2-c67b-451e-9615-2133a7257ec8 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens?refershToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiYWRtaW4iLCJ1bmlxdWVfbmFtZSI6ImFkbWluIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZG5zIjoiMSIsIm5iZiI6MTcxMDE3ODQzNywiZXhwIjoxNzEwMTgwMjM3LCJpYXQiOjE3MTAxNzg0Mzd9.itlg43VcOAK1YMdj-dfkCJYoHiU3W_9iv-rjMGMxX_4 - null null 2024-03-11 23:16:05.854 +05:30 ce3e38f1-8f3c-4531-ba92-4843b2b9feb0 INF CORS policy execution successful. 2024-03-11 23:16:05.854 +05:30 ce3e38f1-8f3c-4531-ba92-4843b2b9feb0 INF Executing endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 23:16:05.867 +05:30 ce3e38f1-8f3c-4531-ba92-4843b2b9feb0 INF Route matched with {action = "RegenerateTokens", controller = "Security"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Sang.Security.WebApi.Models.Tokens]] RegenerateTokens(System.String) on controller Sang.Security.WebApi.Controllers.SecurityController (Sang.Security.WebApi). 2024-03-11 23:16:06.032 +05:30 ce3e38f1-8f3c-4531-ba92-4843b2b9feb0 INF Token generated 2024-03-11 23:16:06.032 +05:30 ce3e38f1-8f3c-4531-ba92-4843b2b9feb0 INF Token generated 2024-03-11 23:16:06.035 +05:30 ce3e38f1-8f3c-4531-ba92-4843b2b9feb0 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.Tokens'. 2024-03-11 23:16:06.037 +05:30 ce3e38f1-8f3c-4531-ba92-4843b2b9feb0 INF Executed action Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi) in 170.0923ms 2024-03-11 23:16:06.038 +05:30 ce3e38f1-8f3c-4531-ba92-4843b2b9feb0 INF Executed endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 23:16:06.038 +05:30 ce3e38f1-8f3c-4531-ba92-4843b2b9feb0 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens?refershToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiYWRtaW4iLCJ1bmlxdWVfbmFtZSI6ImFkbWluIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZG5zIjoiMSIsIm5iZiI6MTcxMDE3ODQzNywiZXhwIjoxNzEwMTgwMjM3LCJpYXQiOjE3MTAxNzg0Mzd9.itlg43VcOAK1YMdj-dfkCJYoHiU3W_9iv-rjMGMxX_4 - 200 null application/json; charset=utf-8 187.9044ms 2024-03-11 23:16:06.161 +05:30 ed43aab1-40d9-461b-92e1-104f9b792f2f INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 189 2024-03-11 23:16:06.162 +05:30 a085b146-a641-49d9-98b3-891de1e05be1 INF CORS policy execution successful. 2024-03-11 23:16:06.162 +05:30 a085b146-a641-49d9-98b3-891de1e05be1 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 23:16:06.162 +05:30 a085b146-a641-49d9-98b3-891de1e05be1 INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 23:16:06.168 +05:30 a085b146-a641-49d9-98b3-891de1e05be1 INF Connection string fetched 2024-03-11 23:16:06.170 +05:30 a085b146-a641-49d9-98b3-891de1e05be1 INF Upserting Employee deatails 2024-03-11 23:16:06.193 +05:30 a085b146-a641-49d9-98b3-891de1e05be1 INF Validating Upsert result. 2024-03-11 23:16:06.194 +05:30 a085b146-a641-49d9-98b3-891de1e05be1 INF Executing CreatedAtActionResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 23:16:06.197 +05:30 a085b146-a641-49d9-98b3-891de1e05be1 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 34.2418ms 2024-03-11 23:16:06.197 +05:30 a085b146-a641-49d9-98b3-891de1e05be1 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 23:16:06.197 +05:30 a085b146-a641-49d9-98b3-891de1e05be1 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 201 null application/json; charset=utf-8 35.973ms 2024-03-11 23:16:24.421 +05:30 b94f4800-8137-4dd3-9ce6-79cd13ad8a52 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 23:16:24.422 +05:30 53b53863-85a9-4f77-aa0a-de2a92f19986 INF CORS policy execution successful. 2024-03-11 23:16:24.423 +05:30 53b53863-85a9-4f77-aa0a-de2a92f19986 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 204 null null 2.0952ms 2024-03-11 23:16:24.476 +05:30 9eed93d0-4d00-428b-b537-70e0da37f31c INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 23:16:24.476 +05:30 41147456-7a24-4810-8278-c7af6dbd753c INF CORS policy execution successful. 2024-03-11 23:16:24.477 +05:30 41147456-7a24-4810-8278-c7af6dbd753c INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 204 null null 0.8752ms 2024-03-11 23:16:24.477 +05:30 411b9e8e-2f36-4f29-b50e-4e5f198b34fc INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 23:16:24.477 +05:30 f58fee65-6f52-4769-9cbd-5b48c1c3b108 INF CORS policy execution successful. 2024-03-11 23:16:24.477 +05:30 f58fee65-6f52-4769-9cbd-5b48c1c3b108 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 204 null null 0.4528ms 2024-03-11 23:16:24.477 +05:30 2a991608-0539-4c84-9c06-bd8894424586 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 23:16:24.478 +05:30 01c38a42-16ed-4612-a104-689b7e5555ce INF CORS policy execution successful. 2024-03-11 23:16:24.478 +05:30 01c38a42-16ed-4612-a104-689b7e5555ce INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 204 null null 0.5949ms 2024-03-11 23:16:24.478 +05:30 21a07f6b-407c-420c-a57d-618748ca92b4 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 23:16:24.480 +05:30 88feebdf-f3a5-4a38-91f8-e41a5c48d5e8 INF CORS policy execution successful. 2024-03-11 23:16:24.480 +05:30 88feebdf-f3a5-4a38-91f8-e41a5c48d5e8 INF Executing endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 23:16:24.481 +05:30 88feebdf-f3a5-4a38-91f8-e41a5c48d5e8 INF Route matched with {action = "GetCities", controller = "City"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCities() on controller Sang.Security.WebApi.Controllers.CityController (Sang.Security.WebApi). 2024-03-11 23:16:24.494 +05:30 88feebdf-f3a5-4a38-91f8-e41a5c48d5e8 INF Connection string fetched 2024-03-11 23:16:24.494 +05:30 88feebdf-f3a5-4a38-91f8-e41a5c48d5e8 INF Fetching City deatails 2024-03-11 23:16:24.501 +05:30 88feebdf-f3a5-4a38-91f8-e41a5c48d5e8 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 23:16:24.502 +05:30 88feebdf-f3a5-4a38-91f8-e41a5c48d5e8 INF Executed action Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi) in 21.1869ms 2024-03-11 23:16:24.502 +05:30 88feebdf-f3a5-4a38-91f8-e41a5c48d5e8 INF Executed endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 23:16:24.503 +05:30 88feebdf-f3a5-4a38-91f8-e41a5c48d5e8 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 200 null application/json; charset=utf-8 24.2229ms 2024-03-11 23:16:24.534 +05:30 6a01349b-02c7-4ed8-816f-b7b86e2cdec7 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 23:16:24.534 +05:30 10600812-3bc2-4494-ac8f-9e569e8aa4ca INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 23:16:24.534 +05:30 c25e5684-e877-4be9-9edf-7686faf251a4 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 23:16:24.535 +05:30 f7346b3b-dc17-4401-9c00-6f62fcc38e75 INF CORS policy execution successful. 2024-03-11 23:16:24.535 +05:30 d01610aa-a4ad-4665-bcc3-2bca4a91ed6a INF CORS policy execution successful. 2024-03-11 23:16:24.535 +05:30 a626c4b5-1ef5-4ae7-92b0-ec9bc893957d INF CORS policy execution successful. 2024-03-11 23:16:24.535 +05:30 f7346b3b-dc17-4401-9c00-6f62fcc38e75 INF Executing endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 23:16:24.535 +05:30 a626c4b5-1ef5-4ae7-92b0-ec9bc893957d INF Executing endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 23:16:24.536 +05:30 d01610aa-a4ad-4665-bcc3-2bca4a91ed6a INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 23:16:24.536 +05:30 f7346b3b-dc17-4401-9c00-6f62fcc38e75 INF Route matched with {action = "GetDepartment", controller = "Department"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetDepartment() on controller Sang.Security.WebApi.Controllers.DepartmentController (Sang.Security.WebApi). 2024-03-11 23:16:24.536 +05:30 a626c4b5-1ef5-4ae7-92b0-ec9bc893957d INF Route matched with {action = "GetCountry", controller = "Country"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCountry() on controller Sang.Security.WebApi.Controllers.CountryController (Sang.Security.WebApi). 2024-03-11 23:16:24.536 +05:30 d01610aa-a4ad-4665-bcc3-2bca4a91ed6a INF Route matched with {action = "GetEmployees", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployees() on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 23:16:24.538 +05:30 d01610aa-a4ad-4665-bcc3-2bca4a91ed6a INF Connection string fetched 2024-03-11 23:16:24.538 +05:30 d01610aa-a4ad-4665-bcc3-2bca4a91ed6a INF Fetching Employees deatails 2024-03-11 23:16:24.539 +05:30 f7346b3b-dc17-4401-9c00-6f62fcc38e75 INF Fetching Department deatails 2024-03-11 23:16:24.540 +05:30 a626c4b5-1ef5-4ae7-92b0-ec9bc893957d INF Fetching Country deatails 2024-03-11 23:16:24.551 +05:30 d01610aa-a4ad-4665-bcc3-2bca4a91ed6a INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 23:16:24.553 +05:30 d01610aa-a4ad-4665-bcc3-2bca4a91ed6a INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi) in 16.1124ms 2024-03-11 23:16:24.553 +05:30 d01610aa-a4ad-4665-bcc3-2bca4a91ed6a INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 23:16:24.553 +05:30 d01610aa-a4ad-4665-bcc3-2bca4a91ed6a INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 200 null application/json; charset=utf-8 18.7872ms 2024-03-11 23:16:24.556 +05:30 a626c4b5-1ef5-4ae7-92b0-ec9bc893957d INF Connection string fetched 2024-03-11 23:16:24.556 +05:30 f7346b3b-dc17-4401-9c00-6f62fcc38e75 INF Connection string fetched 2024-03-11 23:16:24.561 +05:30 a626c4b5-1ef5-4ae7-92b0-ec9bc893957d INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 23:16:24.563 +05:30 a626c4b5-1ef5-4ae7-92b0-ec9bc893957d INF Executed action Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi) in 26.2941ms 2024-03-11 23:16:24.563 +05:30 a626c4b5-1ef5-4ae7-92b0-ec9bc893957d INF Executed endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 23:16:24.563 +05:30 f7346b3b-dc17-4401-9c00-6f62fcc38e75 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 23:16:24.563 +05:30 a626c4b5-1ef5-4ae7-92b0-ec9bc893957d INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 200 null application/json; charset=utf-8 29.133ms 2024-03-11 23:16:24.564 +05:30 f7346b3b-dc17-4401-9c00-6f62fcc38e75 INF Executed action Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi) in 27.7174ms 2024-03-11 23:16:24.564 +05:30 f7346b3b-dc17-4401-9c00-6f62fcc38e75 INF Executed endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 23:16:24.564 +05:30 f7346b3b-dc17-4401-9c00-6f62fcc38e75 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 200 null application/json; charset=utf-8 30.2329ms 2024-03-11 23:16:59.709 +05:30 2d69b58e-3a55-472e-ab7a-2d6562261e2a INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 23:16:59.709 +05:30 006516af-c424-4bbb-a2c3-460d777d1f7f INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 23:16:59.710 +05:30 a4125db2-b61a-4110-a2a1-3c4660f8952a INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 23:16:59.711 +05:30 165d5043-8e7a-405c-97b2-ca54bc1c5584 INF CORS policy execution successful. 2024-03-11 23:16:59.711 +05:30 6603df33-1079-49c3-a143-73a83d417434 INF CORS policy execution successful. 2024-03-11 23:16:59.711 +05:30 d609b174-dea0-4253-9c13-c40ad2817060 INF CORS policy execution successful. 2024-03-11 23:16:59.710 +05:30 e51e6613-27e7-46c3-967c-116fcdef5c81 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 23:16:59.711 +05:30 f7c04c5c-a7de-463a-b03e-9f14f31ea69a INF CORS policy execution successful. 2024-03-11 23:16:59.712 +05:30 6603df33-1079-49c3-a143-73a83d417434 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 204 null null 2.7195ms 2024-03-11 23:16:59.712 +05:30 d609b174-dea0-4253-9c13-c40ad2817060 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 204 null null 2.3142ms 2024-03-11 23:16:59.712 +05:30 165d5043-8e7a-405c-97b2-ca54bc1c5584 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 204 null null 1.6086ms 2024-03-11 23:16:59.712 +05:30 f7c04c5c-a7de-463a-b03e-9f14f31ea69a INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 204 null null 1.7991ms 2024-03-11 23:16:59.769 +05:30 63d12593-b2b6-4c73-9cfa-eddfb0ad58ec INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 23:16:59.769 +05:30 ec101616-2dd2-40a3-99e4-fb9f06d42d29 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 23:16:59.769 +05:30 09ac2cca-1722-47b0-8738-738bebbb432b INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 23:16:59.769 +05:30 2f61fa5e-3441-4b1b-9b6e-bd47221d3e2c INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 23:16:59.771 +05:30 3e499b9f-d38f-48fc-b2cb-097203e7892d INF CORS policy execution successful. 2024-03-11 23:16:59.771 +05:30 07cd3bc1-2694-43c1-a5c5-ff70f3ebbfeb INF CORS policy execution successful. 2024-03-11 23:16:59.771 +05:30 808a9d15-0831-4d74-a75b-688a3816c45d INF CORS policy execution successful. 2024-03-11 23:16:59.771 +05:30 07cd3bc1-2694-43c1-a5c5-ff70f3ebbfeb INF Executing endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 23:16:59.771 +05:30 3e499b9f-d38f-48fc-b2cb-097203e7892d INF Executing endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 23:16:59.772 +05:30 24d305d3-734f-47c7-a245-7feef6f394b4 INF CORS policy execution successful. 2024-03-11 23:16:59.772 +05:30 808a9d15-0831-4d74-a75b-688a3816c45d INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 23:16:59.772 +05:30 24d305d3-734f-47c7-a245-7feef6f394b4 INF Executing endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 23:16:59.772 +05:30 24d305d3-734f-47c7-a245-7feef6f394b4 INF Route matched with {action = "GetCities", controller = "City"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCities() on controller Sang.Security.WebApi.Controllers.CityController (Sang.Security.WebApi). 2024-03-11 23:16:59.772 +05:30 3e499b9f-d38f-48fc-b2cb-097203e7892d INF Route matched with {action = "GetDepartment", controller = "Department"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetDepartment() on controller Sang.Security.WebApi.Controllers.DepartmentController (Sang.Security.WebApi). 2024-03-11 23:16:59.772 +05:30 07cd3bc1-2694-43c1-a5c5-ff70f3ebbfeb INF Route matched with {action = "GetCountry", controller = "Country"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCountry() on controller Sang.Security.WebApi.Controllers.CountryController (Sang.Security.WebApi). 2024-03-11 23:16:59.772 +05:30 808a9d15-0831-4d74-a75b-688a3816c45d INF Route matched with {action = "GetEmployees", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployees() on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 23:16:59.774 +05:30 07cd3bc1-2694-43c1-a5c5-ff70f3ebbfeb INF Fetching Country deatails 2024-03-11 23:16:59.775 +05:30 3e499b9f-d38f-48fc-b2cb-097203e7892d INF Connection string fetched 2024-03-11 23:16:59.775 +05:30 808a9d15-0831-4d74-a75b-688a3816c45d INF Connection string fetched 2024-03-11 23:16:59.776 +05:30 3e499b9f-d38f-48fc-b2cb-097203e7892d INF Fetching Department deatails 2024-03-11 23:16:59.776 +05:30 24d305d3-734f-47c7-a245-7feef6f394b4 INF Connection string fetched 2024-03-11 23:16:59.776 +05:30 808a9d15-0831-4d74-a75b-688a3816c45d INF Fetching Employees deatails 2024-03-11 23:16:59.776 +05:30 24d305d3-734f-47c7-a245-7feef6f394b4 INF Fetching City deatails 2024-03-11 23:16:59.777 +05:30 3e499b9f-d38f-48fc-b2cb-097203e7892d INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 23:16:59.778 +05:30 3e499b9f-d38f-48fc-b2cb-097203e7892d INF Executed action Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi) in 5.6881ms 2024-03-11 23:16:59.778 +05:30 24d305d3-734f-47c7-a245-7feef6f394b4 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 23:16:59.778 +05:30 3e499b9f-d38f-48fc-b2cb-097203e7892d INF Executed endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 23:16:59.778 +05:30 3e499b9f-d38f-48fc-b2cb-097203e7892d INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 200 null application/json; charset=utf-8 9.173ms 2024-03-11 23:16:59.778 +05:30 808a9d15-0831-4d74-a75b-688a3816c45d INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 23:16:59.778 +05:30 24d305d3-734f-47c7-a245-7feef6f394b4 INF Executed action Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi) in 6.1778ms 2024-03-11 23:16:59.778 +05:30 24d305d3-734f-47c7-a245-7feef6f394b4 INF Executed endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 23:16:59.778 +05:30 24d305d3-734f-47c7-a245-7feef6f394b4 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 200 null application/json; charset=utf-8 9.4907ms 2024-03-11 23:16:59.779 +05:30 808a9d15-0831-4d74-a75b-688a3816c45d INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi) in 6.8239ms 2024-03-11 23:16:59.779 +05:30 808a9d15-0831-4d74-a75b-688a3816c45d INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 23:16:59.779 +05:30 808a9d15-0831-4d74-a75b-688a3816c45d INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 200 null application/json; charset=utf-8 10.4009ms 2024-03-11 23:16:59.787 +05:30 07cd3bc1-2694-43c1-a5c5-ff70f3ebbfeb INF Connection string fetched 2024-03-11 23:16:59.787 +05:30 07cd3bc1-2694-43c1-a5c5-ff70f3ebbfeb INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 23:16:59.788 +05:30 07cd3bc1-2694-43c1-a5c5-ff70f3ebbfeb INF Executed action Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi) in 15.9493ms 2024-03-11 23:16:59.788 +05:30 07cd3bc1-2694-43c1-a5c5-ff70f3ebbfeb INF Executed endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 23:16:59.789 +05:30 07cd3bc1-2694-43c1-a5c5-ff70f3ebbfeb INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 200 null application/json; charset=utf-8 19.6694ms 2024-03-11 23:22:44.708 +05:30 3b3f4fea-00b0-40e3-beea-9701de40011d INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 23:22:44.713 +05:30 511ffc9e-02ba-4b14-88a7-35c619753c34 INF CORS policy execution successful. 2024-03-11 23:22:44.714 +05:30 511ffc9e-02ba-4b14-88a7-35c619753c34 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 5.4736ms 2024-03-11 23:22:44.785 +05:30 63519937-86ea-4c5d-8c0b-cb1b9baab75d INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 199 2024-03-11 23:22:44.789 +05:30 63519937-86ea-4c5d-8c0b-cb1b9baab75d INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 5:51:06 PM', Current time (UTC): '3/11/2024 5:52:44 PM'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) 2024-03-11 23:22:44.791 +05:30 63519937-86ea-4c5d-8c0b-cb1b9baab75d INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 5:51:06 PM', Current time (UTC): '3/11/2024 5:52:44 PM'. 2024-03-11 23:22:44.791 +05:30 38247c15-78c3-4bbb-ab19-76eda8b88943 INF CORS policy execution successful. 2024-03-11 23:22:44.793 +05:30 38247c15-78c3-4bbb-ab19-76eda8b88943 INF Authorization failed. These requirements were not met: DenyAnonymousAuthorizationRequirement: Requires an authenticated user. 2024-03-11 23:22:44.794 +05:30 38247c15-78c3-4bbb-ab19-76eda8b88943 INF AuthenticationScheme: Bearer was challenged. 2024-03-11 23:22:44.795 +05:30 38247c15-78c3-4bbb-ab19-76eda8b88943 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 401 null null 9.8867ms 2024-03-11 23:22:44.868 +05:30 7a116f5f-5934-4cdd-9b83-ec42743cbe6b INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens?refershToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiYWRtaW4iLCJ1bmlxdWVfbmFtZSI6ImFkbWluIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZG5zIjoiMSIsIm5iZiI6MTcxMDE3OTE2NiwiZXhwIjoxNzEwMTgwOTY2LCJpYXQiOjE3MTAxNzkxNjZ9.3ej2hm_6bEHPFCumeTqOxCXVkXnDt0jcyvud2d1YtFo - null null 2024-03-11 23:22:44.869 +05:30 be606390-83bf-4121-8cdc-da2a71974193 INF CORS policy execution successful. 2024-03-11 23:22:44.869 +05:30 be606390-83bf-4121-8cdc-da2a71974193 INF Executing endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 23:22:44.870 +05:30 be606390-83bf-4121-8cdc-da2a71974193 INF Route matched with {action = "RegenerateTokens", controller = "Security"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Sang.Security.WebApi.Models.Tokens]] RegenerateTokens(System.String) on controller Sang.Security.WebApi.Controllers.SecurityController (Sang.Security.WebApi). 2024-03-11 23:22:45.034 +05:30 be606390-83bf-4121-8cdc-da2a71974193 INF Token generated 2024-03-11 23:22:45.034 +05:30 be606390-83bf-4121-8cdc-da2a71974193 INF Token generated 2024-03-11 23:22:45.035 +05:30 be606390-83bf-4121-8cdc-da2a71974193 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.Tokens'. 2024-03-11 23:22:45.036 +05:30 be606390-83bf-4121-8cdc-da2a71974193 INF Executed action Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi) in 165.7619ms 2024-03-11 23:22:45.036 +05:30 be606390-83bf-4121-8cdc-da2a71974193 INF Executed endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 23:22:45.037 +05:30 be606390-83bf-4121-8cdc-da2a71974193 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens?refershToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiYWRtaW4iLCJ1bmlxdWVfbmFtZSI6ImFkbWluIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZG5zIjoiMSIsIm5iZiI6MTcxMDE3OTE2NiwiZXhwIjoxNzEwMTgwOTY2LCJpYXQiOjE3MTAxNzkxNjZ9.3ej2hm_6bEHPFCumeTqOxCXVkXnDt0jcyvud2d1YtFo - 200 null application/json; charset=utf-8 168.6981ms 2024-03-11 23:22:45.216 +05:30 08957629-8afb-4c6c-b273-7f497b1a2901 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 199 2024-03-11 23:22:45.218 +05:30 34984e0a-a4a2-49a3-954e-20fc83f2eeae INF CORS policy execution successful. 2024-03-11 23:22:45.218 +05:30 34984e0a-a4a2-49a3-954e-20fc83f2eeae INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 23:22:45.219 +05:30 34984e0a-a4a2-49a3-954e-20fc83f2eeae INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 23:22:45.225 +05:30 34984e0a-a4a2-49a3-954e-20fc83f2eeae INF Connection string fetched 2024-03-11 23:22:45.227 +05:30 34984e0a-a4a2-49a3-954e-20fc83f2eeae INF Upserting Employee deatails 2024-03-11 23:22:45.248 +05:30 34984e0a-a4a2-49a3-954e-20fc83f2eeae INF Validating Upsert result. 2024-03-11 23:22:45.249 +05:30 34984e0a-a4a2-49a3-954e-20fc83f2eeae INF Executing CreatedAtActionResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 23:22:45.251 +05:30 34984e0a-a4a2-49a3-954e-20fc83f2eeae INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 32.1952ms 2024-03-11 23:22:45.251 +05:30 34984e0a-a4a2-49a3-954e-20fc83f2eeae INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 23:22:45.251 +05:30 34984e0a-a4a2-49a3-954e-20fc83f2eeae INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 201 null application/json; charset=utf-8 35.7396ms 2024-03-11 23:24:13.447 +05:30 0557cedd-40d1-44fd-8a13-b9baf374e64c INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 23:24:13.449 +05:30 f63b4bfd-557d-4691-a918-82c8b59bccef INF CORS policy execution successful. 2024-03-11 23:24:13.450 +05:30 f63b4bfd-557d-4691-a918-82c8b59bccef INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 204 null null 3.1415ms 2024-03-11 23:24:13.498 +05:30 36b366a4-d442-48a2-a0b7-7683e3f2d722 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 23:24:13.499 +05:30 66a79da8-0c2e-4c10-8a9e-09ab06405572 INF CORS policy execution successful. 2024-03-11 23:24:13.499 +05:30 66a79da8-0c2e-4c10-8a9e-09ab06405572 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 204 null null 1.3901ms 2024-03-11 23:24:13.499 +05:30 2d46fd12-e176-44c8-9882-99ccae2b5e7f INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 23:24:13.500 +05:30 b21dc520-bf4c-47f2-8364-20e181ff62f0 INF CORS policy execution successful. 2024-03-11 23:24:13.501 +05:30 b21dc520-bf4c-47f2-8364-20e181ff62f0 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 204 null null 1.1723ms 2024-03-11 23:24:13.501 +05:30 f57dbef3-403a-4bdf-a945-c4174c005f84 INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 23:24:13.502 +05:30 0a80d2f0-56ff-4fdb-bec1-a2ec90f08eec INF CORS policy execution successful. 2024-03-11 23:24:13.502 +05:30 0a80d2f0-56ff-4fdb-bec1-a2ec90f08eec INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 204 null null 1.2411ms 2024-03-11 23:24:13.518 +05:30 9a3d021b-a5cf-42c2-ac5c-04fe2547f57d INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - null null 2024-03-11 23:24:13.521 +05:30 4d082c7d-662c-4898-bf75-08bbf6fed4b9 INF CORS policy execution successful. 2024-03-11 23:24:13.522 +05:30 4d082c7d-662c-4898-bf75-08bbf6fed4b9 INF Executing endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 23:24:13.523 +05:30 4d082c7d-662c-4898-bf75-08bbf6fed4b9 INF Route matched with {action = "GetCities", controller = "City"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCities() on controller Sang.Security.WebApi.Controllers.CityController (Sang.Security.WebApi). 2024-03-11 23:24:13.528 +05:30 4d082c7d-662c-4898-bf75-08bbf6fed4b9 INF Connection string fetched 2024-03-11 23:24:13.529 +05:30 4d082c7d-662c-4898-bf75-08bbf6fed4b9 INF Fetching City deatails 2024-03-11 23:24:13.537 +05:30 4d082c7d-662c-4898-bf75-08bbf6fed4b9 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 23:24:13.540 +05:30 4d082c7d-662c-4898-bf75-08bbf6fed4b9 INF Executed action Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi) in 17.1031ms 2024-03-11 23:24:13.540 +05:30 4d082c7d-662c-4898-bf75-08bbf6fed4b9 INF Executed endpoint 'Sang.Security.WebApi.Controllers.CityController.GetCities (Sang.Security.WebApi)' 2024-03-11 23:24:13.541 +05:30 4d082c7d-662c-4898-bf75-08bbf6fed4b9 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/City/GetCities - 200 null application/json; charset=utf-8 22.2005ms 2024-03-11 23:24:13.557 +05:30 c5ee0bba-a0f3-416b-b23a-f0b9cb24485b INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - null null 2024-03-11 23:24:13.558 +05:30 b09779c8-51bb-4d45-8869-f0d6758156c1 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - null null 2024-03-11 23:24:13.558 +05:30 1bed1aeb-0796-4fb1-907d-86e48558fb34 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - null null 2024-03-11 23:24:13.558 +05:30 2de39647-29f1-497f-a749-4f5cf8019d94 INF CORS policy execution successful. 2024-03-11 23:24:13.558 +05:30 b09b52de-8357-41e8-bcb2-ae9c7da22822 INF CORS policy execution successful. 2024-03-11 23:24:13.558 +05:30 b09b52de-8357-41e8-bcb2-ae9c7da22822 INF Executing endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 23:24:13.558 +05:30 6db63fdf-faaf-4215-beb4-f21ebc3a5178 INF CORS policy execution successful. 2024-03-11 23:24:13.559 +05:30 6db63fdf-faaf-4215-beb4-f21ebc3a5178 INF Executing endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 23:24:13.559 +05:30 b09b52de-8357-41e8-bcb2-ae9c7da22822 INF Route matched with {action = "GetCountry", controller = "Country"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCountry() on controller Sang.Security.WebApi.Controllers.CountryController (Sang.Security.WebApi). 2024-03-11 23:24:13.559 +05:30 2de39647-29f1-497f-a749-4f5cf8019d94 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 23:24:13.559 +05:30 6db63fdf-faaf-4215-beb4-f21ebc3a5178 INF Route matched with {action = "GetDepartment", controller = "Department"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetDepartment() on controller Sang.Security.WebApi.Controllers.DepartmentController (Sang.Security.WebApi). 2024-03-11 23:24:13.559 +05:30 2de39647-29f1-497f-a749-4f5cf8019d94 INF Route matched with {action = "GetEmployees", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetEmployees() on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 23:24:13.560 +05:30 b09b52de-8357-41e8-bcb2-ae9c7da22822 INF Connection string fetched 2024-03-11 23:24:13.560 +05:30 b09b52de-8357-41e8-bcb2-ae9c7da22822 INF Fetching Country deatails 2024-03-11 23:24:13.561 +05:30 6db63fdf-faaf-4215-beb4-f21ebc3a5178 INF Fetching Department deatails 2024-03-11 23:24:13.561 +05:30 2de39647-29f1-497f-a749-4f5cf8019d94 INF Fetching Employees deatails 2024-03-11 23:24:13.562 +05:30 2de39647-29f1-497f-a749-4f5cf8019d94 INF Connection string fetched 2024-03-11 23:24:13.569 +05:30 6db63fdf-faaf-4215-beb4-f21ebc3a5178 INF Connection string fetched 2024-03-11 23:24:13.571 +05:30 b09b52de-8357-41e8-bcb2-ae9c7da22822 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 23:24:13.571 +05:30 b09b52de-8357-41e8-bcb2-ae9c7da22822 INF Executed action Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi) in 12.6051ms 2024-03-11 23:24:13.572 +05:30 b09b52de-8357-41e8-bcb2-ae9c7da22822 INF Executed endpoint 'Sang.Security.WebApi.Controllers.CountryController.GetCountry (Sang.Security.WebApi)' 2024-03-11 23:24:13.572 +05:30 b09b52de-8357-41e8-bcb2-ae9c7da22822 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Country/GetCountry - 200 null application/json; charset=utf-8 14.9264ms 2024-03-11 23:24:13.579 +05:30 6db63fdf-faaf-4215-beb4-f21ebc3a5178 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 23:24:13.579 +05:30 6db63fdf-faaf-4215-beb4-f21ebc3a5178 INF Executed action Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi) in 20.151ms 2024-03-11 23:24:13.579 +05:30 6db63fdf-faaf-4215-beb4-f21ebc3a5178 INF Executed endpoint 'Sang.Security.WebApi.Controllers.DepartmentController.GetDepartment (Sang.Security.WebApi)' 2024-03-11 23:24:13.579 +05:30 6db63fdf-faaf-4215-beb4-f21ebc3a5178 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Department/GetDepartment - 200 null application/json; charset=utf-8 21.8494ms 2024-03-11 23:24:13.590 +05:30 2de39647-29f1-497f-a749-4f5cf8019d94 INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 23:24:13.591 +05:30 2de39647-29f1-497f-a749-4f5cf8019d94 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi) in 31.4988ms 2024-03-11 23:24:13.591 +05:30 2de39647-29f1-497f-a749-4f5cf8019d94 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.GetEmployees (Sang.Security.WebApi)' 2024-03-11 23:24:13.591 +05:30 2de39647-29f1-497f-a749-4f5cf8019d94 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Employee/GetEmployees - 200 null application/json; charset=utf-8 33.2584ms 2024-03-11 23:28:28.735 +05:30 52638fcf-5522-4a95-89d0-de0088e5d85b INF Request starting HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - null null 2024-03-11 23:28:28.737 +05:30 59db6305-b23e-4b5b-baf7-82b7fc63ad03 INF CORS policy execution successful. 2024-03-11 23:28:28.738 +05:30 59db6305-b23e-4b5b-baf7-82b7fc63ad03 INF Request finished HTTP/1.1 OPTIONS http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 204 null null 3.8098ms 2024-03-11 23:28:28.810 +05:30 593bc642-244f-4153-a4e9-40b5abd7946e INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 189 2024-03-11 23:28:28.818 +05:30 593bc642-244f-4153-a4e9-40b5abd7946e INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 5:57:45 PM', Current time (UTC): '3/11/2024 5:58:28 PM'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) 2024-03-11 23:28:28.822 +05:30 593bc642-244f-4153-a4e9-40b5abd7946e INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '3/11/2024 5:57:45 PM', Current time (UTC): '3/11/2024 5:58:28 PM'. 2024-03-11 23:28:28.823 +05:30 866224ea-ec4d-4cc0-b6c8-cd9c021e6ae5 INF CORS policy execution successful. 2024-03-11 23:28:28.825 +05:30 866224ea-ec4d-4cc0-b6c8-cd9c021e6ae5 INF Authorization failed. These requirements were not met: DenyAnonymousAuthorizationRequirement: Requires an authenticated user. 2024-03-11 23:28:28.825 +05:30 866224ea-ec4d-4cc0-b6c8-cd9c021e6ae5 INF AuthenticationScheme: Bearer was challenged. 2024-03-11 23:28:28.827 +05:30 866224ea-ec4d-4cc0-b6c8-cd9c021e6ae5 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 401 null null 16.6739ms 2024-03-11 23:28:28.899 +05:30 98f2802b-7ca8-4f5d-aed1-8e7163b4bb48 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens?refershToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiYWRtaW4iLCJ1bmlxdWVfbmFtZSI6ImFkbWluIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZG5zIjoiMSIsIm5iZiI6MTcxMDE3OTU2NSwiZXhwIjoxNzEwMTgxMzY1LCJpYXQiOjE3MTAxNzk1NjV9.zquTRdb66ItaUdrgYz3FfmFrZPUjLxnlsXbYz_bXKx4 - null null 2024-03-11 23:28:28.900 +05:30 d543376c-aa12-4060-8980-30f1a5eb57ff INF CORS policy execution successful. 2024-03-11 23:28:28.901 +05:30 d543376c-aa12-4060-8980-30f1a5eb57ff INF Executing endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 23:28:28.902 +05:30 d543376c-aa12-4060-8980-30f1a5eb57ff INF Route matched with {action = "RegenerateTokens", controller = "Security"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Sang.Security.WebApi.Models.Tokens]] RegenerateTokens(System.String) on controller Sang.Security.WebApi.Controllers.SecurityController (Sang.Security.WebApi). 2024-03-11 23:28:29.037 +05:30 d543376c-aa12-4060-8980-30f1a5eb57ff INF Token generated 2024-03-11 23:28:29.038 +05:30 d543376c-aa12-4060-8980-30f1a5eb57ff INF Token generated 2024-03-11 23:28:29.039 +05:30 d543376c-aa12-4060-8980-30f1a5eb57ff INF Executing OkObjectResult, writing value of type 'Sang.Security.WebApi.Models.Tokens'. 2024-03-11 23:28:29.040 +05:30 d543376c-aa12-4060-8980-30f1a5eb57ff INF Executed action Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi) in 137.6818ms 2024-03-11 23:28:29.040 +05:30 d543376c-aa12-4060-8980-30f1a5eb57ff INF Executed endpoint 'Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens (Sang.Security.WebApi)' 2024-03-11 23:28:29.041 +05:30 d543376c-aa12-4060-8980-30f1a5eb57ff INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.Employee.Web.Api/Security/RegenerateTokens?refershToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiYWRtaW4iLCJ1bmlxdWVfbmFtZSI6ImFkbWluIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZG5zIjoiMSIsIm5iZiI6MTcxMDE3OTU2NSwiZXhwIjoxNzEwMTgxMzY1LCJpYXQiOjE3MTAxNzk1NjV9.zquTRdb66ItaUdrgYz3FfmFrZPUjLxnlsXbYz_bXKx4 - 200 null application/json; charset=utf-8 141.9432ms 2024-03-11 23:28:29.116 +05:30 465f8af2-f94f-4afb-9f29-df751cc54744 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - application/json 189 2024-03-11 23:28:29.117 +05:30 7412dcd2-deee-490d-814a-dbad123267f1 INF CORS policy execution successful. 2024-03-11 23:28:29.117 +05:30 7412dcd2-deee-490d-814a-dbad123267f1 INF Executing endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 23:28:29.117 +05:30 7412dcd2-deee-490d-814a-dbad123267f1 INF Route matched with {action = "UpsertEmployee", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] UpsertEmployee(Sang.Security.WebApi.Models.Employee) on controller Sang.Security.WebApi.Controllers.EmployeeController (Sang.Security.WebApi). 2024-03-11 23:28:29.124 +05:30 7412dcd2-deee-490d-814a-dbad123267f1 INF Connection string fetched 2024-03-11 23:28:29.127 +05:30 7412dcd2-deee-490d-814a-dbad123267f1 INF Upserting Employee deatails 2024-03-11 23:28:29.150 +05:30 7412dcd2-deee-490d-814a-dbad123267f1 INF Validating Upsert result. 2024-03-11 23:28:29.151 +05:30 7412dcd2-deee-490d-814a-dbad123267f1 INF Executing CreatedAtActionResult, writing value of type 'Sang.Security.WebApi.Models.ApiResponse.ApiResponse'. 2024-03-11 23:28:29.152 +05:30 7412dcd2-deee-490d-814a-dbad123267f1 INF Executed action Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi) in 34.8462ms 2024-03-11 23:28:29.152 +05:30 7412dcd2-deee-490d-814a-dbad123267f1 INF Executed endpoint 'Sang.Security.WebApi.Controllers.EmployeeController.UpsertEmployee (Sang.Security.WebApi)' 2024-03-11 23:28:29.152 +05:30 7412dcd2-deee-490d-814a-dbad123267f1 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.Employee.Web.Api/Employee/UpsertEmployee - 201 null application/json; charset=utf-8 36.2623ms 2024-03-11 23:39:16.647 +05:30 INF Application is shutting down...