Text chat not working

I’m using current Android build from f-droid. I don’t know what setup my friend is using. But I was able to invite her to a conversation and then type a text message. The trouble is, the message didn’t show up at the other end. Similarly, she sent me a message that I didn’t receive. If it matters, I’m connected

Does anyone have any idea how to approach debugging something like this? Are there logs to examine? Can I see what is happening on the server? I’m a good developer but am completely new to Jami.

Added, I see similar issues between two of my own phones where one runs Android 14 and the other runs Android 7. I don’t know anything about Android development, unfortunately. I’m in the process of installing the Linux desktop version.

There is a lot of ways to debug. gdb/clang for analysis can help.

For log, every client got a troubleshooting window to get logs (else, starting a client with “-d” to enable logging in the terminal, or with adb logcat for android) is useful.

Note, that the sending of a message depends on a lot of factors. Logging on both peer can help, but there is the DHT and potential turn instances in the way.

Can I see what is happening on the server?

Jami is p2p, so you’re the server.

1 Like

By connected, do you mean that the devices are in the network or are they already connected to each other? This can be seen from the color dots next to the contact’s profile picture.