Skip to content
This repository was archived by the owner on Oct 9, 2023. It is now read-only.
This repository was 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

Description

@br-iosb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions