You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
issue Unhandled exception. Volo.Abp.AbpException: {"error":"invalid_client"}
at Volo.Abp.IdentityModel.IdentityModelAuthenticationService.GetAccessTokenAsync(IdentityClientConfiguration configuration)
at Volo.Abp.IdentityModel.IdentityModelAuthenticationService.GetAccessTokenOrNullAsync(String identityClientName)
at Volo.Abp.IdentityModel.IdentityModelAuthenticationService.TryAuthenticateAsync(HttpClient client, String identityClientName)
at Volo.Abp.Http.Client.IdentityModel.IdentityModelRemoteServiceHttpClientAuthenticator.Authenticate(RemoteServiceHttpClientAuthenticateContext context)
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, Func`3 proceed)
at ClientSimulationDemo.HttpApi.Client.ConsoleTestApp.ClientDemoService.RunAsync() in D:\code\execise\abp-samples-ClientSimulationDemo\test\ClientSimulationDemo.HttpApi.Client.ConsoleTestApp\ClientDemoService.cs:line 19
at ClientSimulationDemo.HttpApi.Client.ConsoleTestApp.ConsoleTestAppHostedService.StartAsync(CancellationToken cancellationToken) in D:\code\execise\abp-samples-ClientSimulationDemo\test\ClientSimulationDemo.HttpApi.Client.ConsoleTestApp\ConsoleTestAppHostedService.cs:line 18
at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at ClientSimulationDemo.HttpApi.Client.ConsoleTestApp.Program.Main(String[] args) in D:\code\execise\abp-samples-ClientSimulationDemo\test\ClientSimulationDemo.HttpApi.Client.ConsoleTestApp\Program.cs:line 11
at ClientSimulationDemo.HttpApi.Client.ConsoleTestApp.Program.(String[] args)
reproduce steps
Download ClientSimulationDemo source code from abp-sample repository
Change ClientSimulationDemo.DbMigrator and
ClientSimulationDemo.HttpApi.Host [s appsettion.json connectstring to . (local
computer sql server)
Set ClientSimulationDemo.DbMigrator as startup project and run it,then the
database sechema have been created successfully. finally stop it.
Set ClientSimulationDemo.HttpApi.Host as startup project then run it and it
started successfully. and I didn't stop it.
Then I run all test projects and all tests have passed well.
ClientSimulationDemo.HttpApi.Client.ConsoleTestApp is exist in test folder but it
is not test project type.So I will manully to start it by power shell command
Open a powershell window and naviage the "D:\code\execise\abp-samples-ClientSimulationDemo\test\ClientSimulationDemo.HttpApi.Client.ConsoleTestApp\bin\Debug\net5.0" and type .\ClientSimulationDemo.HttpApi.Client.ConsoleTestApp.exe
then the error appeared.
I am not vary familar with abp,Perhaps I have missed any steps or have any wrong operating steps,please help,Thank you first!!!
The text was updated successfully, but these errors were encountered:
Unhandled exception. Volo.Abp.AbpException: {"error":"invalid_client"}
at Volo.Abp.IdentityModel.IdentityModelAuthenticationService.GetAccessTokenAsync(IdentityClientConfiguration configuration)
at Volo.Abp.IdentityModel.IdentityModelAuthenticationService.GetAccessTokenOrNullAsync(String identityClientName)
at Volo.Abp.IdentityModel.IdentityModelAuthenticationService.TryAuthenticateAsync(HttpClient client, String identityClientName)
at Volo.Abp.Http.Client.IdentityModel.IdentityModelRemoteServiceHttpClientAuthenticator.Authenticate(RemoteServiceHttpClientAuthenticateContext context)
at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor
1.MakeRequestAsync(IAbpMethodInvocation invocation) at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor
1.MakeRequestAndGetResultAsync[T](IAbpMethodInvocation invocation)at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor
1.GetResultAsync(Task task, Type resultType) at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor
1.InterceptAsync(IAbpMethodInvocation invocation)at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter
1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed)at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue
1.ProceedAsync() at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter
1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)at ClientSimulationDemo.HttpApi.Client.ConsoleTestApp.ClientDemoService.RunAsync() in D:\code\execise\abp-samples-ClientSimulationDemo\test\ClientSimulationDemo.HttpApi.Client.ConsoleTestApp\ClientDemoService.cs:line 19
at ClientSimulationDemo.HttpApi.Client.ConsoleTestApp.ConsoleTestAppHostedService.StartAsync(CancellationToken cancellationToken) in D:\code\execise\abp-samples-ClientSimulationDemo\test\ClientSimulationDemo.HttpApi.Client.ConsoleTestApp\ConsoleTestAppHostedService.cs:line 18
at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at ClientSimulationDemo.HttpApi.Client.ConsoleTestApp.Program.Main(String[] args) in D:\code\execise\abp-samples-ClientSimulationDemo\test\ClientSimulationDemo.HttpApi.Client.ConsoleTestApp\Program.cs:line 11
at ClientSimulationDemo.HttpApi.Client.ConsoleTestApp.Program.(String[] args)
ClientSimulationDemo.HttpApi.Host [s appsettion.json connectstring to . (local
computer sql server)
database sechema have been created successfully. finally stop it.
started successfully. and I didn't stop it.
ClientSimulationDemo.HttpApi.Client.ConsoleTestApp is exist in test folder but it
is not test project type.So I will manully to start it by power shell command
then the error appeared.
I am not vary familar with abp,Perhaps I have missed any steps or have any wrong operating steps,please help,Thank you first!!!
The text was updated successfully, but these errors were encountered: