No presence on the DHT but call/messages/files are ok
Note: this post was updated by @sblin
Scenario
- To determine, it's not reproducible on all devices, but I saw the issue on a Pixel phone (Android 12)
Observations
-
d475e4de7f51bedbedbedbedbedbedbedbedbedbed is the jami ID for Alice
-
The phone is online, Jami is running
-
https://dhtproxy.jami.net/d475e4de7f51bedbedbedbedbedbedbedbedbedbed shows nothing (presence is not announced on the DHT).
-
If Bob calls Alice, we will see "Found 0 devices" in the logs, which is normal, because the presence is not on the DHT
-
If Alice starts a negotiation requests (ONLY IF Bob already saw the device in the past), it will succeed, because
AccountManager::findCertificate
will retrieve the certificate withtls::CertificateStore::instance().getCertificate(h.toString())
and no DHT request will be made (except theputEncrypted("peer:deviceId")
for the PeerConnectionRequest but Alice listener's are working) -
If Bob never saw Alice device in the past,
dht_->findCertificate
will be called and the calL/messages will not pass
So, I see 2 possibilities:
- DHT Proxy Server stops to send the permanent puts (but subscriptions are still working)
- DHT Proxy Client stops to refresh the permanent put (but doesn't detect it stopped).
Original post
Sometimes I see my computers account with the green ball icon indicating that a contact is online. But messages from android are not arriving to the computer. Sometimes the green indicator is not present but messages from android get the computer.
I have my android with last jami app available in f-droid and the last snap jami app.