Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Register Degree Schema #201

Open
dnaicker opened this issue Sep 14, 2021 · 2 comments
Open

Register Degree Schema #201

dnaicker opened this issue Sep 14, 2021 · 2 comments

Comments

@dnaicker
Copy link

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.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
web-agent-1_1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|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.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
web-agent-1_1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|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.g__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
web-agent-1_1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|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
Copy link

probably genesis transaction file is missing

@dnaicker
Copy link
Author

dnaicker commented Sep 22, 2021

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants