[jitsi-users] error: could not establish connection (ICE failed)


#1

Hi!
When calling to call a friend via Jabber, the following error occurs:

error: could not establish connection (ICE failed)

As the error messages states, the call couldn't be established.

How to find out the root cause of this problem and how to solve the problem?

Regards
Stefan


#2

What do the logs say?

Can your friend establish a connection to you?

An error message "Could not establish connection (ICE failed)" is
contained in
net/java/sip/communicator/impl/protocol/jabber/IceUdpTransportManager.java
<https://sip-communicator.dev.java.net/source/browse/sip-communicator/trunk/src/net/java/sip/communicator/impl/protocol/jabber/IceUdpTransportManager.java?view=diff&rev=7995&p1=trunk/src/net/java/sip/communicator/impl/protocol/jabber/IceUdpTransportManager.java&p2=trunk/src/net/java/sip/communicator/impl/protocol/jabber/IceUdpTransportManager.java&r1=7994&r2=7995>

Cheers,
Andreas

···

---

Am 13.06.2011 02:28, schrieb Stefan Xenon:

Hi!
When calling to call a friend via Jabber, the following error occurs:

error: could not establish connection (ICE failed)

As the error messages states, the call couldn't be established.

How to find out the root cause of this problem and how to solve the problem?

Regards
Stefan


#3

Stefan,

I have just seen that lib/installer-exclude/ice4j.jar was updated a few
hours ago.

Which Jitsi version do you use?

I probably will not be able to solve the problem but others hopefully
can use your answers.

Cheers,
Andreas

···

---

Am 13.06.2011 06:57, schrieb Andreas Kuckartz:

What do the logs say?

Can your friend establish a connection to you?

An error message "Could not establish connection (ICE failed)" is
contained in
net/java/sip/communicator/impl/protocol/jabber/IceUdpTransportManager.java
<https://sip-communicator.dev.java.net/source/browse/sip-communicator/trunk/src/net/java/sip/communicator/impl/protocol/jabber/IceUdpTransportManager.java?view=diff&rev=7995&p1=trunk/src/net/java/sip/communicator/impl/protocol/jabber/IceUdpTransportManager.java&p2=trunk/src/net/java/sip/communicator/impl/protocol/jabber/IceUdpTransportManager.java&r1=7994&r2=7995>

Cheers,
Andreas
---

Am 13.06.2011 02:28, schrieb Stefan Xenon:

Hi!
When calling to call a friend via Jabber, the following error occurs:

error: could not establish connection (ICE failed)

As the error messages states, the call couldn't be established.

How to find out the root cause of this problem and how to solve the problem?

Regards
Stefan


#4

Hi, all
  After I complete my installation. I want to hava a call . but pop up
a window say "Fialed to create a call" . with the following
Error message, and I have appended the log file along this mail.Could any
one tell me ,what's wrong? Thanks!

net.java.sip.communicator.service.protocol.OperationFailedException: Failed
to create a call
  at
net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicTelephonyJab
berImpl.createOutgoingCall(OperationSetBasicTelephonyJabberImpl.java:374)
  at
net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicTelephonyJab
berImpl.createOutgoingCall(OperationSetBasicTelephonyJabberImpl.java:191)
  at
net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicTelephonyJab
berImpl.createCall(OperationSetBasicTelephonyJabberImpl.java:135)
  at
net.java.sip.communicator.impl.gui.main.call.CallManager$CreateCallThread.ru
n(CallManager.java:1033)
Caused by: java.lang.IllegalArgumentException: device must be able to
capture
  at
net.java.sip.communicator.impl.neomedia.device.AudioMixerMediaDevice.<init>(
AudioMixerMediaDevice.java:149)
  at
net.java.sip.communicator.impl.neomedia.MediaServiceImpl.createMixer(MediaSe
rviceImpl.java:230)
  at
net.java.sip.communicator.service.protocol.media.MediaAwareCall.getDefaultDe
vice(MediaAwareCall.java:371)
  at
net.java.sip.communicator.service.protocol.media.CallPeerMediaHandler.getDef
aultDevice(CallPeerMediaHandler.java:705)
  at
net.java.sip.communicator.impl.protocol.jabber.CallPeerMediaHandlerJabberImp
l.createContentList(CallPeerMediaHandlerJabberImpl.java:641)
  at
net.java.sip.communicator.impl.protocol.jabber.CallPeerJabberImpl.initiateSe
ssion(CallPeerJabberImpl.java:243)
  at
net.java.sip.communicator.impl.protocol.jabber.CallJabberImpl.initiateSessio
n(CallJabberImpl.java:277)
  at
net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicTelephonyJab
berImpl.createOutgoingCall(OperationSetBasicTelephonyJabberImpl.java:357)
  ... 3 more

Yours,
Sucan

2011-06-13@15.41.06-logs.zip (38.8 KB)


#5

Hi Andreas,
thanks for your help. The problem appeared in both cases, when I called
my friend and when he called me.

I wasn't aware of the log functionality. Since the failed call was last
week it looks like it is not included in the logs. We will try again,
collect the logs immediately after and provide it to you.

We both used Jitsi version from last week.

Regards
Stefan.

···

Am 13.06.2011 13:46, schrieb Andreas Kuckartz:

Stefan,

I have just seen that lib/installer-exclude/ice4j.jar was updated a few
hours ago.

Which Jitsi version do you use?

I probably will not be able to solve the problem but others hopefully
can use your answers.

Cheers,
Andreas
---

Am 13.06.2011 06:57, schrieb Andreas Kuckartz:

What do the logs say?

Can your friend establish a connection to you?

An error message "Could not establish connection (ICE failed)" is
contained in
net/java/sip/communicator/impl/protocol/jabber/IceUdpTransportManager.java
<https://sip-communicator.dev.java.net/source/browse/sip-communicator/trunk/src/net/java/sip/communicator/impl/protocol/jabber/IceUdpTransportManager.java?view=diff&rev=7995&p1=trunk/src/net/java/sip/communicator/impl/protocol/jabber/IceUdpTransportManager.java&p2=trunk/src/net/java/sip/communicator/impl/protocol/jabber/IceUdpTransportManager.java&r1=7994&r2=7995>

Cheers,
Andreas
---

Am 13.06.2011 02:28, schrieb Stefan Xenon:

Hi!
When calling to call a friend via Jabber, the following error occurs:

error: could not establish connection (ICE failed)

As the error messages states, the call couldn't be established.

How to find out the root cause of this problem and how to solve the problem?

Regards
Stefan


#6

El 12/06/11 21:28, Stefan Xenon escribi�:

Hi!
When calling to call a friend via Jabber, the following error occurs:

error: could not establish connection (ICE failed)

As the error messages states, the call couldn't be established.

How to find out the root cause of this problem and how to solve the problem?

Regards
Stefan

Hello Stefano,
Do not write or speak English, I'm using the translator to respond.
                           Sorry if no response is well understood.

                           I think the problem may be the UDP packets.
                          You can check the configuration of the router to accept UDP packets

                          In my case that was the problem,

Thanks

    * Ingl�s - detectado
    * Ingl�s
    * Espa�ol

    * Ingl�s
    * Espa�ol

<javascript:void(0);><#>


#7

Hi Andreas and all!
My friend has the options use ICE, use UPnP, auto discover STUN etc.
enabled (default settings). Here are his log files:
http://www.sendspace.com/file/ty3nkn

Any help to find out why we cannot establish a connection would be
really appreciated.

Regards
Jan

···

Am 14.06.2011 07:34, schrieb Stefan Xenon:

Hi Andreas,
thanks for your help. The problem appeared in both cases, when I called
my friend and when he called me.

I wasn't aware of the log functionality. Since the failed call was last
week it looks like it is not included in the logs. We will try again,
collect the logs immediately after and provide it to you.

We both used Jitsi version from last week.

Regards
Stefan.

Am 13.06.2011 13:46, schrieb Andreas Kuckartz:

Stefan,

I have just seen that lib/installer-exclude/ice4j.jar was updated a few
hours ago.

Which Jitsi version do you use?

I probably will not be able to solve the problem but others hopefully
can use your answers.

Cheers,
Andreas
---

Am 13.06.2011 06:57, schrieb Andreas Kuckartz:

What do the logs say?

Can your friend establish a connection to you?

An error message "Could not establish connection (ICE failed)" is
contained in
net/java/sip/communicator/impl/protocol/jabber/IceUdpTransportManager.java
<https://sip-communicator.dev.java.net/source/browse/sip-communicator/trunk/src/net/java/sip/communicator/impl/protocol/jabber/IceUdpTransportManager.java?view=diff&rev=7995&p1=trunk/src/net/java/sip/communicator/impl/protocol/jabber/IceUdpTransportManager.java&p2=trunk/src/net/java/sip/communicator/impl/protocol/jabber/IceUdpTransportManager.java&r1=7994&r2=7995>

Cheers,
Andreas
---

Am 13.06.2011 02:28, schrieb Stefan Xenon:

Hi!
When calling to call a friend via Jabber, the following error occurs:

error: could not establish connection (ICE failed)

As the error messages states, the call couldn't be established.

How to find out the root cause of this problem and how to solve the problem?

Regards
Stefan


#8

Hey Stefan,

На 26.06.11 16:23, Stefan Xenon написа:

Hi Andreas and all!
My friend has the options use ICE, use UPnP, auto discover STUN etc.
enabled (default settings). Here are his log files:
http://www.sendspace.com/file/ty3nkn

Any help to find out why we cannot establish a connection would be
really appreciated.

Your friend seems to have been unable to obtain STUN bindings. The most
common reason for this is lack of UDP connectivity due to restrictive
network administration policies.

Changing that would most probably help but it may, in certain scenarios
turn out to be insufficient. In order to have the guarantee that a
connection would always be established users also need to have some sort
of a media relay at their disposal. This could either be a TURN server
or a Jingle Nodes deployment such as the one offered by the talkr.im
service.

Hope this helps
Emil

···

Regards
Jan

Am 14.06.2011 07:34, schrieb Stefan Xenon:

Hi Andreas,
thanks for your help. The problem appeared in both cases, when I called
my friend and when he called me.

I wasn't aware of the log functionality. Since the failed call was last
week it looks like it is not included in the logs. We will try again,
collect the logs immediately after and provide it to you.

We both used Jitsi version from last week.

Regards
Stefan.

Am 13.06.2011 13:46, schrieb Andreas Kuckartz:

Stefan,

I have just seen that lib/installer-exclude/ice4j.jar was updated a few
hours ago.

Which Jitsi version do you use?

I probably will not be able to solve the problem but others hopefully
can use your answers.

Cheers,
Andreas
---

Am 13.06.2011 06:57, schrieb Andreas Kuckartz:

What do the logs say?

Can your friend establish a connection to you?

An error message "Could not establish connection (ICE failed)" is
contained in
net/java/sip/communicator/impl/protocol/jabber/IceUdpTransportManager.java
<https://sip-communicator.dev.java.net/source/browse/sip-communicator/trunk/src/net/java/sip/communicator/impl/protocol/jabber/IceUdpTransportManager.java?view=diff&rev=7995&p1=trunk/src/net/java/sip/communicator/impl/protocol/jabber/IceUdpTransportManager.java&p2=trunk/src/net/java/sip/communicator/impl/protocol/jabber/IceUdpTransportManager.java&r1=7994&r2=7995>

Cheers,
Andreas
---

Am 13.06.2011 02:28, schrieb Stefan Xenon:

Hi!
When calling to call a friend via Jabber, the following error occurs:

error: could not establish connection (ICE failed)

As the error messages states, the call couldn't be established.

How to find out the root cause of this problem and how to solve the problem?

Regards
Stefan

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
Jitsi
emcho@jitsi.org PHONE: +33.1.77.62.43.30
http://jitsi.org FAX: +33.1.77.62.47.31


#9

I recently got a talkr.im account. But I neither see a Jingle Node using
the Service Discovery provided by the PSI client nor is any Jingle Node
found according to the Jitsi log.

But I have been informed that a Jingle Node will be installed at
jabber.org. And I am looking for other servers and providers which might
want to provide Jingle Node services.

Cheers,
Andreas

···

Am 26.06.2011 16:30, schrieb Emil Ivov:

or a Jingle Nodes deployment such as the one offered by the talkr.im
service.