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?
5 Answer(s)
-
0
hi
abp generate-proxy -t csharp -u "https://demo.channelengine.net/"
-
0
I have already tried it, unfortunately I got same error
-
0
hi
The result of
https://demo.channelengine.net/api/abp/api-definition
is 404.It should return the api definitions.
-
0
it is an remote Url , channel engine is not our project :) Probably it is not an abp project. Can generate-proxy be run only for abp projects?
-
0
Yes, It is design for abp.