Closed xendarboh closed 3 weeks ago
@xendarboh I ran for more than 10 minutes, however I dont get this walletshield client appears frozen
Logs...
From those logs, looks like decoy traffic was not enabled ("sending loop decoy" not present). So, maybe the issue is related to decoy traffic being enabled.
Can you repeat the experiment with decoy traffic enabled?
with
DisableDecoyTraffic
manually set tofalse
indocker/voting_mixnet/client/client.toml
I ran with Disabling Decoy traffic, still didn't get any error wallet.log
ok, great -- the wallet.log illustrates you've recreated the issue. The log shows that sending loop decoy stops (after around 8 minutes of run time) when it should continue. If, after that point, you sent walletshield a request, you would see that it does not send a response. There is no error (message), as the issue declares, the client freezes. Only restarting it can recover.
The issue has been confirmed to be present only with DisableDecoyTraffic = false
.
The issue is not intermittent, it occurs every time.
The source of the issue could be within the Katzenpost client code used by walletshield.
@xendarboh then maybe its a deadlock situation, WDYT?
@xendarboh then maybe its a deadlock situation, WDYT?
Yes of course it's a deadlock... that's the whole point of this ticket and I'm sorry we didn't spell that out explicitly for you in the beginning... any software bug where software stops working after 10 minutes and then appears to do nothing is most likely a deadlock or partial deadlock.
recording a note: this task deferred for now as we pursue use of katzenpost client2 as the more future-forward solution
closed in favor of client2 #35
After running for about 10 minutes, the walletshield client freezes. It still receives requests (on its listening port) but appears to have lost communication with the mix network; including for decoy traffic.
build info:
This issue has been experienced with the deployed network and the local docker mixnet (with default settings from this latest main branch, with
DisableDecoyTraffic
manually set tofalse
indocker/voting_mixnet/client/client.toml
-- which may not be related).