Jigasi doesn't send INVITE, xmmp connection failed

Hello,

I am trying to connect Jitsi Meet + Jigasi with an Asterisk, everything is in the same server. It’s a fresh install followig the steps of the quick install.

Jigasi is sucessfuly registered but when I try to invite someone, nothing happens and this is the error in the jiasi.log

Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:445)
… 23 more
2020-04-10 18:27:11.181 SEVERE: [162] org.jitsi.jigasi.JvbConference.registrationStateChanged().573 [ctx=15865432311561506874551] Unregistered XMPP.
2020-04-10 18:27:11.182 SEVERE: [159] org.jitsi.jigasi.JvbConference.registrationStateChanged().581 [ctx=15865432311561506874551] XMPP Connection failed.
2020-04-10 18:27:11.182 WARNING: [159] org.jitsi.jigasi.JvbConference.leaveConferenceRoom().823 [ctx=15865432311561506874551] MUC room is null

Do you know could be the problem? Thanks so much!

Not sure if this causes that specific issue, but since I see a lot of things about certificates.

Did you add
net.java.sip.communicator.service.gui.ALWAYS_TRUST_MODE_ENABLED=true
To the .properties file?

(There are 2 config files in /etc/jitsi/jigasi, namely config and sip-communicator.properties)

Hi!

When I add this parameter and try to invite someone then the videoroom is destroyed, with the message ; Unfortunally somthing was wrong…

I enabled the option here in sip-communicator.properties

Jifoco;

Jicofo 2020-04-10 21:41:31.911 INFO: [28] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Member sala1@conference.video.ip4business.com/7f28bea1 joined.
Jicofo 2020-04-10 21:41:31.911 WARNING: [28] org.jitsi.jicofo.bridge.BridgeSelectionStrategy.log() Failed to select initial bridge for participantRegion=null
Jicofo 2020-04-10 21:41:31.911 SEVERE: [28] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Can not invite participant – no bridge available.
Jicofo 2020-04-10 21:41:31.911 WARNING: [28] org.jitsi.jicofo.bridge.BridgeSelectionStrategy.log() Failed to select initial bridge for participantRegion=null
Jicofo 2020-04-10 21:41:31.911 SEVERE: [28] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Can not invite participant – no bridge available.
Jicofo 2020-04-10 21:41:32.126 INFO: [28] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Chat room event ChatRoomMemberPresenceChangeEvent[type=MemberLeft sourceRoom=org.jitsi.impl.protocol.xmpp.ChatRoomImpl@2b8
f48b9 member=ChatMember[sala1@conference.video.ip4business.com/699c48e2, jid: 699c48e2-ab39-4880-9c70-86de26eb4c42@video.ip4business.com/7afa92dc-7a08-4023-b199-93c33123b601]@597064676]
Jicofo 2020-04-10 21:41:32.126 INFO: [28] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Owner has left the room !
Jicofo 2020-04-10 21:41:32.127 INFO: [28] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Granted owner to sala1@conference.video.ip4business.com/7f28bea1
Jicofo 2020-04-10 21:41:32.128 INFO: [28] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Member sala1@conference.video.ip4business.com/699c48e2 is leaving
Jicofo 2020-04-10 21:41:32.128 INFO: [28] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Removed participant: true, sala1@conference.video.ip4business.com/699c48e2

On jigasi log there is not so much information when the crash happens:

Jigasi log:

04-10 21:41:31.825 WARNING: [144] org.jitsi.jigasi.xmpp.CallControl.checkAuthorized().287 Requests are not secured by JID filter!
2020-04-10 21:41:31.826 INFO: [144] org.jitsi.jigasi.xmpp.CallControl.handleDialIq().211 [ctx=15865548918251498954756] Got dial request fromnumber -> 5000 room: sala1@conference.video.ip4business.com
2020-04-10 21:41:31.828 INFO: [144] org.jitsi.jigasi.JvbConference.setXmppProvider().539 [ctx=15865548918251498954756] Using ProtocolProviderServiceJabberImpl(Jabber:7f28bea1@video.ip4business.com/7f28bea1)
2020-04-10 21:41:31.832 WARNING: [144] org.jitsi.xmpp.component.ComponentBase.log() PROCESSING TIME LIMIT EXCEEDED - it took 7ms to process:
2020-04-10 21:41:31.901 INFO: [145] impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().125 Jingle : ON
2020-04-10 21:41:31.901 INFO: [145] org.jitsi.jigasi.JvbConference.registrationStateChanged().577 [ctx=15865548918251498954756] Registering XMPP.
2020-04-10 21:41:31.904 INFO: [145] impl.protocol.jabber.ProtocolProviderServiceJabberImpl.authenticated().2535 Authenticated: false
2020-04-10 21:41:31.906 INFO: [145] org.jitsi.jigasi.JvbConference.joinConferenceRoom().648 [ctx=15865548918251498954756] Joining JVB conference room: sala1@conference.video.ip4business.com
2020-04-10 21:41:31.914 INFO: [148] impl.protocol.jabber.ChatRoomJabberImpl.joined().1256 sala1@conference.video.ip4business.com/699c48e2 has joined the sala1@conference.video.ip4business.com chat room.
2020-04-10 21:41:31.921 INFO: [148] impl.protocol.jabber.ChatRoomJabberImpl.joined().1256 sala1@conference.video.ip4business.com/focus has joined the sala1@conference.video.ip4business.com chat room.
2020-04-10 21:41:32.127 INFO: [148] impl.protocol.jabber.ChatRoomJabberImpl.left().1300 sala1@conference.video.ip4business.com/699c48e2 has left the sala1@conference.video.ip4business.com chat room.
2020-04-10 21:41:32.127 INFO: [148] org.jitsi.jigasi.JvbConference.memberPresenceChanged().916 [ctx=15865548918251498954756] Member left : OWNER 699c48e2-ab39-4880-9c70-86de26eb4c42@video.ip4business.com/7afa92d
c-7a08-4023-b199-93c33123b601

Thanks