I did quick install + secure domain + etherpad integration (in my local ip with nginx) then I started trying to add recording. But same problem happend. plz help @damencho @saghul
I followed below link to install jibri. Then configured prosody,jicofo and jitsi meet.
and also configured jbri config and and restarted jicofo.jibri and also installed openjdk-8
but in console I saw jibri failed to start (jibri status) but didnt know what to do:
my Jicofo log summary:
java.net.SocketException: Broken pipe (Write failed)
Jicofo 2019-12-04 15:47:36.267 INFO: [112] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().401 Focus request for room: newroom@conference.192.168.0.149
Jicofo 2019-12-04 15:47:37.379 INFO: [113] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().401 Focus request for room: newroom@conference.192.168.0.149
Jicofo 2019-12-04 15:47:42.444 INFO: [115] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().401 Focus request for room: newroom@conference.192.168.0.149
Jicofo 2019-12-04 15:47:47.483 INFO: [90] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().401 Focus request for room: newroom@conference.192.168.0.149
Jicofo 2019-12-04 15:47:51.057 INFO: [92] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().401 Focus request for room: newroom@conference.192.168.0.149
Jicofo 2019-12-04 15:47:51.059 INFO: [92] org.jitsi.jicofo.auth.AbstractAuthAuthority.log() Authentication session created for username2@192.168.0.149 SID: b8846e35-5e0e-44a5-b855-7f61ba9d7868
Jicofo 2019-12-04 15:47:51.060 INFO: [92] org.jitsi.jicofo.auth.AbstractAuthAuthority.log() Authenticated jid: username2@192.168.0.149/9323c724-0d52-4359-acac-3d49fcdbcbaa with session: AuthSession[ID=username2@192.168.0.149, JID=username2@192.168.0.149/9323c724-0d52-4359-acac-3d49fcdbcbaa, SID=b8846e35-5e0e-44a5-b855-7f61ba9d7868, MUID=3841465d020b15d5915acf56cd69a8bc, LIFE_TM_SEC=0, R=newroom@conference.192.168.0.149]@739822485
Jicofo 2019-12-04 15:47:51.060 INFO: [92] org.jitsi.jicofo.auth.AbstractAuthAuthority.log() Jid username2@192.168.0.149/9323c724-0d52-4359-acac-3d49fcdbcbaa authenticated as: username2@192.168.0.149
Jicofo 2019-12-04 15:47:51.077 INFO: [92] org.jitsi.jicofo.FocusManager.log() Created new focus for newroom@conference.192.168.0.149@auth.192.168.0.149. Conference count 1,options:
Jicofo 2019-12-04 15:47:51.078 INFO: [92] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Lip-sync enabled in newroom@conference.192.168.0.149
Jicofo 2019-12-04 15:47:51.079 INFO: [92] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Joining the room: newroom@conference.192.168.0.149
Jicofo 2019-12-04 15:47:51.156 INFO: [94] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().401 Focus request for room: newroom@conference.192.168.0.149
Jicofo 2019-12-04 15:47:51.157 INFO: [94] org.jitsi.jicofo.auth.AbstractAuthAuthority.log() Authenticated jid: a41019ca-ecc2-4dfc-b78a-dcfa38cb1c11@guest.192.168.0.149/942334a5-b424-4fc8-a675-59bdde65c0bc with session: AuthSession[ID=username2@192.168.0.149, JID=a41019ca-ecc2-4dfc-b78a-dcfa38cb1c11@guest.192.168.0.149/942334a5-b424-4fc8-a675-59bdde65c0bc, SID=b8846e35-5e0e-44a5-b855-7f61ba9d7868, MUID=3841465d020b15d5915acf56cd69a8bc, LIFE_TM_SEC=0, R=newroom@conference.192.168.0.149]@739822485
Jicofo 2019-12-04 15:47:51.157 INFO: [94] org.jitsi.jicofo.auth.AbstractAuthAuthority.log() Jid a41019ca-ecc2-4dfc-b78a-dcfa38cb1c11@guest.192.168.0.149/942334a5-b424-4fc8-a675-59bdde65c0bc authenticated as: username2@192.168.0.149
Jicofo 2019-12-04 15:47:51.183 INFO: [51] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Chat room event ChatRoomMemberPresenceChangeEvent[type=MemberJoined sourceRoom=org.jitsi.impl.protocol.xmpp.ChatRoomImpl@31802aef member=ChatMember[newroom@conference.192.168.0.149/a41019ca, jid: null]@727817303]
Jicofo 2019-12-04 15:47:51.188 INFO: [51] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Member newroom@conference.192.168.0.149/a41019ca joined.
Jicofo 2019-12-04 15:49:03.021 SEVERE: [134] org.jitsi.jicofo.recording.jibri.JibriSession.log() Unable to find an available Jibri, can't start
Jicofo 2019-12-04 15:49:03.022 INFO: [134] org.jitsi.jicofo.recording.jibri.JibriRecorder.log() Failed to start a Jibri session, no Jibris available
Jibri log :
2019-12-04 15:29:29.518 INFO: [1] org.jitsi.jibri.Main.main() Jibri run with args [--config, /etc/jitsi/jibri/config.json]
2019-12-04 15:29:29.520 INFO: [1] org.jitsi.jibri.Main.main() Using config file /etc/jitsi/jibri/config.json
2019-12-04 15:29:29.520 INFO: [1] org.jitsi.jibri.Main.main() Using port 3333 for internal HTTP API
2019-12-04 15:29:29.521 INFO: [1] org.jitsi.jibri.Main.main() Using port 2222 for the HTTP API
I was also having prosody error though working fine (I didnt use certificate)
Dec 04 14:24:17 portmanager error Error binding encrypted port for https: No key present in SSL/TLS configuration for https port 5281
Dec 04 14:46:44 portmanager error Error binding encrypted port for https: No key present in SSL/TLS configuration for https port 5281
Dec 04 14:46:44 portmanager error Error binding encrypted port for https: No key present in SSL/TLS configuration for https port 5281
my Jicofo config :
# Jitsi Conference Focus settings
# sets the host name of the XMPP server
JICOFO_HOST=localhost
# sets the XMPP domain (default: none)
JICOFO_HOSTNAME=192.168.0.149
# sets the secret used to authenticate as an XMPP component
JICOFO_SECRET=hNhxSwav
# sets the port to use for the XMPP component connection
JICOFO_PORT=5347
# sets the XMPP domain name to use for XMPP user logins
JICOFO_AUTH_DOMAIN=auth.192.168.0.149
# sets the username to use for XMPP user logins
JICOFO_AUTH_USER=focus
# sets the password to use for XMPP user logins
JICOFO_AUTH_PASSWORD=9qjZ3RSL
# extra options to pass to the jicofo daemon
JICOFO_OPTS=""
# adds java system props that are passed to jicofo (default are for home and logging config file)
JAVA_SYS_PROPS="-Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=jicofo -Dnet.java.sip.communicator.SC_LOG_DIR_LOCATION=/var/log/jitsi -Djava.util.logging.config.file=/etc/jitsi/jicofo/logging.properties"
my Jibri config :
{
// NOTE: this is a *SAMPLE* config file, it will need to be configured with
// values from your environment
// Where recording files should be temporarily stored
"recording_directory":"/tmp/recordings",
// The path to the script which will be run on completed recordings
"finalize_recording_script_path": "/path/to/finalize_recording.sh",
"xmpp_environments": [
{
// A friendly name for this environment which can be used
// for logging, stats, etc.
"name": "myjitsi prod environment",
// The hosts of the XMPP servers to connect to as part of
// this environment
"xmpp_server_hosts": [
"192.168.0.149"
],
// The xmpp domain we'll connect to on the XMPP server
"xmpp_domain": "192.168.0.149",
// Jibri will login to the xmpp server as a privileged user
"control_login": {
// The domain to use for logging in
"domain": "auth.192.168.0.149",
// The credentials for logging in
"username": "jibri",
"password": "jibriauthpass"
},
// Using the control_login information above, Jibri will join
// a control muc as a means of announcing its availability
// to provide services for a given environment
"control_muc": {
"domain": "internal.auth.192.168.0.149",
"room_name": "JibriBrewery",
"nickname": "jibri-nickname"
},
// All participants in a call join a muc so they can exchange
// information. Jibri can be instructed to join a special muc
// with credentials to give it special abilities (e.g. not being
// displayed to other users like a normal participant)
"call_login": {
"domain": "recorder.192.168.0.149",
"username": "recorder",
"password": "jibrirecorderpass"
},
// When jibri gets a request to start a service for a room, the room
// jid will look like:
// roomName@optional.prefixes.subdomain.xmpp_domain
// We'll build the url for the call by transforming that into:
// https://xmpp_domain/subdomain/roomName
// So if there are any prefixes in the jid (like jitsi meet, which
// has its participants join a muc at conference.xmpp_domain) then
// list that prefix here so it can be stripped out to generate
// the call url correctly
"room_jid_domain_string_to_strip_from_start": "conference.",
// The amount of time, in minutes, a service is allowed to continue.
// Once a service has been running for this long, it will be
// stopped (cleanly). A value of 0 means an indefinite amount
// of time is allowed
"usage_timeout": "0"
}
]
}
Thanx in advance 