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.<<GetHttpResponseMessageWithRetryAsync>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()
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 new Demo -t app-pro --ui nagular
to create prorequireHttps:false
in angularyes, you are right! thanks! just add requireHttps
property and it works
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?
application.logoUrl
in environment.ts
file ,it dose not working''' 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.Task
1[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.DynamicHttpProxyInterceptor
1.MakeRequestAndGetResultAsync[T](IAbpMethodInvocation invocation)
at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1.GetResultAsync(Task task, Type resultType) at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor
1.InterceptAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 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.CastleAsyncAbpInterceptorAdapter
1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Volo.Abp.Identity.HttpClientExternalUserLookupServiceProvider.FindByIdAsync(Guid id, CancellationToken cancellationToken) at Volo.Abp.Users.UserLookupService
2.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/