Meetings not ending after last person leaves

Recently I noticed that our meetings are not ending when all participants leave and so the chat and everything is still there when I start the meeting up later. I am not sure if something changed as far as default behavior or I broke something so wanted to post here to see if there was an intended change in behavior before I go down a rabbit hole of figuring our where I broke something.

I am running a local Jitsi instance using secure domains running jitsi-meet_7210 currently.

Any other modifications that you run? Are you using in any way destroying rooms …
And when you join you don’t see any participants? If that is the case jicofo is not leaving the room for some reason …

Which prosody version do you use?

We don’t use any way of closing the meeting from the prosody side currently. I tried this before to close out when the moderator left but never got it working so we just kick everyone out via API when the moderator leaves now. Its all done outside of prosody though.

prosody:
  Installed: 0.12.0-1~focal1
  Candidate: 0.12.1-1~focal1

Hum, interesting… Any errors in jicofo logs?

Actually there are but I am not sure why its unable to remove users.

root@jitsi:~# grep -A 5 -B 5 error /var/log/jitsi/jicofo.log.1
Jicofo 2022-06-30 08:13:29.243 INFO: [2493] [room=mymeeting1@conference.jitsi.net meeting_id=3e3af6a8-5d87-4571-941b-34d1ef20f5d8] ColibriV2SessionManager.allocate#251: Allocating for 65c34ba4
Jicofo 2022-06-30 08:13:29.243 INFO: [2493] BridgeSelectionStrategy.select#145: Selected bridge Bridge[jid=jvbbrewery@internal.auth.jitsi.net/videobridge-3-91-198-163-videobridge, version=2.1.665-g3a90ccdc, relayId=3.91.198.163:4096, region=us-east-1, stress=0.00] with stress=0.0 for participantRegion=us-east-1
Jicofo 2022-06-30 08:13:29.243 INFO: [2493] [room=mymeeting1@conference.jitsi.net meeting_id=3e3af6a8-5d87-4571-941b-34d1ef20f5d8] ColibriV2SessionManager.allocate#276: Selected videobridge-3-91-198-163-videobridge, session exists: true
Jicofo 2022-06-30 08:13:29.288 INFO: [2494] [room=mymeeting1@conference.jitsi.net meeting_id=3e3af6a8-5d87-4571-941b-34d1ef20f5d8 participant=2a045e5d] ParticipantInviteRunnable.doInviteOrReinvite#415: Sending session-initiate to: mymeeting1@conference.jitsi.net/2a045e5d
Jicofo 2022-06-30 08:13:29.288 INFO: [2493] [room=mymeeting1@conference.jitsi.net meeting_id=3e3af6a8-5d87-4571-941b-34d1ef20f5d8 participant=65c34ba4] ParticipantInviteRunnable.doInviteOrReinvite#415: Sending session-initiate to: mymeeting1@conference.jitsi.net/65c34ba4
Jicofo 2022-06-30 08:13:29.292 SEVERE: [2494] AbstractOperationSetJingle.initiateSession#154: Unexpected response to 'session-initiate' from mymeeting1@conference.jitsi.net/2a045e5d: <iq xmlns='jabber:client' to='focus@auth.jitsi.net/focus' from='mymeeting1@conference.jitsi.net/2a045e5d' id='9E1LZ-663223' type='error'><error type='cancel' by='mymeeting1@conference.jitsi.net'><item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Recipient not in room</text></error></iq>
Jicofo 2022-06-30 08:13:29.292 INFO: [2494] [room=mymeeting1@conference.jitsi.net meeting_id=3e3af6a8-5d87-4571-941b-34d1ef20f5d8 participant=2a045e5d] ParticipantInviteRunnable.doInviteOrReinvite#439: Expiring mymeeting1@conference.jitsi.net/2a045e5d channels - no RESULT for session-initiate
Jicofo 2022-06-30 08:13:29.292 INFO: [2494] [room=mymeeting1@conference.jitsi.net meeting_id=3e3af6a8-5d87-4571-941b-34d1ef20f5d8] JitsiMeetConferenceImpl.terminateParticipant#829: Terminating 2a045e5d, reason: general-error, send session-terminate: true
Jicofo 2022-06-30 08:13:29.292 INFO: [2494] [room=mymeeting1@conference.jitsi.net meeting_id=3e3af6a8-5d87-4571-941b-34d1ef20f5d8] JitsiMeetConferenceImpl.terminateParticipant#852: Removed participant 2a045e5d removed=true
Jicofo 2022-06-30 08:13:29.292 WARNING: [2494] [room=mymeeting1@conference.jitsi.net meeting_id=3e3af6a8-5d87-4571-941b-34d1ef20f5d8 participant=2a045e5d] Participant.setInviteRunnable#150: Canceling ParticipantInviteRunnable[Participant[mymeeting1@conference.jitsi.net/2a045e5d]@817234793]@881430816
Jicofo 2022-06-30 08:13:29.292 INFO: [2494] [room=mymeeting1@conference.jitsi.net meeting_id=3e3af6a8-5d87-4571-941b-34d1ef20f5d8] ColibriV2SessionManager.removeParticipants#131: Removing participants: [2a045e5d]
Jicofo 2022-06-30 08:13:29.292 INFO: [2494] [room=mymeeting1@conference.jitsi.net meeting_id=3e3af6a8-5d87-4571-941b-34d1ef20f5d8] ColibriV2SessionManager.removeParticipants#131: Removing participants: []
Jicofo 2022-06-30 08:13:29.840 INFO: [2475] [room=mymeeting1@conference.jitsi.net meeting_id=3e3af6a8-5d87-4571-941b-34d1ef20f5d8] JitsiMeetConferenceImpl.onSessionAccept#928: Receive session-accept from mymeeting1@conference.jitsi.net/65c34ba4
--
Jicofo 2022-06-30 09:57:28.616 INFO: [2504] DiscoveryUtil.discoverParticipantFeatures#199: Successfully discovered features for mymeeting2@conference.jitsi.net/3e555045 in 0
Jicofo 2022-06-30 09:57:28.616 INFO: [2504] [room=mymeeting2@conference.jitsi.net meeting_id=ee08adef-b167-4970-87a0-890eaed3c429] ColibriV2SessionManager.allocate#251: Allocating for 3e555045
Jicofo 2022-06-30 09:57:28.616 INFO: [2504] BridgeSelectionStrategy.select#145: Selected bridge Bridge[jid=jvbbrewery@internal.auth.jitsi.net/videobridge-3-91-198-163-videobridge, version=2.1.665-g3a90ccdc, relayId=3.91.198.163:4096, region=us-east-1, stress=0.00] with stress=0.0 for participantRegion=us-east-1
Jicofo 2022-06-30 09:57:28.616 INFO: [2504] [room=mymeeting2@conference.jitsi.net meeting_id=ee08adef-b167-4970-87a0-890eaed3c429] ColibriV2SessionManager.allocate#276: Selected videobridge-3-91-198-163-videobridge, session exists: true
Jicofo 2022-06-30 09:57:28.631 INFO: [2502] [room=mymeeting2@conference.jitsi.net meeting_id=ee08adef-b167-4970-87a0-890eaed3c429 participant=89673d88] ParticipantInviteRunnable.doInviteOrReinvite#415: Sending session-initiate to: mymeeting2@conference.jitsi.net/89673d88
Jicofo 2022-06-30 09:57:28.633 SEVERE: [2502] AbstractOperationSetJingle.initiateSession#154: Unexpected response to 'session-initiate' from mymeeting2@conference.jitsi.net/89673d88: <iq xmlns='jabber:client' to='focus@auth.jitsi.net/focus' from='mymeeting2@conference.jitsi.net/89673d88' id='9E1LZ-664605' type='error'><error type='cancel' by='mymeeting2@conference.jitsi.net'><item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Recipient not in room</text></error></iq>
Jicofo 2022-06-30 09:57:28.633 INFO: [2502] [room=mymeeting2@conference.jitsi.net meeting_id=ee08adef-b167-4970-87a0-890eaed3c429 participant=89673d88] ParticipantInviteRunnable.doInviteOrReinvite#439: Expiring mymeeting2@conference.jitsi.net/89673d88 channels - no RESULT for session-initiate
Jicofo 2022-06-30 09:57:28.633 INFO: [2502] [room=mymeeting2@conference.jitsi.net meeting_id=ee08adef-b167-4970-87a0-890eaed3c429] JitsiMeetConferenceImpl.terminateParticipant#829: Terminating 89673d88, reason: general-error, send session-terminate: true
Jicofo 2022-06-30 09:57:28.633 WARNING: [2502] [room=mymeeting2@conference.jitsi.net meeting_id=ee08adef-b167-4970-87a0-890eaed3c429] JitsiMeetConferenceImpl.removeSources#1365: No sources or groups to be removed from 89673d88. The requested sources to remove: [audio=[], video=[], groups=[]]
Jicofo 2022-06-30 09:57:28.633 INFO: [2502] [room=mymeeting2@conference.jitsi.net meeting_id=ee08adef-b167-4970-87a0-890eaed3c429] JitsiMeetConferenceImpl.terminateParticipant#852: Removed participant 89673d88 removed=true
Jicofo 2022-06-30 09:57:28.633 WARNING: [2502] [room=mymeeting2@conference.jitsi.net meeting_id=ee08adef-b167-4970-87a0-890eaed3c429 participant=89673d88] Participant.setInviteRunnable#150: Canceling ParticipantInviteRunnable[Participant[mymeeting2@conference.jitsi.net/89673d88]@1739524481]@581800880
Jicofo 2022-06-30 09:57:28.633 INFO: [2502] [room=mymeeting2@conference.jitsi.net meeting_id=ee08adef-b167-4970-87a0-890eaed3c429] ColibriV2SessionManager.removeParticipants#131: Removing participants: [89673d88]
Jicofo 2022-06-30 09:57:28.633 INFO: [2502] [room=mymeeting2@conference.jitsi.net meeting_id=ee08adef-b167-4970-87a0-890eaed3c429] ColibriV2SessionManager.removeParticipants#131: Removing participants: []
--
Jicofo 2022-06-30 15:10:38.433 INFO: [2542] [room=mymeeting1@conference.jitsi.net meeting_id=3e3af6a8-5d87-4571-941b-34d1ef20f5d8] ColibriV2SessionManager.allocate#276: Selected videobridge-3-91-198-163-videobridge, session exists: false
Jicofo 2022-06-30 15:10:38.434 INFO: [2543] BridgeSelectionStrategy.select#145: Selected bridge Bridge[jid=jvbbrewery@internal.auth.jitsi.net/videobridge-3-91-198-163-videobridge, version=2.1.665-g3a90ccdc, relayId=3.91.198.163:4096, region=us-east-1, stress=0.01] with stress=0.00952 for participantRegion=us-east-1
Jicofo 2022-06-30 15:10:38.434 INFO: [2543] [room=mymeeting1@conference.jitsi.net meeting_id=3e3af6a8-5d87-4571-941b-34d1ef20f5d8] ColibriV2SessionManager.allocate#276: Selected videobridge-3-91-198-163-videobridge, session exists: true
Jicofo 2022-06-30 15:10:38.440 INFO: [2542] [room=mymeeting1@conference.jitsi.net meeting_id=3e3af6a8-5d87-4571-941b-34d1ef20f5d8 participant=99d33af5] ParticipantInviteRunnable.doInviteOrReinvite#415: Sending session-initiate to: mymeeting1@conference.jitsi.net/99d33af5
Jicofo 2022-06-30 15:10:38.443 INFO: [2543] [room=mymeeting1@conference.jitsi.net meeting_id=3e3af6a8-5d87-4571-941b-34d1ef20f5d8 participant=2a045e5d] ParticipantInviteRunnable.doInviteOrReinvite#415: Sending session-initiate to: mymeeting1@conference.jitsi.net/2a045e5d
Jicofo 2022-06-30 15:10:38.445 SEVERE: [2543] AbstractOperationSetJingle.initiateSession#154: Unexpected response to 'session-initiate' from mymeeting1@conference.jitsi.net/2a045e5d: <iq xmlns='jabber:client' to='focus@auth.jitsi.net/focus' from='mymeeting1@conference.jitsi.net/2a045e5d' id='9E1LZ-668730' type='error'><error type='cancel' by='mymeeting1@conference.jitsi.net'><item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Recipient not in room</text></error></iq>
Jicofo 2022-06-30 15:10:38.445 INFO: [2543] [room=mymeeting1@conference.jitsi.net meeting_id=3e3af6a8-5d87-4571-941b-34d1ef20f5d8 participant=2a045e5d] ParticipantInviteRunnable.doInviteOrReinvite#439: Expiring mymeeting1@conference.jitsi.net/2a045e5d channels - no RESULT for session-initiate
Jicofo 2022-06-30 15:10:38.445 INFO: [2543] [room=mymeeting1@conference.jitsi.net meeting_id=3e3af6a8-5d87-4571-941b-34d1ef20f5d8] JitsiMeetConferenceImpl.terminateParticipant#829: Terminating 2a045e5d, reason: general-error, send session-terminate: true
Jicofo 2022-06-30 15:10:38.446 INFO: [2543] [room=mymeeting1@conference.jitsi.net meeting_id=3e3af6a8-5d87-4571-941b-34d1ef20f5d8] JitsiMeetConferenceImpl.terminateParticipant#852: Removed participant 2a045e5d removed=true
Jicofo 2022-06-30 15:10:38.446 WARNING: [2543] [room=mymeeting1@conference.jitsi.net meeting_id=3e3af6a8-5d87-4571-941b-34d1ef20f5d8 participant=2a045e5d] Participant.setInviteRunnable#150: Canceling ParticipantInviteRunnable[Participant[mymeeting1@conference.jitsi.net/2a045e5d]@2033703802]@2012232692
Jicofo 2022-06-30 15:10:38.446 INFO: [2543] [room=mymeeting1@conference.jitsi.net meeting_id=3e3af6a8-5d87-4571-941b-34d1ef20f5d8] ColibriV2SessionManager.removeParticipants#131: Removing participants: [2a045e5d]
Jicofo 2022-06-30 15:10:38.446 INFO: [2543] [room=mymeeting1@conference.jitsi.net meeting_id=3e3af6a8-5d87-4571-941b-34d1ef20f5d8] ColibriV2SessionManager.removeParticipants#131: Removing participants: []
Jicofo 2022-06-30 15:10:39.209 INFO: [2544] [room=mymeeting1@conference.jitsi.net meeting_id=3e3af6a8-5d87-4571-941b-34d1ef20f5d8] JitsiMeetConferenceImpl.onSessionAccept#928: Receive session-accept from mymeeting1@conference.jitsi.net/99d33af5

Do you reproduce with latest jicofo?

I will upgrade and report back. Thank you!