# Jami Not Receiving Messages When Using Some Networks

**URL:** <https://forum.jami.net/t/jami-not-receiving-messages-when-using-some-networks/830>\
**Category:** Support in English\
**Created:** [June 28, 2021, 8:16pm UTC](https://forum.jami.net/t/jami-not-receiving-messages-when-using-some-networks/830 "2021-06-28T20:16:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Francewhoa](https://forum.jami.net/user_avatar/forum.jami.net/francewhoa/32/197_2.png) [@Francewhoa](https://forum.jami.net/u/Francewhoa)\
**Post date:** [June 28, 2021, 8:16pm UTC](https://forum.jami.net/t/jami-not-receiving-messages-when-using-some-networks/830/1 "2021-06-28T20:16:11Z")

</div>

# Challenge

In summary, many new Jami users are facing this same challenge. This is actually one of the most frequent challenge. In summary, when using some networks, Jami successfully send & receive messages. But when using some other networks, Jami failed to receive messages. All the above using both the same devices & same Jami configuration.

Below are the steps to reproduce this challenge, the likely [cause](#cause-3) of this challenge, and two suggested [resolutions](#resolution-4).

# Steps to reproduce

1. Install Jami Desktop version Maloya 202106\*\*\*\*\*\* on two devices

2. Using your network, let’s call it **Network 1** , sending & receiving messages back & forth is successful between those two devices.

3. Using the same two devices, use a different network. Let’s call it **Network 2**. For example, use:

4. When using some other networks, sending & receiving messages failed between those two devices. The 1st device says that the message was sent. But the 2nd device never receives the message. **This is the challenge.**

5. Go back to using your **Network 1**. Sending & receiving messages back & forth is successful between those same two devices. Same configuration with Jami. No change. So it seems that the challenge is related to some network.

# Cause

The likely cause of this challenge is that some networks are configured properly to allow Peer-To-Peer communication (P2P) connection. But other networks are not. For Jami to work properly, the network need to be configured appropriately to allow P2P connections.

# Resolution

To resolve this challenge, choose one of the following two options. In summary, the [option 1](#option-1-jami-opendht-5) below is quick and easy, but with weaker privacy. You simply need to activate the free Jami OpenDHT. The [option 2](#option-2-self-hosted-opendht-server-6) below is very long and hard, but with strong privacy. As you need to install and configure your own OpenDHT server.

## Option 1: Free OpenDHT

Steps:

1. Reminder:

2. Using your Jami client for desktop. Select your appropriate Jami Ring account. Click on this setting button.  
This screenshot shows this button.  

3. Click on this “ **Account** ” horizontal tab button  

4. Click on this “ **Advanced settings** ” group to expend it  

5. Under “ **OpenDHT configuration** ” group. Activate this “ **Proxy** ”. This activates your device connection with the free Jami OpenDHT server.  

6. Still within this “ **OpenDHT configuration** ” group. Double check that your configuration are correct. If somehow your “ **OpenDHT configuration** ” are either missing or changed in good faith. Here are the correct default configuration values if you choose to use the free Jami OpenDHT server. The values in text format are:

7. No need to restart your Jami. Within the next 1 to 2 minutes, you should receive any send message (IM).

8. If you installed Jami on multiple devices. For example, your mobile, your tablet, and your desktop. And if any one of those devices is not receiving Jami messages. Then you need to redo all the above steps for each device. This is a one time configuration.

9. If you have multiple Jami Ring account. For example, one account for work, one account per client, plus a personal account. Then you need to redo all the above steps for each Jami Ring account. This is a one time configuration.

10. Done. You have successfully activated Jami OpenDHT. Enjoy 🙂

## Option 2: Self-Hosted OpenDHT

Steps:

1. This second option is very long and hard. Because System Administrator skills are required. If you do have System Administrator skills, then the benefit of this 2nd option is that your Jami communications would be with very strong privacy.

2. Use this documentation to install & configure you own self-hosted OpenDHT server at [https://github.com/savoirfairelinux/opendht/wiki](https://github.com/savoirfairelinux/opendht/wiki)

3. Related comment at [https://forum.jami.net/t/anonymat-sur-jami/516/28](https://forum.jami.net/t/anonymat-sur-jami/516/28)

## F.A.Q.

**Why did I create this discussion, then answered myself?**  
So that in the future, it’s quick and easy to share this information. As this challenge is by far the most frequently faced challenge by newcomers to Jami.

**Why did I not contribute those resolutions to this Jami documentation at [https://docs.jami.net](https://docs.jami.net) ?**  
This sounds like a great idea. I’ll be happy to try that when I’m available

---

<div class="post-metadata">

**Author:** ![Francewhoa](https://forum.jami.net/user_avatar/forum.jami.net/francewhoa/32/197_2.png) [@Francewhoa](https://forum.jami.net/u/Francewhoa)\
**Post date:** [July 1, 2021, 2:06am UTC](https://forum.jami.net/t/jami-not-receiving-messages-when-using-some-networks/830/2 "2021-07-01T02:06:36Z")

</div>

Hi @jimdunn 🙂 My replies are inline below

* * *

> It’s a cool idea… but just a geek toy… not ready for prime time production use.

Maybe [my previous message](https://forum.virtualmin.com/t/official-virtualmin-telegram-channel/111036/19) was not clear? Here is a shorter version of my reply below.

* * *

> I put Jami on 2 of my phones, and could send msgs back and forth. But, as soon as one phone was across town from the other, issues… either no messages received (although they appeared to send; tried from both phones).

Thanks again for sharing your experience with Jami

One easy and quick way to resolve this challenge is to simply activate this Jami OpenDHT.

 ![opendht_button-screenshot-francewhoa-ksnip-2021-05-07-121834_0](https://forum.jami.net/uploads/default/original/1X/621d06293ca1b7d7da9afb11e6eefb72e6615a59.png)

* * *

Today I simplified [my previous message](https://forum.virtualmin.com/t/official-virtualmin-telegram-channel/111036/19). If my previous message was clear. But flipping an off & on switch is presently outside your comfort zone. Then Jami might not be a good match for your present needs. If flipping a switch is within your comfort zone, and you’re interested to try it. I would love to hear your test result, if this is of interest to you.

---

<div class="post-metadata">

**Author:** ![krishnak](https://forum.jami.net/letter_avatar_proxy/v4/letter/k/f17d59/32.png) [@krishnak](https://forum.jami.net/u/krishnak)\
**Post date:** [July 1, 2021, 6:15am UTC](https://forum.jami.net/t/jami-not-receiving-messages-when-using-some-networks/830/3 "2021-07-01T06:15:33Z")

</div>

Just to let you know, most users who complain are Jami users on Android devices -, On Android if you enable DHT proxy server (which seems to be the default setting when the app is installed) the messages don’t get delivered instantly nor calls get connected, the simple solution would be to try without DHT proxy server to start with.

---

<div class="post-metadata">

**Author:** ![Francewhoa](https://forum.jami.net/user_avatar/forum.jami.net/francewhoa/32/197_2.png) [@Francewhoa](https://forum.jami.net/u/Francewhoa)\
**Post date:** [July 4, 2021, 7:38pm UTC](https://forum.jami.net/t/jami-not-receiving-messages-when-using-some-networks/830/4 "2021-07-04T19:38:42Z")

</div>

Thanks @krishnak for sharing your finding 🙂

---

<div class="post-metadata">

**Author:** ![Akash](https://forum.jami.net/user_avatar/forum.jami.net/akash/32/923_2.png) [@Akash](https://forum.jami.net/u/Akash)\
**Post date:** [November 12, 2024, 5:13am UTC](https://forum.jami.net/t/jami-not-receiving-messages-when-using-some-networks/830/5 "2024-11-12T05:13:48Z")

</div>

On my Android devices, Jami would work intermittently. Messages would come hours later or only after devices were restarted.

I disabled the DHT proxy and now everything seems to be perfect.

---

<div class="post-metadata">

**Author:** ![W192547975](https://forum.jami.net/letter_avatar_proxy/v4/letter/w/ea5d25/32.png) [@W192547975](https://forum.jami.net/u/W192547975)\
**Post date:** [March 22, 2025, 2:02am UTC](https://forum.jami.net/t/jami-not-receiving-messages-when-using-some-networks/830/6 "2025-03-22T02:02:04Z")

</div>

A question of wording: OpenDHT is always on, and you may be referring to the DHT proxy.
