hyperledger-archives / aries-framework-dotnet

Aries Framework .NET for building multiplatform SSI services
https://wiki.hyperledger.org/display/aries
Apache License 2.0
84 stars 74 forks source link

Register Degree Schema #201

Open dnaicker opened 3 years ago

dnaicker commented 3 years ago

Upon selecting Register Degree Schema in Issue Credential the following error is displayed:

image

Prior it was operational.

The command line output shows:

web-agent-1_1 | fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1] web-agent-1_1 | An unhandled exception has occurred while executing the request. web-agent-1_1 | Hyperledger.Indy.InvalidStateException: The SDK library experienced an unexpected internal error. web-agent-1_1 | at Hyperledger.Aries.Ledger.DefaultPoolService.GetPoolAsync(String poolName) in /src/src/Hyperledger.Aries/Ledger/DefaultPoolService.cs:line 49 web-agent-1_1 | at Hyperledger.Aries.Ledger.DefaultPoolService.GetPoolAsync(String poolName, Int32 protocolVersion) in /src/src/Hyperledger.Aries/Ledger/DefaultPoolService.cs:line 38 web-agent-1_1 | at WebAgent.Controllers.CredentialsController.RegisterSchema() in /src/samples/aspnetcore/Controllers/CredentialsController.cs:line 71 web-agent-1_1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) web-agent-1_1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.gAwaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) web-agent-1_1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.gAwaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) web-agent-1_1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) web-agent-1_1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) web-agent-1_1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.gAwaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) web-agent-1_1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.gAwaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) web-agent-1_1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context) web-agent-1_1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) web-agent-1_1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.gAwaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) web-agent-1_1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.gLogged|17_1(ResourceInvoker invoker) web-agent-1_1 | at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) web-agent-1_1 | at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke(HttpContext context) web-agent-1_1 | at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) web-agent-1_1 | at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) web-agent-1_1 | at Microsoft.AspNetCore.Builder.Extensions.MapWhenMiddleware.Invoke(HttpContext context) web-agent-1_1 | at Hyperledger.Aries.AspNetCore.Age

I am able to connect to agent using qr code.

mturetchi commented 3 years ago

probably genesis transaction file is missing

dnaicker commented 3 years ago

its definitely something wrong with the indy pool setup, but could not take it further, not sure how to, even after doing all the edx courses and going through the docs, not sure whats going on, it might be all docker related, but that doesnt help, how does one fix the docker issues, those are not mentioned, i would prefer not to use docker as it is closed system, i try to see whats going on in there but there are soo many conflicts with ip addresses and things running that it all just seem to evaporate when you restart your pc and its not stable