jigasi icon indicating copy to clipboard operation
jigasi copied to clipboard

Problems with typical deployment which uses XMPP authentication

Open paweldomas opened this issue 9 years ago • 5 comments

There is no way to make Jigasi connect to anonymous domain in case our main domain requires authentication like described here. If we configure JVB_HOSTNAME to guest.jitsi-meet.example.com then component connection will fail. The only option is to configure user credentials for Jigasi and specify them in /usr/share/jitsi/jigasi/.sip-communicator/sip-communicator.properties.

var config = {
    hosts: {
            domain: 'jitsi-meet.example.com',
            anonymousdomain: 'guest.jitsi-meet.example.com',
            ...
        },
        ...
}

paweldomas avatar Mar 27 '15 07:03 paweldomas

I did whatever you said and add account in sip-communicator.properties and getting following error

2015-04-18 23:37:41.678 SEVERE: [62] impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register().462 Error registering SASL authentication PLAIN failed: text: at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:341) at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:208) at net.java.sip.communicator.impl.protocol.jabber.LoginByPasswordStrategy.login(LoginByPasswordStrategy.java:143) at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1285) at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:933) at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.initializeConnectAndLogin(ProtocolProviderServiceJabberImpl.java:744) at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:457) at org.jitsi.jigasi.RegisterThread.run(RegisterThread.java:47) 2015-04-18 23:37:41.680 SEVERE: [62] util.UtilActivator.uncaughtException().108 An uncaught exception occurred in thread=Thread[Thread-45,10,main] and message was: No previous records found for account ID: Jabber:Extension [email protected]/Extension 1003 in packagenet.java.sip.communicator.impl.protocol.jabber java.lang.IllegalArgumentException: No previous records found for account ID: Jabber:Extension [email protected]/Extension 1003 in packagenet.java.sip.communicator.impl.protocol.jabber at net.java.sip.communicator.service.protocol.ProtocolProviderFactory.storePassword(ProtocolProviderFactory.java:872) at net.java.sip.communicator.service.protocol.ProtocolProviderFactory.storePassword(ProtocolProviderFactory.java:825) at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.fireRegistrationStateChanged(ProtocolProviderServiceJabberImpl.java:2081) at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:466) at org.jitsi.jigasi.RegisterThread.run(RegisterThread.java:47) 2015-04-18 23:38:09.190 INFO: [78] org.jitsi.jigasi.GatewaySession.sipCallEnded().419 Sip call ended: Call: id=14319850600361259833588 peers=0 2015-04-18 23:38:09.191 INFO: [78] org.jitsi.jigasi.JvbConference.stop().454 [email protected] is removing account Jabber:Extension [email protected]/Extension 1003 2015-04-18 23:38:09.218 INFO: [78] impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().114 Jingle : OFF 2015-04-18 23:38:09.219 INFO: [78] org.jitsi.jigasi.SipGateway.notifyCallEnded().193 Removed session for call [email protected] 2015-04-18 23:38:09.221 INFO: [78] org.jitsi.jigasi.GatewaySession.peerStateChanged().653 null SIP peer state: Disconnected

satishdotpatel avatar May 18 '15 21:05 satishdotpatel

I see this is still an issue. Anyone know how to solve it? I do not want my jigasi sip users to be seen as moderators.

flantel avatar Mar 14 '19 14:03 flantel

Hello,

Same problem here! Also, Prosody is configured to requires authentication in order to be allowed to create room. Because jigasi is using authentication, the system treats caller as moderator and also create room even if the real moderator is still not there.

Is there a way to make jigasi to act only as a guest user?

ohmer1 avatar May 08 '19 14:05 ohmer1

Not at the moment.

damencho avatar May 08 '19 14:05 damencho

@satishdotpatel Maybe you have figure it out by now, but in case you haven't. On the jigasi credentials the password should in plain text :confounded: as for now.

Ark74 avatar Jul 25 '19 19:07 Ark74