Activities of "rick@i-pulse.nl"

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v5.3.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

We use the upload functionality with MVC and we generated clientproxy due to a bug in ABP. When we upload a file, the contentlength is 0 when we reach the generated clientproxy.

Contorller

Upload method in generated proxy

<br> In the AppService the contentlength is also 0

What is going wrong with this upload? This worked in an older version of ABP without the generated proxy.

Thanks.

<br>

  • ABP Framework version: v5.3.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

We have a Microservice solution with multiple custom services. This application is locally running fine but after installing it on Azure Kubernetes we got some issues. Many issues are already solved, but now we got stock on this errror.

Reproduction steps:

  1. All services are running
  2. We can open the portal screen. (web application)
  3. We can also open the auth portal screen and then we see the login
  4. When I click on login in the webapp, I see the following error in the console of the web portal project.
  • No error in the Identityservice, GatewayService or AuthService

What are we doing wrong?

[18:31:49 ERR] An unhandled exception has occurred while executing the request.
System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'System.String'.
---> System.ArgumentException: IDX20108: The address specified 'System.String' is not valid as per HTTPS scheme. Please specify an https address for security reasons. If you want to test with http address, set the RequireHttps property on IDocumentRetriever to false. (Parameter 'address')
at Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.GetDocumentAsync(String address, CancellationToken cancel)
at Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectConfigurationRetriever.GetAsync(String address, IDocumentRetriever retriever, CancellationToken cancel)
at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(CancellationToken cancel)
--- End of inner exception stack trace ---`
at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(CancellationToken cancel)
at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.HandleChallengeAsyncInternal(AuthenticationProperties properties)
at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.HandleChallengeAsync(AuthenticationProperties properties)
at Microsoft.AspNetCore.Authentication.AuthenticationHandler`1.ChallengeAsync(AuthenticationProperties properties)
at Microsoft.AspNetCore.Authentication.AuthenticationService.ChallengeAsync(HttpContext context, String scheme, AuthenticationProperties properties)
at Microsoft.AspNetCore.Mvc.ChallengeResult.ExecuteResultAsync(ActionContext context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResultFilterAsync>g__Awaited|30_0[TFilter,TFilterAsync](ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeResultFilters>g__Awaited|28_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)

Yes. These 2 points are solved now.

  • ABP Framework version: v5.3.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Problem 1 We updated our Microservice solution to newest packages and ABP version. Since we did that, we cannot see lists of the default ABP services. We get 404 in the Web and the gateway is not called anymore. So, we tried to create a new Microservice solution to see the differences and maybe to merge our old services to this new solution. In that new solution we see that the internal Gateway is gone. So, maybe that's the reason why the old project is not running anymore after the upgrade.

Problem 2 When I create that solution, run migrations and started all services I was trying to open the public gateway and gateway. Both swagger pages are empty and in my console I see these errors:

This happens when we have creating nothing custom yet.

Problem 3 When we add a new custom service with entities etc.. and try to run, it seems to work. But when we open the list page, we got an error in our console because the window.APPNAME.OrderService is not defined. The default productService is available with all API methods, but our new service not.

So, we are facing multiple issues with a new solution and services. Please help!

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v4.3.3
  • UI type: / MVC /
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi,

We are using the microservices solution and have a product service with many API calls in the Host. At this moment all these calls are available in the Gateway and the Public Gateway. Also all the models used for the calls are available in Swagger.

We want some specific calls in the Public Gateway which can be used for the website and don't want to have all other calls in there. See the image below of what we have now and what we want.

All API calls and objects are generated, but can we split this without making a seperate PublicProduct module?

Hi rick,

please keep the conversation here.

That's okay for me but my problem is not getting solved. Most of the times it helps to share a screen :).

Can we do a Teams call to check this together instead of these tickets? Please send me an email to get in touch.

I shared my logging above and there is no other logging about tenantId or name.

I added this and now I got this error (same as in my original message). I filled the tenantId in the header and querystring but both are not recognized.

No. In which project do we need this?

I was just trying to get that TenantId in our ProductService. We are running on a NGINX server so I want to try another key then “__tenantId”.

Our product service solution looks like this (Microservice):

  1. In the IBP.ProductService.HttpAPI I added this in the ‘ProductServiceHttpApiModule’:
  2. I also added the CustomTenantResolver:
  3. When I call the API, I got this error:
  4. I filled the tenantId in the querystring and in the requestHeader, but both are not used/found. See data:

Questions

  • Can you see what is going wrong?
  • Is the CustomerTenantResolver added in the correct project?
  • I can create this workaround, but that's not the right way!
Showing 1 to 10 of 32 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35