Activities of "gexiaoxu"

  • ABP Framework version: v4.2.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Seperated (Angular): yes
  • Exception message and stack trace:
System.Threading.Tasks.TaskCanceledException: The operation was canceled.
 ---> System.IO.IOException: Unable to read data from the transport connection: 由于线程退出或应用程序请求,已中止 I/O 操作。.
 ---> System.Net.Sockets.SocketException (995): 由于线程退出或应用程序请求,已中止 I/O 操作。
   --- End of inner exception stack trace ---
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.GetResult(Int16 token)
   at System.Net.Http.HttpConnection.FillAsync(Boolean async)
   at System.Net.Http.HttpConnection.ReadNextResponseHeaderLineAsync(Boolean async, Boolean foldedHeadersAllowed)
   at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.AuthenticationHelper.SendWithNtAuthAsync(HttpRequestMessage request, Uri authUri, Boolean async, ICredentials credentials, Boolean isProxyAuth, HttpConnection connection, HttpConnectionPool connectionPool, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.AuthenticationHelper.SendWithAuthAsync(HttpRequestMessage request, Uri authUri, Boolean async, ICredentials credentials, Boolean preAuthenticate, Boolean isProxyAuth, Boolean doRequestAuth, HttpConnectionPool pool, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.EstablishProxyTunnel(Boolean async, HttpRequestHeaders headers, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.SendAsyncCore(HttpRequestMessage request, HttpCompletionOption completionOption, Boolean async, Boolean emitTelemetryStartStop, CancellationToken cancellationToken)
   at Volo.Abp.Cli.Http.CliHttpClient.<>c__DisplayClass7_0`1.&lt;&lt;GetHttpResponseMessageWithRetryAsync&gt;b__2>d.MoveNext() in D:\github\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Http\CliHttpClient.cs:line 95
--- End of stack trace from previous location ---
   at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
   at Polly.AsyncPolicy`1.ExecuteAsync(Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
   at Volo.Abp.Cli.Http.CliHttpClient.GetHttpResponseMessageWithRetryAsync[T](String url, Nullable`1 cancellationToken, ILogger`1 logger, IEnumerable`1 sleepDurations) in D:\github\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Http\CliHttpClient.cs:line 72
   at Volo.Abp.Cli.NuGet.NuGetService.GetPackageVersionListAsync(String packageId, Boolean includeNightly, Boolean includeReleaseCandidates) in D:\github\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\NuGet\NuGetService.cs:line 98
   at Volo.Abp.Cli.NuGet.NuGetService.GetLatestVersionOrNullAsync(String packageId, Boolean includeNightly, Boolean includeReleaseCandidates) in D:\github\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\NuGet\NuGetService.cs:line 44
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Services.SuiteVersionChecker.IsOutdatedAsync()
  • Steps to reproduce the issue:

Is there no answer?

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.

  • ABP Framework version: v4.1.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:
  1. abp new Demo -t app-pro --ui nagular to create pro
  2. Remove the HTTPS
  3. Add the configurationrequireHttps:false in angular
  4. Run!
  5. ISSUE:You can redirect the login page,but you cannot redirect back after a successful login!

yes, you are right! thanks! just add requireHttpsproperty and it works

  • ABP Framework version: v3.1.0
  • UI type: Angular

how to config oAuthConfig in angular?

The normal configuration is as follows:

I modified the configuration node issuer.

When issuer is not localhost,Clicking the login button does not respond.I can't jump to the login page. And no address is requested .well-known/openid-configuration.

http://www.hd-auth.cn:44318 is http://192.168.3.222:44318


How do I configure it?

  • ABP Framework version: v3.0.1
  • UI type: Angular
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace: can not set json item application.logoUrl in environment.ts file ,it dose not working
  • Steps to reproduce the issue:

''' export const environment = { production: false, application: { name: 'AuthServer', logoUrl:'http://login.g-cdm.com/publicData/images/logo.png' }, oAuthConfig: { issuer: 'http://localhost:44318', clientId: 'AuthServer_App', dummyClientSecret: '1q2w3e*', scope: 'AuthServer offline_access', showDebugInformation: true, oidc: false, requireHttps: false, }, apis: { default: { url: 'http://localhost:44318', }, }, localization: { defaultResourceName: 'AuthServer', } }; '''

IIdentityUserLookupAppService's controller have removed? I want to Synchronize user ,but get the error: Volo.Abp.AbpException: Could not found remote action for method: System.Threading.Tasks.Task1[Volo.Abp.Users.UserData] FindByIdAsync(System.Guid) on the URL: https://localhost:44335/ at Volo.Abp.Http.Client.DynamicProxying.ApiDescriptionFinder.FindActionAsync(String baseUrl, Type serviceType, MethodInfo method) at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1.MakeRequestAsync(IAbpMethodInvocation invocation) at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1.MakeRequestAndGetResultAsync[T](IAbpMethodInvocation invocation) at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1.GetResultAsync(Task task, Type resultType) at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync() at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Volo.Abp.Identity.HttpClientExternalUserLookupServiceProvider.FindByIdAsync(Guid id, CancellationToken cancellationToken) at Volo.Abp.Users.UserLookupService2.FindByIdAsync(Guid id, CancellationToken cancellationToken) 2020-02-18 15:15:02.566 +08:00 [ERR] Could not found remote action for method: System.Threading.Tasks.Task1[Volo.Abp.Users.UserData] FindByIdAsync(System.Guid) on the URL: https://localhost:44335/

Showing 1 to 7 of 7 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 26, 2024, 06:07