Http-bind bosch URL is not working - it is showing 0 bytes transferred and CORS error

Hi,

After fixing the reconnecting issue, I am getting other issues.

  1. Jitsi started working and the meeting link went into endless loop with message “unfortunately something went wrong” message. After lot of search, found one post in this forum which said that the bosch URL in .config.js will need to be appended with port 4444. After doing that, the endless loop error went away.
    / BOSH URL. FIXME: use XEP-0156 to discover it.
    bosh: ‘//:4444/http-bind’,

  2. We are using external_api.js to generate room URLs and embed it in our site. However, though the initial connection is getting established, it is showing room error with 0 bytes transferred for this URL:
    https://:4444/http-bind?room=88f30aea-4eb8-4166-b319-123063e3a5fe - This is showing page not found.
    https:///http-bind?room=88f30aea-4eb8-4166-b319-123063e3a5fe - This is showing
    “It works! Now point your BOSH client to this URL to connect to Prosody.
    For more information see Prosody: Setting up BOSH.”

I suspect the issue is in reverse proxy settings in nginx and also prosody ports.
Prosody log is not showing any errors nor is jicofo log or jvb log.

Can somebody please help me with this and suggest settings so that everything works seamlessly?

Thanks

What is the bosh url configured in your config.js?
Are you running the web on port 4444?

bosch url is same as domain.
I have a new installation of jitsi. I am not running anything in port 4444.
Since jitsi was not working and showing ‘unfortunately something went wrong’, I
adapted a solution found in forum here that suggested that I add 4444 to bosh url,
This line in config file
bosh: ‘domain:4444/http-bind’
And after I added, at least the loop error went away.

But after that it is not working for users connecting to jitsi.

That cannot work, its missing domain and apparently there is nothing on port 4444.

Revert it and upload the js console logs from the browser when you have the problem.

Here is the log from console:

2022-02-20T11:50:18.467Z [JitsiMeetJS.js] : UnhandledError: Focus error, retry after 2000 Script: null Line: null Column: null StackTrace: 6295/xs.prototype._allocateConferenceFocusError@https:///libs/lib-jitsi-meet.min.js?v=5818:2:261399
6295/xs.prototype.allocateConferenceFocus/</<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:260440
sendIQ/a<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:609368
run@https:///libs/lib-jitsi-meet.min.js?v=5818:2:604667
_dataRecv/<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:613105
forEachChild@https:///libs/lib-jitsi-meet.min.js?v=5818:2:596335
_dataRecv@https:///libs/lib-jitsi-meet.min.js?v=5818:2:612954
_onRequestStateChange@https:///libs/lib-jitsi-meet.min.js?v=5818:2:632938
EventHandlerNonNull*_newXHR@https:///libs/lib-jitsi-meet.min.js?v=5818:2:626761
9755/e.exports</M.Request@https:///libs/lib-jitsi-meet.min.js?v=5818:2:625649
_onIdle@https:///libs/lib-jitsi-meet.min.js?v=5818:2:631412
_onIdle@https:///libs/lib-jitsi-meet.min.js?v=5818:2:621144
_onIdle/this._idleTimeout<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:621221
setTimeout handler*_onIdle@https:///libs/lib-jitsi-meet.min.js?v=5818:2:621189
_onIdle/this._idleTimeout<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:621221
setTimeout handler*_onIdle@https:///libs/lib-jitsi-meet.min.js?v=5818:2:621189
_send/this._conn._idleTimeout<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:636211
setTimeout handler*_send@https:///libs/lib-jitsi-meet.min.js?v=5818:2:636173
send@https:///libs/lib-jitsi-meet.min.js?v=5818:2:608390
sendIQ@https:///libs/lib-jitsi-meet.min.js?v=5818:2:609505
info@https:///libs/lib-jitsi-meet.min.js?v=5818:2:643842
_getDiscoInfo/<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:234688
_getDiscoInfo@https:///libs/lib-jitsi-meet.min.js?v=5818:2:234657
getFeaturesAndIdentities@https:///libs/lib-jitsi-meet.min.js?v=5818:2:234608
_processDiscoInfoIdentities/<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:359806
_processDiscoInfoIdentities@https:///libs/lib-jitsi-meet.min.js?v=5818:2:359406
connectionHandler/<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:357865
promise callback connectionHandler@https:///libs/lib-jitsi-meet.min.js?v=5818:2:357681
_stropheConnectionCb@https:///libs/lib-jitsi-meet.min.js?v=5818:2:243200
_changeConnectStatus@https:///libs/lib-jitsi-meet.min.js?v=5818:2:611293
_onSessionResultIQ@https:///libs/lib-jitsi-meet.min.js?v=5818:2:619405
run@https:///libs/lib-jitsi-meet.min.js?v=5818:2:604667
_dataRecv/<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:613105
forEachChild@https:///libs/lib-jitsi-meet.min.js?v=5818:2:596335
_dataRecv@https:///libs/lib-jitsi-meet.min.js?v=5818:2:612954
_onRequestStateChange@https:///libs/lib-jitsi-meet.min.js?v=5818:2:632938
EventHandlerNonNull
_newXHR@https:///libs/lib-jitsi-meet.min.js?v=5818:2:626761
9755/e.exports</M.Request@https:///libs/lib-jitsi-meet.min.js?v=5818:2:625649
_onIdle@https:///libs/lib-jitsi-meet.min.js?v=5818:2:631412
_onIdle@https:///libs/lib-jitsi-meet.min.js?v=5818:2:621144
_send/this._conn._idleTimeout<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:636211
setTimeout handler*_send@https:///libs/lib-jitsi-meet.min.js?v=5818:2:636173
send@https:///libs/lib-jitsi-meet.min.js?v=5818:2:608390
_establishSession@https:///libs/lib-jitsi-meet.min.js?v=5818:2:619225
_onResourceBindResultIQ@https:///libs/lib-jitsi-meet.min.js?v=5818:2:618837
run@https:///libs/lib-jitsi-meet.min.js?v=5818:2:604667
_dataRecv/<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:613105
forEachChild@https:///libs/lib-jitsi-meet.min.js?v=5818:2:596335
_dataRecv@https:///libs/lib-jitsi-meet.min.js?v=5818:2:612954
lib-jitsi-meet.min.js:2:3282
r https:///libs/lib-jitsi-meet.min.js?v=5818:2
getGlobalOnErrorHandler https:///libs/lib-jitsi-meet.min.js?v=5818:2
onerror https:///libs/app.bundle.min.js?v=5818:138
callErrorHandler https:///libs/lib-jitsi-meet.min.js?v=5818:2
_allocateConferenceFocusError https:///libs/lib-jitsi-meet.min.js?v=5818:2
allocateConferenceFocus https:///libs/lib-jitsi-meet.min.js?v=5818:2
a https:///libs/lib-jitsi-meet.min.js?v=5818:2
run https:///libs/lib-jitsi-meet.min.js?v=5818:2
_dataRecv https:///libs/lib-jitsi-meet.min.js?v=5818:2
forEachChild https:///libs/lib-jitsi-meet.min.js?v=5818:2
_dataRecv https:///libs/lib-jitsi-meet.min.js?v=5818:2
_onRequestStateChange https:///libs/lib-jitsi-meet.min.js?v=5818:2
_newXHR https:///libs/lib-jitsi-meet.min.js?v=5818:2
Request https:///libs/lib-jitsi-meet.min.js?v=5818:2
_onIdle https:///libs/lib-jitsi-meet.min.js?v=5818:2
_onIdle https:///libs/lib-jitsi-meet.min.js?v=5818:2
_idleTimeout https:///libs/lib-jitsi-meet.min.js?v=5818:2
(Async: setTimeout handler)
_onIdle https:///libs/lib-jitsi-meet.min.js?v=5818:2
_idleTimeout https:///libs/lib-jitsi-meet.min.js?v=5818:2
(Async: setTimeout handler)
_onIdle https:///libs/lib-jitsi-meet.min.js?v=5818:2
_idleTimeout https:///libs/lib-jitsi-meet.min.js?v=5818:2
(Async: setTimeout handler)
_send https:///libs/lib-jitsi-meet.min.js?v=5818:2
send https:///libs/lib-jitsi-meet.min.js?v=5818:2
sendIQ https:///libs/lib-jitsi-meet.min.js?v=5818:2
info https:///libs/lib-jitsi-meet.min.js?v=5818:2
_getDiscoInfo https:///libs/lib-jitsi-meet.min.js?v=5818:2
_getDiscoInfo https:///libs/lib-jitsi-meet.min.js?v=5818:2
getFeaturesAndIdentities https:///libs/lib-jitsi-meet.min.js?v=5818:2
_processDiscoInfoIdentities https:///libs/lib-jitsi-meet.min.js?v=5818:2
_processDiscoInfoIdentities https:///libs/lib-jitsi-meet.min.js?v=5818:2
connectionHandler https:///libs/lib-jitsi-meet.min.js?v=5818:2
(Async: promise callback)
connectionHandler https:///libs/lib-jitsi-meet.min.js?v=5818:2
_stropheConnectionCb https:///libs/lib-jitsi-meet.min.js?v=5818:2
_changeConnectStatus https:///libs/lib-jitsi-meet.min.js?v=5818:2
_onSessionResultIQ https:///libs/lib-jitsi-meet.min.js?v=5818:2
run https:///libs/lib-jitsi-meet.min.js?v=5818:2
_dataRecv https:///libs/lib-jitsi-meet.min.js?v=5818:2
forEachChild https:///libs/lib-jitsi-meet.min.js?v=5818:2
_dataRecv https:///libs/lib-jitsi-meet.min.js?v=5818:2
_onRequestStateChange https:///libs/lib-jitsi-meet.min.js?v=5818:2
_newXHR https:///libs/lib-jitsi-meet.min.js?v=5818:2
Request https:///libs/lib-jitsi-meet.min.js?v=5818:2
_onIdle https:///libs/lib-jitsi-meet.min.js?v=5818:2
_onIdle https:///libs/lib-jitsi-meet.min.js?v=5818:2
_idleTimeout https:///libs/lib-jitsi-meet.min.js?v=5818:2
(Async: setTimeout handler)
_send https:///libs/lib-jitsi-meet.min.js?v=5818:2
send https:///libs/lib-jitsi-meet.min.js?v=5818:2
_establishSession https:///libs/lib-jitsi-meet.min.js?v=5818:2
_onResourceBindResultIQ https:///libs/lib-jitsi-meet.min.js?v=5818:2
run https:///libs/lib-jitsi-meet.min.js?v=5818:2
_dataRecv https:///libs/lib-jitsi-meet.min.js?v=5818:2
forEachChild https:///libs/lib-jitsi-meet.min.js?v=5818:2
_dataRecv https:///libs/lib-jitsi-meet.min.js?v=5818:2
2022-02-20T11:50:18.475Z [modules/xmpp/moderator.js] <6295/xs.prototype._allocateConferenceFocusError>: Focus error, retry after 2000

lib-jitsi-meet.min.js:2:3282
2022-02-20T11:50:18.520Z [conference.js] <_onConferenceFailed>: CONFERENCE FAILED: conference.focusDisconnected focus. 2 app.bundle.min.js:138:840640
2022-02-20T11:50:20.534Z [modules/xmpp/moderator.js] <6295/xs.prototype.setFocusUserJid>: Focus jid set to: undefined lib-jitsi-meet.min.js:2:3282
2022-02-20T11:50:20.536Z [modules/xmpp/moderator.js] <6295/xs.prototype.createConferenceIq>: Session ID: 936907e0-f5b6-4eef-bdfc-6144d1cc1363 machine UID: 3fe8e5d1efd8bcd0e8b61224c0bb5014 lib-jitsi-meet.min.js:2:3282
2022-02-20T11:50:20.627Z [JitsiMeetJS.js] : UnhandledError: Focus error, retry after 4000 Script: null Line: null Column: null StackTrace: 6295/xs.prototype._allocateConferenceFocusError@https:///libs/lib-jitsi-meet.min.js?v=5818:2:261399
6295/xs.prototype.allocateConferenceFocus/</<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:260440
sendIQ/a<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:609368
run@https:///libs/lib-jitsi-meet.min.js?v=5818:2:604667
_dataRecv/<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:613105
forEachChild@https:///libs/lib-jitsi-meet.min.js?v=5818:2:596335
_dataRecv@https:///libs/lib-jitsi-meet.min.js?v=5818:2:612954
_onRequestStateChange@https:///libs/lib-jitsi-meet.min.js?v=5818:2:632938
EventHandlerNonNull*_newXHR@https:///libs/lib-jitsi-meet.min.js?v=5818:2:626761
9755/e.exports</M.Request@https:///libs/lib-jitsi-meet.min.js?v=5818:2:625649
_onIdle@https:///libs/lib-jitsi-meet.min.js?v=5818:2:631412
_onIdle@https:///libs/lib-jitsi-meet.min.js?v=5818:2:621144
flush@https:///libs/lib-jitsi-meet.min.js?v=5818:2:608454
flush@https:///libs/lib-jitsi-meet.min.js?v=5818:2:243683
6295/xs.prototype.allocateConferenceFocus/<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:260493
6295/xs.prototype.allocateConferenceFocus@https:///libs/lib-jitsi-meet.min.js?v=5818:2:260259
6295/xs.prototype._allocateConferenceFocusError/<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:261573
setTimeout handler 6295/xs.prototype._allocateConferenceFocusError@https:///libs/lib-jitsi-meet.min.js?v=5818:2:261552
6295/xs.prototype.allocateConferenceFocus/</<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:260440
sendIQ/a<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:609368
run@https:///libs/lib-jitsi-meet.min.js?v=5818:2:604667
_dataRecv/<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:613105
forEachChild@https:///libs/lib-jitsi-meet.min.js?v=5818:2:596335
_dataRecv@https:///libs/lib-jitsi-meet.min.js?v=5818:2:612954
_onRequestStateChange@https:///libs/lib-jitsi-meet.min.js?v=5818:2:632938
EventHandlerNonNull
_newXHR@https:///libs/lib-jitsi-meet.min.js?v=5818:2:626761
9755/e.exports</M.Request@https:///libs/lib-jitsi-meet.min.js?v=5818:2:625649
_onIdle@https:///libs/lib-jitsi-meet.min.js?v=5818:2:631412
_onIdle@https:///libs/lib-jitsi-meet.min.js?v=5818:2:621144
flush@https:///libs/lib-jitsi-meet.min.js?v=5818:2:608454
flush@https:///libs/lib-jitsi-meet.min.js?v=5818:2:243683
6295/xs.prototype.allocateConferenceFocus/<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:260493
6295/xs.prototype.allocateConferenceFocus@https:///libs/lib-jitsi-meet.min.js?v=5818:2:260259
join/<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:265368
join@https:///libs/lib-jitsi-meet.min.js?v=5818:2:265207
6295/nd.prototype.join@https:///libs/lib-jitsi-meet.min.js?v=5818:2:528447
connect@https:///libs/app.bundle.min.js?v=5818:138:526254
startConference/<@https:///libs/app.bundle.min.js?v=5818:138:529907
startConference@https:///libs/app.bundle.min.js?v=5818:138:529873
init@https:///libs/app.bundle.min.js?v=5818:138:531258
async PF/</<@https:///libs/app.bundle.min.js?v=5818:136:24551
promise callback
PF/<@https:///libs/app.bundle.min.js?v=5818:136:24526
n/</</<@https:///libs/app.bundle.min.js?v=5818:138:1598080
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:737716
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:711347
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:710658
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:706043
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:705710
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:705102
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:703905
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:703044
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:700611
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:700534
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:685583
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:679200
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:679006
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:678018
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:672996
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:670429
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:668955
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:668786
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:668456
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:667446
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:667038
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:664364
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:662199
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:662054
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:661772
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:661732
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:656279
1478/</</<@https:///libs/app.bundle.min.js?v=5818:138:655470
lib-jitsi-meet.min.js:2:3282
2022-02-20T11:50:20.631Z [modules/xmpp/moderator.js] <6295/xs.prototype._allocateConferenceFocusError>: Focus error, retry after 4000

lib-jitsi-meet.min.js:2:3282
2022-02-20T11:50:20.675Z [conference.js] <_onConferenceFailed>: CONFERENCE FAILED: conference.focusDisconnected focus. 4 app.bundle.min.js:138:840640
2022-02-20T11:50:24.686Z [modules/xmpp/moderator.js] <6295/xs.prototype.setFocusUserJid>: Focus jid set to: undefined lib-jitsi-meet.min.js:2:3282
2022-02-20T11:50:24.690Z [modules/xmpp/moderator.js] <6295/xs.prototype.createConferenceIq>: Session ID: 936907e0-f5b6-4eef-bdfc-6144d1cc1363 machine UID: 3fe8e5d1efd8bcd0e8b61224c0bb5014 lib-jitsi-meet.min.js:2:3282
2022-02-20T11:50:24.944Z [JitsiMeetJS.js] : UnhandledError: Focus error, retry after 8000 Script: null Line: null Column: null StackTrace: 6295/xs.prototype._allocateConferenceFocusError@https:///libs/lib-jitsi-meet.min.js?v=5818:2:261399
6295/xs.prototype.allocateConferenceFocus/</<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:260440
sendIQ/a<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:609368
run@https:///libs/lib-jitsi-meet.min.js?v=5818:2:604667
_dataRecv/<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:613105
forEachChild@https:///libs/lib-jitsi-meet.min.js?v=5818:2:596335
_dataRecv@https:///libs/lib-jitsi-meet.min.js?v=5818:2:612954
_onRequestStateChange@https:///libs/lib-jitsi-meet.min.js?v=5818:2:632938
EventHandlerNonNull*_newXHR@https:///libs/lib-jitsi-meet.min.js?v=5818:2:626761
9755/e.exports</M.Request@https:///libs/lib-jitsi-meet.min.js?v=5818:2:625649
_onIdle@https:///libs/lib-jitsi-meet.min.js?v=5818:2:631412
_onIdle@https:///libs/lib-jitsi-meet.min.js?v=5818:2:621144
flush@https:///libs/lib-jitsi-meet.min.js?v=5818:2:608454
flush@https:///libs/lib-jitsi-meet.min.js?v=5818:2:243683
6295/xs.prototype.allocateConferenceFocus/<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:260493
6295/xs.prototype.allocateConferenceFocus@https:///libs/lib-jitsi-meet.min.js?v=5818:2:260259
6295/xs.prototype._allocateConferenceFocusError/<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:261573
setTimeout handler 6295/xs.prototype._allocateConferenceFocusError@https:///libs/lib-jitsi-meet.min.js?v=5818:2:261552
6295/xs.prototype.allocateConferenceFocus/</<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:260440
sendIQ/a<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:609368
run@https:///libs/lib-jitsi-meet.min.js?v=5818:2:604667
_dataRecv/<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:613105
forEachChild@https:///libs/lib-jitsi-meet.min.js?v=5818:2:596335
_dataRecv@https:///libs/lib-jitsi-meet.min.js?v=5818:2:612954
_onRequestStateChange@https:///libs/lib-jitsi-meet.min.js?v=5818:2:632938
EventHandlerNonNull
_newXHR@https:///libs/lib-jitsi-meet.min.js?v=5818:2:626761
9755/e.exports</M.Request@https:///libs/lib-jitsi-meet.min.js?v=5818:2:625649
_onIdle@https:///libs/lib-jitsi-meet.min.js?v=5818:2:631412
_onIdle@https:///libs/lib-jitsi-meet.min.js?v=5818:2:621144
_onIdle/this._idleTimeout<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:621221
setTimeout handler*_onIdle@https:///libs/lib-jitsi-meet.min.js?v=5818:2:621189
_onIdle/this._idleTimeout<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:621221
setTimeout handler*_onIdle@https:///libs/lib-jitsi-meet.min.js?v=5818:2:621189
_send/this._conn._idleTimeout<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:636211
setTimeout handler*_send@https:///libs/lib-jitsi-meet.min.js?v=5818:2:636173
send@https:///libs/lib-jitsi-meet.min.js?v=5818:2:608390
sendIQ@https:///libs/lib-jitsi-meet.min.js?v=5818:2:609505
info@https:///libs/lib-jitsi-meet.min.js?v=5818:2:643842
_getDiscoInfo/<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:234688
_getDiscoInfo@https:///libs/lib-jitsi-meet.min.js?v=5818:2:234657
getFeaturesAndIdentities@https:///libs/lib-jitsi-meet.min.js?v=5818:2:234608
_processDiscoInfoIdentities/<@https:///libs/lib-jitsi-meet.min.js?v=5818:2:359806
_processDiscoInfoIdentities@https:///libs/lib-jitsi-meet.min.js?v=5818:2:359406
lib-jitsi-meet.min.js:2:3282
2022-02-20T11:50:24.951Z [modules/xmpp/moderator.js] <6295/xs.prototype._allocateConferenceFocusError>: Focus error, retry after 8000

lib-jitsi-meet.min.js:2:3282
2022-02-20T11:50:25.088Z [conference.js] <_onConferenceFailed>: CONFERENCE FAILED: conference.focusDisconnected focus. 8 app.bundle.min.js:138:840640

There is no jicofo in the meeting.

Now check jicofo logs for errors?

There is no error in jicofo logs

Domain name has been replaced with text “domain”

Jicofo 2022-02-21 14:24:35.167 WARNING: [1] org.glassfish.jersey.internal.inject.Providers.checkProviderRuntime: A provider org.jitsi.rest.Version registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider org.jitsi.rest.Version will be ignored.
Jicofo 2022-02-21 14:24:35.411 INFO: [1] org.eclipse.jetty.server.handler.ContextHandler.doStart: Started o.e.j.s.ServletContextHandler@7b2ccba5{/,null,AVAILABLE}
Jicofo 2022-02-21 14:24:35.420 INFO: [1] org.eclipse.jetty.server.AbstractConnector.doStart: Started ServerConnector@4647881c{HTTP/1.1, (http/1.1)}{0.0.0.0:8888}
Jicofo 2022-02-21 14:24:35.420 INFO: [1] org.eclipse.jetty.server.Server.doStart: Started @2251ms
Jicofo 2022-02-21 14:24:40.290 INFO: [33] [type=bridge brewery=jvbbrewery] BaseBrewery.removeInstance#353: Removed brewery instance: jvbbrewery@internal.auth.domain/2ff4410b-ae75-4173-9a4a-48716540ef90
Jicofo 2022-02-21 14:24:40.290 INFO: [33] BridgeSelector.removeJvbAddress#112: Removing JVB: jvbbrewery@internal.auth.domain/2ff4410b-ae75-4173-9a4a-48716540ef90
Jicofo 2022-02-21 14:24:40.291 INFO: [34] JvbDoctor.bridgeRemoved#104: Stopping health-check task for: Bridge[jid=jvbbrewery@internal.auth.domain/2ff4410b-ae75-4173-9a4a-48716540ef90, relayId=null, region=null, stress=0.00]
Jicofo 2022-02-21 14:24:46.636 INFO: [20] [type=bridge brewery=jvbbrewery] BaseBrewery.addInstance#341: Added brewery instance: jvbbrewery@internal.auth.domain/2ff4410b-ae75-4173-9a4a-48716540ef90
Jicofo 2022-02-21 14:24:46.637 INFO: [20] BridgeSelector.addJvbAddress#95: Added new videobridge: Bridge[jid=jvbbrewery@internal.auth.domain/2ff4410b-ae75-4173-9a4a-48716540ef90, relayId=null, region=null, stress=0.00]
Jicofo 2022-02-21 14:24:46.639 INFO: [34] JvbDoctor.bridgeAdded#127: Scheduled health-check task for: Bridge[jid=jvbbrewery@internal.auth.domain/2ff4410b-ae75-4173-9a4a-48716540ef90, relayId=null, region=null, stress=0.00]

Delete the log, restart jicofo and check again.

Done. Here is the jicofo log.

Jicofo 2022-02-21 20:07:26.232 WARNING: [33] Main$1.warn#154: Key ‘jicofo.bridge.average-participant-packet-rate-pps’ from source ‘typesafe config (reloaded 1 times)’ is deprecated: use jicofo.bridge.average-participant-stress
Jicofo 2022-02-21 20:07:26.234 INFO: [33] BridgeSelector.addJvbAddress#95: Added new videobridge: Bridge[jid=jvbbrewery@internal.auth.domain/2ff4410b-ae75-4173-9a4a-48716540ef90, relayId=null, region=null, stress=0.00]
Jicofo 2022-02-21 20:07:26.239 INFO: [34] JvbDoctor.bridgeAdded#127: Scheduled health-check task for: Bridge[jid=jvbbrewery@internal.auth.domain/2ff4410b-ae75-4173-9a4a-48716540ef90, relayId=null, region=null, stress=0.00]
Jicofo 2022-02-21 20:07:26.362 INFO: [19] [type=bridge brewery=jvbbrewery] BaseBrewery.start#171: Joined the room.
Jicofo 2022-02-21 20:07:26.364 INFO: [19] [xmpp_connection=client] XmppProviderImpl.fireRegistrationStateChanged#331: Set replyTimeout=PT15S
Jicofo 2022-02-21 20:07:26.449 WARNING: [1] org.glassfish.jersey.server.wadl.WadlFeature.configure: JAXBContext implementation could not be found. WADL feature is disabled.
Jicofo 2022-02-21 20:07:26.567 WARNING: [1] org.glassfish.jersey.internal.inject.Providers.checkProviderRuntime: A provider org.jitsi.rest.Version registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems theprovider org.jitsi.rest.Version will be ignored.
Jicofo 2022-02-21 20:07:26.791 INFO: [1] org.eclipse.jetty.server.handler.ContextHandler.doStart: Started o.e.j.s.ServletContextHandler@64f9f455{/,null,AVAILABLE}
Jicofo 2022-02-21 20:07:26.800 INFO: [1] org.eclipse.jetty.server.AbstractConnector.doStart: Started ServerConnector@4647881c{HTTP/1.1, (http/1.1)}{0.0.0.0:8888}
Jicofo 2022-02-21 20:07:26.801 INFO: [1] org.eclipse.jetty.server.Server.doStart: Started @2207ms

Share your prosody jitsi-meet config.

plugin_paths = { “/usr/share/jitsi-meet/prosody-plugins/” }

– domain mapper options, must at least have domain base set to use the mapper
muc_mapper_domain_base = “meet.demo.live”;

external_service_secret = “ocTCkfYtgvu0KR6t”;
external_services = {
{ type = “stun”, host = “meet.demo.live”, port = 3478 },
{ type = “turn”, host = “meet.demo.live”, port = 3478, transport = “udp”, secret = true, ttl = 86400, algorithm = “turn” },
{ type = “turns”, host = “meet.demo.live”, port = 5349, transport = “tcp”, secret = true, ttl = 86400, algorithm = “turn” }
};

– cross_domain_bosh = false;
cross_domain_bosh = true;
consider_bosh_secure = true;
https_ports = { }; – Remove this line to prevent listening on port 5284

Mozilla SSL Configuration Generator
ssl = {
protocol = “tlsv1_2+”;
ciphers = “ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384”
}

unlimited_jids = {
“focus@auth.meet.demo.live”,
“jvb@auth.meet.demo.live”
}

VirtualHost “meet.demo.live”
– enabled = false – Remove this line to enable this host
– authentication = “internal_plain”
authentication = “internal_hashed”
– Properties below are modified by jitsi-meet-tokens package config
– and authentication above is switched to “token”
–app_id=“example_app_id”
–app_secret=“example_app_secret”
– Assign this host a certificate for TLS, otherwise it would use the one
– set in the global section (if any).
– Note that old-style SSL on port 5223 only supports one certificate, and will always
– use the global one.
ssl = {
key = “/etc/prosody/certs/meet.demo.live.key”;
certificate = “/etc/prosody/certs/meet.demo.live.crt”;
}
av_moderation_component = “avmoderation.meet.demo.live”
speakerstats_component = “speakerstats.meet.demo.live”
conference_duration_component = “conferenceduration.meet.demo.live”
– we need bosh
modules_enabled = {
“bosh”;
“pubsub”;
“ping”; – Enable mod_ping
“speakerstats”;
“external_services”;
“conference_duration”;
“muc_lobby_rooms”;
“muc_breakout_rooms”;
“av_moderation”;
}
c2s_require_encryption = false
lobby_muc = “lobby.meet.demo.live”
breakout_rooms_muc = “breakout.meet.demo.live”
main_muc = “conference.meet.demo.live”
– muc_lobby_whitelist = { “recorder.meet.demo.live” } – Here we can whitelist jibri to enter lobby enabled rooms

Component “conference.meet.demo.live” “muc”
restrict_room_creation = true
storage = “memory”
modules_enabled = {
“muc_meeting_id”;
“muc_domain_mapper”;
“polls”;
–“token_verification”;
“muc_rate_limit”;
}
admins = { “focus@auth.meet.demo.live” }
muc_room_locking = false
muc_room_default_public_jids = true

Component “breakout.meet.demo.live” “muc”
restrict_room_creation = true
storage = “memory”
modules_enabled = {
“muc_meeting_id”;
“muc_domain_mapper”;
–“token_verification”;
“muc_rate_limit”;
}
admins = { “focus@auth.meet.demo.live” }
muc_room_locking = false
muc_room_default_public_jids = true

– internal muc component
Component “internal.auth.meet.demo.live” “muc”
storage = “memory”
modules_enabled = {
“ping”;
}
admins = { “focus@auth.meet.demo.live”, “jvb@auth.meet.demo.live” }
muc_room_locking = false
muc_room_default_public_jids = true

VirtualHost “auth.meet.demo.live”
ssl = {
key = “/etc/prosody/certs/auth.meet.demo.live.key”;
certificate = “/etc/prosody/certs/auth.meet.demo.live.crt”;
}
modules_enabled = {
“limits_exception”;
}
authentication = “internal_hashed”

– Proxy to jicofo’s user JID, so that it doesn’t have to register as a component.
Component “focus.meet.demo.live” “client_proxy”
target_address = “focus@auth.meet.demo.live”

Component “speakerstats.meet.demo.live” “speakerstats_component”
muc_component = “conference.meet.demo.live”

Component “conferenceduration.meet.demo.live” “conference_duration_component”
muc_component = “conference.meet.demo.live”

Component “avmoderation.meet.demo.live” “av_moderation_component”
muc_component = “conference.meet.demo.live”

Component “lobby.meet.demo.live” “muc”
storage = “memory”
restrict_room_creation = true
muc_room_locking = false
muc_room_default_public_jids = true
modules_enabled = {
“muc_rate_limit”;
“polls”;
}

– VirtualHost “guest.meet.demo.live”
– authentication = “anonymous”
– c2s_require_encryption = false

Any errors in prosody logs, seems to me client_proxy is not working

Which prosody version do you use?

Prosody version: 0.11.4

Here is Prosody log:

Feb 21 14:24:26 conference.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host breakout.meet.demo.live!
Feb 21 14:24:26 conference.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host meet.demo.live!
Feb 21 14:24:26 conference.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host internal.auth.meet.demo.live!
Feb 21 14:24:26 conference.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host lobby.meet.demo.live!
Feb 21 14:24:26 conference.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host auth.meet.demo.live!
Feb 21 14:24:26 conference.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host conference.meet.demo.live!
Feb 21 14:24:26 conference.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host conferenceduration.meet.demo.live!
Feb 21 14:24:26 conference.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host avmoderation.meet.demo.live!
Feb 21 14:24:26 meet.demo.live:muc_breakout_rooms info Hook to muc events on conference.meet.demo.live
Feb 21 14:24:26 breakout.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host conference.meet.demo.live!
Feb 21 14:24:26 speakerstats.meet.demo.live:speakerstats_component info Hook to muc events on conference.meet.demo.live
Feb 21 14:24:26 avmoderation.meet.demo.live:av_moderation_component info Hook to muc events on conference.meet.demo.live
Feb 21 14:24:26 conferenceduration.meet.demo.live:conference_duration_component info Hook to muc events on conference.meet.demo.live
Feb 21 14:24:27 c2s56405a0a3520 info Client connected
Feb 21 14:24:27 c2s56405a0a3520 info Stream encrypted (TLSv1.3 with TLS_AES_256_GCM_SHA384)
Feb 21 14:24:27 c2s56405a0a3520 info Authenticated as jvb@auth.meet.demo.live
Feb 21 14:24:34 c2s56405a191b40 info Client connected
Feb 21 14:24:34 c2s56405a191b40 info Stream encrypted (TLSv1.3 with TLS_AES_256_GCM_SHA384)
Feb 21 14:24:34 c2s56405a191b40 info Authenticated as focus@auth.meet.demo.live
Feb 21 14:24:40 c2s56405a0a3520 info Client disconnected: closed
Feb 21 14:24:41 c2s56405a2005e0 info Client connected
Feb 21 14:24:41 c2s56405a2005e0 info Stream encrypted (TLSv1.3 with TLS_AES_256_GCM_SHA384)
Feb 21 14:24:42 c2s56405a2005e0 info Authenticated as jvb@auth.meet.demo.live
Feb 21 14:25:17 mod_bosh info New BOSH session, assigned it sid ‘12219d69-4a27-4c4f-9620-3a268a860bfe’
Feb 21 14:25:20 bosh12219d69-4a27-4c4f-9620-3a268a860bfe info BOSH client disconnected: session close
Feb 21 14:25:43 mod_bosh info New BOSH session, assigned it sid ‘e86afe81-8c33-445d-b642-33ab9ea84541’
Feb 21 14:25:43 boshe86afe81-8c33-445d-b642-33ab9ea84541 info Authenticated as user@meet.demo.live
Feb 21 14:25:50 boshe86afe81-8c33-445d-b642-33ab9ea84541 info BOSH client disconnected: session close
Feb 21 20:06:33 mod_posix info Received SIGHUP
Feb 21 20:06:33 startup info Reloading configuration file
Feb 21 20:06:37 mod_posix warn Received SIGTERM
Feb 21 20:06:37 startup info Shutting down: Received SIGTERM
Feb 21 20:06:37 c2s56405a2005e0 info Client disconnected: connection closed
Feb 21 20:06:37 c2s56405a191b40 info Client disconnected: connection closed
Feb 21 20:06:37 general info Shutting down…
Feb 21 20:06:37 general info Shutdown status: Cleaning up
Feb 21 20:06:37 general info Shutdown complete
Feb 21 20:06:37 startup info Hello and welcome to Prosody version 0.11.4
Feb 21 20:06:37 startup info Prosody is using the select backend for connection handling
Feb 21 20:06:37 general info Starting conference duration timer for conference.meet.demo.live
Feb 21 20:06:37 conferenceduration.meet.demo.live:conference_duration_component info No muc component found, will listen for it: conference.meet.demo.live
Feb 21 20:06:37 portmanager info Activated service ‘s2s’ on []:5269, [::]:5269
Feb 21 20:06:37 conference.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host conference.meet.demo.live!
Feb 21 20:06:37 conference.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host conferenceduration.meet.demo.live!
Feb 21 20:06:37 conferenceduration.meet.demo.live:conference_duration_component info Hook to muc events on conference.meet.demo.live
Feb 21 20:06:37 conference.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host internal.auth.meet.demo.live!
Feb 21 20:06:37 breakout.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host breakout.meet.demo.live!
Feb 21 20:06:37 breakout.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host conferenceduration.meet.demo.live!
Feb 21 20:06:37 breakout.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host conference.meet.demo.live!
Feb 21 20:06:37 breakout.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host internal.auth.meet.demo.live!
Feb 21 20:06:37 conference.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host breakout.meet.demo.live!
Feb 21 20:06:37 meet.demo.live:muc_breakout_rooms info Breakout rooms component created breakout.meet.demo.live
Feb 21 20:06:37 meet.demo.live:muc_breakout_rooms info Hook to muc events on breakout.meet.demo.live
Feb 21 20:06:37 meet.demo.live:muc_breakout_rooms info Hook to muc events on conference.meet.demo.live
Feb 21 20:06:37 portmanager info Activated service ‘c2s’ on [
]:5222, [::]:5222
Feb 21 20:06:37 portmanager info Activated service ‘legacy_ssl’ on no ports
Feb 21 20:06:37 portmanager info Activated service ‘http’ on [*]:5280, [::]:5280
Feb 21 20:06:37 portmanager info Activated service ‘https’ on no ports
Feb 21 20:06:37 breakout.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host meet.demo.live!
Feb 21 20:06:37 conference.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host meet.demo.live!
Feb 21 20:06:37 breakout.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host avmoderation.meet.demo.live!
Feb 21 20:06:37 avmoderation.meet.demo.live:av_moderation_component info Starting av_moderation for conference.meet.demo.live
Feb 21 20:06:37 avmoderation.meet.demo.live:av_moderation_component info Hook to muc events on conference.meet.demo.live
Feb 21 20:06:37 conference.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host avmoderation.meet.demo.live!
Feb 21 20:06:37 breakout.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host speakerstats.meet.demo.live!
Feb 21 20:06:37 general info Starting speakerstats for conference.meet.demo.live
Feb 21 20:06:37 speakerstats.meet.demo.live:speakerstats_component info Hook to muc events on conference.meet.demo.live
Feb 21 20:06:37 conference.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host speakerstats.meet.demo.live!
Feb 21 20:06:37 breakout.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host auth.meet.demo.live!
Feb 21 20:06:37 conference.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host auth.meet.demo.live!
Feb 21 20:06:37 breakout.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host focus.meet.demo.live!
Feb 21 20:06:37 conference.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host focus.meet.demo.live!
Feb 21 20:06:37 breakout.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host lobby.meet.demo.live!
Feb 21 20:06:37 meet.demo.live:muc_lobby_rooms info Lobby component loaded lobby.meet.demo.live
Feb 21 20:06:37 conference.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host lobby.meet.demo.live!
Feb 21 20:06:37 breakout.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host localhost!
Feb 21 20:06:37 conference.meet.demo.live:muc_domain_mapper info Loading mod_muc_domain_mapper for host localhost!
Feb 21 20:06:42 c2s5621f4f8daf0 info Client connected
Feb 21 20:06:42 c2s5621f4fa1e10 info Client connected
Feb 21 20:06:42 c2s5621f4f8daf0 info Stream encrypted (TLSv1.3 with TLS_AES_256_GCM_SHA384)
Feb 21 20:06:42 c2s5621f4f8daf0 info Authenticated as focus@auth.meet.demo.live
Feb 21 20:06:42 c2s5621f4fa1e10 info Stream encrypted (TLSv1.3 with TLS_AES_256_GCM_SHA384)
Feb 21 20:06:42 c2s5621f4fa1e10 info Authenticated as jvb@auth.meet.demo.live
Feb 21 20:06:44 c2s5621f4f8daf0 info Client disconnected: closed
Feb 21 20:06:45 c2s5621f4c1da70 info Client connected
Feb 21 20:06:45 c2s5621f4c1da70 info Stream encrypted (TLSv1.3 with TLS_AES_256_GCM_SHA384)
Feb 21 20:06:46 c2s5621f4c1da70 info Authenticated as focus@auth.meet.demo.live
Feb 21 20:06:55 c2s5621f4fa1e10 info Client disconnected: closed
Feb 21 20:06:56 c2s5621f4e18de0 info Client connected
Feb 21 20:06:56 c2s5621f4e18de0 info Stream encrypted (TLSv1.3 with TLS_AES_256_GCM_SHA384)
Feb 21 20:06:56 c2s5621f4e18de0 info Authenticated as jvb@auth.meet.demo.live
Feb 21 20:07:24 c2s5621f4c1da70 info Client disconnected: closed
Feb 21 20:07:25 c2s5621f4ab0050 info Client connected
Feb 21 20:07:26 c2s5621f4ab0050 info Stream encrypted (TLSv1.3 with TLS_AES_256_GCM_SHA384)
Feb 21 20:07:26 c2s5621f4ab0050 info Authenticated as focus@auth.meet.demo.live
Feb 21 20:08:40 mod_bosh info New BOSH session, assigned it sid ‘143acb37-1d63-4e02-8a20-62289f7db22c’
Feb 21 20:08:41 bosh143acb37-1d63-4e02-8a20-62289f7db22c info BOSH client disconnected: session close
Feb 21 20:09:05 mod_bosh info New BOSH session, assigned it sid ‘28e4e69c-3b81-407b-bfb0-40a303de7226’
Feb 21 20:09:06 bosh28e4e69c-3b81-407b-bfb0-40a303de7226 info Authenticated as user@meet.demo.live
Feb 21 20:09:29 bosh28e4e69c-3b81-407b-bfb0-40a303de7226 info BOSH client disconnected: session close

@damencho - Please let me know if any changes to be done.

Execute this replacing with correct values to see whether it changes anything

prosodyctl mod_roster_command subscribe focus.$meet.demo.live $focus@$auth.meet.demo.live

This is showing message "The host ‘focus…demo.live’ is not configured for this server.

$ is for variable and if your host is meet.demo.live the command will be.

prosodyctl mod_roster_command subscribe focus.meet.demo.live focus@auth.meet.demo.live

Wow…Finally the issue is resolved :slight_smile:
Thank you so much @damencho.
Appreciate your help.

I am getting this error message in console:

MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 conference.endpoint_message_received listeners added. Use emitter.setMaxListeners() to increase limit

Can someone tell me which setting needs to be changed for this?

Thanks.