I have already tried it, unfortunately I got same error
ABP Framework version: v5.3.3
UI type: Angular
DB provider: EF Core
Tiered (MVC) or Identity Server Separated (Angular): no
Exception message and stack trace:
Response status code does not indicate success: 404 (). System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (). at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken) at Volo.Abp.Cli.ServiceProxying.ServiceProxyGeneratorBase``1.GetApplicationApiDescriptionModelAsync(GenerateProxyArgs args) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ServiceProxying\ServiceProxyGeneratorBase.cs:line 36
Steps to reproduce the issue:" Open a command-line terminal in the root folder of your client project:
abp generate-proxy -t csharp -u "https://demo.channelengine.net/api/swagger"
I can use generate-proxy for my abp project url successfully . But I failed when using generate-proxy command in another url . Can I use generate-proxy command for any swagger url?
Hı @liangshiwei ,
Yes, but it hasn't UI dashboard. if there was a UI we could use it.
@liangshiwei Could you implement inbox pattern like in eventbus
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 suite doesn't create UI Pages if Abp solution is a module. Is there a bug or is this impossible?
I create an entity with Abp Suite. Update method was created like this:
public async Task<<Product>> UpdateAsync(
Guid id,
string type
)
{
var queryable = await _productRepository.GetQueryableAsync();
var query = queryable.Where(x => x.Id == id);
var product = await AsyncExecuter.FirstOrDefaultAsync(query);
product.Type = type;
return await _productRepository.UpdateAsync(product);
}
Why isn't the method created like this?
public async Task<<Product>> UpdateAsync(
Guid id,
string type
)
{
var product = await _productRepository.GetAsync(id);
product.Type = type;
return await _productRepository.UpdateAsync(product);
}
we changed nothing. we sent connection information to your email.
Today we faced a really critical problem, all logged in user's in the system (belongs to different tenants) started to be behave like logged in via same tenant and user like XTenant\XUser to the system. Angular side was showing this same tenant and user in top of the right (profile) area. In thi situation we opened Linked Accounts and screen was like below. The problem has been solved after restarting service (app). This problem occured second time. Because of the user's belongs to different tenants see the unrelated (unauthorized) data, this problem is really critical for us. We need urgent support for this.
We are not sure if related with problem, but want to share as an extra information, we realised below error on logs approximately same time:
Invalid extension grant{"error":"TheTargetUserIsNotLinkedToYou"}, details: {"ClientId":"MyApp_App","ClientName":"MyApp_App","GrantType":"LinkLogin","Scopes":"XProject offline_access","AuthorizationCode":"********","RefreshToken":"********","UserName":null,"AuthenticationContextReferenceClasses":null,"Tenant":null,"IdP":null,"Raw":{"grant_type":"LinkLogin","LinkUserId":"39fb9b1b-1ccc-51d0-f52a-964600e6ed13","access_token":"**","client_id":"MyApp_App","client_secret":"***REDACTED***","scope":"offline_access XProject","LinkTenantId":"3a031155-0c87-72e8-5057-48a94e23fce3"},"$type":"TokenRequestValidationLog"}
Note:There are 162 rows in AbpLinkUsers table
In my opinion
DefaultExceptionToErrorInfoConverter.cs:
protected virtual Exception TryToGetActualException(Exception exception)
{
if (exception.InnerException != null)
{
if (exception.InnerException is AbpValidationException ||
exception.InnerException is AbpAuthorizationException ||
exception.InnerException is EntityNotFoundException ||
exception.InnerException is IBusinessException)
{
return exception.InnerException;
}
}
return exception;
}
instead of :
protected virtual Exception TryToGetActualException(Exception exception)
{
if (exception is AggregateException && exception.InnerException != null)
{
var aggException = exception as AggregateException;
if (aggException.InnerException is AbpValidationException ||
aggException.InnerException is AbpAuthorizationException ||
aggException.InnerException is EntityNotFoundException ||
aggException.InnerException is IBusinessException)
{
return aggException.InnerException;
}
}
return exception;
}