Giter VIP home page Giter VIP logo

Comments (10)

JamesKEbert avatar JamesKEbert commented on July 19, 2024

Hello @dukmarques! I'm glad you've been able to try the project out!

  1. As of right now the best documentation is on the project readme, but I'd be interested in creating a bit more of a walkthrough document to help on our documentation efforts. I'd also be happy to help answer questions/clarifying things here or on Rocketchat! We could also do a demo/walkthrough on the next Aries Bifold User Group call.

  2. Since AFJ has had a bunch of updates recently, I am wondering if AFJ @ main for running a mediator is incompatible with where the Bifold project is right now. I've asked @TheTreek to investigate and see if he can replicate your issue. If my thoughts are correct then we just need to update our mediation instructions to tie it to the appropriate version.

  3. And yes! This will work with ACA-Py as the issuer. I've primarily tested via the Aries Toolbox, which uses ACA-Py for its functionality. Given the above error it's more likely an issue with mediation vs ACA-Py.

Thank you! 😄

from aries-mobile-agent-react-native.

dukmarques avatar dukmarques commented on July 19, 2024

Hi @JamesKEbert , thanks for the replies!

1 - If possible, I ask that when performing the demonstration in the group call, that I can make it available afterwards, I cannot confirm my presence due to my schedule and would help me a lot if I had access to the content.

2- Okay, thank you very much, I'm waiting. A note, I believe that the mobile agent, in my execution, is able to communicate with the mediator and after a few messages he presents this error.

3 - Interesting, can you establish a connection and after issuing credentials normally? Is there a demo of the Aries Toolbox?

Thank you very much for your attention and answers!

from aries-mobile-agent-react-native.

JamesKEbert avatar JamesKEbert commented on July 19, 2024
  1. And we definitely can make it available afterwards--we record every call actually to allow people to watch if they're unable to make it or anything. The recordings just get posted at the bottom of the meeting notes of every week.

  2. I can confirm that my suspicion is unfortunately not the issue. Is there something in particular that triggers this error, or just after a couple of messages with the mediator it occurs? I would love to be able to recreate the issue. Also, we can probably add additional logging around this to help give additional context.

  3. We have done that as well. I don't know if there's a demo easily accessible on the Aries Toolbox actually. @dbluhm is the expert on the Toolbox, if you have additional insight.
    AFAIK, you should be able to follow the documentation to set up ACA-Py with the Toolbox plugin here: https://github.com/Indicio-tech/aries-acapy-plugin-toolbox
    And then the corresponding Toolbox UI:
    https://github.com/hyperledger/aries-toolbox

from aries-mobile-agent-react-native.

dukmarques avatar dukmarques commented on July 19, 2024

Hello @JamesKEbert, sorry for the delay in answering you.

I have followed the steps present in the readme and the commands in the docs folder to upload the mediator.

After them, I realize that the mediator and the agent mobile make the connection, exchange some messages and stop, below I leave some logs that I believe can help.

I added to the gist due to the size, and added only the initial parts, where the connection is made between them, after that they just exchange messages until they stop.
Aries Mobile React Native logs: https://gist.github.com/dukmarques/67347d4f9c393da7fb5128ce96fca3f5

Mediator logs: https://gist.github.com/dukmarques/9c0839355b60e2b7d5773753250c8067

I realized this time that after presenting the error in the image that I attached above, they communicated again and then presented the error again and the communication ceased, when clicking on DISMISS, the error is presented right away.

I did not identify any error logs, either in the agent or in the mediator.

from aries-mobile-agent-react-native.

dukmarques avatar dukmarques commented on July 19, 2024

About him resuming communication with the mediator, I believe he has tried the connection again, when the cell phone locks the screen due to inactivity (with the agent app open), he ceases communications, by unblocking it, he returns to communication with the mediator for a period of time (just over 1 minute) and stops.
So I believe that in this process, when unlocking the screen, he starts communication with the mediator again, but shortly thereafter the agent is no longer able to communicate with the mediator and presents the image error.

from aries-mobile-agent-react-native.

TimoGlastra avatar TimoGlastra commented on July 19, 2024

We've had a discussion about this on the Aries Bifold WG call. ngrok has a limit on the polling interval and it may be the case that you're reaching the limit here.

We have a publicly hosted instance of an AFJ mediator at http://mediator.animo.id. Could you try to run with this url as mediatorUrl and see if the problem persists?

from aries-mobile-agent-react-native.

WhiteSeasons avatar WhiteSeasons commented on July 19, 2024

We've had a discussion about this on the Aries Bifold WG call. ngrok has a limit on the polling interval and it may be the case that you're reaching the limit here.

We have a publicly hosted instance of an AFJ mediator at http://mediator.animo.id. Could you try to run with this url as mediatorUrl and see if the problem persists?

I have run with this url, problem as picture show, fromt the latest branch version :
03F19599-21B8-497e-944B-9177E1F3F175

so why and how to solve ?

from aries-mobile-agent-react-native.

TimoGlastra avatar TimoGlastra commented on July 19, 2024

This is a bit unfortunate, but AFJ recently had a major overhaul to how mediation works. The public mediator hosted at mediator.animo.id has been updated since, but this repo hasn't.

So I think the solution for now will be to check out AFJ at the version before we made the changes to how mediation works: https://github.com/hyperledger/aries-framework-javascript/releases/tag/0.0.60-unstable.0

from aries-mobile-agent-react-native.

WhiteSeasons avatar WhiteSeasons commented on July 19, 2024

This is a bit unfortunate, but AFJ recently had a major overhaul to how mediation works. The public mediator hosted at mediator.animo.id has been updated since, but this repo hasn't.

So I think the solution for now will be to check out AFJ at the version before we made the changes to how mediation works: https://github.com/hyperledger/aries-framework-javascript/releases/tag/0.0.60-unstable.0

Thanks for your reply. i want to run the Aries Mobile and connect to the mediation, which vesion is compatible, just for demo show。

from aries-mobile-agent-react-native.

jleach avatar jleach commented on July 19, 2024

As per todays Bifold WG call we're closing stale our otherwise dormant issues. Please re-open if its still relevant.

from aries-mobile-agent-react-native.

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.