[jitsi-users] jigasi not working after enabling prosody ldap auth


#1

I went through the steps at https://github.com/jitsi/jicofo and
http://booting-rpi.blogspot.de/2015/09/using-ldap-authentication-with-jitsi.html
to secure prosody with ldap authentication. Conferences can now only be
created once auth'd and that all seems to be working fine.

However, jigasi seems to have stopped working. I cannot dial out or in to a
conference. Jigasi was working fine prior to the prosody changes.

When trying to dial out of a conference, I get the error below in jigasi.log

2017-02-08 14:56:20.530 WARNING: [72]
org.jitsi.jigasi.xmpp.CallControlComponent.handleIQ().297 Requests are not
secured by JID filter!
2017-02-08 14:56:20.530 INFO: [72]
org.jitsi.jigasi.xmpp.CallControlComponent.handleIQ().312 Got dial request
fromnumber -> 1506 room: 789
2017-02-08 14:56:20.663 INFO: [72]
org.jitsi.jigasi.JvbConference.setXmppProvider().507
15a1f834332@callcontrol.my.conference.com will use
ProtocolProviderServiceJabberImpl(15a1f834332@my.conference.com (Jabber))
2017-02-08 14:56:20.683 WARNING: [72]
org.jitsi.xmpp.component.ComponentBase.verifyProcessingTime().538
PROCESSING TIME LIMIT EXCEEDED - it took 156ms to process: <iq type="set"
to="callcontrol.my.conference.com" from="
focus@auth.my.conference.com/focus4392753010110" id="VpM75-80"><dial
xmlns="urn:xmpp:rayo:1" to="1506" from="fromnumber"><header value="789"
name="JvbRoomName"/></dial></iq>
2017-02-08 14:56:20.806 INFO: [73]
impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin().1290
Chosen TLS protocol and algorithm:
Protocol: TLSv1.2
Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
2017-02-08 14:56:20.808 INFO: [73]
impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().118
Jingle : ON
2017-02-08 14:56:20.809 INFO: [73]
org.jitsi.jigasi.JvbConference.registrationStateChanged().546 XMPP (
15a1f834332@callcontrol.my.conference.com): RegistrationStateChangeEvent[
oldState=Unregistered; newState=RegistrationState=Registering;
reasonCode=-1; reason=null]
2017-02-08 14:56:20.815 SEVERE: [78]
org.jivesoftware.smack.Connection.notifyListener() null
java.lang.NullPointerException
    at
java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.java:333)
    at
java.util.concurrent.ConcurrentHashMap.remove(ConcurrentHashMap.java:1175)
    at
net.java.sip.communicator.impl.protocol.jabber.extensions.caps.EntityCapsManager.removeUserCapsNode(EntityCapsManager.java:359)
    at
net.java.sip.communicator.impl.protocol.jabber.extensions.caps.EntityCapsManager$CapsPacketListener.processPacket(EntityCapsManager.java:980)
    at
org.jivesoftware.smack.Connection$ListenerWrapper.notifyListener(Connection.java:877)
    at
org.jivesoftware.smack.PacketReader$ListenerNotification.run(PacketReader.java:403)
    at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
2017-02-08 14:56:21.054 INFO: [73]
impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin().1290
Chosen TLS protocol and algorithm:
Protocol: TLSv1.2
Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
2017-02-08 14:56:21.054 INFO: [73]
impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().118
Jingle : ON
2017-02-08 14:56:21.055 INFO: [73]
org.jitsi.jigasi.JvbConference.registrationStateChanged().546 XMPP (
15a1f834332@callcontrol.my.conference.com): RegistrationStateChangeEvent[
oldState=Unregistered; newState=RegistrationState=Registering;
reasonCode=-1; reason=null]
2017-02-08 14:56:24.664 INFO: [86]
impl.protocol.sip.SipLogger.logInfo().196 Info from the JAIN-SIP stack:
Setting SIPMessage peerPacketSource to: /10.200.100.238:5060
2017-02-08 14:56:29.643 INFO: [87]
impl.protocol.sip.SipLogger.logInfo().196 Info from the JAIN-SIP stack:
Setting SIPMessage peerPacketSource to: /10.200.100.238:5060

Thanks for the help.


#2

Hi,

Did you enable these settings for jigasi:
https://github.com/jitsi/jigasi/blob/master/jigasi-home/sip-communicator.properties#L59
ANONYMOUS_AUTH=false, USER_ID and PASS?

Regards
damencho

···

On Wed, Feb 8, 2017 at 11:03 PM, Jeff Clay <jeffclay@gmail.com> wrote:

I went through the steps at https://github.com/jitsi/jicofo and
http://booting-rpi.blogspot.de/2015/09/using-ldap-authentication-with-jitsi.html
to secure prosody with ldap authentication. Conferences can now only be
created once auth'd and that all seems to be working fine.

However, jigasi seems to have stopped working. I cannot dial out or in to a
conference. Jigasi was working fine prior to the prosody changes.

When trying to dial out of a conference, I get the error below in jigasi.log

2017-02-08 14:56:20.530 WARNING: [72]
org.jitsi.jigasi.xmpp.CallControlComponent.handleIQ().297 Requests are not
secured by JID filter!
2017-02-08 14:56:20.530 INFO: [72]
org.jitsi.jigasi.xmpp.CallControlComponent.handleIQ().312 Got dial request
fromnumber -> 1506 room: 789
2017-02-08 14:56:20.663 INFO: [72]
org.jitsi.jigasi.JvbConference.setXmppProvider().507
15a1f834332@callcontrol.my.conference.com will use
ProtocolProviderServiceJabberImpl(15a1f834332@my.conference.com (Jabber))
2017-02-08 14:56:20.683 WARNING: [72]
org.jitsi.xmpp.component.ComponentBase.verifyProcessingTime().538 PROCESSING
TIME LIMIT EXCEEDED - it took 156ms to process: <iq type="set"
to="callcontrol.my.conference.com"
from="focus@auth.my.conference.com/focus4392753010110" id="VpM75-80"><dial
xmlns="urn:xmpp:rayo:1" to="1506" from="fromnumber"><header value="789"
name="JvbRoomName"/></dial></iq>
2017-02-08 14:56:20.806 INFO: [73]
impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin().1290
Chosen TLS protocol and algorithm:
Protocol: TLSv1.2
Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
2017-02-08 14:56:20.808 INFO: [73]
impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().118
Jingle : ON
2017-02-08 14:56:20.809 INFO: [73]
org.jitsi.jigasi.JvbConference.registrationStateChanged().546 XMPP
(15a1f834332@callcontrol.my.conference.com): RegistrationStateChangeEvent[
oldState=Unregistered; newState=RegistrationState=Registering;
reasonCode=-1; reason=null]
2017-02-08 14:56:20.815 SEVERE: [78]
org.jivesoftware.smack.Connection.notifyListener() null
java.lang.NullPointerException
    at
java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.java:333)
    at
java.util.concurrent.ConcurrentHashMap.remove(ConcurrentHashMap.java:1175)
    at
net.java.sip.communicator.impl.protocol.jabber.extensions.caps.EntityCapsManager.removeUserCapsNode(EntityCapsManager.java:359)
    at
net.java.sip.communicator.impl.protocol.jabber.extensions.caps.EntityCapsManager$CapsPacketListener.processPacket(EntityCapsManager.java:980)
    at
org.jivesoftware.smack.Connection$ListenerWrapper.notifyListener(Connection.java:877)
    at
org.jivesoftware.smack.PacketReader$ListenerNotification.run(PacketReader.java:403)
    at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
2017-02-08 14:56:21.054 INFO: [73]
impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin().1290
Chosen TLS protocol and algorithm:
Protocol: TLSv1.2
Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
2017-02-08 14:56:21.054 INFO: [73]
impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().118
Jingle : ON
2017-02-08 14:56:21.055 INFO: [73]
org.jitsi.jigasi.JvbConference.registrationStateChanged().546 XMPP
(15a1f834332@callcontrol.my.conference.com): RegistrationStateChangeEvent[
oldState=Unregistered; newState=RegistrationState=Registering;
reasonCode=-1; reason=null]
2017-02-08 14:56:24.664 INFO: [86] impl.protocol.sip.SipLogger.logInfo().196
Info from the JAIN-SIP stack: Setting SIPMessage peerPacketSource to:
/10.200.100.238:5060
2017-02-08 14:56:29.643 INFO: [87] impl.protocol.sip.SipLogger.logInfo().196
Info from the JAIN-SIP stack: Setting SIPMessage peerPacketSource to:
/10.200.100.238:5060

Thanks for the help.

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#3

No, I did not set that, and that fixed the issue! thanks

···

On Thu, Feb 9, 2017 at 1:32 AM, Damian Minkov <damencho@jitsi.org> wrote:

Hi,

Did you enable these settings for jigasi:
https://github.com/jitsi/jigasi/blob/master/jigasi-home/sip-communicator.
properties#L59
ANONYMOUS_AUTH=false, USER_ID and PASS?

Regards
damencho

On Wed, Feb 8, 2017 at 11:03 PM, Jeff Clay <jeffclay@gmail.com> wrote:
> I went through the steps at https://github.com/jitsi/jicofo and
> http://booting-rpi.blogspot.de/2015/09/using-ldap-
authentication-with-jitsi.html
> to secure prosody with ldap authentication. Conferences can now only be
> created once auth'd and that all seems to be working fine.
>
> However, jigasi seems to have stopped working. I cannot dial out or in
to a
> conference. Jigasi was working fine prior to the prosody changes.
>
> When trying to dial out of a conference, I get the error below in
jigasi.log
>
> 2017-02-08 14:56:20.530 WARNING: [72]
> org.jitsi.jigasi.xmpp.CallControlComponent.handleIQ().297 Requests are
not
> secured by JID filter!
> 2017-02-08 14:56:20.530 INFO: [72]
> org.jitsi.jigasi.xmpp.CallControlComponent.handleIQ().312 Got dial
request
> fromnumber -> 1506 room: 789
> 2017-02-08 14:56:20.663 INFO: [72]
> org.jitsi.jigasi.JvbConference.setXmppProvider().507
> 15a1f834332@callcontrol.my.conference.com will use
> ProtocolProviderServiceJabberImpl(15a1f834332@my.conference.com
(Jabber))
> 2017-02-08 14:56:20.683 WARNING: [72]
> org.jitsi.xmpp.component.ComponentBase.verifyProcessingTime().538
PROCESSING
> TIME LIMIT EXCEEDED - it took 156ms to process: <iq type="set"
> to="callcontrol.my.conference.com"
> from="focus@auth.my.conference.com/focus4392753010110"
id="VpM75-80"><dial
> xmlns="urn:xmpp:rayo:1" to="1506" from="fromnumber"><header value="789"
> name="JvbRoomName"/></dial></iq>
> 2017-02-08 14:56:20.806 INFO: [73]
> impl.protocol.jabber.ProtocolProviderServiceJabberI
mpl.connectAndLogin().1290
> Chosen TLS protocol and algorithm:
> Protocol: TLSv1.2
> Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
> 2017-02-08 14:56:20.808 INFO: [73]
> impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.
registrationStateChanged().118
> Jingle : ON
> 2017-02-08 14:56:20.809 INFO: [73]
> org.jitsi.jigasi.JvbConference.registrationStateChanged().546 XMPP
> (15a1f834332@callcontrol.my.conference.com):
RegistrationStateChangeEvent[
> oldState=Unregistered; newState=RegistrationState=Registering;
> reasonCode=-1; reason=null]
> 2017-02-08 14:56:20.815 SEVERE: [78]
> org.jivesoftware.smack.Connection.notifyListener() null
> java.lang.NullPointerException
> at
> java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.java:333)
> at
> java.util.concurrent.ConcurrentHashMap.remove(
ConcurrentHashMap.java:1175)
> at
> net.java.sip.communicator.impl.protocol.jabber.extensions.caps.
EntityCapsManager.removeUserCapsNode(EntityCapsManager.java:359)
> at
> net.java.sip.communicator.impl.protocol.jabber.extensions.caps.
EntityCapsManager$CapsPacketListener.processPacket(
EntityCapsManager.java:980)
> at
> org.jivesoftware.smack.Connection$ListenerWrapper.
notifyListener(Connection.java:877)
> at
> org.jivesoftware.smack.PacketReader$ListenerNotification.run(
PacketReader.java:403)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> 2017-02-08 14:56:21.054 INFO: [73]
> impl.protocol.jabber.ProtocolProviderServiceJabberI
mpl.connectAndLogin().1290
> Chosen TLS protocol and algorithm:
> Protocol: TLSv1.2
> Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
> 2017-02-08 14:56:21.054 INFO: [73]
> impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.
registrationStateChanged().118
> Jingle : ON
> 2017-02-08 14:56:21.055 INFO: [73]
> org.jitsi.jigasi.JvbConference.registrationStateChanged().546 XMPP
> (15a1f834332@callcontrol.my.conference.com):
RegistrationStateChangeEvent[
> oldState=Unregistered; newState=RegistrationState=Registering;
> reasonCode=-1; reason=null]
> 2017-02-08 14:56:24.664 INFO: [86] impl.protocol.sip.SipLogger.
logInfo().196
> Info from the JAIN-SIP stack: Setting SIPMessage peerPacketSource to:
> /10.200.100.238:5060
> 2017-02-08 14:56:29.643 INFO: [87] impl.protocol.sip.SipLogger.
logInfo().196
> Info from the JAIN-SIP stack: Setting SIPMessage peerPacketSource to:
> /10.200.100.238:5060
>
>
>
> Thanks for the help.
>
>
>
> _______________________________________________
> users mailing list
> users@jitsi.org
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users