We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Abp : 3.2.1 -m none --no-ui --separate-identity-server --tiered
-m none --no-ui --separate-identity-server --tiered
step 1: Created project with paramter -m none --no-ui --separate-identity-server --tiered
step 2: Migrated database.
setp 3: Added PackageReference Volo.Abp.Identity.HttpApi.Client to HttpApi.Host
Volo.Abp.Identity.HttpApi.Client
HttpApi.Host
setp 4: Added AbpIdentityHttpApiClientModule to HttpApiHostModule DependOn.
AbpIdentityHttpApiClientModule
HttpApiHostModule
setp 5: Added remote service url to appsettings.json
"RemoteServices": { "Default": { "BaseUrl": "https://localhost:44383/" } }
setp 6: Added a Controller and method like this:
public class HomeController : AbpController { IIdentityUserAppService IdentityUserAppService; public HomeController(IIdentityUserAppService identityUserAppService) { IdentityUserAppService = identityUserAppService; } [HttpGet] [Route("user")] public async Task<IdentityUserDto> IdentityUser(string name) { return await IdentityUserAppService.FindByUsernameAsync(username: name); } }
setp 7: Run all host project,then test home/user interface,throw exception:
home/user
Volo.Abp.AbpException: Missing path parameter value for userName (userName) at Volo.Abp.Http.Client.DynamicProxying.UrlBuilder.ReplacePathVariables(StringBuilder urlBuilder, IList`1 actionParameters, IReadOnlyDictionary`2 methodArguments, ApiVersionInfo apiVersion) at Volo.Abp.Http.Client.DynamicProxying.UrlBuilder.GenerateUrlWithParameters(ActionApiDescriptionModel action, IReadOnlyDictionary`2 methodArguments, ApiVersionInfo apiVersion) 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 lambda_method(Closure , Object ) at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter.GetResult() at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
The text was updated successfully, but these errors were encountered:
But I new a module for test is ok by project reference.
Sorry, something went wrong.
@seayxu Please share a project.
@maliming https://github.com/seayxu/Abp.Demo
cc7b340
Has this problem been solved? I have the same problem!
This available in abp v3.3 version and above。
maliming
No branches or pull requests
Abp : 3.2.1
-m none --no-ui --separate-identity-server --tiered
step 1: Created project with paramter
-m none --no-ui --separate-identity-server --tiered
step 2: Migrated database.
setp 3: Added PackageReference
Volo.Abp.Identity.HttpApi.Client
toHttpApi.Host
setp 4: Added
AbpIdentityHttpApiClientModule
toHttpApiHostModule
DependOn.setp 5: Added remote service url to appsettings.json
setp 6: Added a Controller and method like this:
setp 7: Run all host project,then test
home/user
interface,throw exception:The text was updated successfully, but these errors were encountered: