Closed x0axz closed 3 years ago
Solved the Problem!!!
In App.xml.cs
, there is a function OnStart()
, where the mediator timer is set to enabled. What I was doing wrong was, I put the statement (timer.Enabled = true;
) inside the else
statement, which is wrong. It should be outside of curly brackets because It has to be enabled no matter which condition become true.
protected override async void OnStart()
{
if (Preferences.Get(AppConstant.LocalWalletProvisioned, false))
{ }
else
{ }
timer.Enabled = true;
}
2 Months ago, updated the
Hyperledger.Aries.Routing.Edge
to1.6.1
from1.4.0
and last week I noticed that we were getting an error in Presentation Proof, used the older version of agents and were still getting that same error. Noticed, that mediator got stuck and wasn't updating (after every 10 seconds, it route messages to mobile agent from issuer/verifier agent).Now, using
1.4.0
again and Connections are most of time stuck in Negotiating, Credentials in Requested state e.t.c, and all these issues because of the reason that Mediator stuck and isn't routing messages.I only noticed this error in mediator logs few times.