WebAgent Demo Sample does not work under Windows #189
Description
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:
- 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.
- Make sure that the Genesis File is valid
- Debug WebAgent with the provided launchSettings.json, profile "WebAgent"
- 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.