- 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)
-
0
Hello,
Can you please share if any logs.
thanks
-
0
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
-
0
-
0
Hello,
Is your database is created for the application? once try to run DbMigrator project and try to run again.
thanks
-
0
I ran the DbMigrator project successfully, but the issue still exists
-
0
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
-
0
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
-
0
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
-
0
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
-
0
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
-
0
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
-
0
Hello,
Thanks for your response I will check again and get back to you asap.
Thanks
-
0
-
0
-
0
Hello,
Thanks for reporting I will refund your credit and closing this ticket.
Thanks