# Failed to add some remote candidates (added 0, expected 1) - Warning

**URL:** <https://janus.discourse.group/t/failed-to-add-some-remote-candidates-added-0-expected-1-warning/455>\
**Category:** General\
**Created:** [July 25, 2023, 1:21pm UTC](https://janus.discourse.group/t/failed-to-add-some-remote-candidates-added-0-expected-1-warning/455 "2023-07-25T13:21:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maximoantinori](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@maximoantinori](https://janus.discourse.group/u/maximoantinori)\
**Post date:** [July 25, 2023, 1:21pm UTC](https://janus.discourse.group/t/failed-to-add-some-remote-candidates-added-0-expected-1-warning/455/1 "2023-07-25T13:21:25Z")

</div>

Hello all,

I compiled and installed Janus 0.13.4 on an Amazon EC2 server (Ubuntu 22).

When I try to test “VideoRoom demo” audio and video streams are published and received by participants, but i always get the following warning message on the server:

[WARN] [6637365782759827] Failed to add some remote candidates (added 0, expected 1)

I configured the server as follows:

…  
nat: {  
nice\_debug = false  
ice\_lite = false  
nat\_1\_1\_mapping = {PUBLIC IP}  
keep\_private\_host = false  
ice\_ignore\_list = “vmnet”  
}  
…

log-to-stdout: true  
log-to-file: false  
data\_channels: false  
accepting-new-sessions: true  
session-timeout: 60  
reclaim-session-timeout: 0  
candidates-timeout: 45  
server-name: Janus  
local-ip: {LOCAL IP}  
public-ip: {PUBLIC IP}  
ipv6: false  
ice-lite: false  
ice-tcp: false  
ice-nomination: aggressive  
ice-keepalive-conncheck: false  
full-trickle: false  
mdns-enabled: true  
min-nack-queue: 200  
nack-optimizations: false  
twcc-period: 200  
dtls-mtu:1200  
static-event-loops: 8  
loop-indication: false  
api\_secret: false  
auth\_token: false  
event\_handlers: false  
opaqueid\_in\_api: false

Dependencies  
glib2 2.72.4  
jansson 2.13.1  
libnice 0.1.21.1  
libsrtp libsrtp2 2.4.2  
libcurl 7.81.0  
crypto OpenSSL 3.0.2 15 Mar 2022

What could be causing the warning message?

Thanks in advance,  
Massimo

---

<div class="post-metadata">

**Author:** ![lorenzo](https://yyz2.discourse-cdn.com/free1/user_avatar/janus.discourse.group/lorenzo/32/425_2.png) [@lorenzo](https://janus.discourse.group/u/lorenzo)\
**Post date:** [July 25, 2023, 2:07pm UTC](https://janus.discourse.group/t/failed-to-add-some-remote-candidates-added-0-expected-1-warning/455/2 "2023-07-25T14:07:18Z")

</div>

Try disabling mdns if you don’t need it.

---

<div class="post-metadata">

**Author:** ![maximoantinori](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@maximoantinori](https://janus.discourse.group/u/maximoantinori)\
**Post date:** [July 27, 2023, 7:24am UTC](https://janus.discourse.group/t/failed-to-add-some-remote-candidates-added-0-expected-1-warning/455/3 "2023-07-27T07:24:05Z")

</div>

Thanks for the reply Lorenzo, I tried disabling the mdsn parameter but it always shows me the same warning message.  
On the 0.10.x version that I had previously installed it was not shown.  
What does that warning message mean? could it depend on the version of some library?
