[jitsi-users] Secure Auth Failing


#1

I have set up a Jitsi server as noted in the “Secure domain” section of the Jicofo Github page:

https://github.com/jitsi/jicofo#secure-domain

I then create users using prosodyctl, and I have tested logging those users in using an independent Jabber client.

All seems working up to this point.

When I visit my jitsu-meet instance, and click “I am the host” entering in the same details that auths correctly with
the independent jabber client, I receive the following Error via jitsu-meet:

Error
Get session-id error: undefined

I see the following in the debug console of jitsu-meet:
[/modules/xmpp/xmpp.js] <XMPP.connectionHandler>: My Jabber ID: bob@video.myvideoserver.com/da888aa7-09a4-4b26-9a85-5118b69baad3
Logger.js:89 [/modules/xmpp/ChatRoom.js] <new ChatRoom>: Joined MUC as best@conference.video.myvideoserver.com/bob
Logger.js:89 [/modules/xmpp/moderator.js] <Moderator.createConferenceIq>: Session ID: null machine UID: b935d34167b9e1fd06b988bdc99845e7
Logger.js:89 [/modules/xmpp/strophe.ping.js] <Object.startInterval>: XMPP pings will be sent every 10000 ms
Logger.js:89 [/modules/xmpp/xmpp.js] <XMPP.connectionHandler>: (TIME) Strophe DISCONNECTING: 69410.31500000002
Logger.js:89 [/modules/xmpp/xmpp.js] <XMPP.connectionHandler>: (TIME) Strophe DISCONNECTED: 69413.825
Logger.js:89 [/modules/xmpp/strophe.ping.js] <Object.stopInterval>: Ping interval cleared
AuthHandler.js:79 Auth on the fly failed <iq xmlns=​"jabber:​client" type=​"error" to=​"bob@video.myvideoserver.com/​da888aa7-09a4-4b26-9a85-5118b69baad3" from=​"focus.video.myvideoserver.com" id=​"430cf317-460f-4766-b301-4b9f6ab2065c:​sendIQ">​<conference xmlns=​"http:​/​/​jitsi.org/​protocol/​focus" room=​"best@conference.video.myvideoserver.com" machine-uid=​"b935d34167b9e1fd06b988bdc99845e7">​<property value=​"jitsi-videobridge.video.myvideoserver.com" name=​"bridge">​</property>​<property value=​"-1" name=​"channelLastN">​</property>​<property value=​"false" name=​"adaptiveLastN">​</property>​<property value=​"true" name=​"disableAdaptiveSimulcast">​</property>​<property value=​"true" name=​"disableRtx">​</property>​<property value=​"800" name=​"startBitrate">​</property>​<property value=​"true" name=​"openSctp">​</property>​<property value=​"9" name=​"startAudioMuted">​</property>​<property value=​"9" name=​"startVideoMuted">​</property>​<property value=​"false" name=​"stereo">​</property>​<property value=​"rewriting" name=​"simulcastMode">​</property>​</conference>​<error type=​"AUTH" code=​"401">​<not-authorized xmlns=​"urn:​ietf:​params:​xml:​ns:​xmpp-stanzas">​</not-authorized>​</error>​</iq>​(anonymous function) @ AuthHandler.js:79
Logger.js:89 [/modules/xmpp/moderator.js] <Moderator.setFocusUserJid>: Focus jid set to: undefined
Logger.js:89 [/modules/xmpp/moderator.js] <Moderator.createConferenceIq>: Session ID: null machine UID: b935d34167b9e1fd06b988bdc99845e7
Logger.js:89 [/modules/xmpp/moderator.js] <Moderator._allocateConferenceFocusError>: Unauthorized to start the conference

In my prosody.log I see:
Jul 27 23:42:28 c2s1404be0 info Authenticated as bob@video.myvideoserver.com
Jul 27 23:42:28 c2s1404be0 info Client disconnected: connection closed

It appears from prosody’s perspective as if I am being authenticated correctly, but something is going wrong with the session-id handling with JVB/JiCofo

Any help would be greatly appreciated in figuring out the proper way to do this.

Cheers,
   Jason Thomas.