Hello,
we are facing an issue here. We tried to communicate in a one-to-one chat, and everything went as expected. We added a third person and we could keep communicating normally. After a "kick" for one of the persons, we all are getting a disconnect loop for reasons we can't understand.
Here is our test-room, and here is the screenshot of the disconnect-loop.
No matter how long we let it trying, or manually refreshing the page, we get an immediate disconnect.
Thank you for your help in advance.
Just noticed that after about 10 minutes of letting it retry to connect, the connection is made normally and we can use the room again. How can we see the reasons for this strange behavior...?
You need to open the js console when you see the reload screen and save the logs, there should be something about it, focus missing, or jvb missing.
You can also check jicofo logs for errors.
@damencho could you give me some directions on how to do this, since I am not familiar...?
I got CONFERENCE FAILED: conference.videobridgeNotAvailable when tried your deployment. You can try restarting jitsi-videobridge.
Few users reported for bridges that are not loaded that at some point they hit the "Too many open files" problem and they fail health check and so are removed from jicofo as faulty. You can check that by grepping jicofo logs for "Too many open files". If this is the case, you can try disabling jicofo healthchecks: https://github.com/jitsi/jitsi-meet/issues/2172#issuecomment-385100693
To open javascript console in Chrome you have View -> Developer -> JavaScript Console.
I have "tailed" the jicofo.log file and tried the following. I entered the (same) room, alone and got the log output below.
Jicofo 2018-06-06 20:58:39.354 INFORMATION: [69] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().402 Focus request for room: [email protected]
Jicofo 2018-06-06 20:58:39.354 INFORMATION: [69] org.jitsi.jicofo.FocusManager.log() Created new focus for [email protected]@auth.conference.think-free.net conferences count: 1 options:
channelLastN: -1
enableLipSync: true
openSctp: true
disableRtx: false
Jicofo 2018-06-06 20:58:39.355 INFORMATION: [69] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Lip-sync enabled in [email protected]
Jicofo 2018-06-06 20:58:39.355 INFORMATION: [69] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Joining the room: [email protected]
Jicofo 2018-06-06 20:58:39.670 INFORMATION: [45] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Chat room event ChatRoomMemberPresenceChangeEvent[type=MemberJoined sourceRoom=org.jitsi.impl.protocol.xmpp.ChatRoomImpl@15bb4630 member=ChatMember[[email protected]/ed262dd2, jid: null]@1398025111]
Jicofo 2018-06-06 20:58:39.673 INFORMATION: [45] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Granted owner to [email protected]/ed262dd2
Jicofo 2018-06-06 20:58:39.673 INFORMATION: [45] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Member [email protected]/ed262dd2 joined.
Then I asked my partner to join me in the same room, and we both got a disconnect. The following log output was captured.
Jicofo 2018-06-06 21:03:45.127 INFORMATION: [81] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().402 Focus request for room: [email protected]
Jicofo 2018-06-06 21:03:45.312 INFORMATION: [45] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Chat room event ChatRoomMemberPresenceChangeEvent[type=MemberJoined sourceRoom=org.jitsi.impl.protocol.xmpp.ChatRoomImpl@15bb4630 member=ChatMember[[email protected]/bdd42e06, jid: null]@1517669256]
Jicofo 2018-06-06 21:03:45.313 INFORMATION: [45] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Member [email protected]/bdd42e06 joined.
Jicofo 2018-06-06 21:03:45.313 SCHWERWIEGEND: [45] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Can not invite participant -- no bridge available.
Jicofo 2018-06-06 21:03:45.313 SCHWERWIEGEND: [45] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Can not invite participant -- no bridge available.
Jicofo 2018-06-06 21:03:45.942 INFORMATION: [45] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Chat room event ChatRoomMemberPresenceChangeEvent[type=MemberLeft sourceRoom=org.jitsi.impl.protocol.xmpp.ChatRoomImpl@15bb4630 member=ChatMember[[email protected]/bdd42e06, jid: null]@1517669256]
Jicofo 2018-06-06 21:03:45.942 INFORMATION: [45] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Member [email protected]/bdd42e06 is leaving
Jicofo 2018-06-06 21:03:45.942 INFORMATION: [45] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Removed participant: true, [email protected]/bdd42e06
Jicofo 2018-06-06 21:03:46.179 INFORMATION: [45] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Chat room event ChatRoomMemberPresenceChangeEvent[type=MemberLeft sourceRoom=org.jitsi.impl.protocol.xmpp.ChatRoomImpl@15bb4630 member=ChatMember[[email protected]/ed262dd2, jid: [email protected]/5d12b608-d072-4b68-81fe-c67cc15d4e73]@1398025111]
Jicofo 2018-06-06 21:03:46.180 INFORMATION: [45] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Owner has left the room !
Jicofo 2018-06-06 21:03:46.180 INFORMATION: [45] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Member [email protected]/ed262dd2 is leaving
Jicofo 2018-06-06 21:03:46.180 INFORMATION: [45] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Removed participant: true, [email protected]/ed262dd2
Jicofo 2018-06-06 21:03:46.181 INFORMATION: [45] org.jitsi.jicofo.FocusManager.log() Disposed conference for room: [email protected] conference count: 0
I hope it helps. If there is any other information I can provide, I will be happy to do so.
Nope it doesn't help, this just proves the thing I already tested and I see there is no jvb. Can you look at my comment:
https://github.com/jitsi/jitsi-meet/issues/3105#issuecomment-395167568
Can you search all your jicofo logs for "Too many open files", it should happen in the past.
@damencho I restarted jitsi-videobridge several times, I have also tried to see if there are any "too many open files"-strings in jicofo logs but nope. Nothing like that.
root@h2782615:~# cat /var/log/jitsi/jicofo.log | grep "Too many open files"
root@h2782615:~#
Ok, so if you have restarted jitsi-videobridge and jicofo still do not see it there must be another problem. Check jvb logs for errors, do you see any?
Can you send all jicofo logs(even the old ones) so I can check them and to see why it lost the jvb. It was working in the beginning right?
@damencho of course, how may I send you the logs? I can create a pastebin with jicofo logs if it's ok with you.
Upload an archive somewhere, I suppose that they are multiple files. If you want to send them to me personally damencho AT jitsi.org.
I have only two files in the logs directory, but never deleted any lines so I suppose they are complete. Uploading now. I will post the link here, thank you so much for your help @damencho .. !!!
@damencho here is the logs archive.
jitsi-logs.rar is not RAR archive
What do you mean? Just created it with WinRAR...
No idea, my UnRarX client says so. Maybe use some other more common format.
ZIP archive here
Here is why there is no jvb registered in jicofo, cause jvb failed to respond to a health check:
Health check failed on: jitsi-videobridge.conference.think-free.net error: timeout
Removing JVB: jitsi-videobridge.conference.think-free.net
Looking at the same time in jvb log you can see:
JVB 2018-06-06 19:44:43.845 SCHWERWIEGEND: [285] util.UtilActivator.uncaughtException().122 An uncaught exception occurred in thread=Thread[pool-5-thread-9,5,main] and message was: unable to create new native thread
java.lang.OutOfMemoryError: unable to create new native thread
Apparently, there is not enough memory for jvb and jicofo on that machine, fix that and restart both jvb and jicofo in this order.
So, all I have to do, is ask my provider to add more RAM to the server?
I don't know your infrastructure, it is your decision what to do ... you may decide to have more machines than you can distribute multiple bridges on multiple machines.
What is the current memory capacity of that machine?
root@h2782615:~# free -m
total used free shared buff/cache available
Mem: 2048 396 1599 9 51 1538
Swap: 0 0 0
root@h2782615:~#
So both jicofo and jvb are started with -Xmx3072m which means only for them the memory can go up to 6GB and you should leave some for the OS and the other processes, like prosody and maybe webserver ... So 2GB really too low.
Upgraded my plan to an 8GB memory. You were the most helpful person I've ever met on github. Thank you for your support and patience!
Following is the error message shown in the JS console.
[modules/xmpp/JingleSessionPC.js]
app.bundle.min.js?v=2872:2 [modules/UI/videolayout/VideoLayout.js]
app.bundle.min.js?v=2872:2 [modules/UI/videolayout/RemoteVideo.js]
app.bundle.min.js?v=2872:2 [modules/UI/videolayout/VideoLayout.js]
app.bundle.min.js?v=2872:2 [modules/UI/videolayout/VideoLayout.js]
app.bundle.min.js?v=2872:2 [modules/UI/videolayout/VideoLayout.js]
lib-jitsi-meet.min.js?v=2872:2 [modules/RTC/TraceablePeerConnection.js]
lib-jitsi-meet.min.js?v=2872:2 [JitsiMeetJS.js]
at Object.updateLargeVideo (app.bundle.min.js?v=2872:2)
at Object._updateLargeVideoIfDisplayed (app.bundle.min.js?v=2872:2)
at Object.onRemoteStreamRemoved (app.bundle.min.js?v=2872:2)
at Object.S.removeRemoteStream (app.bundle.min.js?v=2872:2)
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at Object.dispatch (app.bundle.min.js?v=2872:2)
at n.
at n.emit (lib-jitsi-meet.min.js?v=2872:2)
at r.
at Array.forEach (
at r.onRemoteTrackRemoved (lib-jitsi-meet.min.js?v=2872:2)
at n.emit (lib-jitsi-meet.min.js?v=2872:2)
at r._removeRemoteTrack (lib-jitsi-meet.min.js?v=2872:2)
at r.close (lib-jitsi-meet.min.js?v=2872:2)
at t.value (lib-jitsi-meet.min.js?v=2872:2)
at r.leave (lib-jitsi-meet.min.js?v=2872:2)
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at Object.dispatch (app.bundle.min.js?v=2872:2)
at e.value (app.bundle.min.js?v=2872:2)
at n.emit (lib-jitsi-meet.min.js?v=2872:2)
at n.
at n.emit (lib-jitsi-meet.min.js?v=2872:2)
at r.peerconnection.oniceconnectionstatechange (lib-jitsi-meet.min.js?v=2872:2)
at RTCPeerConnection.peerconnection.oniceconnectionstatechange (lib-jitsi-meet.min.js?v=2872:2)
n @ lib-jitsi-meet.min.js?v=2872:2
getGlobalOnErrorHandler @ lib-jitsi-meet.min.js?v=2872:2
window.onerror @ app.bundle.min.js?v=2872:2
lib-jitsi-meet.min.js?v=2872:2 Uncaught TypeError: Cannot read property 'updateView' of undefined
at Object.updateLargeVideo (app.bundle.min.js?v=2872:2)
at Object._updateLargeVideoIfDisplayed (app.bundle.min.js?v=2872:2)
at Object.onRemoteStreamRemoved (app.bundle.min.js?v=2872:2)
at Object.S.removeRemoteStream (app.bundle.min.js?v=2872:2)
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at Object.dispatch (app.bundle.min.js?v=2872:2)
at n.
at n.emit (lib-jitsi-meet.min.js?v=2872:2)
at r.
at Array.forEach (
at r.onRemoteTrackRemoved (lib-jitsi-meet.min.js?v=2872:2)
at n.emit (lib-jitsi-meet.min.js?v=2872:2)
at r._removeRemoteTrack (lib-jitsi-meet.min.js?v=2872:2)
at r.close (lib-jitsi-meet.min.js?v=2872:2)
at t.value (lib-jitsi-meet.min.js?v=2872:2)
at r.leave (lib-jitsi-meet.min.js?v=2872:2)
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at app.bundle.min.js?v=2872:2
at Object.dispatch (app.bundle.min.js?v=2872:2)
at e.value (app.bundle.min.js?v=2872:2)
at n.emit (lib-jitsi-meet.min.js?v=2872:2)
at n.
at n.emit (lib-jitsi-meet.min.js?v=2872:2)
at r.peerconnection.oniceconnectionstatechange (lib-jitsi-meet.min.js?v=2872:2)
at RTCPeerConnection.peerconnection.oniceconnectionstatechange (lib-jitsi-meet.min.js?v=2872:2)
updateLargeVideo @ app.bundle.min.js?v=2872:2
_updateLargeVideoIfDisplayed @ app.bundle.min.js?v=2872:2
onRemoteStreamRemoved @ app.bundle.min.js?v=2872:2
S.removeRemoteStream @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
n.emit @ lib-jitsi-meet.min.js?v=2872:2
(anonymous) @ lib-jitsi-meet.min.js?v=2872:2
r.onRemoteTrackRemoved @ lib-jitsi-meet.min.js?v=2872:2
n.emit @ lib-jitsi-meet.min.js?v=2872:2
r._removeRemoteTrack @ lib-jitsi-meet.min.js?v=2872:2
r.close @ lib-jitsi-meet.min.js?v=2872:2
value @ lib-jitsi-meet.min.js?v=2872:2
r.leave @ lib-jitsi-meet.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
(anonymous) @ app.bundle.min.js?v=2872:2
value @ app.bundle.min.js?v=2872:2
n.emit @ lib-jitsi-meet.min.js?v=2872:2
(anonymous) @ lib-jitsi-meet.min.js?v=2872:2
n.emit @ lib-jitsi-meet.min.js?v=2872:2
peerconnection.oniceconnectionstatechange @ lib-jitsi-meet.min.js?v=2872:2
peerconnection.oniceconnectionstatechange @ lib-jitsi-meet.min.js?v=2872:2
lib-jitsi-meet.min.js?v=2872:2 [modules/xmpp/JingleSessionPC.js]
lib-jitsi-meet.min.js?v=2872:2 (TIME) Render video: 45572.799999965355
lib-jitsi-meet.min.js?v=2872:2 (TIME) TTFM video: 24422.49999998603
app.bundle.min.js?v=2872:2 [modules/UI/videolayout/LargeVideoManager.js] <>: hover in %s 2e7591e9
after running free -m I still have 668MB free space. Do I really need to increase the RAM??
total used free shared buff/cache available
Mem: 1906 564 668 6 673 1116
Swap: 0 0 0
[modules/xmpp/JingleSessionPC.js]
: (TIME) ICE failed P2P? false: 45369.399999966845
Looks like a connectivity error.
But we both are on the same network and my network speed returned by https://fast.com/ is 9.1 Mbps
Check your network, ICE failures are due to the network. Are you also behind this ip address 85.214.103.72 or it is used only for jvb? Sometimes firewalls do not allow coming out of the NAT and connecting to the address of the nat box.
And strangely, not sure if this is still the case, looking at old logs, but your jvb advertises 0:0:0:0:0:0:0:2 as an address, it doesn't seem as a correct ip address, this should be fixed, although it will not cause ICE to fail.
Ooo wait, @naveenpatidar is your problem has something to do with @kkar's one?
Can you tell me what need to be set for getting over this issue, means in which file with what parameter??
If Sometimes firewalls do not allow coming out of the NAT and connecting to the address of the nat box. this is the case then what is the possible solution for it.
Resolved.
I am using org.jitsi.videobridge.NAT_HARVESTER_PUBLIC_ADDRESS=DOMAIN NAME insted of IP ADDRESS .
@naveenpatidar
Where did you change IP ADDRESS?
I am a fresher for jitsi.
Regards
I installed jitsi-meet by following guide video in my own server(ubuntu16.04).
Install were completed successfully.
When 2 users join to room, they connected.
But they are disconnected after 20seconds.
What is mistake?
@LeeChanWu Check javascrip console logs.
Please in the future when you have questions or problems, before opening an issue or writing to an already closed one, discuss them first on the community forum: https://community.jitsi.org as stated in the issues template, thank you.