After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 575763 - Should display an error when RTP connection is impossible
Should display an error when RTP connection is impossible
Status: RESOLVED FIXED
Product: empathy
Classification: Core
Component: VoIP
2.26.x
Other Linux
: Normal enhancement
: ---
Assigned To: empathy-maint
: 589852 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-03-17 21:58 UTC by Guillaume Desmottes
Modified: 2011-08-29 10:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
http://git.collabora.co.uk/?p=user/cassidy/empathy;a=shortlog;h=refs/heads/connect-failed-575763 (736 bytes, patch)
2009-11-05 14:58 UTC, Guillaume Desmottes
none Details | Review

Description Guillaume Desmottes 2009-03-17 21:58:57 UTC
A common error when trying to make a call is:
** (empathy:13370): WARNING **: stream 1 (audio) _tf_stream_bus_message: error (connection-failed (108)): Could not establish connection : Could not establish connection on the RTP component
** Message: tf_stream_error: stream error errorno=0 error=Could not establish connection

Empathy should display an error in that case explaining the call is not working because of network/NAT problems.
Comment 1 Stanislav 2009-05-03 14:08:37 UTC
Same for me.
Comment 2 Stanislav 2009-05-03 14:19:06 UTC
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) get_all_properties_cb: Adding STUN server 209.85.137.126:19302
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) get_all_properties_cb: Adding relay (udp) 209.85.137.126:19295 78ZuOpA4CurjPRJg:fWtfBdvQjQpNluvj 1
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) get_all_properties_cb: Adding relay (tcp) 209.85.137.126:19294 78ZuOpA4CurjPRJg:fWtfBdvQjQpNluvj 1
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) get_all_properties_cb: Adding relay (tls) 209.85.137.126:443 78ZuOpA4CurjPRJg:fWtfBdvQjQpNluvj 1
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) get_all_properties_cb: Adding relay (udp) 209.85.137.126:19295 4vslYdY6KAKEs9lP:uRyVh5bEkl1NynbH 2
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) get_all_properties_cb: Adding relay (tcp) 209.85.137.126:19294 4vslYdY6KAKEs9lP:uRyVh5bEkl1NynbH 2
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) get_all_properties_cb: Adding relay (tls) 209.85.137.126:443 4vslYdY6KAKEs9lP:uRyVh5bEkl1NynbH 2
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: called (send_local:1 send_supported:0)
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: 100: audio SPEEX clock:16000 channels:1
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: 101: audio SPEEX clock:8000 channels:1
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: 0: audio PCMU clock:8000 channels:0
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: 8: audio PCMA clock:8000 channels:0
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: 3: audio GSM clock:8000 channels:0
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: 98: audio telephone-event clock:8000 channels:0 events=0-15
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) fs_codecs_to_tp: adding codec SPEEX [100]
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) fs_codecs_to_tp: adding codec SPEEX [101]
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) fs_codecs_to_tp: adding codec PCMU [0]
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) fs_codecs_to_tp: adding codec PCMA [8]
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) fs_codecs_to_tp: adding codec GSM [3]
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) fs_codecs_to_tp: adding codec telephone-event [98]
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: calling MediaStreamHandler::Ready
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) set_stream_playing: 0
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) set_stream_sending: 0
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_bus_message: Codecs changed
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: called (send_local:0 send_supported:0)
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: 100: audio SPEEX clock:16000 channels:1
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: 101: audio SPEEX clock:8000 channels:1
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: 0: audio PCMU clock:8000 channels:0
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: 8: audio PCMA clock:8000 channels:0
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: 3: audio GSM clock:8000 channels:0
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: 98: audio telephone-event clock:8000 channels:0 events=0-15
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) cb_fs_new_local_candidate: called
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) cb_fs_new_local_candidate: called
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) cb_fs_new_local_candidate: called
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) cb_fs_new_local_candidate: called
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) cb_fs_new_local_candidate: called
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) cb_fs_new_local_candidate: called
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) cb_fs_new_local_candidate: called
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) cb_fs_new_local_candidate: called
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) cb_fs_new_local_candidate: called
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) cb_fs_new_local_candidate: called
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) cb_fs_local_candidates_prepared: called
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) cb_fs_local_candidates_prepared: candidate->ip = '172.18.0.68'
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) cb_fs_local_candidates_prepared: candidate->ip = '172.18.0.68'
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) cb_fs_local_candidates_prepared: candidate->ip = '80.92.102.136'
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) cb_fs_local_candidates_prepared: candidate->ip = '80.92.102.136'
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) cb_fs_local_candidates_prepared: candidate->ip = '209.85.137.126'
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) cb_fs_local_candidates_prepared: candidate->ip = '209.85.137.126'
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) cb_fs_local_candidates_prepared: candidate->ip = '209.85.137.126'
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) cb_fs_local_candidates_prepared: candidate->ip = '209.85.137.126'
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) cb_fs_local_candidates_prepared: candidate->ip = '209.85.137.126'
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) cb_fs_local_candidates_prepared: candidate->ip = '209.85.137.126'
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) set_remote_codecs: called
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) set_remote_codecs: adding remote codec speex [98]
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) set_remote_codecs: adding remote codec iLBC [102]
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) set_remote_codecs: adding remote codec speex [98]
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) set_remote_codecs: adding remote codec speex [98]
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) set_remote_codecs: adding remote codec speex [98]
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) set_remote_codecs: adding remote codec speex [98]
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) set_remote_codecs: adding remote codec CN [13]
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) set_remote_codecs: adding remote codec PCMU [0]
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: called (send_local:0 send_supported:1)
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: 98: audio speex clock:16000 channels:1
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: 98: audio speex clock:16000 channels:1
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: 98: audio speex clock:16000 channels:1
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: 98: audio speex clock:16000 channels:1
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: 98: audio speex clock:16000 channels:1
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: 0: audio PCMU clock:8000 channels:0
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) fs_codecs_to_tp: adding codec speex [98]
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) fs_codecs_to_tp: adding codec speex [98]
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) fs_codecs_to_tp: adding codec speex [98]
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) fs_codecs_to_tp: adding codec speex [98]
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) fs_codecs_to_tp: adding codec speex [98]
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) fs_codecs_to_tp: adding codec PCMU [0]
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: calling MediaStreamHandler::SupportedCodecs
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_bus_message: Codecs changed
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: called (send_local:0 send_supported:0)
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: 98: audio speex clock:16000 channels:1
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: 98: audio speex clock:16000 channels:1
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: 98: audio speex clock:16000 channels:1
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: 98: audio speex clock:16000 channels:1
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: 98: audio speex clock:16000 channels:1
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_try_sending_codecs: 0: audio PCMU clock:8000 channels:0
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) set_stream_sending: 1
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) tf_stream_request_resource: Requesting resource for direction 1
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) tf_stream_request_resource: Requesting resource for direction 1 returned 1
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) set_stream_playing: 1
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) tf_stream_request_resource: Requesting resource for direction 2
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) tf_stream_request_resource: Requesting resource for direction 2 returned 1
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) set_stream_sending: 1
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) _tf_stream_bus_message: Send codec changed: 98: audio speex clock:16000 channels:1 params:(nil)
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) add_remote_candidate: adding remote candidate R1

** (empathy:11108): WARNING **: stream 1 0x993e5e8 (audio) _tf_stream_bus_message: error (connection-failed (108)): Could not establish connection : Could not establish connection on the RTP component
** Message: tf_stream_error: stream error errorno=0 error=Could not establish connection
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) set_stream_playing: 0
** (empathy:11108): DEBUG: stream 1 0x993e5e8 (audio) close: close requested by connection manager
** Message: Element error: Internal data flow error. -- gstbasesrc.c(2330): gst_base_src_loop (): /GstPipeline:pipeline0/EmpathyGstAudioSrc:empathygstaudiosrc0/GstGConfAudioSrc:gconfaudiosrc0/GstBin:bin6/GstAlsaSrc:alsasrc0:
streaming task paused, reason not-linked (-1)
Comment 3 Stanislav 2009-05-03 14:21:18 UTC
Sorry. it's not same.
Comment 4 Guillaume Desmottes 2009-06-22 10:28:48 UTC
Olivier: Is this bug blocked by https://bugs.freedesktop.org/show_bug.cgi?id=22410 as well?
Comment 5 Guillaume Desmottes 2009-07-28 16:55:43 UTC
*** Bug 589852 has been marked as a duplicate of this bug. ***
Comment 6 Ken VanDine 2009-10-06 15:27:45 UTC
I would love to see a wait to debug failed calls, voip, jabber, msn, etc.  Perhaps add a button in the call dialog that you can click on after a call has ended or failed to run some diagnostics.  Perhaps ransack the logs and poke at network/nat setup to point out common problems and possible solutions.

Currently it is very hard for users to see why voice/video calls fail.
Comment 7 Olivier Crête 2009-10-06 16:03:31 UTC
The newer versions of the spec and libtelepathy-farsight have more meaningful error codes, the UI should be improved to display corresponding messages.
Comment 8 Guillaume Desmottes 2009-10-21 11:08:14 UTC
The error message should link to the doc once the section has been written (bug #599165).
Comment 9 André Klapper 2009-10-28 17:16:51 UTC
Currently 17 Empathy tickets are set as GNOME 2.30 blockers, hence mass-removing.
Guillaume: Please use normal Target Milestones instead. If you really think that this specific issue here is a 2.30 blocker then please restore the GNOME target and set corresponding importance values.
Comment 10 Guillaume Desmottes 2009-11-05 14:58:34 UTC
Created attachment 147011 [details] [review]
http://git.collabora.co.uk/?p=user/cassidy/empathy;a=shortlog;h=refs/heads/connect-failed-575763

 src/empathy-call-window.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
Comment 11 Guillaume Desmottes 2009-11-05 14:59:09 UTC
Suggestion for a better error message are welcome.
Comment 12 Guillaume Desmottes 2009-11-06 10:54:18 UTC
Fixed in master.

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.

commit 7a89f0e836e77d50b63cbf7aee35b1f3dc0a3e34
Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Date:   Thu Nov 5 14:58:05 2009 +0000

    empathy-call-window: add a friendly message for TP_MEDIA_STREAM_ERROR_CONNECTION_FAILED (#575763)