Code Monkey home page Code Monkey logo

Comments (5)

TimoGlastra avatar TimoGlastra commented on August 17, 2024

I've seen this happen sometimes when we try close the wallet and afterwards still try to process an incoming message / use the wallet, even though it was already closed.

from aries-askar.

andrewwhitehead avatar andrewwhitehead commented on August 17, 2024

I think this must be isolated to the JS wrapper, passing in a Store handle after it has been removed.

from aries-askar.

niall-shaw avatar niall-shaw commented on August 17, 2024

Any idea how to fix this @TimoGlastra ? Our CI fails most of the time due to this

from aries-askar.

TimoGlastra avatar TimoGlastra commented on August 17, 2024

Could you provide maybe a repo with a minimal reproduction? That would really help in debugging the issue.

However, as this is happening on Github Actions (which is like really slow), I think it's just a race condition in your tests, and maybe not a problem on macOS as your local machine is a lot faster.

Is your agent processing any messages? Could it be that something is not fully awaited before closing the agent?

E.g. an issue I've run in quite often with AFJ is that it would keep picking up messages, and so then we'd close the wallet and it would still receive pickup messages, and thus cause issues. The solution was to first stop messages pickup, so the agent was for sure not processing anything anymore, and then closing it.

from aries-askar.

GHkrishna avatar GHkrishna commented on August 17, 2024

Hello @niall-shaw,
Any updates on the issue and if you were able to solve it?

from aries-askar.

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.