How to request authentication before the meeting room is initialized?

Yes, that is correct.

Thanks so much @damencho.

Hi Damencho,

I have done the same steps and have problem “reconnect”. Is there some script config more recently and datailed?
1 In Prosody:

(If you have installed jitsi-meet from the Debian package, these changes should be made in /etc/prosody/conf.avail/[your-hostname].cfg.lua)

a) Enable authentication on your main domain:
b) Add new virtual host with anonymous login method for guests:

2 In Jitsi Meet config.js configure ‘anonymousdomain’:

(If you have installed jitsi-meet from the Debian package, these changes should be made in /etc/jitsi/meet/[your-hostname]-config.js)

If you have Jicofo installed from the Debian package this should go directly to /etc/jitsi/jicofo/ file:

Problem here:

Best regards,

Check in the js browser logs what is the error that made it reload?

POST 404 (Not Found)

strophe.js:5662 POST 404 (Not Found)
l @ strophe.js:5662
_processRequest @ strophe.js:5677
_throttledRequestHandler @ strophe.js:5823
_connect @ strophe.js:5170
connect @ strophe.js:3051
value @ xmpp.js:309
value @ xmpp.js:369
c.connect @ JitsiConnection.js:61
e @ connection.js:38
(anonymous) @ connection.js:149
s @ connection.js:86
c @ connection.js:179
H @ conference.js:151
createInitialLocalTracksAndConnect @ conference.js:680
init @ conference.js:719
(anonymous) @ actions.web.js:28
(anonymous) @ index.js:11
(anonymous) @ middleware.js:41
(anonymous) @ middleware.js:27
(anonymous) @ middleware.js:13
(anonymous) @ middleware.js:21
(anonymous) @ middleware.js:22
(anonymous) @ middleware.js:22
(anonymous) @ middleware.js:63
(anonymous) @ middleware.js:43
(anonymous) @ middleware.web.js:36
(anonymous) @ middleware.any.js:55
(anonymous) @ middleware.js:29
(anonymous) @ middleware.js:99
(anonymous) @ middleware.js:17
(anonymous) @ middleware.js:30
(anonymous) @ middleware.js:20
(anonymous) @ middleware.js:39
(anonymous) @ middleware.js:12
(anonymous) @ middleware.js:29
(anonymous) @ middleware.js:25
(anonymous) @ middleware.web.js:23
(anonymous) @ middleware.any.js:94
(anonymous) @ middleware.js:65
(anonymous) @ middleware.js:33
(anonymous) @ middleware.js:25
(anonymous) @ middleware.js:29
(anonymous) @ middleware.js:44
(anonymous) @ middleware.js:104
(anonymous) @ middleware.js:62
(anonymous) @ middleware.js:24
(anonymous) @ middleware.js:42
(anonymous) @ middleware.js:38
(anonymous) @ middleware.js:27
(anonymous) @ middleware.js:23
(anonymous) @ middleware.js:25
(anonymous) @ middleware.js:45
(anonymous) @ middleware.js:42
(anonymous) @ middleware.js:18
(anonymous) @ middleware.js:130
(anonymous) @ middleware.js:126
value @ Conference.web.js:273
value @ Conference.web.js:155
Na @ react-dom.production.min.js:228
ja @ react-dom.production.min.js:220
Pa @ react-dom.production.min.js:219
Oa @ react-dom.production.min.js:216
Zi @ react-dom.production.min.js:214
enqueueSetState @ react-dom.production.min.js:134
w.setState @ react.production.min.js:13
n @ I18n.js:135
t @ I18n.js:147
(anonymous) @ EventEmitter.js:46
e.emit @ EventEmitter.js:45
(anonymous) @ i18next.js:162
(anonymous) @ i18next.js:265
(anonymous) @ i18next.js:281
(anonymous) @ BackendConnector.js:134
t.loaded @ BackendConnector.js:121
(anonymous) @ BackendConnector.js:269
(anonymous) @ BackendConnector.js:162
(anonymous) @ index.js:94
u.onreadystatechange @ ajax.js:66
XMLHttpRequest.send (async)
t.default @ ajax.js:68
value @ index.js:82
value @ index.js:75 @ BackendConnector.js:155
t.loadOne @ BackendConnector.js:265
(anonymous) @ BackendConnector.js:211
t.load @ BackendConnector.js:210
(anonymous) @ i18next.js:215
t.load @ CacheConnector.js:40
t.loadResources @ i18next.js:214
r @ i18next.js:280
t.changeLanguage @ i18next.js:286
s @ i18next.js:159
setTimeout (async)
t.init @ i18next.js:171
(anonymous) @ i18next.js:68
n @ bootstrap:19
(anonymous) @ actionTypes.js:21
n @ bootstrap:19
(anonymous) @ actionTypes.js:10
n @ bootstrap:19
(anonymous) @ actions.js:265
(anonymous) @ functions.js:97
n @ bootstrap:19
(anonymous) @ AnalyticsEvents.js:630
n @ bootstrap:19
(anonymous) @ index.js:1
(anonymous) @ actions.js:715
n @ bootstrap:19
(anonymous) @ index.js:67
n @ bootstrap:19
(anonymous) @ actions.js:5
(anonymous) @ actions.js:265
n @ bootstrap:19
(anonymous) @ index.js:3
n @ bootstrap:19
(anonymous) @ actions.js:20
n @ bootstrap:19
(anonymous) @ possibleConstructorReturn.js:16
n @ bootstrap:19
(anonymous) @ actions.js:17
n @ bootstrap:19
(anonymous) @ AuthHandler.js:1
(anonymous) @ AuthHandler.js:229
n @ bootstrap:19
(anonymous) @ connection.js:1
(anonymous) @ connection.js:189
n @ bootstrap:19
(anonymous) @ Tooltip.js:289
(anonymous) @ conference.js:2729
n @ bootstrap:19
(anonymous) @ DropdownItemGroup.js:36
n @ bootstrap:19
(anonymous) @ bootstrap:83
(anonymous) @ bootstrap:83
Logger.js:125 [JitsiMeetJS.js] <Object.getGlobalOnErrorHandler>: UnhandledError: null Script: null Line: null Column: null StackTrace: Error: Strophe: request id 1.1 error 404 happened
at Object.i.Strophe.log (strophe.util.js:89)
at Object.error (strophe.js:2083)
at e.Bosh._onRequestStateChange (strophe.js:5565)

If you open the link it should look like: If you open the link you will see an error: Unknown host: this means that prosody is not aware of that host. You either deleted it from prosody config, or prosody is having trouble reading your config, check its logs.

1 Like

How can I authorize a record in a room for a user with a password?

Hi @damencho, I followed the instruction in secure domain section but when creating a room the page hangs and start looping through “your connection dropped reconnecting” is there any other config that I am missing? I did the config in prosody config and jitsi meet’s config.js

I appreciate your help and support.

I also use that but it doesn’t block room creation.
The room is created but can’t be use because it needs auth.
I would like to block access to the room creation page from anonymous visitors

@manoocher there is also jicofo config. And don’t forget to restart components.

thanks @damencho, I did the config for jicofo but mistakenly replaced the line instead of adding, I didn’t try yet. I will post back once I test again. Thanks

your videobridge might not be available. have you tried to reboot the server completely?

But then, After each user (ADMIN) has been created, and i create a room. Once i send the links to the members that should join, it still asked them for Username and Password instead of them to just join the meeting room. What can be done about this please…?