Open Closed

Error: [ERR] Request Info: Accept : */* #7400


User avatar
0
Priyanka created

ABP Framework version: v8.1.1

UI Type:React

Database System: EF Core (SQL Server)

Tiered (for MVC) or Auth Server Separated (for Angular): yes

Exception message and full stack trace: Couldn't find a localizer with given resource name: myClassName

Steps to reproduce the issue: ABP version upgrade

Hi, I'm getting [ERR] Request Info: Accept : / error in logs but there is no impact on application, could you please help to understand why this error is logged, and how can I remove this ?

2024-06-25 12:32:35.495 +08:00 [INF] Initialized all ABP modules. 2024-06-25 12:32:35.823 +08:00 [DBG] Executing HealthCheck collector HostedService. 2024-06-25 12:32:35.949 +08:00 [DBG] HealthReportCollector has completed. 2024-06-25 12:32:35.957 +08:00 [DBG] HealthCheck collector HostedService executed successfully. 2024-06-25 12:32:35.966 +08:00 [INF] Application started. Press Ctrl+C to shut down. 2024-06-25 12:32:35.966 +08:00 [INF] Hosting environment: Development 2024-06-25 12:32:35.966 +08:00 [INF] Content root path: C:\DIM\efc_TechRefresh\eFC\src\src\eFC.Web 2024-06-25 12:32:35.998 +08:00 [INF] Request starting HTTP/2 GET https://localhost:44368/ - null null 2024-06-25 12:32:45.966 +08:00 [DBG] Executing HealthCheck collector HostedService. 2024-06-25 12:32:46.008 +08:00 [DBG] HealthReportCollector has completed. 2024-06-25 12:32:46.009 +08:00 [DBG] HealthCheck collector HostedService executed successfully. 2024-06-25 12:32:51.397 +08:00 [**ERR] Request Info: Accept **: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.7, Accept-Encoding : gzip, deflate, br, zstd, Accept-Language : en-US,en;q=0.9, Connection : close, Cookie : XSRF-TOKEN=CfDJ8AFVUkgLTmxAsnj8y8doccpjxrUvNB88mkszSYSdM5I5IY95WfQpiTegmaD5OfPd2bPHnc8FKyyYfPZAi_vGUx3MMFWY9wrOP_tXCkdzLoQn8Z6vx7pct2mCzGMGq3sGRAwzwFqc1sxM6fgQfKh9F7zfLReKGSb8q4hdadNiAofX9JQC7_aeDEqI5HdhxDT7PQ, Host : localhost:44368, User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0, sec-ch-ua : "Not/A)Brand";v="8", "Chromium";v="126", "Microsoft Edge";v="126", sec-ch-ua-mobile : ?0, sec-ch-ua-platform : "Windows", upgrade-insecure-requests : 1, sec-fetch-site : none, sec-fetch-mode : navigate, sec-fetch-user : ?1, sec-fetch-dest : document, priority : u=0, i, X-Correlation-Id : 95436005b87542149bb706d429c226c3 2024-06-25 12:32:51.481 +08:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessRequestContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ResolveRequestUri. 2024-06-25 12:32:51.497 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ResolveRequestUri. 2024-06-25 12:32:51.500 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+InferEndpointType. 2024-06-25 12:32:51.501 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by Volo.Abp.Account.Web.Pages.Account.OpenIddictImpersonateInferEndpointType. 2024-06-25 12:32:51.502 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateTransportSecurityRequirement. 2024-06-25 12:32:51.503 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateHostHeader. 2024-06-25 12:32:51.959 +08:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ValidateHostHeader. 2024-06-25 12:32:51.960 +08:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.OpenIddictValidationHandlers+EvaluateValidatedTokens. 2024-06-25 12:32:51.961 +08:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ExtractAccessTokenFromAuthorizationHeader. 2024-06-25 12:32:51.962 +08:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ExtractAccessTokenFromBodyForm. 2024-06-25 12:32:52.009 +08:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ExtractAccessTokenFromQueryString. 2024-06-25 12:32:52.011 +08:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.OpenIddictValidationHandlers+ValidateRequiredTokens. 2024-06-25 12:32:52.011 +08:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was marked as rejected by OpenIddict.Validation.OpenIddictValidationHandlers+ValidateRequiredTokens. 2024-06-25 12:32:52.015 +08:00 [DBG] AuthenticationScheme: OpenIddict.Validation.AspNetCore was not authenticated. 2024-06-25 12:32:52.073 +08:00 [INF] Executing endpoint '/Index' 2024-06-25 12:32:52.103 +08:00 [INF] Route matched with {page = "/Index", action = "", controller = "", area = ""}. Executing page /Index 2024-06-25 12:32:52.108 +08:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy 2024-06-25 12:32:52.130 +08:00 [INF] Executing an implicit handler method - ModelState is "Valid" 2024-06-25 12:32:52.131 +08:00 [INF] Executed an implicit handler method, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult. 2024-06-25 12:32:52.558 +08:00 [DBG] Added 0 entity changes to the current audit log 2024-06-25 12:32:52.897 +08:00 [DBG] Added bundle 'Lepton.Global' to the page in 24.91 ms. 2024-06-25 12:32:55.526 +08:00 [DBG] Added bundle 'Lepton.Global' to the page in 18.99 ms. 2024-06-25 12:32:55.573 +08:00 [INF] Executed page /Index in 3464.5054ms 2024-06-25 12:32:55.574 +08:00 [INF] Executed endpoint '/Index' 2024-06-25 12:32:55.612 +08:00 [INF] Request starting HTTP/2 GET https://localhost:44368/Pages/Account/AuthorityDelegation/account-authority-delegation-global.js?_v=638513860420000000 - null null 2024-06-25 12:32:55.612 +08:00 [INF] Request starting HTTP/2 GET https://localhost:44368/Abp/ApplicationLocalizationScript?cultureName=en - null null 2024-06-25 12:32:55.601 +08:00 [INF] Request starting HTTP/2 GET https://localhost:44368/Abp/ApplicationConfigurationScript - null null 2024-06-25 12:32:55.601 +08:00 [INF] Request starting HTTP/2 GET https://localhost:44368/client-proxies/account-proxy.js?_v=638513860040000000 - null null 2024-06-25 12:32:55.603 +08:00 [INF] Request starting HTTP/2 GET https://localhost:44368/Themes/Lepton/Global/scripts/app.js?_v=638513861580000000 - null null 2024-06-25 12:32:55.601 +08:00 [INF] Request starting HTTP/2 GET https://localhost:44368/Themes/Lepton/Global/Styles/lepton6.css?_v=638513861580000000 - null null 2024-06-25 12:32:55.615 +08:00 [INF] Request starting HTTP/2 GET https://localhost:44368/Abp/ServiceProxyScript - null null 2024-06-25 12:32:55.615 +08:00 [INF] Request starting HTTP/2 GET https://localhost:44368/Pages/Account/LinkUsers/account-link-user-global.js?_v=638513860420000000 - null null 2024-06-25 12:32:55.603 +08:00 [INF] Request starting HTTP/2 GET https://localhost:44368/Pages/AuditLogs/audit-log-global.js?_v=638513862540000000 - null null 2024-06-25 12:32:55.622 +08:00 [ERR] Request Info: Accept : /, Accept-Encoding : gzip, deflate, br, zstd, Accept-Language : en-US,en;q=0.9, Connection : close, Cookie : .AspNetCore.Antiforgery.A1OFeYa0bck=CfDJ8AFVUkgLTmxAsnj8y8doccqzbXCjQYvx_068NvE3YlDdOiV2zjDXhweVC_my9pPk4T85vwqb_GjhiL09L3n5zVX-IfaARq4r1NmknMC5Y2DELhoNqnOM_aGeN4EOBe9Jt-7vEvPz-wp2iGjT1UjEv6E; XSRF-TOKEN=CfDJ8AFVUkgLTmxAsnj8y8doccrTDYO3BRGxMDuOi391f90vRA_nZQpBf6bsJEBEMBl2TiCyc27xDi2hkEoLnYXr5vmbYsWhAQHJe6ZfCKONDOrXMmxqk8N7D9PuFCdblTElu86KRUDvVxcjPH4LbTblFI4, Host : localhost:44368, Referer : https://localhost:44368/, User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0, sec-ch-ua : "Not/A)Brand";v="8", "Chromium";v="126", "Microsoft Edge";v="126", sec-ch-ua-mobile : ?0, sec-ch-ua-platform : "Windows", sec-fetch-site : same-origin, sec-fetch-mode : no-cors, sec-fetch-dest : script, priority : u=1, X-Correlation-Id : 4f8b17dfde0f44aca6f15ff134d62474 2024-06-25 12:32:55.622 +08:00 [ERR] Request Info: Accept : /, Accept-Encoding : gzip, deflate, br, zstd, Accept-Language : en-US,en;q=0.9, Connection : close, Cookie : .AspNetCore.Antiforgery.A1OFeYa0bck=CfDJ8AFVUkgLTmxAsnj8y8doccqzbXCjQYvx_068NvE3YlDdOiV2zjDXhweVC_my9pPk4T85vwqb_GjhiL09L3n5zVX-IfaARq4r1NmknMC5Y2DELhoNqnOM_aGeN4EOBe9Jt-7vEvPz-wp2iGjT1UjEv6E; XSRF-TOKEN=CfDJ8AFVUkgLTmxAsnj8y8doccrTDYO3BRGxMDuOi391f90vRA_nZQpBf6bsJEBEMBl2TiCyc27xDi2hkEoLnYXr5vmbYsWhAQHJe6ZfCKONDOrXMmxqk8N7D9PuFCdblTElu86KRUDvVxcjPH4LbTblFI4, Host : localhost:44368, Referer : https://localhost:44368/, User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0, sec-ch-ua : "Not/A)Brand";v="8", "Chromium";v="126", "Microsoft Edge";v="126", sec-ch-ua-mobile : ?0, sec-ch-ua-platform : "Windows", sec-fetch-site : same-origin, sec-fetch-mode : no-cors, sec-fetch-dest : script, priority : u=1, X-Correlation-Id : d06bb09379c440ed8a6a0c766bd793b1 2024-06-25 12:32:55.623 +08:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessRequestContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ResolveRequestUri. 2024-06-25 12:32:55.623 +08:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessRequestContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ResolveRequestUri. 2024-06-25 12:32:55.623 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ResolveRequestUri. 2024-06-25 12:32:55.623 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ResolveRequestUri. 2024-06-25 12:32:55.623 +08:00 [ERR] Request Info: Accept : /, Accept-Encoding : gzip, deflate, br, zstd, Accept-Language : en-US,en;q=0.9, Connection : close, Cookie : .AspNetCore.Antiforgery.A1OFeYa0bck=CfDJ8AFVUkgLTmxAsnj8y8doccqzbXCjQYvx_068NvE3YlDdOiV2zjDXhweVC_my9pPk4T85vwqb_GjhiL09L3n5zVX-IfaARq4r1NmknMC5Y2DELhoNqnOM_aGeN4EOBe9Jt-7vEvPz-wp2iGjT1UjEv6E; XSRF-TOKEN=CfDJ8AFVUkgLTmxAsnj8y8doccrTDYO3BRGxMDuOi391f90vRA_nZQpBf6bsJEBEMBl2TiCyc27xDi2hkEoLnYXr5vmbYsWhAQHJe6ZfCKONDOrXMmxqk8N7D9PuFCdblTElu86KRUDvVxcjPH4LbTblFI4, Host : localhost:44368, Referer : https://localhost:44368/, User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0, sec-ch-ua : "Not/A)Brand";v="8", "Chromium";v="126", "Microsoft Edge";v="126", sec-ch-ua-mobile : ?0, sec-ch-ua-platform : "Windows", sec-fetch-site : same-origin, sec-fetch-mode : no-cors, sec-fetch-dest : script, priority : u=1, X-Correlation-Id : eff72b5b315648ef8a18f1fc86f8011e 2024-06-25 12:32:55.624 +08:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessRequestContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ResolveRequestUri. 2024-06-25 12:32:55.624 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+InferEndpointType. 2024-06-25 12:32:55.624 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ResolveRequestUri. 2024-06-25 12:32:55.624 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+InferEndpointType. 2024-06-25 12:32:55.624 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by Volo.Abp.Account.Web.Pages.Account.OpenIddictImpersonateInferEndpointType. 2024-06-25 12:32:55.624 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by Volo.Abp.Account.Web.Pages.Account.OpenIddictImpersonateInferEndpointType. 2024-06-25 12:32:55.624 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateTransportSecurityRequirement. 2024-06-25 12:32:55.624 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateTransportSecurityRequirement. 2024-06-25 12:32:55.624 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateHostHeader. 2024-06-25 12:32:55.624 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateHostHeader. 2024-06-25 12:32:55.624 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+InferEndpointType. 2024-06-25 12:32:55.625 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by Volo.Abp.Account.Web.Pages.Account.OpenIddictImpersonateInferEndpointType.


32 Answer(s)
  • User Avatar
    0
    Priyanka created

    shiwei.liang@volosoft.com

    I have shared the solution with you in which I'm getting the error. Please help to check.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    This is because this code, It's logging the current request headers.

  • User Avatar
    0
    Priyanka created

    Is it actual an error which I need to fix? or I can ignore this?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    This is not an error and it's not code in the template.

    I think one of your coworkers added the code for diagnostics, but forgot to remove it.

  • User Avatar
    0
    Priyanka created

    This is not an error and it's not code in the template.

    I think one of your coworkers added the code for diagnostics, but forgot to remove it.

    Ok, thanks, one more query, in the logs I can see [DBG] as well, I don't want to log [DBG], I just want to log warning and error. How to avoid [DBG]?

    for example, 2024-06-26 11:35:20.041 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by Volo.Abp.Account.Web.Pages.Account.OpenIddictImpersonateInferEndpointType. 2024-06-26 11:35:20.041 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by Volo.Abp.Account.Web.Pages.Account.OpenIddictImpersonateInferEndpointType. 2024-06-26 11:35:20.041 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateTransportSecurityRequirement. 2024-06-26 11:35:20.041 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateTransportSecurityRequirement. 2024-06-26 11:35:20.041 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateHostHeader. 2024-06-26 11:35:20.041 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateHostHeader. 2024-06-26 11:35:20.043 +08:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ValidateHostHeader. 2024-06-26 11:35:20.043 +08:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ValidateHostHeader. 2024-06-26 11:35:20.044 +08:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.OpenIddictValidationHandlers+EvaluateValidatedTokens.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    You can change the log level

  • User Avatar
    0
    Priyanka created

    You can change the log level

    ok, it works, thank you.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11