Ends in:
1 DAY
8 HRS
41 MIN
21 SEC
Ends in:
1 D
8 H
41 M
21 S
Open Closed

After replacing the Account module with the source code https://localhost:44398/Account/Login This page has become 404 #6970


User avatar
0
globalwits created
  • ABP Framework version: v8.0.5
  • UI Type: Angular
  • Database System: EF Core ( PostgreSQL.) / MongoDB
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

After replacing the Account module with the source code https://localhost:44398/Account/Login This page has become 404


15 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    Can you please share if any logs.

    thanks

  • User Avatar
    0
    globalwits created

    Hello,

    Can you please share if any logs.

    thanks

    2024-04-01 12:04:39.218 +08:00 [INF] Executing ContentResult with HTTP Response ContentType of application/javascript 2024-04-01 12:04:39.223 +08:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc) in 565.5694ms 2024-04-01 12:04:39.223 +08:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)' 2024-04-01 12:04:39.226 +08:00 [INF] Request finished HTTP/2 GET https://localhost:44398/Abp/ServiceProxyScript - 200 162 application/javascript 600.2796ms 2024-04-01 12:04:39.660 +08:00 [INF] Executing ContentResult with HTTP Response ContentType of application/javascript 2024-04-01 12:04:39.669 +08:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.Localization.AbpApplicationLocalizationScriptController.GetAsync (Volo.Abp.AspNetCore.Mvc) in 1015.593ms 2024-04-01 12:04:39.669 +08:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.Localization.AbpApplicationLocalizationScriptController.GetAsync (Volo.Abp.AspNetCore.Mvc)' 2024-04-01 12:04:39.670 +08:00 [INF] Request finished HTTP/2 GET https://localhost:44398/Abp/ApplicationLocalizationScript?cultureName=zh-Hans - 200 105311 application/javascript 1050.8477ms 2024-04-01 12:04:39.776 +08:00 [DBG] Executed AbpApplicationConfigurationAppService.GetAsync(). 2024-04-01 12:04:39.810 +08:00 [INF] Executing ContentResult with HTTP Response ContentType of application/javascript 2024-04-01 12:04:39.812 +08:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc) in 1165.6919ms 2024-04-01 12:04:39.812 +08:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc)' 2024-04-01 12:04:39.813 +08:00 [INF] Request finished HTTP/2 GET https://localhost:44398/Abp/ApplicationConfigurationScript - 200 10287 application/javascript 1192.4766ms 2024-04-01 12:04:40.925 +08:00 [INF] Request starting HTTP/2 GET https://localhost:44398/Account/Login - null null 2024-04-01 12:04:40.935 +08:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessRequestContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ResolveRequestUri. 2024-04-01 12:04:40.935 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ResolveRequestUri. 2024-04-01 12:04:40.935 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+InferEndpointType. 2024-04-01 12:04:40.936 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by Volo.Abp.Account.Web.Pages.Account.OpenIddictImpersonateInferEndpointType. 2024-04-01 12:04:40.936 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateTransportSecurityRequirement. 2024-04-01 12:04:40.936 +08:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateHostHeader. 2024-04-01 12:04:40.940 +08:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ValidateHostHeader. 2024-04-01 12:04:40.940 +08:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.OpenIddictValidationHandlers+EvaluateValidatedTokens. 2024-04-01 12:04:40.940 +08:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ExtractAccessTokenFromAuthorizationHeader. 2024-04-01 12:04:40.940 +08:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ExtractAccessTokenFromBodyForm. 2024-04-01 12:04:40.940 +08:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ExtractAccessTokenFromQueryString. 2024-04-01 12:04:40.940 +08:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.OpenIddictValidationHandlers+ValidateRequiredTokens. 2024-04-01 12:04:40.940 +08:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was marked as rejected by OpenIddict.Validation.OpenIddictValidationHandlers+ValidateRequiredTokens. 2024-04-01 12:04:40.940 +08:00 [DBG] AuthenticationScheme: OpenIddict.Validation.AspNetCore was not authenticated. 2024-04-01 12:04:40.945 +08:00 [INF] Request finished HTTP/2 GET https://localhost:44398/Account/Login - 404 0 null 19.8948ms 2024-04-01 12:04:40.946 +08:00 [INF] Request reached the end of the middleware pipeline without being handled by application code. Request path: GET https://localhost:44398/Account/Login, Response status code: 404

    Hello, this is a request log

  • User Avatar
    0
    globalwits created

    Previously, it could be used normally, but this issue occurred when adding a source to the project through suite

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    Is your database is created for the application? once try to run DbMigrator project and try to run again.

    thanks

  • User Avatar
    0
    globalwits created

    I ran the DbMigrator project successfully, but the issue still exists

  • User Avatar
    0
    globalwits created

    Hello,

    Is your database is created for the application? once try to run DbMigrator project and try to run again.

    thanks

    I ran the DbMigrator project successfully, but the issue still exists

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    can you please check Host.csproj file , whether reference of Account module has been changed or not? It should be ProjectReference instead of PackageReference.

    <ProjectReference Include="..\..\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.Web.OpenIddict\Volo.Abp.Account.Pro.Public.Web.OpenIddict.csproj" /> <ProjectReference Include="..\..\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.Web.Impersonation\Volo.Abp.Account.Pro.Public.Web.Impersonation.csproj" />

    thanks

  • User Avatar
    0
    globalwits created

    Hello,

    can you please check Host.csproj file , whether reference of Account module has been changed or not? It should be ProjectReference instead of PackageReference.

    <ProjectReference Include="..\..\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.Web.OpenIddict\Volo.Abp.Account.Pro.Public.Web.OpenIddict.csproj" /> <ProjectReference Include="..\..\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.Web.Impersonation\Volo.Abp.Account.Pro.Public.Web.Impersonation.csproj" />

    thanks

    <ItemGroup> <PackageReference Include="Volo.Abp.Autofac" Version="8.0.5" /> <PackageReference Include="Volo.Abp.AspNetCore.Serilog" Version="8.0.5" /> <PackageReference Include="Volo.Abp.Caching.StackExchangeRedis" Version="8.0.5" /> <PackageReference Include="Volo.Abp.DistributedLocking" Version="8.0.5" /> <ProjectReference Include="....\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.Application\Volo.Abp.Account.Pro.Public.Application.csproj" /> <ProjectReference Include="....\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.HttpApi\Volo.Abp.Account.Pro.Public.HttpApi.csproj" /> <ProjectReference Include="....\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.Web.OpenIddict\Volo.Abp.Account.Pro.Public.Web.OpenIddict.csproj" /> <ProjectReference Include="....\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.Web.Impersonation\Volo.Abp.Account.Pro.Public.Web.Impersonation.csproj" /> <PackageReference Include="Volo.Saas.Host.Application.Contracts" Version="8.0.5" /> <ProjectReference Include="..\CMSPro.EntityFrameworkCore\CMSPro.EntityFrameworkCore.csproj" /> </ItemGroup> It's already ProjectReference

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    I have checked at my end but It's working fine, I am unable to reproduce the issue. Can you please once check with Incognito mode. When you run backend that time when you click on Login Is there also same issue or its working? or may be the case that Account module is not get added properly or successfully. can you once try with any new project if possible? Create a new project and add Account module to it and check?

    thanks

  • User Avatar
    0
    globalwits created

    Hello I have a new project and will encounter the same problem. Create a project using ABP suite first Screenshots are the options when creating a project Then migrate the item database Then start the Test AuthServer At this point https://localhost:44398/Account/Login This address is accessible Afterwards, replace the Source Code again

    Visit again at this time https://localhost:44398/Account/Login It will become 404

  • User Avatar
    0
    globalwits created

    Hello,

    I have checked at my end but It's working fine, I am unable to reproduce the issue. Can you please once check with Incognito mode. When you run backend that time when you click on Login Is there also same issue or its working? or may be the case that Account module is not get added properly or successfully.
    can you once try with any new project if possible? Create a new project and add Account module to it and check?

    thanks

    Hello I have a new project and will encounter the same problem. Create a project using ABP suite first Screenshots are the options when creating a project Then migrate the item database Then start the Test AuthServer At this point https://localhost:44398/Account/Login This address is accessible Afterwards, replace the Source Code again

    Visit again at this time https://localhost:44398/Account/Login It will become 404

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    Thanks for your response I will check again and get back to you asap.

    Thanks

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hi again,

    I have checked it again but its working fine at my end

    thanks

  • User Avatar
    0
    globalwits created

    Hi again,

    I have checked it again but its working fine at my end

    thanks

    Hello, the problem has been resolved. Just add the following line of code

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    Thanks for reporting I will refund your credit and closing this ticket.

    Thanks

Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19