JIGASI JigasiIqHandler.inviteJigasi#93: Request failed, no instances available

Hello everyone, after upgrading Jitsi version from 2.0.4857-1 → 2.0.5963-1, jicofo: 1.0-612-1 → 1.0-756-1 and jigasi 1.1-38-g8f3c241-1 → 1.1-195-g65ef768-1. I was unable to start Jigasi with an error on the client side:

<iq xmlns="jabber:client" type="error" to="eaccef1d-fd54-4905-8863-bae51c41bf62@example.com/7e8ee15c-8693-4988-b846-dbdb50f82c6d" from="158013525660c9cbcf2f0d3@conference.example.com/focus" id="20cba63b-08ba-4466-9695-76057a7c8218:sendIQ">

And the error log in Jicofo

Jicofo 2021-06-16 10:01:31,802 INFO: [17] JigasiIqHandler.handleRequest#72: Accepted jigasi request from 158013525660c9cbcf2f0d3@conference.example.com/eaccef1d: <iq to='focus@auth.example.com/focus 'from='158013525660c9cbcf2f0d3@conference.example.com/eaccef1d' id = 'Zm9jdXNAYXV0aC5tZWV0aW5nLWNvbmZlcmVuY2UyLWRldi5jYWxsaW5nLmZ1bi9mb2N1cwAzMjk0N2YyZi1lZDJlLTQyNGItODFkOS01YWVmODdjNmVlYmM6c2VuZElRAIEGrL6fkIJtVGYGv / cNJnA =' type = 'set'> <dial xmlns = "urn: xmpp: Rayo: 1 'from =' fromnumber 'to =' jitsi_meet_transcribe '><header xmlns='urn:xmpp:rayo:1' name='JvbRoomName' value='158013525660c9cbcf2f0d3@conference.example.com'/></dial></iq>
Jicofo 2021-06-16 10:01:31,802 WARNING: [336] JigasiIqHandler.inviteJigasi#93: Request failed, no instances available: <iq to='focus@auth.conference.example.com/focus' from='158013525660c9cbcf2f0d3 @ conference.example.com / eaccef1d 'id =' Zm9jdXNAYXV0aC5tZWV0aW5nLWNvbmZlcmVuY2UyLWRldi5jYWxsaW5nLmZ1bi9mb2N1cwAzMjk0N2YyZi1lZDJlLTQyNGItODFkOS01YWVmODdjNmVlYmM6c2VuZElRAIEGrL6fkIJtVGYGv / cNJnA = 'type =' set '> <dial xmlns = "urn: xmpp: Rayo: 1' from = 'fromnumber' to = 'jitsi_meet_transcribe'> <header xmlns ='urn:xmpp:rayo:1' name='JvbRoomName' value='158013525660c9cbcf2f0d3@conference.example.com'/></dial></iq>

Please help resolve this issue, thank you so much.

You are using brewery config for your jigasi instance?

Sorry, how do I check this (brewery)? I just changed some information in sip-communicator.properties.j2, and added the component for Jigasi in Prosody.

Component "{{jigasi_subdomain}}.{{hostname}}"
         component_secret = "{{jigasi_secret}}"

Jigasi no longer uses component.

You need to create a jigasi user in the auth domain and use that: GitHub - jitsi/jigasi: Jigasi: a server-side application acting as a gateway to Jitsi Meet conferences. Currently allows regular SIP clients to join meetings and provides transcription capabilities.
The same way the bridge does. There is also one setting for jicofo … but those is explained in the doc.

Thank you, I haven’t upgraded jitsi in a long time, there are many changes I can’t adapt to yet, can you give me a quick approach?.

Create a new vm, install jitsi-meet and then install jigasi and compare /etc/jitsi/jicofo/sip-communicator.properties with yours and same for /etc/jitsi/jigasi/sip-communicator.properties

I will try it, thank you so much.

i tried switching it to a new config with BREWERY, but still getting the same error as before, could you take a moment to check my omission?. Thank you.

my jicofo.config

jicofo {
  xmpp: {
    client: {
      client-proxy: focus.mydomain.com
    }
  }
  jigasi: {
    brewery-jid: "JigasiBrewery@internal.auth.mydomain.com"
  }
}

jicofo sip-communicator.properties

org.jitsi.jicofo.BRIDGE_MUC=JvbBrewery@internal.auth.mydomain.com
org.jitsi.jicofo.health.ENABLE_HEALTH_CHECKS=true
org.jitsi.jicofo.ENABLE_H264=false
org.jitsi.jicofo.ENABLE_VP8=false
org.jitsi.jicofo.ENABLE_VP9=true
org.jitsi.jigasi.BREWERY_ENABLED=true
org.jitsi.jicofo.auth.URL=XMPP:mydomain.com
org.jitsi.jicofo.jigasi.BREWERY=JigasiBrewery@internal.auth.mydomain.com

My jigasi/config

JIGASI_SIPUSER=user-dev@user-dev.sip.us1.twilio.com
JIGASI_SIPPWD=xxxxxxxx
JIGASI_SECRET=zzz
JIGASI_HOSTNAME=domain.com
JIGASI_HOST=localhost
JIGASI_OPTS="-nocomponent=true"
# adds java system props that are passed to jigasi (default are for logging config file)
JAVA_SYS_PROPS="-Djava.util.logging.config.file=/etc/jitsi/jigasi/logging.properties"
GOOGLE_APPLICATION_CREDENTIALS="/etc/jitsi/jigasi/google.json"

jigasi sip-communicator.properties

org.jitsi.jigasi.DEFAULT_JVB_ROOM_NAME=siptest@conference.mydomain.com

org.jitsi.jigasi.MUC_SERVICE_ADDRESS=conference.mydomain.com

net.java.sip.communicator.impl.protocol.SingleCallInProgressPolicy.enabled=false

net.java.sip.communicator.impl.neomedia.codec.audio.opus.encoder.COMPLEXITY=10

net.java.sip.communicator.packetlogging.PACKET_LOGGING_ENABLED=false

net.java.sip.communicator.impl.protocol.sip.acc1403273890647=acc1403273890647
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.ACCOUNT_UID=SIP\:user-dev@user-dev.sip.us1.twilio.com
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.PASSWORD=UFk4RVc2Zk5EMzhtQGFF
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.PROTOCOL_NAME=SIP
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.SERVER_ADDRESS=user-dev.sip.us1.twilio.com
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.USER_ID=user-dev@user-dev.sip.us1.twilio.com
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.KEEP_ALIVE_INTERVAL=25
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.KEEP_ALIVE_METHOD=OPTIONS
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.VOICEMAIL_ENABLED=false
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.AMR-WB/16000=750
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.G722/8000=700
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.GSM/8000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.H263-1998/90000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.H264/90000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.PCMA/8000=600
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.PCMU/8000=650
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.SILK/12000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.SILK/16000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.SILK/24000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.SILK/8000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.VP8/90000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.iLBC/8000=10
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.opus/48000=1000
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.red/90000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.speex/16000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.speex/32000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.speex/8000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.telephone-event/8000=1
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.ulpfec/90000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.OVERRIDE_ENCODINGS=true
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.DEFAULT_ENCRYPTION=false

net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1=acc-xmpp-1
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.ACCOUNT_UID=Jabber:jigasi@auth.mydomain.com
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.USER_ID=jigasi@auth.mydomain.com
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.IS_SERVER_OVERRIDDEN=true
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.SERVER_ADDRESS=127.0.0.1
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.SERVER_PORT=5222
#net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.BOSH_URL=https://127.0.0.1/http-bind
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.ALLOW_NON_SECURE=true
#base64 AES keyLength:256 or 128
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.PASSWORD=

#net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.RESOURCE=jigasi
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.AUTO_GENERATE_RESOURCE=true
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.RESOURCE_PRIORITY=30

net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.KEEP_ALIVE_METHOD=XEP-0199
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.KEEP_ALIVE_INTERVAL=30
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.CALLING_DISABLED=true
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.JINGLE_NODES_ENABLED=false
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.IS_CARBON_DISABLED=true
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.DEFAULT_ENCRYPTION=true
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.IS_USE_ICE=true
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.IS_ACCOUNT_DISABLED=false
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.IS_PREFERRED_PROTOCOL=false
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.AUTO_DISCOVER_JINGLE_NODES=false
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.PROTOCOL=Jabber
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.IS_USE_UPNP=false
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.IM_DISABLED=true
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.SERVER_STORED_INFO_DISABLED=true
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.IS_FILE_TRANSFER_DISABLED=true
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.USE_DEFAULT_STUN_SERVER=false
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.ENCRYPTION_PROTOCOL.DTLS-SRTP=0
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.ENCRYPTION_PROTOCOL_STATUS.DTLS-SRTP=true
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.OVERRIDE_ENCODINGS=true
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.Encodings.G722/8000=0
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.Encodings.GSM/8000=0
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.Encodings.H263-1998/90000=0
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.Encodings.H264/90000=0
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.Encodings.PCMA/8000=0
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.Encodings.PCMU/8000=0
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.Encodings.SILK/12000=0
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.Encodings.SILK/16000=0
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.Encodings.SILK/24000=0
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.Encodings.SILK/8000=0
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.Encodings.VP8/90000=0
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.Encodings.iLBC/8000=0
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.Encodings.opus/48000=0
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.Encodings.speex/16000=0
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.Encodings.speex/32000=0
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.Encodings.speex/8000=0
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.BREWERY=JigasiBrewery@internal.auth.mydomain.com
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.BOSH_URL_PATTERN=https://{host}{subdomain}/http-bind?room={roomName}

net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.DOMAIN_BASE=mydomain.com

# we can receive dial/hangup only from the control muc
org.jitsi.jigasi.ALLOWED_JID=JigasiBrewery@internal.auth.mydomain.com

org.jitsi.jigasi.BREWERY_ENABLED=true

org.jitsi.jigasi.xmpp.acc.IS_SERVER_OVERRIDDEN=true
org.jitsi.jigasi.xmpp.acc.SERVER_ADDRESS=127.0.0.1
org.jitsi.jigasi.xmpp.acc.VIDEO_CALLING_DISABLED=true
org.jitsi.jigasi.xmpp.acc.JINGLE_NODES_ENABLED=false
org.jitsi.jigasi.xmpp.acc.AUTO_DISCOVER_STUN=false
org.jitsi.jigasi.xmpp.acc.IM_DISABLED=true
org.jitsi.jigasi.xmpp.acc.SERVER_STORED_INFO_DISABLED=true
org.jitsi.jigasi.xmpp.acc.IS_FILE_TRANSFER_DISABLED=true
org.jitsi.jigasi.xmpp.acc.KEEP_ALIVE_METHOD=XEP-0199
org.jitsi.jigasi.xmpp.acc.KEEP_ALIVE_INTERVAL=30
org.jitsi.jigasi.xmpp.acc.USE_DEFAULT_STUN_SERVER=false

Logs:
jicofo.log (11.1 KB)
jigasi.log (43.3 KB)

For some reason jigasi is not loading your xmpp account … not sure why …

Thank you, I will focus on this.

Is the password empty on purpose? Maybe do a diff with jigasi/sip-communicator.properties at master · jitsi/jigasi · GitHub

@damencho can u look at this error. i am using jwt with jigasi
Jicofo 2021-07-20 18:48:08.114 WARNING: [49] JigasiIqHandler.inviteJigasi#93: Request failed, no instances available: