Activities of "amolk"

  • ABP Framework version: v7.0.0
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:

1. CMS Kit Pro Module

Logs of WebApp

\[web\_9af338ec\-5\]: \[17:14:29 INF\] Request starting HTTP/2 GET [https://localhost:44321/](https://localhost:44321/) \- \-
\[web\_9af338ec\-5\]: \[17:14:29 INF\] Cookies was not authenticated\. Failure message: Unprotect ticket failed
\[web\_9af338ec\-5\]: \[17:14:29 WRN\] Could not find IdentityClientConfiguration for CmsKitPublic\. Either define a configuration for CmsKitPublic or set a default configuration\.
\[web\_9af338ec\-5\]: \[17:14:29 INF\] Start processing HTTP request GET [https://localhost:44325/api/cms-kit-public/pages?api-version=1.0](https://localhost:44325/api/cms-kit-public/pages?api-version=1.0)
\[web\_9af338ec\-5\]: \[17:14:29 INF\] Sending HTTP request GET [https://localhost:44325/api/cms-kit-public/pages?api-version=1.0](https://localhost:44325/api/cms-kit-public/pages?api-version=1.0)
\[web\_9af338ec\-5\]: \[17:14:29 INF\] Received HTTP response headers after 474\.74ms \- 404
\[web\_9af338ec\-5\]: \[17:14:30 INF\] End processing HTTP request after 491\.3374ms \- 404
\[web\_9af338ec\-5\]: \[17:14:30 ERR\] An unhandled exception has occurred while executing the request\.
\[web\_9af338ec\-5\]: Volo\.Abp\.Http\.Client\.AbpRemoteCallException: Not Found
\[web\_9af338ec\-5\]: at Volo\.Abp\.Http\.Client\.ClientProxying\.ClientProxyBase`1.ThrowExceptionForResponseAsync(HttpResponseMessage response) [web_9af338ec-5]: at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync(ClientProxyRequestContext requestContext)
\[web\_9af338ec\-5\]: at Volo\.Abp\.Http\.Client\.ClientProxying\.ClientProxyBase`1.RequestAsync[T](ClientProxyRequestContext requestContext) [web_9af338ec-5]: at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1\.RequestAsync\[T\]\(String methodName\, ClientProxyRequestTypeValue arguments\)
\[web\_9af338ec\-5\]: at Volo\.CmsKit\.Public\.Pages\.ClientProxies\.PagesPublicClientProxy\.FindDefaultHomePageAsync\(\)
\[web\_9af338ec\-5\]: at Volo\.CmsKit\.Public\.Web\.DefaultHomePageMiddleware\.InvokeAsync\(HttpContext httpContext\)
\[web\_9af338ec\-5\]: at Microsoft\.AspNetCore\.Diagnostics\.DeveloperExceptionPageMiddlewareImpl\.Invoke\(HttpContext context\)
\[web\_9af338ec\-5\]: \[17:14:30 INF\] Request finished HTTP/2 GET [https://localhost:44321/](https://localhost:44321/) \- \- \- 500 \- text/html;\+charset=utf\-8 676\.6011ms

Logs of WebGateway

\[web\-gateway\_d0f651e5\-6\]: \[17:20:18 INF\] Request finished HTTP/1\.1 GET [https://localhost:44325/api/cms-kit-public/pages?api-version=1.0](https://localhost:44325/api/cms-kit-public/pages?api-version=1.0) \- \- \- 500 392 application/json;\+charset=utf\-8 44\.8271ms
\[web\-gateway\_d0f651e5\-6\]: \[17:20:34 INF\] Request starting HTTP/1\.1 GET [https://localhost:44325/api/cms-kit-public/pages?api-version=1.0](https://localhost:44325/api/cms-kit-public/pages?api-version=1.0) \- \-
\[web\-gateway\_d0f651e5\-6\]: \[17:20:34 DBG\] requestId: 0HMOBBGLLLKVH:00000005\, previousRequestId: no previous request id\, message: ocelot pipeline started
\[web\-gateway\_d0f651e5\-6\]: \[17:20:34 DBG\] requestId: 0HMOBBGLLLKVH:00000005\, previousRequestId: no previous request id\, message: Upstream url path is /api/cms\-kit\-public/pages
\[web\-gateway\_d0f651e5\-6\]: \[17:20:34 DBG\] requestId: 0HMOBBGLLLKVH:00000005\, previousRequestId: no previous request id\, message: downstream templates are /\{everything\}
\[web\-gateway\_d0f651e5\-6\]: \[17:20:34 INF\] requestId: 0HMOBBGLLLKVH:00000005\, previousRequestId: no previous request id\, message: EndpointRateLimiting is not enabled for /\{everything\}
\[web\-gateway\_d0f651e5\-6\]: \[17:20:34 INF\] requestId: 0HMOBBGLLLKVH:00000005\, previousRequestId: no previous request id\, message: No authentication needed for /api/cms\-kit\-public/pages
\[web\-gateway\_d0f651e5\-6\]: \[17:20:34 INF\] requestId: 0HMOBBGLLLKVH:00000005\, previousRequestId: no previous request id\, message: /\{everything\} route does not require user to be authorized
\[web\-gateway\_d0f651e5\-6\]: \[17:20:34 DBG\] requestId: 0HMOBBGLLLKVH:00000005\, previousRequestId: no previous request id\, message: Downstream url is [https://localhost:44367/api/cms-kit-public/pages?api-version=1.0](https://localhost:44367/api/cms-kit-public/pages?api-version=1.0)
\[web\-gateway\_d0f651e5\-6\]: \[17:20:34 WRN\] requestId: 0HMOBBGLLLKVH:00000005\, previousRequestId: no previous request id\, message: 500 \(Internal Server Error\) status code\, request uri: [https://localhost:44367/api/cms-kit-public/pages?api-version=1.0](https://localhost:44367/api/cms-kit-public/pages?api-version=1.0)
\[web\-gateway\_d0f651e5\-6\]: \[17:20:34 DBG\] requestId: 0HMOBBGLLLKVH:00000005\, previousRequestId: no previous request id\, message: setting http response message
\[web\-gateway\_d0f651e5\-6\]: \[17:20:34 DBG\] requestId: 0HMOBBGLLLKVH:00000005\, previousRequestId: no previous request id\, message: no pipeline errors\, setting and returning completed response
\[web\-gateway\_d0f651e5\-6\]: \[17:20:34 DBG\] requestId: 0HMOBBGLLLKVH:00000005\, previousRequestId: no previous request id\, message: ocelot pipeline finished
\[web\-gateway\_d0f651e5\-6\]: \[17:20:34 INF\] Request finished HTTP/1\.1 GET [https://localhost:44325/api/cms-kit-public/pages?api-version=1.0](https://localhost:44325/api/cms-kit-public/pages?api-version=1.0) \- \- \- 500 392 application/json;\+charset=utf\-8 53\.5866ms
\[web\_9af338ec\-5\]: \[17:14:29 INF\] Received HTTP response headers after 474\.74ms \- 404
\[web\_9af338ec\-5\]: \[17:14:30 INF\] End processing HTTP request after 491\.3374ms \- 404


2. Forms Module

While trying to access Forms Module, I am getting this kind of error

Logs of WebApp

    [web_6a1b7d37-8]: [17:42:25 INF] Executed action Volo.Forms.Forms.ClientProxies.FormClientProxy.GetListAsync (Volo.Forms.HttpApi.Client) in 24262.7561ms
    [web_6a1b7d37-8]: [17:42:25 INF] Executed endpoint 'Volo.Forms.Forms.ClientProxies.FormClientProxy.GetListAsync (Volo.Forms.HttpApi.Client)'
    [web_6a1b7d37-8]: [17:42:25 INF] Request finished HTTP/2 GET https://localhost:44321/api/forms?filter=&sorting=lastModificationTime%20desc&skipCount=0&maxResultCount=10 application/json - - 0 - application/json;+charset=utf-8 24273.6631ms
    [web_6a1b7d37-8]: [17:42:25 INF] Request starting HTTP/2 GET https://localhost:44321/libs/abp/utils/abp-utils.umd.min.js.map - -
    [web_6a1b7d37-8]: [17:42:25 INF] Sending file. Request path: '/libs/abp/utils/abp-utils.umd.min.js.map'. Physical path: 'C:\Projects\ABP Commercial Microservices MVC .Net7\apps\web\src\testmvc.Web\wwwroot\libs\abp\utils\abp-utils.umd.min.js.map'
    [web_6a1b7d37-8]: [17:42:25 INF] Request finished HTTP/2 GET https://localhost:44321/libs/abp/utils/abp-utils.umd.min.js.map - - - 200 34305 text/plain 3.4030ms
    [web_6a1b7d37-8]: [17:42:25 INF] Request starting HTTP/2 GET https://localhost:44321/api/forms?filter=&sorting=lastModificationTime%20desc&skipCount=0&maxResultCount=10 application/json -
    [web_6a1b7d37-8]: [17:42:25 INF] Executing endpoint 'Volo.Forms.Forms.ClientProxies.FormClientProxy.GetListAsync (Volo.Forms.HttpApi.Client)'
    [web_6a1b7d37-8]: [17:42:25 INF] Route matched with {area = "form", action = "GetList", controller = "Form", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Volo.Abp.Application.Dtos.PagedResultDto`1[Volo.Forms.Forms.FormDto]] GetListAsync(Volo.Forms.Forms.GetFormListInputDto) on controller Volo.Forms.Forms.ClientProxies.FormClientProxy (Volo.Forms.HttpApi.Client).
    [web_6a1b7d37-8]: [17:42:25 INF] Executing action method Volo.Forms.Forms.ClientProxies.FormClientProxy.GetListAsync (Volo.Forms.HttpApi.Client) - Validation state: Valid
    [web_6a1b7d37-8]: [17:42:25 INF] Start processing HTTP request GET https://localhost:44325/api/forms?Sorting=lastModificationTime+desc&SkipCount=0&MaxResultCount=10&api-version=1.0
    [web_6a1b7d37-8]: [17:42:25 INF] Sending HTTP request GET https://localhost:44325/api/forms?Sorting=lastModificationTime+desc&SkipCount=0&MaxResultCount=10&api-version=1.0
    [web_6a1b7d37-8]: [17:42:25 INF] Request starting HTTP/2 GET https://localhost:44321/libs/bootstrap/js/bootstrap.bundle.js.map - -
    [web_6a1b7d37-8]: [17:42:25 INF] Sending file. Request path: '/libs/bootstrap/js/bootstrap.bundle.js.map'. Physical path: 'C:\Projects\ABP Commercial Microservices MVC .Net7\apps\web\src\testmvc.Web\wwwroot\libs\bootstrap\js\bootstrap.bundle.js.map'
    [web_6a1b7d37-8]: [17:42:25 INF] Request finished HTTP/2 GET https://localhost:44321/libs/bootstrap/js/bootstrap.bundle.js.map - - - 200 451770 text/plain 18.3828ms
    [web_6a1b7d37-8]: [17:42:26 INF] Received HTTP response headers after 122.007ms - 500
    [web_6a1b7d37-8]: [17:42:26 INF] Request starting HTTP/2 GET https://localhost:44321/libs/toastr/toastr.js.map - -
    [web_6a1b7d37-8]: [17:42:26 INF] Sending file. Request path: '/libs/toastr/toastr.js.map'. Physical path: 'C:\Projects\ABP Commercial Microservices MVC .Net7\apps\web\src\testmvc.Web\wwwroot\libs\toastr\toastr.js.map'
    [web_6a1b7d37-8]: [17:42:26 INF] Request finished HTTP/2 GET https://localhost:44321/libs/toastr/toastr.js.map - - - 200 25633 text/plain 2.6066ms
    [web_6a1b7d37-8]: [17:42:26 INF] Request starting HTTP/2 GET https://localhost:44321/libs/moment/moment.min.js.map - -
    [web_6a1b7d37-8]: [17:42:26 INF] Request finished HTTP/2 GET https://localhost:44321/libs/moment/moment.min.js.map - - - 404 0 - 1.3795ms
    [web_6a1b7d37-8]: [17:42:28 INF] Sending HTTP request GET https://localhost:44325/api/forms?Sorting=lastModificationTime+desc&SkipCount=0&MaxResultCount=10&api-version=1.0
    [web_6a1b7d37-8]: [17:42:28 INF] Received HTTP response headers after 76.4225ms - 500
    [web_6a1b7d37-8]: [17:42:32 INF] Sending HTTP request GET https://localhost:44325/api/forms?Sorting=lastModificationTime+desc&SkipCount=0&MaxResultCount=10&api-version=1.0
    [web_6a1b7d37-8]: [17:42:32 INF] Received HTTP response headers after 76.1643ms - 500
    [web_6a1b7d37-8]: [17:42:40 INF] Sending HTTP request GET https://localhost:44325/api/forms?Sorting=lastModificationTime+desc&SkipCount=0&MaxResultCount=10&api-version=1.0
    [web_6a1b7d37-8]: [17:42:40 INF] Received HTTP response headers after 75.7564ms - 500
    [web_6a1b7d37-8]: [17:42:56 INF] Sending HTTP request GET https://localhost:44325/api/forms?Sorting=lastModificationTime+desc&SkipCount=0&MaxResultCount=10&api-version=1.0
    [web_6a1b7d37-8]: [17:42:56 INF] Received HTTP response headers after 81.1023ms - 500
    [web_6a1b7d37-8]: [17:42:56 INF] End processing HTTP request after 30465.0881ms - 500
    [web_6a1b7d37-8]: [17:42:56 ERR] ---------- RemoteServiceErrorInfo ----------
    [web_6a1b7d37-8]: {
    [web_6a1b7d37-8]: "code": null,
    [web_6a1b7d37-8]: "message": "An internal error occurred during your request!",
    [web_6a1b7d37-8]: "details": null,
    [web_6a1b7d37-8]: "data": {
    [web_6a1b7d37-8]: "ActivatorChain": "Volo.Forms.EntityFrameworkCore.FormsDbContext -> λ:Microsoft.EntityFrameworkCore.DbContextOptions`1[[Volo.Forms.EntityFrameworkCore.FormsDbContext, Volo.Forms.EntityFrameworkCore, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null]]"
    [web_6a1b7d37-8]: },
    [web_6a1b7d37-8]: "validationErrors": null
    [web_6a1b7d37-8]: }
    [web_6a1b7d37-8]:
    [web_6a1b7d37-8]: [17:42:56 ERR] An internal error occurred during your request!
    [web_6a1b7d37-8]: Volo.Abp.Http.Client.AbpRemoteCallException: An internal error occurred during your request!
    [web_6a1b7d37-8]: at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.ThrowExceptionForResponseAsync(HttpResponseMessage response)
    [web_6a1b7d37-8]: at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync(ClientProxyRequestContext requestContext)
    [web_6a1b7d37-8]: at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync[T](ClientProxyRequestContext requestContext)
    [web_6a1b7d37-8]: at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync[T](String methodName, ClientProxyRequestTypeValue arguments)
    [web_6a1b7d37-8]: at Volo.Forms.Forms.ClientProxies.FormClientProxy.GetListAsync(GetFormListInputDto input)
    [web_6a1b7d37-8]: at lambda_method1849(Closure, Object)
    [web_6a1b7d37-8]: at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
    [web_6a1b7d37-8]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker)
    [web_6a1b7d37-8]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
    [web_6a1b7d37-8]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
    [web_6a1b7d37-8]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
    [web_6a1b7d37-8]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
    [web_6a1b7d37-8]: at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
    [web_6a1b7d37-8]: [17:42:56 ERR] Code:
    [web_6a1b7d37-8]: [17:42:56 ERR] Details:
    [web_6a1b7d37-8]: [17:42:56 ERR] ---------- Exception Data ----------
    [web_6a1b7d37-8]: ActivatorChain = Volo.Forms.EntityFrameworkCore.FormsDbContext -> λ:Microsoft.EntityFrameworkCore.DbContextOptions`1[[Volo.Forms.EntityFrameworkCore.FormsDbContext, Volo.Forms.EntityFrameworkCore, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null]]
    [web_6a1b7d37-8]:
    [web_6a1b7d37-8]: [17:42:56 INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
    [web_6a1b7d37-8]: [17:42:56 INF] Executed action Volo.Forms.Forms.ClientProxies.FormClientProxy.GetListAsync (Volo.Forms.HttpApi.Client) in 30481.091ms
    [web_6a1b7d37-8]: [17:42:56 INF] Executed endpoint 'Volo.Forms.Forms.ClientProxies.FormClientProxy.GetListAsync (Volo.Forms.HttpApi.Client)'
    [web_6a1b7d37-8]: [17:42:56 INF] Request finished HTTP/2 GET https://localhost:44321/api/forms?filter=&sorting=lastModificationTime%20desc&skipCount=0&maxResultCount=10 application/json - - 500 - application/json;+charset=utf-8 30482.8606ms 

Logs of WebGateway


  • Steps to reproduce the issue:" Download ABP Microservice MVC-.Net 7 Template
  1. Tried adding CMS Kit Pro module with the command -- abp add-module Volo.CmsKit.Pro version 7.0.0 After adding this module, I am unable to view WebApp
  2. Tried adding Forms Module with the command -- abp add-module Volo.Forms version 7.0.0 Forms module is not accessible
  • ABP Framework version: v7.0
  • UI type: MVC
  • DB provider: EF Core
  • **Tiered (MVC) **: no
  • Exception message and stack trace:
* [13:21:58 INF] Request starting HTTP/1.1 POST http://webapp.testprojects.in/signin-oidc application/x-www-form-urlencoded 1607
[13:21:58 ERR] Message contains error: 'invalid_request', error_description: 'The specified HTTP method is not valid.', error_uri: 'https://documentation.openiddict.com/errors/ID2084', status code '400'.
[13:21:58 ERR] Exception occurred while processing message.
Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolException: Message contains error: 'invalid_request', error_description: 'The specified HTTP method is not valid.', error_uri: 'https://documentation.openiddict.com/errors/ID2084'.
   at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.RedeemAuthorizationCodeAsync(OpenIdConnectMessage tokenEndpointRequest)
   at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.HandleRemoteAuthenticateAsync()
[13:21:58 INF] Error from RemoteAuthentication: Message contains error: 'invalid_request', error_description: 'The specified HTTP method is not valid.', error_uri: 'https://documentation.openiddict.com/errors/ID2084'..
[13:21:58 ERR] An unhandled exception has occurred while executing the request.
System.Exception: An error was encountered while handling the remote login.
 ---> Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolException: Message contains error: 'invalid_request', error_description: 'The specified HTTP method is not valid.', error_uri: 'https://documentation.openiddict.com/errors/ID2084'.
   at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.RedeemAuthorizationCodeAsync(OpenIdConnectMessage tokenEndpointRequest)
   at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.HandleRemoteAuthenticateAsync()
   --- End of inner exception stack trace ---
   at Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler`1.HandleRequestAsync()
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Volo.Abp.AspNetCore.Security.AbpSecurityHeadersMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Volo.Abp.AspNetCore.Tracing.AbpCorrelationIdMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
[13:21:58 INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Controllers.ErrorController.Index (Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared)'
[13:21:58 INF] Route matched with {action = "Index", controller = "Error", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Index(Int32) on controller Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Controllers.ErrorController (Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared).
  • Steps to reproduce the issue:"

We have Latest copy of ABP IO commercial V7.0 using MVC and EFCore. Everything is working fine on Local without any change. We are trying to run this application on azure, and when we click on login it successfully redirect to the Auth Server then after passing credentials and clicked on Login we are getting above error. Same Issue is for Public Web site login. We did required changes on azure as well. "RequireHttpsMetadata": "false", this value is et to false and "IsOnK8s": "true", set to true for Public Web project. After login we are running into this issue.

Could you please help us to resolve this issue ASAP.

"AuthServer": { "Authority": "authserver url", "RequireHttpsMetadata": "true", "ClientId": "PublicWeb", "ClientSecret": "1q2w3e*", "IsOnK8s": "true", "MetaAddress": "authserver url" },

Showing 1 to 2 of 2 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11