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:
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.
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>
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:
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.
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:
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 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):
Questions