2025-12-13 08:50:45.571 +05:30 INF User profile not available. Using 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\AutoGenKeys\S-1-5-82-431398694-2621610418-1844421016-2195953222-840199176\DataProtection' as key repository and Windows DPAPI to encrypt keys at rest. 2025-12-13 08:50:45.885 +05:30 INF Application started. Press Ctrl+C to shut down. 2025-12-13 08:50:45.886 +05:30 INF Hosting environment: Production 2025-12-13 08:50:45.886 +05:30 INF Content root path: C:\inetpub\wwwroot\Sang.StockCountWeb.Api 2025-12-13 08:50:45.899 +05:30 ed8aba29-9c82-4611-a0ec-d96505b52386 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.StockCountWeb.Api/tag/gettagsummary?tagId=11&refreshFlag=true&pageNumber=1&pageSize=25&searchString=&groupId=0 - null null 2025-12-13 08:50:45.899 +05:30 35d19d06-1bea-45d4-8553-4508bcf1fb77 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.StockCountWeb.Api/user/getscreensforuser - null null 2025-12-13 08:50:45.899 +05:30 9d6556c4-8096-4ce9-b051-6dc153c80dcf INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.StockCountWeb.Api/tag/gettagurl?id=0&tagId=11 - null null 2025-12-13 08:50:46.101 +05:30 ed8aba29-9c82-4611-a0ec-d96505b52386 INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '12/12/2025 11:54:23 AM', Current time (UTC): '12/13/2025 3:20:46 AM'. 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) 2025-12-13 08:50:46.101 +05:30 9d6556c4-8096-4ce9-b051-6dc153c80dcf INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '12/12/2025 11:54:23 AM', Current time (UTC): '12/13/2025 3:20:46 AM'. 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) 2025-12-13 08:50:46.101 +05:30 35d19d06-1bea-45d4-8553-4508bcf1fb77 INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '12/12/2025 11:54:23 AM', Current time (UTC): '12/13/2025 3:20:46 AM'. 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) 2025-12-13 08:50:46.116 +05:30 9d6556c4-8096-4ce9-b051-6dc153c80dcf INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '12/12/2025 11:54:23 AM', Current time (UTC): '12/13/2025 3:20:46 AM'. 2025-12-13 08:50:46.116 +05:30 ed8aba29-9c82-4611-a0ec-d96505b52386 INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '12/12/2025 11:54:23 AM', Current time (UTC): '12/13/2025 3:20:46 AM'. 2025-12-13 08:50:46.116 +05:30 35d19d06-1bea-45d4-8553-4508bcf1fb77 INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '12/12/2025 11:54:23 AM', Current time (UTC): '12/13/2025 3:20:46 AM'. 2025-12-13 08:50:46.166 +05:30 ed8aba29-9c82-4611-a0ec-d96505b52386 INF HTTP request: Path: /tag/gettagsummary QueryString: ?tagId=11&refreshFlag=true&pageNumber=1&pageSize=25&searchString=&groupId=0 Headers: {Accept: application/json, text/plain, */*}, {Accept-Encoding: gzip, deflate}, {Accept-Language: en-US,en;q=0.9}, {Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoic3RlZmZ5IiwidW5pcXVlX25hbWUiOiJzdGVmZnkiLCJuYW1laWQiOiIxMTEiLCJDdXN0b21DbGFpbVR5cGUiOlsiRGF0YWJhc2VLZXkiLCJEYXRhYmFzZU5hbWUiLCJDaGFubmVsSWQiXSwiRGF0YWJhc2VLZXkiOiIxIiwiRGF0YWJhc2VOYW1lIjoiU1MwMDAxX21vYiIsIkNoYW5uZWxJZCI6IjIiLCJuYmYiOjE3NjU1Mzg2NjMsImV4cCI6MTc2NTU0MDQ2MywiaWF0IjoxNzY1NTM4NjYzfQ.QibDbiXESfAqUQ-FtfrKD5HyLr-ggZ94AUCa4ct6Swk}, {Connection: keep-alive}, {Host: 103.120.178.195}, {Referer: http://103.120.178.195/StockCount/home}, {User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36} Host: 103.120.178.195 Body: 2025-12-13 08:50:46.166 +05:30 9d6556c4-8096-4ce9-b051-6dc153c80dcf INF HTTP request: Path: /tag/gettagurl QueryString: ?id=0&tagId=11 Headers: {Accept: application/json, text/plain, */*}, {Accept-Encoding: gzip, deflate}, {Accept-Language: en-US,en;q=0.9}, {Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoic3RlZmZ5IiwidW5pcXVlX25hbWUiOiJzdGVmZnkiLCJuYW1laWQiOiIxMTEiLCJDdXN0b21DbGFpbVR5cGUiOlsiRGF0YWJhc2VLZXkiLCJEYXRhYmFzZU5hbWUiLCJDaGFubmVsSWQiXSwiRGF0YWJhc2VLZXkiOiIxIiwiRGF0YWJhc2VOYW1lIjoiU1MwMDAxX21vYiIsIkNoYW5uZWxJZCI6IjIiLCJuYmYiOjE3NjU1Mzg2NjMsImV4cCI6MTc2NTU0MDQ2MywiaWF0IjoxNzY1NTM4NjYzfQ.QibDbiXESfAqUQ-FtfrKD5HyLr-ggZ94AUCa4ct6Swk}, {Connection: keep-alive}, {Host: 103.120.178.195}, {Referer: http://103.120.178.195/StockCount/home}, {User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36} Host: 103.120.178.195 Body: 2025-12-13 08:50:46.166 +05:30 35d19d06-1bea-45d4-8553-4508bcf1fb77 INF HTTP request: Path: /user/getscreensforuser QueryString: Headers: {Accept: application/json, text/plain, */*}, {Accept-Encoding: gzip, deflate}, {Accept-Language: en-US,en;q=0.9}, {Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoic3RlZmZ5IiwidW5pcXVlX25hbWUiOiJzdGVmZnkiLCJuYW1laWQiOiIxMTEiLCJDdXN0b21DbGFpbVR5cGUiOlsiRGF0YWJhc2VLZXkiLCJEYXRhYmFzZU5hbWUiLCJDaGFubmVsSWQiXSwiRGF0YWJhc2VLZXkiOiIxIiwiRGF0YWJhc2VOYW1lIjoiU1MwMDAxX21vYiIsIkNoYW5uZWxJZCI6IjIiLCJuYmYiOjE3NjU1Mzg2NjMsImV4cCI6MTc2NTU0MDQ2MywiaWF0IjoxNzY1NTM4NjYzfQ.QibDbiXESfAqUQ-FtfrKD5HyLr-ggZ94AUCa4ct6Swk}, {Connection: keep-alive}, {Host: 103.120.178.195}, {Referer: http://103.120.178.195/StockCount/home}, {User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36} Host: 103.120.178.195 Body: 2025-12-13 08:50:46.210 +05:30 ec2aad70-8237-4748-8d39-f0c1e03fbd62 INF Authorization failed. These requirements were not met: DenyAnonymousAuthorizationRequirement: Requires an authenticated user. 2025-12-13 08:50:46.210 +05:30 29cfa8f6-bee2-429f-ac66-4fb233a71d2e INF Authorization failed. These requirements were not met: DenyAnonymousAuthorizationRequirement: Requires an authenticated user. 2025-12-13 08:50:46.210 +05:30 c2c6d368-ce82-4a8f-a728-2ba4fe8017c5 INF Authorization failed. These requirements were not met: DenyAnonymousAuthorizationRequirement: Requires an authenticated user. 2025-12-13 08:50:46.217 +05:30 c2c6d368-ce82-4a8f-a728-2ba4fe8017c5 INF AuthenticationScheme: Bearer was challenged. 2025-12-13 08:50:46.217 +05:30 29cfa8f6-bee2-429f-ac66-4fb233a71d2e INF AuthenticationScheme: Bearer was challenged. 2025-12-13 08:50:46.217 +05:30 ec2aad70-8237-4748-8d39-f0c1e03fbd62 INF AuthenticationScheme: Bearer was challenged. 2025-12-13 08:50:46.220 +05:30 29cfa8f6-bee2-429f-ac66-4fb233a71d2e INF HTTP Response: StatusCode: 401 Headers: {X-Correlation-Id: 9d6556c4-8096-4ce9-b051-6dc153c80dcf}, {X-Token-Expired: true}, {WWW-Authenticate: Bearer error="invalid_token", error_description="The token expired at '12/12/2025 11:54:23'"} Body: 2025-12-13 08:50:46.220 +05:30 ec2aad70-8237-4748-8d39-f0c1e03fbd62 INF HTTP Response: StatusCode: 401 Headers: {X-Correlation-Id: 35d19d06-1bea-45d4-8553-4508bcf1fb77}, {X-Token-Expired: true}, {WWW-Authenticate: Bearer error="invalid_token", error_description="The token expired at '12/12/2025 11:54:23'"} Body: 2025-12-13 08:50:46.230 +05:30 29cfa8f6-bee2-429f-ac66-4fb233a71d2e INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.StockCountWeb.Api/tag/gettagurl?id=0&tagId=11 - 401 null null 334.8076ms 2025-12-13 08:50:46.230 +05:30 ec2aad70-8237-4748-8d39-f0c1e03fbd62 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.StockCountWeb.Api/user/getscreensforuser - 401 null null 334.8144ms 2025-12-13 08:50:46.230 +05:30 c2c6d368-ce82-4a8f-a728-2ba4fe8017c5 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.StockCountWeb.Api/tag/gettagsummary?tagId=11&refreshFlag=true&pageNumber=1&pageSize=25&searchString=&groupId=0 - 401 null null 334.8006ms 2025-12-13 08:50:46.315 +05:30 36ff2e1d-b293-42a4-bebf-47d6c754e22d INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.StockCountWeb.Api/token/regeneratetokens?refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoic3RlZmZ5IiwidW5pcXVlX25hbWUiOiJzdGVmZnkiLCJuYW1laWQiOiIxMTEiLCJDdXN0b21DbGFpbVR5cGUiOlsiRGF0YWJhc2VLZXkiLCJEYXRhYmFzZU5hbWUiLCJDaGFubmVsSWQiXSwiRGF0YWJhc2VLZXkiOiIxIiwiRGF0YWJhc2VOYW1lIjoiU1MwMDAxX21vYiIsIkNoYW5uZWxJZCI6IjIiLCJuYmYiOjE3NjU1Mzg2NjMsImV4cCI6MTc2NTU0MjI2MywiaWF0IjoxNzY1NTM4NjYzfQ.hMSIF0k9SoO7VuL9dX-pg4Y2vEffmI-N6bnaVvkyHjM - null null 2025-12-13 08:50:46.318 +05:30 36ff2e1d-b293-42a4-bebf-47d6c754e22d INF HTTP request: Path: /token/regeneratetokens QueryString: ?refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoic3RlZmZ5IiwidW5pcXVlX25hbWUiOiJzdGVmZnkiLCJuYW1laWQiOiIxMTEiLCJDdXN0b21DbGFpbVR5cGUiOlsiRGF0YWJhc2VLZXkiLCJEYXRhYmFzZU5hbWUiLCJDaGFubmVsSWQiXSwiRGF0YWJhc2VLZXkiOiIxIiwiRGF0YWJhc2VOYW1lIjoiU1MwMDAxX21vYiIsIkNoYW5uZWxJZCI6IjIiLCJuYmYiOjE3NjU1Mzg2NjMsImV4cCI6MTc2NTU0MjI2MywiaWF0IjoxNzY1NTM4NjYzfQ.hMSIF0k9SoO7VuL9dX-pg4Y2vEffmI-N6bnaVvkyHjM Headers: {Accept: application/json, text/plain, */*}, {Accept-Encoding: gzip, deflate}, {Accept-Language: en-US,en;q=0.9}, {Connection: keep-alive}, {Host: 103.120.178.195}, {Referer: http://103.120.178.195/StockCount/home}, {User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36} Host: 103.120.178.195 Body: 2025-12-13 08:50:46.325 +05:30 75aa78ec-7cbb-4eb6-9b7e-bd532e93a727 INF Executing endpoint 'Sang.StockCount.Api.Controllers.TokenController.RegenerateTokens (Sang.StockCount.Api)' 2025-12-13 08:50:46.366 +05:30 75aa78ec-7cbb-4eb6-9b7e-bd532e93a727 INF Route matched with {action = "RegenerateTokens", controller = "Token"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Sang.Service.Common.Models.Tokens]] RegenerateTokens(System.String) on controller Sang.StockCount.Api.Controllers.TokenController (Sang.StockCount.Api). 2025-12-13 08:50:46.442 +05:30 75aa78ec-7cbb-4eb6-9b7e-bd532e93a727 INF Executing BadRequestObjectResult, writing value of type 'Sang.Service.Common.ApiResponse.ApiResponse'. 2025-12-13 08:50:46.542 +05:30 75aa78ec-7cbb-4eb6-9b7e-bd532e93a727 INF Executed action Sang.StockCount.Api.Controllers.TokenController.RegenerateTokens (Sang.StockCount.Api) in 170.1604ms 2025-12-13 08:50:46.542 +05:30 75aa78ec-7cbb-4eb6-9b7e-bd532e93a727 INF Executed endpoint 'Sang.StockCount.Api.Controllers.TokenController.RegenerateTokens (Sang.StockCount.Api)' 2025-12-13 08:50:46.543 +05:30 75aa78ec-7cbb-4eb6-9b7e-bd532e93a727 INF HTTP Response: StatusCode: 400 Headers: {X-Correlation-Id: 36ff2e1d-b293-42a4-bebf-47d6c754e22d}, {Content-Type: application/json; charset=utf-8}, {Content-Length: 90}, {Vary: Accept-Encoding} Body: {"status":"Failure","statusCode":4000,"message":"Refresh token has expired","result":null} 2025-12-13 08:50:46.546 +05:30 75aa78ec-7cbb-4eb6-9b7e-bd532e93a727 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.StockCountWeb.Api/token/regeneratetokens?refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoic3RlZmZ5IiwidW5pcXVlX25hbWUiOiJzdGVmZnkiLCJuYW1laWQiOiIxMTEiLCJDdXN0b21DbGFpbVR5cGUiOlsiRGF0YWJhc2VLZXkiLCJEYXRhYmFzZU5hbWUiLCJDaGFubmVsSWQiXSwiRGF0YWJhc2VLZXkiOiIxIiwiRGF0YWJhc2VOYW1lIjoiU1MwMDAxX21vYiIsIkNoYW5uZWxJZCI6IjIiLCJuYmYiOjE3NjU1Mzg2NjMsImV4cCI6MTc2NTU0MjI2MywiaWF0IjoxNzY1NTM4NjYzfQ.hMSIF0k9SoO7VuL9dX-pg4Y2vEffmI-N6bnaVvkyHjM - 400 90 application/json; charset=utf-8 231.4664ms 2025-12-13 09:01:45.082 +05:30 INF Application is shutting down...