2025-12-04 11:21:11.311 +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-04 11:21:11.690 +05:30 INF Application started. Press Ctrl+C to shut down. 2025-12-04 11:21:11.691 +05:30 INF Hosting environment: Production 2025-12-04 11:21:11.691 +05:30 INF Content root path: C:\inetpub\wwwroot\Sang.StockCountWeb.Api 2025-12-04 11:21:11.705 +05:30 f83be0b0-65d6-4b71-8e93-00486a7d0f18 INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.StockCountWeb.Api/login/getcompany?userName=steffy - null null 2025-12-04 11:21:11.816 +05:30 f83be0b0-65d6-4b71-8e93-00486a7d0f18 INF HTTP request: Path: /login/getcompany QueryString: ?userName=steffy 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/}, {User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36} Host: 103.120.178.195 Body: 2025-12-04 11:21:11.872 +05:30 fd162733-9a2a-446c-ba93-d092e6df950f INF Executing endpoint 'Sang.StockCount.Api.Controllers.LoginController.GetCompany (Sang.StockCount.Api)' 2025-12-04 11:21:11.911 +05:30 fd162733-9a2a-446c-ba93-d092e6df950f INF Route matched with {action = "GetCompany", controller = "Login"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCompany(System.String) on controller Sang.StockCount.Api.Controllers.LoginController (Sang.StockCount.Api). 2025-12-04 11:21:12.323 +05:30 fd162733-9a2a-446c-ba93-d092e6df950f INF Executing OkObjectResult, writing value of type 'Sang.Service.Common.ApiResponse.ApiResponse'. 2025-12-04 11:21:12.382 +05:30 fd162733-9a2a-446c-ba93-d092e6df950f INF Executed action Sang.StockCount.Api.Controllers.LoginController.GetCompany (Sang.StockCount.Api) in 465.8617ms 2025-12-04 11:21:12.386 +05:30 fd162733-9a2a-446c-ba93-d092e6df950f INF Executed endpoint 'Sang.StockCount.Api.Controllers.LoginController.GetCompany (Sang.StockCount.Api)' 2025-12-04 11:21:12.392 +05:30 fd162733-9a2a-446c-ba93-d092e6df950f INF HTTP Response: StatusCode: 200 Headers: {X-Correlation-Id: f83be0b0-65d6-4b71-8e93-00486a7d0f18}, {Content-Type: application/json; charset=utf-8}, {Content-Length: 138}, {Vary: Accept-Encoding} Body: {"status":"Success","statusCode":2000,"message":"Record(s) successfully retrieved.","result":"[{\"ID\":1,\"CompanyName\":\"Company 1\"}]"} 2025-12-04 11:21:12.410 +05:30 fd162733-9a2a-446c-ba93-d092e6df950f INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.StockCountWeb.Api/login/getcompany?userName=steffy - 200 138 application/json; charset=utf-8 708.2585ms 2025-12-04 11:21:12.560 +05:30 549706fd-0388-4910-b87d-5b6af310ba9d INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.StockCountWeb.Api/login/getcompany?userName=steffy - null null 2025-12-04 11:21:12.567 +05:30 549706fd-0388-4910-b87d-5b6af310ba9d INF HTTP request: Path: /login/getcompany QueryString: ?userName=steffy 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/}, {User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36} Host: 103.120.178.195 Body: 2025-12-04 11:21:12.570 +05:30 528efb47-c4f5-491e-a5ab-249e85479d37 INF Executing endpoint 'Sang.StockCount.Api.Controllers.LoginController.GetCompany (Sang.StockCount.Api)' 2025-12-04 11:21:12.571 +05:30 528efb47-c4f5-491e-a5ab-249e85479d37 INF Route matched with {action = "GetCompany", controller = "Login"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCompany(System.String) on controller Sang.StockCount.Api.Controllers.LoginController (Sang.StockCount.Api). 2025-12-04 11:21:12.588 +05:30 528efb47-c4f5-491e-a5ab-249e85479d37 INF Executing OkObjectResult, writing value of type 'Sang.Service.Common.ApiResponse.ApiResponse'. 2025-12-04 11:21:12.590 +05:30 528efb47-c4f5-491e-a5ab-249e85479d37 INF Executed action Sang.StockCount.Api.Controllers.LoginController.GetCompany (Sang.StockCount.Api) in 18.5836ms 2025-12-04 11:21:12.590 +05:30 528efb47-c4f5-491e-a5ab-249e85479d37 INF Executed endpoint 'Sang.StockCount.Api.Controllers.LoginController.GetCompany (Sang.StockCount.Api)' 2025-12-04 11:21:12.591 +05:30 528efb47-c4f5-491e-a5ab-249e85479d37 INF HTTP Response: StatusCode: 200 Headers: {X-Correlation-Id: 549706fd-0388-4910-b87d-5b6af310ba9d}, {Content-Type: application/json; charset=utf-8}, {Content-Length: 138}, {Vary: Accept-Encoding} Body: {"status":"Success","statusCode":2000,"message":"Record(s) successfully retrieved.","result":"[{\"ID\":1,\"CompanyName\":\"Company 1\"}]"} 2025-12-04 11:21:12.591 +05:30 528efb47-c4f5-491e-a5ab-249e85479d37 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.StockCountWeb.Api/login/getcompany?userName=steffy - 200 138 application/json; charset=utf-8 31.2794ms 2025-12-04 11:21:12.610 +05:30 80f67d77-acc0-4e20-80c5-63a3e46c70a1 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.StockCountWeb.Api/login/login - application/json 72 2025-12-04 11:21:12.617 +05:30 80f67d77-acc0-4e20-80c5-63a3e46c70a1 INF CORS policy execution successful. 2025-12-04 11:21:12.619 +05:30 80f67d77-acc0-4e20-80c5-63a3e46c70a1 INF HTTP request: Path: /login/login QueryString: Headers: {Accept: application/json, text/plain, */*}, {Accept-Encoding: gzip, deflate}, {Accept-Language: en-US,en;q=0.9}, {Connection: keep-alive}, {Content-Length: 72}, {Content-Type: application/json}, {Host: 103.120.178.195}, {Referer: http://103.120.178.195/StockCount/}, {User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36}, {Origin: http://103.120.178.195} Host: 103.120.178.195 Body: {"channelId":2,"loginName":"steffy","password":"steffy@25","entityId":1} 2025-12-04 11:21:12.619 +05:30 5f463076-4ea9-465c-918a-27c83c82a00a INF Executing endpoint 'Sang.StockCount.Api.Controllers.LoginController.Login (Sang.StockCount.Api)' 2025-12-04 11:21:12.626 +05:30 5f463076-4ea9-465c-918a-27c83c82a00a INF Route matched with {action = "Login", controller = "Login"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Login(Sang.StockCount.Api.Models.APIRequest.LoginRequest) on controller Sang.StockCount.Api.Controllers.LoginController (Sang.StockCount.Api). 2025-12-04 11:21:12.647 +05:30 698ae6a1-60e3-45a5-b478-6f86ae32cd3d INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.StockCountWeb.Api/login/login - application/json 72 2025-12-04 11:21:12.648 +05:30 698ae6a1-60e3-45a5-b478-6f86ae32cd3d INF CORS policy execution successful. 2025-12-04 11:21:12.649 +05:30 698ae6a1-60e3-45a5-b478-6f86ae32cd3d INF HTTP request: Path: /login/login QueryString: Headers: {Accept: application/json, text/plain, */*}, {Accept-Encoding: gzip, deflate}, {Accept-Language: en-US,en;q=0.9}, {Connection: keep-alive}, {Content-Length: 72}, {Content-Type: application/json}, {Host: 103.120.178.195}, {Referer: http://103.120.178.195/StockCount/}, {User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36}, {Origin: http://103.120.178.195} Host: 103.120.178.195 Body: {"channelId":2,"loginName":"steffy","password":"steffy@25","entityId":1} 2025-12-04 11:21:12.650 +05:30 de82ddf0-4fc2-4c59-92a3-02c885acf4e6 INF Executing endpoint 'Sang.StockCount.Api.Controllers.LoginController.Login (Sang.StockCount.Api)' 2025-12-04 11:21:12.650 +05:30 de82ddf0-4fc2-4c59-92a3-02c885acf4e6 INF Route matched with {action = "Login", controller = "Login"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Login(Sang.StockCount.Api.Models.APIRequest.LoginRequest) on controller Sang.StockCount.Api.Controllers.LoginController (Sang.StockCount.Api). 2025-12-04 11:21:12.760 +05:30 de82ddf0-4fc2-4c59-92a3-02c885acf4e6 INF Database retrieved 2025-12-04 11:21:12.760 +05:30 5f463076-4ea9-465c-918a-27c83c82a00a INF Database retrieved 2025-12-04 11:21:12.836 +05:30 de82ddf0-4fc2-4c59-92a3-02c885acf4e6 INF Token generated 2025-12-04 11:21:12.836 +05:30 5f463076-4ea9-465c-918a-27c83c82a00a INF Token generated 2025-12-04 11:21:12.841 +05:30 5f463076-4ea9-465c-918a-27c83c82a00a INF Token generated 2025-12-04 11:21:12.841 +05:30 de82ddf0-4fc2-4c59-92a3-02c885acf4e6 INF Token generated 2025-12-04 11:21:12.845 +05:30 de82ddf0-4fc2-4c59-92a3-02c885acf4e6 INF Executing OkObjectResult, writing value of type 'Sang.Service.Common.ApiResponse.ApiResponse'. 2025-12-04 11:21:12.845 +05:30 5f463076-4ea9-465c-918a-27c83c82a00a INF Executing OkObjectResult, writing value of type 'Sang.Service.Common.ApiResponse.ApiResponse'. 2025-12-04 11:21:12.845 +05:30 de82ddf0-4fc2-4c59-92a3-02c885acf4e6 INF Executed action Sang.StockCount.Api.Controllers.LoginController.Login (Sang.StockCount.Api) in 194.9348ms 2025-12-04 11:21:12.845 +05:30 5f463076-4ea9-465c-918a-27c83c82a00a INF Executed action Sang.StockCount.Api.Controllers.LoginController.Login (Sang.StockCount.Api) in 218.7426ms 2025-12-04 11:21:12.846 +05:30 de82ddf0-4fc2-4c59-92a3-02c885acf4e6 INF Executed endpoint 'Sang.StockCount.Api.Controllers.LoginController.Login (Sang.StockCount.Api)' 2025-12-04 11:21:12.846 +05:30 5f463076-4ea9-465c-918a-27c83c82a00a INF Executed endpoint 'Sang.StockCount.Api.Controllers.LoginController.Login (Sang.StockCount.Api)' 2025-12-04 11:21:12.846 +05:30 de82ddf0-4fc2-4c59-92a3-02c885acf4e6 INF HTTP Response: StatusCode: 200 Headers: {X-Correlation-Id: 698ae6a1-60e3-45a5-b478-6f86ae32cd3d}, {Content-Type: application/json; charset=utf-8}, {Content-Length: 920}, {Vary: Accept-Encoding} Body: {"status":"Success","statusCode":2000,"message":"Login successful.","result":"{\"AccessToken\":\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoic3RlZmZ5IiwidW5pcXVlX25hbWUiOiJzdGVmZnkiLCJuYW1laWQiOiIxMTAiLCJDdXN0b21DbGFpbVR5cGUiOlsiRGF0YWJhc2VLZXkiLCJEYXRhYmFzZU5hbWUiLCJDaGFubmVsSWQiXSwiRGF0YWJhc2VLZXkiOiIxIiwiRGF0YWJhc2VOYW1lIjoiU1MwMDAxX21vYiIsIkNoYW5uZWxJZCI6IjIiLCJuYmYiOjE3NjQ4Mjc0NzIsImV4cCI6MTc2NDgyOTI3MiwiaWF0IjoxNzY0ODI3NDcyfQ.19ujIpG5x6gE3FsoPkZ_GhDxDR7tYSm0mw3CJbQfwRI\",\"RefreshToken\":\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoic3RlZmZ5IiwidW5pcXVlX25hbWUiOiJzdGVmZnkiLCJuYW1laWQiOiIxMTAiLCJDdXN0b21DbGFpbVR5cGUiOlsiRGF0YWJhc2VLZXkiLCJEYXRhYmFzZU5hbWUiLCJDaGFubmVsSWQiXSwiRGF0YWJhc2VLZXkiOiIxIiwiRGF0YWJhc2VOYW1lIjoiU1MwMDAxX21vYiIsIkNoYW5uZWxJZCI6IjIiLCJuYmYiOjE3NjQ4Mjc0NzIsImV4cCI6MTc2NDgzMTA3MiwiaWF0IjoxNzY0ODI3NDcyfQ.J71bHnZcaOR_UbOGDmusEvUvExMDBRzv7SrQ89IdwJE\",\"TokenExpiryMin\":30}"} 2025-12-04 11:21:12.846 +05:30 5f463076-4ea9-465c-918a-27c83c82a00a INF HTTP Response: StatusCode: 200 Headers: {X-Correlation-Id: 80f67d77-acc0-4e20-80c5-63a3e46c70a1}, {Content-Type: application/json; charset=utf-8}, {Content-Length: 920}, {Vary: Accept-Encoding} Body: {"status":"Success","statusCode":2000,"message":"Login successful.","result":"{\"AccessToken\":\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoic3RlZmZ5IiwidW5pcXVlX25hbWUiOiJzdGVmZnkiLCJuYW1laWQiOiIxMTAiLCJDdXN0b21DbGFpbVR5cGUiOlsiRGF0YWJhc2VLZXkiLCJEYXRhYmFzZU5hbWUiLCJDaGFubmVsSWQiXSwiRGF0YWJhc2VLZXkiOiIxIiwiRGF0YWJhc2VOYW1lIjoiU1MwMDAxX21vYiIsIkNoYW5uZWxJZCI6IjIiLCJuYmYiOjE3NjQ4Mjc0NzIsImV4cCI6MTc2NDgyOTI3MiwiaWF0IjoxNzY0ODI3NDcyfQ.19ujIpG5x6gE3FsoPkZ_GhDxDR7tYSm0mw3CJbQfwRI\",\"RefreshToken\":\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoic3RlZmZ5IiwidW5pcXVlX25hbWUiOiJzdGVmZnkiLCJuYW1laWQiOiIxMTAiLCJDdXN0b21DbGFpbVR5cGUiOlsiRGF0YWJhc2VLZXkiLCJEYXRhYmFzZU5hbWUiLCJDaGFubmVsSWQiXSwiRGF0YWJhc2VLZXkiOiIxIiwiRGF0YWJhc2VOYW1lIjoiU1MwMDAxX21vYiIsIkNoYW5uZWxJZCI6IjIiLCJuYmYiOjE3NjQ4Mjc0NzIsImV4cCI6MTc2NDgzMTA3MiwiaWF0IjoxNzY0ODI3NDcyfQ.J71bHnZcaOR_UbOGDmusEvUvExMDBRzv7SrQ89IdwJE\",\"TokenExpiryMin\":30}"} 2025-12-04 11:21:12.847 +05:30 de82ddf0-4fc2-4c59-92a3-02c885acf4e6 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.StockCountWeb.Api/login/login - 200 920 application/json; charset=utf-8 199.7943ms 2025-12-04 11:21:12.847 +05:30 5f463076-4ea9-465c-918a-27c83c82a00a INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.StockCountWeb.Api/login/login - 200 920 application/json; charset=utf-8 237.6611ms 2025-12-04 11:21:13.121 +05:30 bccfa240-818b-4f85-bff6-ef2dc99a637a INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.StockCountWeb.Api/user/getscreensforuser - null null 2025-12-04 11:21:13.201 +05:30 bccfa240-818b-4f85-bff6-ef2dc99a637a 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.eyJuYW1lIjoic3RlZmZ5IiwidW5pcXVlX25hbWUiOiJzdGVmZnkiLCJuYW1laWQiOiIxMTAiLCJDdXN0b21DbGFpbVR5cGUiOlsiRGF0YWJhc2VLZXkiLCJEYXRhYmFzZU5hbWUiLCJDaGFubmVsSWQiXSwiRGF0YWJhc2VLZXkiOiIxIiwiRGF0YWJhc2VOYW1lIjoiU1MwMDAxX21vYiIsIkNoYW5uZWxJZCI6IjIiLCJuYmYiOjE3NjQ4Mjc0NzIsImV4cCI6MTc2NDgyOTI3MiwiaWF0IjoxNzY0ODI3NDcyfQ.19ujIpG5x6gE3FsoPkZ_GhDxDR7tYSm0mw3CJbQfwRI}, {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/142.0.0.0 Safari/537.36} Host: 103.120.178.195 Body: 2025-12-04 11:21:13.207 +05:30 94448d83-0ad0-4231-9a79-188d5f40db1e INF Executing endpoint 'Sang.StockCount.Api.Controllers.UserController.GetScreensForUser (Sang.StockCount.Api)' 2025-12-04 11:21:13.217 +05:30 94448d83-0ad0-4231-9a79-188d5f40db1e INF Route matched with {action = "GetScreensForUser", controller = "User"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetScreensForUser() on controller Sang.StockCount.Api.Controllers.UserController (Sang.StockCount.Api). 2025-12-04 11:21:13.307 +05:30 94448d83-0ad0-4231-9a79-188d5f40db1e INF Executing OkObjectResult, writing value of type 'Sang.Service.Common.ApiResponse.ApiResponse'. 2025-12-04 11:21:13.308 +05:30 94448d83-0ad0-4231-9a79-188d5f40db1e INF Executed action Sang.StockCount.Api.Controllers.UserController.GetScreensForUser (Sang.StockCount.Api) in 89.7782ms 2025-12-04 11:21:13.308 +05:30 94448d83-0ad0-4231-9a79-188d5f40db1e INF Executed endpoint 'Sang.StockCount.Api.Controllers.UserController.GetScreensForUser (Sang.StockCount.Api)' 2025-12-04 11:21:13.308 +05:30 94448d83-0ad0-4231-9a79-188d5f40db1e INF HTTP Response: StatusCode: 200 Headers: {X-Correlation-Id: bccfa240-818b-4f85-bff6-ef2dc99a637a}, {Content-Type: application/json; charset=utf-8}, {Content-Length: 1676}, {Vary: Accept-Encoding} Body: {"status":"Success","statusCode":2000,"message":"Screens retrieved.","result":"{\"ScreenDetails\":[{\"ScreenId\":1,\"Screen\":\"Security\",\"Parent\":null,\"Group\":false},{\"ScreenId\":3,\"Screen\":\"Master\",\"Parent\":null,\"Group\":false},{\"ScreenId\":4,\"Screen\":\"Transaction\",\"Parent\":null,\"Group\":false},{\"ScreenId\":5,\"Screen\":\"Report\",\"Parent\":null,\"Group\":false},{\"ScreenId\":6,\"Screen\":\"User\",\"Parent\":1,\"Group\":true},{\"ScreenId\":7,\"Screen\":\"Role\",\"Parent\":1,\"Group\":true},{\"ScreenId\":8,\"Screen\":\"Warehouse\",\"Parent\":3,\"Group\":true},{\"ScreenId\":9,\"Screen\":\"Bin\",\"Parent\":3,\"Group\":true},{\"ScreenId\":10,\"Screen\":\"Product\",\"Parent\":3,\"Group\":true},{\"ScreenId\":11,\"Screen\":\"Unit\",\"Parent\":3,\"Group\":true},{\"ScreenId\":12,\"Screen\":\"Closing Stock\",\"Parent\":4,\"Group\":true},{\"ScreenId\":13,\"Screen\":\"Stock Count\",\"Parent\":4,\"Group\":true},{\"ScreenId\":14,\"Screen\":\"Reconciliation\",\"Parent\":4,\"Group\":true},{\"ScreenId\":15,\"Screen\":\"Excess\",\"Parent\":4,\"Group\":true},{\"ScreenId\":16,\"Screen\":\"Shortage\",\"Parent\":4,\"Group\":true},{\"ScreenId\":17,\"Screen\":\"Business Entity\",\"Parent\":3,\"Group\":true},{\"ScreenId\":18,\"Screen\":\"Reset Password\",\"Parent\":1,\"Group\":true},{\"ScreenId\":19,\"Screen\":\"Closing Stock\",\"Parent\":5,\"Group\":true},{\"ScreenId\":20,\"Screen\":\"Stock Count\",\"Parent\":5,\"Group\":true},{\"ScreenId\":22,\"Screen\":\"Excess\",\"Parent\":5,\"Group\":true},{\"ScreenId\":23,\"Screen\":\"Shortage\",\"Parent\":5,\"Group\":true}],\"LoginInfo\":[{\"UserId\":110,\"LoginName\":\"steffy\",\"Entity\":\"Company 1\"}]}"} 2025-12-04 11:21:13.309 +05:30 94448d83-0ad0-4231-9a79-188d5f40db1e INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.StockCountWeb.Api/user/getscreensforuser - 200 1676 application/json; charset=utf-8 188.5694ms 2025-12-04 11:32:10.204 +05:30 INF Application is shutting down... 2025-12-04 16:49:59.079 +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-04 16:49:59.338 +05:30 INF Application started. Press Ctrl+C to shut down. 2025-12-04 16:49:59.339 +05:30 INF Hosting environment: Production 2025-12-04 16:49:59.339 +05:30 INF Content root path: C:\inetpub\wwwroot\Sang.StockCountWeb.Api 2025-12-04 16:49:59.357 +05:30 bb8c96f5-bee2-4359-bc5d-74e9e8b6228f INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.StockCountWeb.Api/user/getscreensforuser - null null 2025-12-04 16:49:59.511 +05:30 bb8c96f5-bee2-4359-bc5d-74e9e8b6228f INF Failed to validate the token.Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '12/4/2025 6:21:12 AM', Current time (UTC): '12/4/2025 11:19:59 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-04 16:49:59.519 +05:30 bb8c96f5-bee2-4359-bc5d-74e9e8b6228f INF Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '12/4/2025 6:21:12 AM', Current time (UTC): '12/4/2025 11:19:59 AM'. 2025-12-04 16:49:59.558 +05:30 bb8c96f5-bee2-4359-bc5d-74e9e8b6228f 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.eyJuYW1lIjoic3RlZmZ5IiwidW5pcXVlX25hbWUiOiJzdGVmZnkiLCJuYW1laWQiOiIxMTAiLCJDdXN0b21DbGFpbVR5cGUiOlsiRGF0YWJhc2VLZXkiLCJEYXRhYmFzZU5hbWUiLCJDaGFubmVsSWQiXSwiRGF0YWJhc2VLZXkiOiIxIiwiRGF0YWJhc2VOYW1lIjoiU1MwMDAxX21vYiIsIkNoYW5uZWxJZCI6IjIiLCJuYmYiOjE3NjQ4Mjc0NzIsImV4cCI6MTc2NDgyOTI3MiwiaWF0IjoxNzY0ODI3NDcyfQ.19ujIpG5x6gE3FsoPkZ_GhDxDR7tYSm0mw3CJbQfwRI}, {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-04 16:49:59.594 +05:30 e81a8e98-ed2f-4b40-8a8a-b2a64436f997 INF Authorization failed. These requirements were not met: DenyAnonymousAuthorizationRequirement: Requires an authenticated user. 2025-12-04 16:49:59.599 +05:30 e81a8e98-ed2f-4b40-8a8a-b2a64436f997 INF AuthenticationScheme: Bearer was challenged. 2025-12-04 16:49:59.600 +05:30 e81a8e98-ed2f-4b40-8a8a-b2a64436f997 INF HTTP Response: StatusCode: 401 Headers: {X-Correlation-Id: bb8c96f5-bee2-4359-bc5d-74e9e8b6228f}, {X-Token-Expired: true}, {WWW-Authenticate: Bearer error="invalid_token", error_description="The token expired at '12/04/2025 06:21:12'"} Body: 2025-12-04 16:49:59.608 +05:30 e81a8e98-ed2f-4b40-8a8a-b2a64436f997 INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.StockCountWeb.Api/user/getscreensforuser - 401 null null 256.8689ms 2025-12-04 16:49:59.722 +05:30 30f41a69-82b4-47eb-ad27-38268262a25d INF Request starting HTTP/1.1 GET http://103.120.178.195/Sang.StockCountWeb.Api/token/regeneratetokens?refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoic3RlZmZ5IiwidW5pcXVlX25hbWUiOiJzdGVmZnkiLCJuYW1laWQiOiIxMTAiLCJDdXN0b21DbGFpbVR5cGUiOlsiRGF0YWJhc2VLZXkiLCJEYXRhYmFzZU5hbWUiLCJDaGFubmVsSWQiXSwiRGF0YWJhc2VLZXkiOiIxIiwiRGF0YWJhc2VOYW1lIjoiU1MwMDAxX21vYiIsIkNoYW5uZWxJZCI6IjIiLCJuYmYiOjE3NjQ4Mjc0NzIsImV4cCI6MTc2NDgzMTA3MiwiaWF0IjoxNzY0ODI3NDcyfQ.J71bHnZcaOR_UbOGDmusEvUvExMDBRzv7SrQ89IdwJE - null null 2025-12-04 16:49:59.728 +05:30 30f41a69-82b4-47eb-ad27-38268262a25d INF HTTP request: Path: /token/regeneratetokens QueryString: ?refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoic3RlZmZ5IiwidW5pcXVlX25hbWUiOiJzdGVmZnkiLCJuYW1laWQiOiIxMTAiLCJDdXN0b21DbGFpbVR5cGUiOlsiRGF0YWJhc2VLZXkiLCJEYXRhYmFzZU5hbWUiLCJDaGFubmVsSWQiXSwiRGF0YWJhc2VLZXkiOiIxIiwiRGF0YWJhc2VOYW1lIjoiU1MwMDAxX21vYiIsIkNoYW5uZWxJZCI6IjIiLCJuYmYiOjE3NjQ4Mjc0NzIsImV4cCI6MTc2NDgzMTA3MiwiaWF0IjoxNzY0ODI3NDcyfQ.J71bHnZcaOR_UbOGDmusEvUvExMDBRzv7SrQ89IdwJE 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-04 16:49:59.734 +05:30 ca22c7d5-7c73-439d-a8fa-aa60ecc4b97d INF Executing endpoint 'Sang.StockCount.Api.Controllers.TokenController.RegenerateTokens (Sang.StockCount.Api)' 2025-12-04 16:49:59.767 +05:30 ca22c7d5-7c73-439d-a8fa-aa60ecc4b97d 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-04 16:49:59.846 +05:30 ca22c7d5-7c73-439d-a8fa-aa60ecc4b97d INF Executing BadRequestObjectResult, writing value of type 'Sang.Service.Common.ApiResponse.ApiResponse'. 2025-12-04 16:49:59.983 +05:30 ca22c7d5-7c73-439d-a8fa-aa60ecc4b97d INF Executed action Sang.StockCount.Api.Controllers.TokenController.RegenerateTokens (Sang.StockCount.Api) in 209.3409ms 2025-12-04 16:49:59.984 +05:30 ca22c7d5-7c73-439d-a8fa-aa60ecc4b97d INF Executed endpoint 'Sang.StockCount.Api.Controllers.TokenController.RegenerateTokens (Sang.StockCount.Api)' 2025-12-04 16:49:59.986 +05:30 ca22c7d5-7c73-439d-a8fa-aa60ecc4b97d INF HTTP Response: StatusCode: 400 Headers: {X-Correlation-Id: 30f41a69-82b4-47eb-ad27-38268262a25d}, {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-04 16:49:59.989 +05:30 ca22c7d5-7c73-439d-a8fa-aa60ecc4b97d INF Request finished HTTP/1.1 GET http://103.120.178.195/Sang.StockCountWeb.Api/token/regeneratetokens?refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoic3RlZmZ5IiwidW5pcXVlX25hbWUiOiJzdGVmZnkiLCJuYW1laWQiOiIxMTAiLCJDdXN0b21DbGFpbVR5cGUiOlsiRGF0YWJhc2VLZXkiLCJEYXRhYmFzZU5hbWUiLCJDaGFubmVsSWQiXSwiRGF0YWJhc2VLZXkiOiIxIiwiRGF0YWJhc2VOYW1lIjoiU1MwMDAxX21vYiIsIkNoYW5uZWxJZCI6IjIiLCJuYmYiOjE3NjQ4Mjc0NzIsImV4cCI6MTc2NDgzMTA3MiwiaWF0IjoxNzY0ODI3NDcyfQ.J71bHnZcaOR_UbOGDmusEvUvExMDBRzv7SrQ89IdwJE - 400 90 application/json; charset=utf-8 266.9953ms 2025-12-04 17:00:58.794 +05:30 INF Application is shutting down...