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

WebAgent Demo Sample does not work under Windows #189

Open
br-iosb opened this issue Jun 1, 2021 · 0 comments
Open

WebAgent Demo Sample does not work under Windows #189

br-iosb opened this issue Jun 1, 2021 · 0 comments

Comments

@br-iosb
Copy link

br-iosb commented Jun 1, 2021

Describe the bug
If you provide LibIndy for Windows and start running the sample, the agent can not interact with the Ledger, e.g. create a Credential Definition. You get a 307 Error Code. The Docker Image works, using the same genesis File. (I was testing with http://greenlight.bcovrin.vonx.io/genesis but also a local "von network" Docker Image). Also using a Ubuntu VM works.

Hyperledger.Indy.IndyException: An unmapped error with the code '307' was returned by the SDK.
   at Hyperledger.Aries.Ledger.DefaultPoolService.GetPoolAsync(String poolName) in C:\Users\roessba-Admin\git\br-iosb\aries-framework-dotnet\src\Hyperledger.Aries\Ledger\DefaultPoolService.cs:line 49
   at Hyperledger.Aries.Ledger.DefaultPoolService.GetPoolAsync(String poolName, Int32 protocolVersion) in C:\Users\roessba-Admin\git\br-iosb\aries-framework-dotnet\src\Hyperledger.Aries\Ledger\DefaultPoolService.cs:line 38

To Reproduce
Steps to reproduce the behavior:

  1. Add Windows LibIndy dll Files (https://repo.sovrin.org/windows/libindy/stable/1.14.2/) to the demo project so that it gets copied to the output folder.
  2. Make sure that the Genesis File is valid
  3. Debug WebAgent with the provided launchSettings.json, profile "WebAgent"
  4. Open Browser, navigate to "Issue Credential" -> "Regsiter Degree Schema"

Expected behavior
I'd like to have clear instructions how to make the sample run on a Windows OS.
The error code should display useful information.

Desktop (please complete the following information):

  • OS: Windows
  • .NET SDK (5.0.203)
  • libindy 1.14.2 (as used in docker image)

Additional context
I want to debug the agent code, therefore it is not applicable for me to run everything in docker containers.

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

1 participant