-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CONFERENCE FAILED: conference.setup_failed Error: ICE fail #2805
Comments
Are you using meet.jit.si or another deployment? Is it in p2p or not? |
It is p2p,using own deployment(quick install) |
You need turn to be sure p2p will work, but if p2p fails it should fallback to jvb. |
@damencho Where to configure turn? |
It is not a simple task. But here are some simple steps you can follow:
This way clients will ask prosody for turn credentials using XEP-0215 and will use those credentials to connect to your turn server. |
@damencho I have done what you said, and I still have the error. |
@damencho Thank you for your help. The problem has been solved. |
@c526537207 i configured turn server, i added the stun URL under p2p stun servers in config.js. |
@Frindecent you need to enable the module https://modules.prosody.im/mod_turncredentials.html |
@damencho In prosody settings i added turncredentials and also provided plugin_path , however still the issue is not resolved. [JitsiConference.js] <r._doReplaceTrack>: _doReplaceTrack - no JVB JingleSession |
Have you enabled the module?
|
yes i have done that. |
Check prosody logs for errors. Also, you can modify mod_turncredentials.lua adding some log to make sure that it is loaded, there is already log(https://hg.prosody.im/prosody-modules/file/7dbde05b48a9/mod_turncredentials/mod_turncredentials.lua#l14) if it is not loaded, maybe check for that in the logs. |
I have this error in my logs. does that mean prosody is picking up mod_turncredentials. and i should start looking towards mod_turncrentials.lua file or turn server configuration ( I installed coturn server on ubuntu 16.04 using apt-get and edited turnserver.conf for listening ports and 3478 and tls port 5479. Also installed letsencrypt ssl. and verified by telnet whether turn server is listening to port 443 and 3478) ? I apologize for disturbing you alot. |
You forgot to paste the error. |
the error you mentioned. |
Looking at the code, this means that turncredentials_host or turncredentials_secret is not configured in prosody. |
hi @damencho . Sorry for trouble , i am pasting my mod_turncredentials.lua file here... because i have tried 100s of various combinations and still not able to get past this error. Can you help in identifying how i could not be entering correct credentials. local st = require "util.stanza"; module:add_feature("urn:xmpp:extdisco:1"); module:hook("iq-get/host/urn:xmpp:extdisco:1:services", function(event) |
Do you have values for turncredentials_host or turncredentials_secret in your prosody config? |
This is not the original code of the module, return the default one and set those two config in your main prosody config file. |
hi , the code is the same as of https://hg.prosody.im/prosody-modules/file/7dbde05b48a9/mod_turncredentials/mod_turncredentials.lua i added only the values of turncredentials_host and turncredentials_secret. i thought maybe i am not getting them right. no i dont have the values in prosody config file , i only added the values in mod_turncrentials.lua file. i will update prosody.cfg file and will let you know of results. |
I don't see this in the link you pasted: |
@damencho same issue (?) here:
When I go to any room (like https://jitsi.delos.ltd/foobar) it doesn't work while on another install that I did the same way (from what I remember) it worked quite well from the beginning. Any idea what is going on? If I need to install a turn server, why didn't I need it previously? |
You didn't follow: https://github.com/jitsi/jitsi-meet/blob/master/doc/quick-install.md#advanced-configuration |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@damencho |
@zeronlee do not hijack issues. If you have a question or problem, write in the community forum: https://community.jitsi.org |
When the user joins the room, the following error will appear, how to solve?
[modules/xmpp/JingleSessionPC.js] <r.peerconnection.oniceconnectionstatechange>: (TIME) ICE failed P2P? false: 24965.299999996205 Logger.js:125 [conference.js] <e.value>: CONFERENCE FAILED: conference.setup_failed Error: ICE fail at r.peerconnection.oniceconnectionstatechange (JingleSessionPC.js:459) at RTCPeerConnection.peerconnection.oniceconnectionstatechange (TraceablePeerConnection.js:261)
The text was updated successfully, but these errors were encountered: