When the ip address of the computer changes, the calls don't connect in local network
Environment information
- Ubuntu 20.04
- Jami from jami.net
Steps to reproduce
- Setup a local network disconnected from the internet
- Connect two Ubuntu 20.04 machines with Ethernet to the network
- Remove the cache from both machines
- Open Jami and wait till both machines are connected to the DHT
- Disconnect the Ethernet from Machine 1 and wait till Jami is disconnected
- Connect via Wifi to the network (so that the IP changes) and wait till Jami reconnects to the DHT
- Try to call machine 2
The call stays in connecting forever in Machine 1. Killing dring and Jami, then restarting Jami solves the problem. This only happens when Jami connects to the DHT with a certain IP from Ethernet or Wifi, then disconnects and reconnects with another IP from the other interface while Jami is running.