使用 aries-mobileagent-xamarin / aries-framework-dotnet

问题描述

我正在构建一个基于 aries-mobileagent-xamarin 和 aries-framework-dotnet 的移动钱包应用。

https://github.com/hyperledger/aries-mobileagent-xamarin

https://github.com/hyperledger/aries-framework-dotnet

我能够在后端的 mobileagent 和 ACA-Py 代理之间创建活动连接。 当 ACA-Py 代理创建凭证报价时,移动代理将获得处于“已提供”状态的凭证。

到目前为止一切顺利,但是当我尝试接受报价时,在创建请求消息时出现错误

var (request,_) = await credentialService.CreateRequestAsync(context,_credential.Id);

SDK 错误代码 = 309 “SDK 返回了代码为‘309’的未映射错误。”

" at Hyperledger.Aries.Ledger.DefaultLedgerService+c__displayClass2_0.g__LookupDeFinition|0 () [0x00166] 在 D:\a\1\s\src\Hyperledger.Aries\Ledger\DefaultLedgerService.cs:45 \n 在Polly.NoOp.NoOpEngine.ImplementationAsync[TResult] (System.Func3[T1,T2,TResult] action,Polly.Context context,System.Threading.CancellationToken cancellationToken,System.Boolean continueOnCapturedContext) [0x00035] in C:\\projects\\polly\\src\\Polly\\NoOp\\NoOpEngineAsync.cs:10 \n at Polly.AsyncPolicy1[TResult].ExecuteAsync (System.Func`3[T1,System.Threading.CancellationToken cancelToken,System.Boolean continueOnCapturedContext) [0x00073] 在 C:\projects\polly\src\Polly\AsyncPolicy.TResult.ExecuteOverloads.cs:118 \n 在 Hyperledger.Aries.Ledger.DefaultLedgerService.LookupDeFinitionAsync (Hyperledger.Aries.Agents) IAgentContext agentContext,System.String deFinitionId) [0x0005c] in D:\a\1\s\src\Hyperledger.Aries\Ledger\DefaultLedgerService.cs:48 \n 在 Hyperledger.Aries.Features.IssueCredential.DefaultCredentialService.CreateRequestAsync (Hyperledger .Aries.Agents.IAgentContext agentContext,System.String credentialId) [0x00217] 在 D:\a\1\s\src\Hyperledger.Aries\Features\IssueCredential\ DefaultCredentialService.cs:339 \n 在 Osma.Mobile.App.viewmodels.Credentials.Credentialviewmodel.AcceptCredential () [0x000fb] 在 C:\Users\sichingb\StudioProjects\Org4Pets\aries-mobileagent-xamarin\src\Osma.Mobile。 App\viewmodels\Credentials\Credentialviewmodel.cs:127 "

也许分类帐有问题,但我不知道如何解决这个问题。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...