GNOME Bugzilla – Bug 575763
Should display an error when RTP connection is impossible
Last modified: 2011-08-29 10:12:28 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.
Same for me.
** (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)
Sorry. it's not same.
Olivier: Is this bug blocked by https://bugs.freedesktop.org/show_bug.cgi?id=22410 as well?
*** Bug 589852 has been marked as a duplicate of this bug. ***
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.
The newer versions of the spec and libtelepathy-farsight have more meaningful error codes, the UI should be improved to display corresponding messages.
The error message should link to the doc once the section has been written (bug #599165).
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.
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(-)
Suggestion for a better error message are welcome.
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)