Giter Site home page Giter Site logo

Comments (17)

kdenhartog avatar kdenhartog commented on May 25, 2024

This is failing because the message contained in the QR code is not encrypted for a key contained in the wallet. That's what this is saying "letltemNotFoundException: No value with the specified key exists in the wallet from which it was requested".

from osma.

naman20sharma avatar naman20sharma commented on May 25, 2024

This is failing because the message contained in the QR code is not encrypted for a key contained in the wallet. That's what this is saying "letltemNotFoundException: No value with the specified key exists in the wallet from which it was requested".

Could you please elaborate the necessary steps to resolve this issue ?

from osma.

x0axz avatar x0axz commented on May 25, 2024

@naman20sharma actually I didn't face this error, but my teammate did.

Restart the Docker, Aries .Net Web Agent & OSMA.
Open this directory in your computer https://github.com/hyperledger/aries-framework-dotnet/tree/master/samples/aspnetcore
Open CLI and dotnet run
Open http://localhost:5000/ in Browser.

I hope this helps :)

from osma.

kdenhartog avatar kdenhartog commented on May 25, 2024

This is failing because the message contained in the QR code is not encrypted for a key contained in the wallet. That's what this is saying "letltemNotFoundException: No value with the specified key exists in the wallet from which it was requested".

Could you please elaborate the necessary steps to resolve this issue ?

Should be just making sure the messages are encrypted to the right person. @tplooker or @sukalpomitra may be able to provide additional information on the specific solution if @x0axz solution doesn't resolve it.

from osma.

naman20sharma avatar naman20sharma commented on May 25, 2024

This is failing because the message contained in the QR code is not encrypted for a key contained in the wallet. That's what this is saying "letltemNotFoundException: No value with the specified key exists in the wallet from which it was requested".

Could you please elaborate the necessary steps to resolve this issue ?

Should be just making sure the messages are encrypted to the right person. @tplooker or @sukalpomitra may be able to provide additional information on the specific solution if @x0axz solution doesn't resolve it.

@x0axz Solution didn't work for me, I'm getting "Failed to accept invite!" message.

from osma.

x0axz avatar x0axz commented on May 25, 2024

@naman20sharma, dear, that's because of Ngrok.
Follow these Steps: https://github.com/mattrglobal/osma#a-quick-demo

I hope this helps.

from osma.

naman20sharma avatar naman20sharma commented on May 25, 2024

@naman20sharma, dear, that's because of Ngrok.
Follow these Steps: https://github.com/mattrglobal/osma#a-quick-demo

I hope this helps.

Hi, ngrok is working just fine, I'm scanning the ngrok forwarded url, Connection is established successfully, but now after sending 'Trust ping' from web agent to osma, I'm getting an exception, raised earlier https://user-images.githubusercontent.com/45759808/66181569-ebf5a680-e68e-11e9-8286-10af2d70c57c.png.
Thanks for help.

from osma.

kdenhartog avatar kdenhartog commented on May 25, 2024

@naman20sharma, dear, that's because of Ngrok.
Follow these Steps: https://github.com/mattrglobal/osma#a-quick-demo
I hope this helps.

Hi, ngrok is working just fine, I'm scanning the ngrok forwarded url, Connection is established successfully, but now after sending 'Trust ping' from web agent to osma, I'm getting an exception, raised earlier https://user-images.githubusercontent.com/45759808/66181569-ebf5a680-e68e-11e9-8286-10af2d70c57c.png.
Thanks for help.

Is there some way that you could turn on logging for this on both agents communicating so I can debug what keys are being used? I'm almost certain this is an issue about keys that are expected to be used are missing from wallets based on what you're describing

from osma.

naman20sharma avatar naman20sharma commented on May 25, 2024

@naman20sharma, dear, that's because of Ngrok.
Follow these Steps: https://github.com/mattrglobal/osma#a-quick-demo
I hope this helps.

Hi, ngrok is working just fine, I'm scanning the ngrok forwarded url, Connection is established successfully, but now after sending 'Trust ping' from web agent to osma, I'm getting an exception, raised earlier https://user-images.githubusercontent.com/45759808/66181569-ebf5a680-e68e-11e9-8286-10af2d70c57c.png.
Thanks for help.

Is there some way that you could turn on logging for this on both agents communicating so I can debug what keys are being used? I'm almost certain this is an issue about keys that are expected to be used are missing from wallets based on what you're describing

Hi, This issue was raised earlier here #32, after sending 'Trust Ping' getting this exception, which keys are you talking about ? Should I share the keys (dids, verkey and other details of both the agents) with you ?

from osma.

kdenhartog avatar kdenhartog commented on May 25, 2024

@naman20sharma, dear, that's because of Ngrok.
Follow these Steps: https://github.com/mattrglobal/osma#a-quick-demo
I hope this helps.

Hi, ngrok is working just fine, I'm scanning the ngrok forwarded url, Connection is established successfully, but now after sending 'Trust ping' from web agent to osma, I'm getting an exception, raised earlier https://user-images.githubusercontent.com/45759808/66181569-ebf5a680-e68e-11e9-8286-10af2d70c57c.png.
Thanks for help.

Is there some way that you could turn on logging for this on both agents communicating so I can debug what keys are being used? I'm almost certain this is an issue about keys that are expected to be used are missing from wallets based on what you're describing

Hi, This issue was raised earlier here #32, after sending 'Trust Ping' getting this exception, which keys are you talking about ? Should I share the keys (dids, verkey and other details of both the agents) with you ?

Yes, logs will be necessary for me to assist with any debugging.

from osma.

x0axz avatar x0axz commented on May 25, 2024

@naman20sharma Have a look at this file!

private static readonly String GENERIC_CONNECTION_REQUEST_FAILURE_MESSAGE = "Failed to accept invite!";

from osma.

naman20sharma avatar naman20sharma commented on May 25, 2024

@x0axz @kdenhartog I looked in AcceptInviteViewModel.cs file, I put a breakpoint in CreateConnection(context, invite) method, I'm attaching the screenshots of the Locals, i hope it helps.
Osma3
osma4

from osma.

kdenhartog avatar kdenhartog commented on May 25, 2024

I'm going to need actual logs, preferable from IndySDK to see what's going on. The error you're getting is being thrown by IndySDK while it's trying to decrypt the message passed in and throws an error at the IndySDK layer. This error is then passed back to the wrapper layer, which is caught in the agent-framework, and finally you're seeing the error you are.

I'm not sure if the unpacking is happening at the Mobile wallet layer or the web agent. It appears to be the web agent, but again I'll need logs to assist.

from osma.

naman20sharma avatar naman20sharma commented on May 25, 2024

@kdenhartog HI, I've got the logs from the terminals of web-agents here: https://pastebin.com/Q9wNfCBi
and Of Osma App here https://pastebin.com/1bfQm5y0
If these aren't sufficient please specify from where I can access the logs required to debug this issue.
Thank you !

from osma.

kdenhartog avatar kdenhartog commented on May 25, 2024

Hmm, I'm not sure. It doesn't appear to be an issue on the OSMA side because I can see on line 2821 that the pack message is successfully being created. It appears that the web agent is creating the connection, but is not storing the key in some way. Would you mind turning on debug mode for the web-agent and providing those logs?

from osma.

naman20sharma avatar naman20sharma commented on May 25, 2024

Hmm, I'm not sure. It doesn't appear to be an issue on the OSMA side because I can see on line 2821 that the pack message is successfully being created. It appears that the web agent is creating the connection, but is not storing the key in some way. Would you mind turning on debug mode for the web-agent and providing those logs?
Hi, @kdenhartog https://pastebin.com/Q9wNfCBi contains web-agent logs, on line 390 it's failing to unpack message

from osma.

kdenhartog avatar kdenhartog commented on May 25, 2024

Yes, I saw that part, but what I'm curious about is what's happening with the keys when connections are being made such that the keys don't end up in the wallet. For example, having access to indy-sdk logs to better understand what's going on during line 343 and 344 would help me figure out what is happening with the keys.

from osma.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.