I am trying to setup a Jigasi server within an external public network but I have a hard time connecting it to my Jitsi-Meet instance via BOSH connection. XMPP connection works fine though.
My Jitsi-Meet server uses JWT authentication and secure domain is activated.
Here are Jigasi logs when I generate a inbound phone call
2022-09-05 18:02:06.880 INFOS: [95] SipGateway$SipCallListener.incomingCallReceived#216: [ctx=1662393726876685118626] Incoming call received...
2022-09-05 18:02:06.896 INFOS: [97] SipGatewaySession$WaitForJvbRoomNameThread.run#1567: [ctx=1662393726876685118626] Wait thread cancelled
2022-09-05 18:02:06.910 INFOS: [95] JvbConference.start#479: [ctx=1662393726876685118626] Starting JVB conference room: jigasi0312345679@conference.my-jitsi-meet-domain.com
2022-09-05 18:02:06.911 INFOS: [95] JvbConference.createAccountPropertiesForCallId#1584: [ctx=1662393726876685118626] Using bosh url:https://my-jitsi-meet-domain.com/http-bind?room=jigasi0312345679&token=MY.VALID.TOKEN
2022-09-05 18:02:06.980 INFOS: [95] JvbConference.setXmppProvider#615: [ctx=1662393726876685118626] Using ProtocolProviderServiceJabberImpl(Jabber:159f6afc@my-jitsi-meet-domain.com/159f6afc)
2022-09-05 18:02:07.131 INFOS: [100] org.igniterealtime.jbosh.BOSHClient.init: Starting with 1 request processors
2022-09-05 18:02:07.500 INFOS: [100] net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged: Jingle : ON
2022-09-05 18:02:07.503 INFOS: [100] JvbConference.registrationStateChanged#677: [ctx=1662393726876685118626] Registering XMPP.
2022-09-05 18:02:07.635 INFOS: [100] net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl$JabberConnectionListener.authenticated: Authenticated: false
2022-09-05 18:02:07.693 INFOS: [100] AudioModeration.xmppProviderRegistered#499: [ctx=1662393726876685118626] Discovered avmoderation.my-jitsi-meet-domain.com for 64ms.
2022-09-05 18:02:07.694 INFOS: [100] JvbConference.joinConferenceRoom#759: [ctx=1662393726876685118626] Joining JVB conference room: jigasi0312345679@conference.my-jitsi-meet-domain.com
2022-09-05 18:02:07.780 GRAVE: [100] JvbConference.inviteFocus#1697: [ctx=1662393726876685118626] Could not invite the focus to the conference
org.jivesoftware.smack.XMPPException$XMPPErrorException: XMPP error reply received from focus.my-jitsi-meet-domain.com: XMPPError: not-acceptable - modify
at org.jivesoftware.smack.XMPPException$XMPPErrorException.ifHasErrorThenThrow(XMPPException.java:171)
at org.jivesoftware.smack.XMPPException$XMPPErrorException.ifHasErrorThenThrow(XMPPException.java:165)
at org.jivesoftware.smack.StanzaCollector.nextResultOrThrow(StanzaCollector.java:284)
at org.jivesoftware.smack.StanzaCollector.nextResultOrThrow(StanzaCollector.java:228)
at org.jitsi.jigasi.JvbConference.inviteFocus(JvbConference.java:1691)
at org.jitsi.jigasi.JvbConference.joinConferenceRoom(JvbConference.java:834)
at org.jitsi.jigasi.JvbConference.registrationStateChanged(JvbConference.java:658)
at net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:185)
at net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:139)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1395)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:968)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.initializeConnectAndLogin(ProtocolProviderServiceJabberImpl.java:793)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:495)
at org.jitsi.jigasi.util.RegisterThread.run(RegisterThread.java:59)
2022-09-05 18:02:07.869 AVERTISSEMENT: [119] net.java.sip.communicator.impl.protocol.jabber.ChatRoomJabberImpl$ChatRoomPresenceListener.processStanza: Unable to handle packet: Presence Stanza [to=89a1fbd2-86dc-48d9-8459-06c850e76014@my-jitsi-meet-domain.com/PMSRG-Uo1aa6,from=jigasi0312345679@conference.my-jitsi-meet-domain.com/771823b5,id=ZR7YJ-2,type=error,]
2022-09-05 18:02:07.871 GRAVE: [100] net.java.sip.communicator.impl.protocol.jabber.ChatRoomJabberImpl.joinAs: Failed to join room jigasi0312345679@conference.my-jitsi-meet-domain.com with nickname: 771823b5
org.jivesoftware.smack.XMPPException$XMPPErrorException: XMPP error reply received from jigasi0312345679@conference.my-jitsi-meet-domain.com/771823b5: XMPPError: not-allowed - cancel [Room creation is restricted]. Generated by conference.my-jitsi-meet-domain.com
at org.jivesoftware.smack.XMPPException$XMPPErrorException.ifHasErrorThenThrow(XMPPException.java:171)
at org.jivesoftware.smack.XMPPException$XMPPErrorException.ifHasErrorThenThrow(XMPPException.java:165)
at org.jivesoftware.smack.StanzaCollector.nextResultOrThrow(StanzaCollector.java:284)
at org.jivesoftware.smackx.muc.MultiUserChat.enter(MultiUserChat.java:408)
at org.jivesoftware.smackx.muc.MultiUserChat.join(MultiUserChat.java:721)
at org.jivesoftware.smackx.muc.MultiUserChat.join(MultiUserChat.java:651)
at net.java.sip.communicator.impl.protocol.jabber.ChatRoomJabberImpl.joinAs(ChatRoomJabberImpl.java:739)
at net.java.sip.communicator.impl.protocol.jabber.ChatRoomJabberImpl.joinAs(ChatRoomJabberImpl.java:873)
at org.jitsi.jigasi.JvbConference.joinConferenceRoom(JvbConference.java:850)
at org.jitsi.jigasi.JvbConference.registrationStateChanged(JvbConference.java:658)
at net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:185)
at net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:139)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1395)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:968)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.initializeConnectAndLogin(ProtocolProviderServiceJabberImpl.java:793)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:495)
at org.jitsi.jigasi.util.RegisterThread.run(RegisterThread.java:59)
2022-09-05 18:02:07.872 GRAVE: [100] JvbConference.joinConferenceRoom#972: [ctx=1662393726876685118626] Failed to join room jigasi0312345679@conference.my-jitsi-meet-domain.com with nickname: 771823b5
net.java.sip.communicator.service.protocol.OperationFailedException: Failed to join room jigasi0312345679@conference.my-jitsi-meet-domain.com with nickname: 771823b5
at net.java.sip.communicator.impl.protocol.jabber.ChatRoomJabberImpl.joinAs(ChatRoomJabberImpl.java:840)
at net.java.sip.communicator.impl.protocol.jabber.ChatRoomJabberImpl.joinAs(ChatRoomJabberImpl.java:873)
at org.jitsi.jigasi.JvbConference.joinConferenceRoom(JvbConference.java:850)
at org.jitsi.jigasi.JvbConference.registrationStateChanged(JvbConference.java:658)
at net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:185)
at net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:139)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1395)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:968)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.initializeConnectAndLogin(ProtocolProviderServiceJabberImpl.java:793)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:495)
at org.jitsi.jigasi.util.RegisterThread.run(RegisterThread.java:59)
Caused by: org.jivesoftware.smack.XMPPException$XMPPErrorException: XMPP error reply received from jigasi0312345679@conference.my-jitsi-meet-domain.com/771823b5: XMPPError: not-allowed - cancel [Room creation is restricted]. Generated by conference.my-jitsi-meet-domain.com
at org.jivesoftware.smack.XMPPException$XMPPErrorException.ifHasErrorThenThrow(XMPPException.java:171)
at org.jivesoftware.smack.XMPPException$XMPPErrorException.ifHasErrorThenThrow(XMPPException.java:165)
at org.jivesoftware.smack.StanzaCollector.nextResultOrThrow(StanzaCollector.java:284)
at org.jivesoftware.smackx.muc.MultiUserChat.enter(MultiUserChat.java:408)
at org.jivesoftware.smackx.muc.MultiUserChat.join(MultiUserChat.java:721)
at org.jivesoftware.smackx.muc.MultiUserChat.join(MultiUserChat.java:651)
at net.java.sip.communicator.impl.protocol.jabber.ChatRoomJabberImpl.joinAs(ChatRoomJabberImpl.java:739)
... 10 more
2022-09-05 18:02:07.873 INFOS: [100] JvbConference.stop#575: [ctx=1662393726876685118626] Removing account Jabber:159f6afc@my-jitsi-meet-domain.com/159f6afc
2022-09-05 18:02:07.877 INFOS: [100] net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged: Jingle : OFF
2022-09-05 18:02:07.896 INFOS: [122] SipGatewaySession$SipCallStateListener.handleCallState#1440: [ctx=1662393726876685118626] SIP call ended: CallPeerChangeEvent: type=CallPeerStatusChange oldV=net.java.sip.communicator.service.protocol.CallPeerState:Incoming Call newV=net.java.sip.communicator.service.protocol.CallPeerState:Failed for peer=...4420 <...4420@192.168.1.20>;status=Failed
2022-09-05 18:02:07.898 INFOS: [122] SipGatewaySession.sipCallEnded#694: [ctx=1662393726876685118626] Sip call ended: Call: id=1662393726875877139545 peers=0
2022-09-05 18:02:07.898 GRAVE: [122] AbstractGateway.notifyCallEnded#121: [ctx=1662393726876685118626] Call resource not exists for session.
2022-09-05 18:02:07.899 INFOS: [122] SipGatewaySession$CallPeerListener.peerStateChanged#1501: null SIP peer state: Failed
2022-09-05 18:02:07.911 GRAVE: [107] net.java.sip.communicator.util.UtilActivator.uncaughtException: An uncaught exception occurred in thread=Thread[RequestProcessor[1470595295]: Receive thread 0,10,main], and message was: Connection is not open
java.lang.IllegalStateException: Connection is not open
at org.apache.http.util.Asserts.check(Asserts.java:34)
at org.apache.http.impl.SocketHttpClientConnection.assertOpen(SocketHttpClientConnection.java:73)
at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseEntity(AbstractHttpClientConnection.java:305)
at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseEntity(AbstractClientConnAdapter.java:221)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:279)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:679)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:481)
at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:835)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
at org.igniterealtime.jbosh.ApacheHTTPResponse.awaitResponse(ApacheHTTPResponse.java:235)
at org.igniterealtime.jbosh.ApacheHTTPResponse.getBody(ApacheHTTPResponse.java:192)
at org.igniterealtime.jbosh.BOSHClient.processExchange(BOSHClient.java:1123)
at org.igniterealtime.jbosh.BOSHClient.processMessages(BOSHClient.java:999)
at org.igniterealtime.jbosh.BOSHClient.access$300(BOSHClient.java:100)
at org.igniterealtime.jbosh.BOSHClient$RequestProcessor.run(BOSHClient.java:1728)
at java.base/java.lang.Thread.run(Thread.java:829)
And here’s my jigasi sip-communicator.properties file :
Wait that is another issue … Its better to check on PC rather than on mobile, you see the logs better.
So jigasi invites jicofo to create a meeting which is denied … this can happen when you have this jicofo config:
I actually do have token configuration in place in jicofo.conf
jicofo {
// Authentication with external services
authentication {
enabled = true
// The type of authentication. Supported values are XMPP, JWT or SHIBBOLETH (default).
type = JWT
// The pattern of authentication URL. See ShibbolethAuthAuthority for more information.
login-url = "my-jitsi-meet-domain.com"
# logout-url =
authentication-lifetime = 24 hours
enable-auto-login = true
}
...
jigasi {
// The JID of the MUC to be used as a brewery for jigasi instances.
# brewery-jid = "jigasibrewery@example.com"
// The XMPP connection to use to communicate with Jigasi instances. Either `Client` or `Service` (case-sensitive).
// See the corresponding XMPP connection configuration under `xmpp`.
// Note that if no separate Service connection has been configured, all services will automatically use the
// Client connection.
xmpp-connection-name = Client
}
...
xmpp {
// The separate XMPP connection used for communication with clients (endpoints).
client {
enabled = true
hostname = "prosody-server.local"
port = 5222
domain = "auth.my-jitsi-meet-domain.com"
username = "focus"
password = "**************"
// How long to wait for a response to a stanza before giving up.
reply-timeout = 15 seconds
// The JID/domain of the MUC service used for conferencing.
conference-muc-jid = "conference.my-jitsi-meet-domain.com"
// A flag to suppress the TLS certificate verification.
disable-certificate-verification = true
// The JID of the mod_client_proxy component if used. It will be trusted to encode the JID of the original
// sender in the resource part of the JID.
client-proxy = focus.my-jitsi-meet-domain.com
// Use TLS between Jicofo and the XMPP server
// Only disable this if your xmpp connection is on loopback!
use-tls = true
}
...
I replaced enabled = true with enabled = false but I still have the same errors.
Should I enable the parameters below even when using BOSH ?
# If you want jigasi to perform authenticated login instead of anonymous login
# to the XMPP server, you can set the following properties.
#org.jitsi.jigasi.xmpp.acc.USER_ID=jigasi@auth.my-jitsi-meet-domain.com
#org.jitsi.jigasi.xmpp.acc.PASS=PWD
#org.jitsi.jigasi.xmpp.acc.ANONYMOUS_AUTH=false
When I set org.jitsi.jigasi.xmpp.acc.ANONYMOUS_AUTH=true I get this strange error :
2022-09-07 23:49:53.611 INFOS: [94] SipGateway$SipCallListener.incomingCallReceived#216: [ctx=16625873936021114408082] Incoming call received...
2022-09-07 23:49:54.621 INFOS: [96] SipGatewaySession$WaitForJvbRoomNameThread.run#1567: [ctx=16625873936021114408082] Wait thread cancelled
2022-09-07 23:49:54.638 INFOS: [94] JvbConference.start#479: [ctx=16625873936021114408082] Starting JVB conference room: jigasi03123456789@conference.my-jitsi-meet-domain.com
2022-09-07 23:49:54.639 INFOS: [94] JvbConference.createAccountPropertiesForCallId#1584: [ctx=16625873936021114408082] Using bosh url:https://my-jitsi-meet-domain.com/http-bind?room=jigasi03123456789&token=MY.VALID.TOKEN
2022-09-07 23:49:54.686 INFOS: [94] JvbConference.setXmppProvider#615: [ctx=16625873936021114408082] Using ProtocolProviderServiceJabberImpl(Jabber:v-jigasi@auth.my-jitsi-meet-domain.com/37c5c812)
2022-09-07 23:49:54.821 INFOS: [99] org.igniterealtime.jbosh.BOSHClient.init: Starting with 1 request processors
2022-09-07 23:49:55.183 INFOS: [99] net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged: Jingle : ON
2022-09-07 23:49:55.187 INFOS: [99] JvbConference.registrationStateChanged#677: [ctx=16625873936021114408082] Registering XMPP.
2022-09-07 23:49:55.188 GRAVE: [99] net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin: Failed to connect to XMPP service for:ProtocolProviderServiceJabberImpl(Jabber:v-jigasi@auth.my-jitsi-meet-domain.com/37c5c812)
org.jivesoftware.smack.SmackException$SmackSaslException: No supported and enabled SASL Mechanism provided by server. Server announced mechanisms: [PLAIN, SCRAM-SHA-1]. Registered SASL mechanisms with Smack: [SASL Mech: GSSAPI, Prio: 100, SASL Mech: SCRAM-SHA-1-PLUS, Prio: 100, SASL Mech: SCRAM-SHA-1, Prio: 110, SASL Mech: DIGEST-MD5, Prio: 200, SASL Mech: CRAM-MD5, Prio: 300, SASL Mech: PLAIN, Prio: 400, SASL Mech: X-OAUTH2, Prio: 410, SASL Mech: EXTERNAL, Prio: 500, SASL Mech: ANONYMOUS, Prio: 500]. Enabled SASL mechanisms for this connection: [ANONYMOUS]. Blacklisted SASL mechanisms: [SCRAM-SHA-1-PLUS]. Skip reasons: []
at org.jivesoftware.smack.SASLAuthentication.selectMechanism(SASLAuthentication.java:366)
at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:188)
at org.jivesoftware.smack.AbstractXMPPConnection.authenticate(AbstractXMPPConnection.java:897)
at org.jivesoftware.smack.bosh.XMPPBOSHConnection.loginInternal(XMPPBOSHConnection.java:230)
at org.jivesoftware.smack.AbstractXMPPConnection.login(AbstractXMPPConnection.java:638)
at org.jivesoftware.smack.AbstractXMPPConnection.login(AbstractXMPPConnection.java:595)
at net.java.sip.communicator.impl.protocol.jabber.AnonymousLoginStrategy.login(AnonymousLoginStrategy.java:83)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1377)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:968)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.initializeConnectAndLogin(ProtocolProviderServiceJabberImpl.java:793)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:495)
at org.jitsi.jigasi.util.RegisterThread.run(RegisterThread.java:59)
2022-09-07 23:49:55.206 GRAVE: [99] net.java.sip.communicator.util.UtilActivator.uncaughtException: An uncaught exception occurred in thread=Thread[Thread-49,10,main], and message was: null
java.lang.NullPointerException
at java.base/java.util.concurrent.ConcurrentHashMap.replaceNode(ConcurrentHashMap.java:1111)
at java.base/java.util.concurrent.ConcurrentHashMap.remove(ConcurrentHashMap.java:1102)
at org.jivesoftware.smackx.disco.ServiceDiscoveryManager.removeNodeInformationProvider(ServiceDiscoveryManager.java:387)
at net.java.sip.communicator.impl.protocol.jabber.ScServiceDiscoveryManager.stop(ScServiceDiscoveryManager.java:680)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.disconnectAndCleanConnection(ProtocolProviderServiceJabberImpl.java:1540)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1005)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.initializeConnectAndLogin(ProtocolProviderServiceJabberImpl.java:793)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:495)
at org.jitsi.jigasi.util.RegisterThread.run(RegisterThread.java:59)
However, when I set ANONYMOUS_AUTH=false I get SASLError using SCRAM-SHA-1: not-authorized, Although I added the user in prosody with the command sudo prosodyctl register jigasi auth.my-jitsi-meet-domain.com jigasi_password
2022-09-07 23:56:57.381 INFOS: [96] org.igniterealtime.jbosh.BOSHClient.init: Starting with 1 request processors
2022-09-07 23:56:57.759 INFOS: [96] net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged: Jingle : ON
2022-09-07 23:56:57.762 INFOS: [96] JvbConference.registrationStateChanged#677: [ctx=16625878171731120741264] Registering XMPP.
2022-09-07 23:56:57.817 GRAVE: [96] net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin: Failed to connect to XMPP service for:ProtocolProviderServiceJabberImpl(Jabber:jigasi@auth.my-jitsi-meet-domain.com/390e5116)
org.jivesoftware.smack.sasl.SASLErrorException: SASLError using SCRAM-SHA-1: not-authorized
at org.jivesoftware.smack.SASLAuthentication.authenticationFailed(SASLAuthentication.java:286)
at org.jivesoftware.smack.AbstractXMPPConnection.lambda$new$2(AbstractXMPPConnection.java:407)
at org.jivesoftware.smack.NonzaCallback$ClassAndConsumer.accept(NonzaCallback.java:177)
at org.jivesoftware.smack.NonzaCallback$ClassAndConsumer.access$200(NonzaCallback.java:166)
at org.jivesoftware.smack.NonzaCallback.onNonzaReceived(NonzaCallback.java:46)
at org.jivesoftware.smack.AbstractXMPPConnection.parseAndProcessNonza(AbstractXMPPConnection.java:1440)
at org.jivesoftware.smack.bosh.XMPPBOSHConnection.access$1700(XMPPBOSHConnection.java:69)
at org.jivesoftware.smack.bosh.XMPPBOSHConnection$BOSHPacketReader.responseReceived(XMPPBOSHConnection.java:534)
at org.igniterealtime.jbosh.BOSHClient.fireResponseReceived(BOSHClient.java:1610)
at org.igniterealtime.jbosh.BOSHClient.processExchange(BOSHClient.java:1145)
at org.igniterealtime.jbosh.BOSHClient.processMessages(BOSHClient.java:999)
at org.igniterealtime.jbosh.BOSHClient.access$300(BOSHClient.java:100)
at org.igniterealtime.jbosh.BOSHClient$RequestProcessor.run(BOSHClient.java:1728)
at java.base/java.lang.Thread.run(Thread.java:829)
2022-09-07 23:56:57.828 GRAVE: [96] JvbConference.registrationStateChanged#681: [ctx=16625878171731120741264] XMPP Connection failed. RegistrationStateChangeEvent[ oldState=Registering; newState=RegistrationState=Connection Failed; userRequest=false; reasonCode=6; reason=SASLError using SCRAM-SHA-1: not-authorized]
2022-09-07 23:56:57.951 GRAVE: [105] net.java.sip.communicator.util.UtilActivator.uncaughtException: An uncaught exception occurred in thread=Thread[RequestProcessor[1362023993]: Receive thread 1,10,main], and message was: Connection is not open
java.lang.IllegalStateException: Connection is not open
at org.apache.http.util.Asserts.check(Asserts.java:34)
at org.apache.http.impl.SocketHttpClientConnection.assertOpen(SocketHttpClientConnection.java:73)
at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseEntity(AbstractHttpClientConnection.java:305)
at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseEntity(AbstractClientConnAdapter.java:221)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:279)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:679)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:481)
at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:835)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
at org.igniterealtime.jbosh.ApacheHTTPResponse.awaitResponse(ApacheHTTPResponse.java:235)
at org.igniterealtime.jbosh.ApacheHTTPResponse.getBody(ApacheHTTPResponse.java:192)
at org.igniterealtime.jbosh.BOSHClient.processExchange(BOSHClient.java:1123)
at org.igniterealtime.jbosh.BOSHClient.processMessages(BOSHClient.java:999)
at org.igniterealtime.jbosh.BOSHClient.access$300(BOSHClient.java:100)
at org.igniterealtime.jbosh.BOSHClient$RequestProcessor.run(BOSHClient.java:1728)
at java.base/java.lang.Thread.run(Thread.java:829)
Now it works. Thanks for your help @damencho. Jigasi wasn’t communicating with the right prosody server (I have two shards) + I had another issue with OCTO and I had to add org.jitsi.jigasi.LOCAL_REGION="MyRegion"
Here’s the full config for anyone facing the same issue
There is one small drawback when using this kind of authentication with jigasi and it is about lobby rooms. If you have a room where lobby is enabled and someone dials in and you allow the jigasi to enter, this allows all subsequent jigasis to enter the meeting bypassing lobby.
Cause you allow jigasi_user@auth.my-jitsi-meet-domain.com for that meeting and all jigasis that connect use that.
Jigasi struggles to connect to JVB in the same region when using OCTO. It only works half the time.
It seems that jicofo ignores Jigasi’s region even though it’s configured as follows in jigasi config file org.jitsi.jigasi.LOCAL_REGION="MyRegion"… am I missing something ?