jitsi / jibri

Jitsi BRoadcasting Infrastructure
Apache License 2.0
603 stars 313 forks source link

Recording Failed To Start #163

Open abangadit opened 5 years ago

abangadit commented 5 years ago

Description


Hi i installed jitsi and jibri on ubuntu 18.04 i success install jitsi but i want to record the video confrence so i install jibri after following tutorial here https://github.com/jitsi/jibri and search trhough github issues etc i still get error Recording Failed To Start

here is the log 2018-11-07 08:03:06.721 INFO: [1] org.jitsi.jibri.Main.main() Using config file /etc/jitsi/jibri/config.json 2018-11-07 08:03:08.303 INFO: [1] org.jitsi.jibri.Main.loadConfig() Parsed config: JibriConfig(recordingDirectory=/tmp/recordings, enabledStatsD=true, finalizeRecordingScriptPath=/path/to/finalize_recording.sh, xmppEnvironments=[XmppEnvironmentConfig(name=BNN Vidcon, xmppServerHosts=[153.92.5.156], xmppDomain=153.92.5.156, controlLogin=XmppCredentials(domain=auth.153.92.5.156, username=focus, password=GronI3rG), controlMuc=XmppMuc(domain=conference.153.92.5.156, roomName=JibriBrewery, nickname=jibri-nickname), sipControlMuc=null, callLogin=XmppCredentials(domain=recorder.xmpp.domain, username=username, password=password), stripFromRoomDomain=conference., usageTimeoutMins=0, trustAllXmppCerts=true)]) 2018-11-07 08:03:09.527 WARNING: [1] org.glassfish.jersey.internal.inject.Providers.checkProviderRuntime() A provider org.jitsi.jibri.api.http.internal.InternalHttpApi registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider org.jitsi.jibri.api.http.internal.InternalHttpApi will be ignored. 2018-11-07 08:03:10.710 INFO: [1] org.jitsi.jibri.api.xmpp.XmppApi.start() Connecting to xmpp environment on 153.92.5.156 with config XmppEnvironmentConfig(name=BNN Vidcon, xmppServerHosts=[153.92.5.156], xmppDomain=153.92.5.156, controlLogin=XmppCredentials(domain=auth.153.92.5.156, username=focus, password=GronI3rG), controlMuc=XmppMuc(domain=conference.153.92.5.156, roomName=JibriBrewery, nickname=jibri-nickname), sipControlMuc=null, callLogin=XmppCredentials(domain=recorder.xmpp.domain, username=username, password=password), stripFromRoomDomain=conference., usageTimeoutMins=0, trustAllXmppCerts=true) 2018-11-07 08:03:10.724 INFO: [1] org.jitsi.jibri.api.xmpp.XmppApi.start() The trustAllXmppCerts config is enabled for this domain, all XMPP server provided certificates will be accepted 2018-11-07 08:03:11.553 INFO: [1] class org.jitsi.xmpp.mucclient.MucClient.connected() [BNN Vidcon: auth.153.92.5.156@153.92.5.156] Xmpp connection status: connected 2018-11-07 08:03:11.781 INFO: [1] class org.jitsi.xmpp.mucclient.MucClient.authenticated() [BNN Vidcon: auth.153.92.5.156@153.92.5.156] Xmpp connection status: authenticated (resume from previous? false) 2018-11-07 08:03:12.076 WARNING: [1] org.glassfish.jersey.internal.inject.Providers.checkProviderRuntime() A provider org.jitsi.jibri.api.http.HttpApi registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider org.jitsi.jibri.api.http.HttpApi will be ignored.

and here is jicofo log Jicofo 2018-11-07 07:55:19.356 INFO: [47] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Chat room event ChatRoomMemberPresenceChangeEvent[type=MemberLeft sourceRoom=org.jitsi.impl.protocol.xmpp.ChatRoomImpl@646224e8 member=ChatMember[konferensi@conference.153.92.5.156/c4a5e93f, jid: c4a5e93f-421f-45c0-8def-dfdb750ec0aa@153.92.5.156/65d66758-9771-4fd5-a3c5-a48bdea93b9a]@57878223] Jicofo 2018-11-07 07:55:19.356 INFO: [47] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Owner has left the room ! Jicofo 2018-11-07 07:55:19.356 INFO: [47] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Member konferensi@conference.153.92.5.156/c4a5e93f is leaving Jicofo 2018-11-07 07:55:19.356 WARNING: [47] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Participant not found for konferensi@conference.153.92.5.156/c4a5e93f terminated already or never started ? Jicofo 2018-11-07 07:55:19.359 INFO: [47] org.jitsi.jicofo.FocusManager.log() Disposed conference for room: konferensi@conference.153.92.5.156 conference count: 0 Jicofo 2018-11-07 07:55:31.374 INFO: [59] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().402 Focus request for room: testroom@conference.153.92.5.156 Jicofo 2018-11-07 07:55:31.375 INFO: [59] org.jitsi.jicofo.FocusManager.log() Created new focus for testroom@conference.153.92.5.156@auth.153.92.5.156. Conference count 1,options: Jicofo 2018-11-07 07:55:31.376 INFO: [59] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Lip-sync enabled in testroom@conference.153.92.5.156 Jicofo 2018-11-07 07:55:31.378 INFO: [59] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Joining the room: testroom@conference.153.92.5.156 Jicofo 2018-11-07 07:55:31.719 INFO: [47] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Chat room event ChatRoomMemberPresenceChangeEvent[type=MemberJoined sourceRoom=org.jitsi.impl.protocol.xmpp.ChatRoomImpl@1882a742 member=ChatMember[testroom@conference.153.92.5.156/841616dc, jid: null]@2067895369] Jicofo 2018-11-07 07:55:31.725 INFO: [47] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Granted owner to testroom@conference.153.92.5.156/841616dc Jicofo 2018-11-07 07:55:31.725 INFO: [47] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Member testroom@conference.153.92.5.156/841616dc joined. Jicofo 2018-11-07 08:02:38.088 INFO: [47] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Chat room event ChatRoomMemberPresenceChangeEvent[type=MemberLeft sourceRoom=org.jitsi.impl.protocol.xmpp.ChatRoomImpl@1882a742 member=ChatMember[testroom@conference.153.92.5.156/841616dc, jid: 841616dc-0f56-46e5-9d8e-e24c4baff38b@153.92.5.156/2085c509-6dfa-4f2e-932c-86f3ab9a5212]@2067895369] Jicofo 2018-11-07 08:02:38.088 INFO: [47] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Owner has left the room ! Jicofo 2018-11-07 08:02:38.088 INFO: [47] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Member testroom@conference.153.92.5.156/841616dc is leaving Jicofo 2018-11-07 08:02:38.089 WARNING: [47] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Participant not found for testroom@conference.153.92.5.156/841616dc terminated already or never started ? Jicofo 2018-11-07 08:02:38.094 INFO: [47] org.jitsi.jicofo.FocusManager.log() Disposed conference for room: testroom@conference.153.92.5.156 conference count: 0 Jicofo 2018-11-07 08:03:16.666 INFO: [76] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().402 Focus request for room: testroom@conference.153.92.5.156 Jicofo 2018-11-07 08:03:16.667 INFO: [76] org.jitsi.jicofo.FocusManager.log() Created new focus for testroom@conference.153.92.5.156@auth.153.92.5.156. Conference count 1,options: Jicofo 2018-11-07 08:03:16.667 INFO: [76] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Lip-sync enabled in testroom@conference.153.92.5.156 Jicofo 2018-11-07 08:03:16.667 INFO: [76] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Joining the room: testroom@conference.153.92.5.156 Jicofo 2018-11-07 08:03:17.088 INFO: [47] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Chat room event ChatRoomMemberPresenceChangeEvent[type=MemberJoined sourceRoom=org.jitsi.impl.protocol.xmpp.ChatRoomImpl@ef1aaad member=ChatMember[testroom@conference.153.92.5.156/8f6cf410, jid: null]@346992866] Jicofo 2018-11-07 08:03:17.093 INFO: [47] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Granted owner to testroom@conference.153.92.5.156/8f6cf410 Jicofo 2018-11-07 08:03:17.094 INFO: [47] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Member testroom@conference.153.92.5.156/8f6cf410 joined. Jicofo 2018-11-07 08:05:15.773 INFO: [47] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Chat room event ChatRoomMemberPresenceChangeEvent[type=MemberLeft sourceRoom=org.jitsi.impl.protocol.xmpp.ChatRoomImpl@ef1aaad member=ChatMember[testroom@conference.153.92.5.156/8f6cf410, jid: 8f6cf410-3aab-45c3-83f6-95d4c19c5200@153.92.5.156/995aabed-408e-411a-8bde-c8cecd3b65ad]@346992866] Jicofo 2018-11-07 08:05:15.774 INFO: [47] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Owner has left the room ! Jicofo 2018-11-07 08:05:15.774 INFO: [47] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Member testroom@conference.153.92.5.156/8f6cf410 is leaving Jicofo 2018-11-07 08:05:15.774 WARNING: [47] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Participant not found for testroom@conference.153.92.5.156/8f6cf410 terminated already or never started ? Jicofo 2018-11-07 08:05:15.777 INFO: [47] org.jitsi.jicofo.FocusManager.log() Disposed conference for room: testroom@conference.153.92.5.156 conference count: 0 Jicofo 2018-11-07 08:05:22.992 INFO: [69] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().402 Focus request for room: testroom@conference.153.92.5.156 Jicofo 2018-11-07 08:05:22.993 INFO: [69] org.jitsi.jicofo.FocusManager.log() Created new focus for testroom@conference.153.92.5.156@auth.153.92.5.156. Conference count 1,options: Jicofo 2018-11-07 08:05:22.993 INFO: [69] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Lip-sync enabled in testroom@conference.153.92.5.156 Jicofo 2018-11-07 08:05:22.994 INFO: [69] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Joining the room: testroom@conference.153.92.5.156 Jicofo 2018-11-07 08:05:23.858 INFO: [47] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Chat room event ChatRoomMemberPresenceChangeEvent[type=MemberJoined sourceRoom=org.jitsi.impl.protocol.xmpp.ChatRoomImpl@199bbd82 member=ChatMember[testroom@conference.153.92.5.156/99fe7e6c, jid: null]@1854902564] Jicofo 2018-11-07 08:05:23.862 INFO: [47] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Granted owner to testroom@conference.153.92.5.156/99fe7e6c Jicofo 2018-11-07 08:05:23.863 INFO: [47] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Member testroom@conference.153.92.5.156/99fe7e6c joined.

please help give some advice or solution of my problem thank you

damencho commented 5 years ago

Are you using the latest jibri and the latest versions of jitsi-meet from the unstable repo?

Please in the future when you have questions or problems, before opening an issue, discuss them first on the community forum: https://community.jitsi.org as stated in the issues template, thank you.

abangadit commented 5 years ago

Hi im sorry my bad, Should i move there instead ? Or keep discussion here ? I install jitsi following the tutorial here https://github.com/jitsi/jitsi-meet/blob/master/doc/quick-install.md

damencho commented 5 years ago

No worries, you can continue here. Did you update all components feom unstable?

abangadit commented 5 years ago

'feom' ? did you mean from ? how to update all component to unstable ?

now i try to reinstall my vps to ubuntu 16.04, btw what is recommended ubuntu version to run jitsi/jibri on ? can i run jitsi on centos ?

damencho commented 5 years ago

Use Ubuntu 18.04 or 16.04. Edit the file /etc/apt/sources.list.d/jitsi-stable.list to be deb https://download.jitsi.org unstable/. Then do

apt update 
apt install jitsi-meet

You can use centos, but you are on your own there, you need to do a ton of configurations cause you cannot use the debian packages and their configuration scripts.

abangadit commented 5 years ago

hi,

i resintall my server and reinstall jitsi i did edit update all component from unstable but still get recording failed to start

btw i use only ip address and not using domain name, is that ok ? and im still confused config jibri config.js can u check my config here ?

`{ // 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": "/home/jibri/resources/finalize_recording.sh",
"xmpp_environments": [
    {
        // A friendly name for this environment which can be used
        //  for logging, stats, etc.
        "name": "prod environment",
        // The hosts of the XMPP servers to connect to as part of
        //  this environment
        "xmpp_server_hosts": [
            "153.92.5.156"
        ],
        // The xmpp domain we'll connect to on the XMPP server
        "xmpp_domain": "153.92.5.156",
        // Jibri will login to the xmpp server as a privileged user 
        "control_login": {
            // The domain to use for logging in
            "domain": "auth.153.92.5.156",
            // The credentials for logging in
            "username": "focus",
            "password": "OIRTnp41"
        },
        // 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.xmpp.domain",
            "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.xmpp.domain",
            "username": "username",
            "password": "password"
        },
        // 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"
    }
]

}`

and what is the content of finalize_recording.sh ? can i leave it blank ? i just copy the example from jitsi github, is it ok ?

and here is where i install my jitsi just in case you wanna see https://153.92.5.156/ its ok cause i use this vps only to learn jitsi

thanks for your help,

abangadit commented 5 years ago

do mind if i buy you a cofee / beer ? please tell me your paypal account

bbaldino commented 5 years ago

I think I remember smack not being happy with an ip address for the domain. If there was an issue with it though it should show up in the jibri logs.

abangadit commented 5 years ago

I think I remember smack not being happy with an ip address for the domain. If there was an issue with it though it should show up in the jibri logs.

ok, so i have to use domain name instead of ip address ? i'll try it thanks

abangadit commented 5 years ago

Use Ubuntu 18.04 or 16.04. Edit the file /etc/apt/sources.list.d/jitsi-stable.list to be deb https://download.jitsi.org unstable/. Then do

apt update 
apt install jitsi-meet

You can use centos, but you are on your own there, you need to do a ton of configurations cause you cannot use the debian packages and their configuration scripts.

Hi, i am sorry, i have another question, can i install jitsi and jibri on the same server ? (that's what i did) but after watch video tutorial here https://www.youtube.com/watch?v=OHHoqKCjJ0E it says that i need to install jibri on different server ?

thanks,

aaronkvanmeerten commented 5 years ago

It is not recommended, as jibri-spawned chrome uses quite a bit of CPU, as does the jitsi-videobridge. Your best performance will be if they are on separate instances.

marcoadasilvaa commented 5 years ago

@abangadit Hello, you can solve this issue? I have the same problem. Thax

henhito commented 4 years ago

I have a similar issue here are my log files

jicofo.log

Got Jibri status update: Jibri jibribrewery@internal.auth.meet.mogokdhamma.co.uk/jibri has status off and failure reason error, current Jibri jid is jibribrewery@internal.auth.meet.mogokdhamma.co.uk/jibri Jicofo 2020-08-27 00:27:43.938 INFO: [114] org.jitsi.jicofo.recording.jibri.JibriSession.log() Jibri is no longer pending, cancelling pending timeout task Jicofo 2020-08-27 00:27:43.938 INFO: [114] org.jitsi.jicofo.recording.jibri.JibriSession.log() Jibri failed, trying to fall back to another Jibri Jicofo 2020-08-27 00:27:43.938 SEVERE: [114] org.jitsi.jicofo.recording.jibri.JibriSession.log() Unable to find an available Jibri, can't start Jicofo 2020-08-27 00:27:43.939 INFO: [114] org.jitsi.jicofo.recording.jibri.JibriSession.log() Failed to fall back to another Jibri, this session has now failed: org.jitsi.jicofo.recording.jibri.JibriSession$StartException: No Jibris available org.jitsi.jicofo.recording.jibri.JibriSession$StartException: No Jibris available at org.jitsi.jicofo.recording.jibri.JibriSession.startInternal(JibriSession.java:362) at org.jitsi.jicofo.recording.jibri.JibriSession.start(JibriSession.java:335) at org.jitsi.jicofo.recording.jibri.JibriSession.retryRequestWithAnotherJibri(JibriSession.java:642) at org.jitsi.jicofo.recording.jibri.JibriSession.handleJibriStatusUpdate(JibriSession.java:712) at org.jitsi.jicofo.recording.jibri.JibriSession.access$600(JibriSession.java:49) at org.jitsi.jicofo.recording.jibri.JibriSession$JibriEventHandler.handleEvent(JibriSession.java:820) at org.jitsi.eventadmin.EventAdminImpl.callEventHandler(EventAdminImpl.java:209) at org.jitsi.eventadmin.EventAdminImpl.access$000(EventAdminImpl.java:35) at org.jitsi.eventadmin.EventAdminImpl$1.run(EventAdminImpl.java:189) at java.util.concurrent.Executors$RunnableAdapter.call(java.base@9-internal/Executors.java:514) at java.util.concurrent.FutureTask.run(java.base@9-internal/FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9-internal/ThreadPoolExecutor.java:1158) at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9-internal/ThreadPoolExecutor.java:632) at java.lang.Thread.run(java.base@9-internal/Thread.java:804) Jicofo 2020-08-27 00:27:43.939 INFO: [114] org.jitsi.jicofo.recording.jibri.JibriRecorder.log() Got jibri status off and failure error

log.0.txt

2020-08-27 00:27:24.542 FINE: [94] org.jitsi.jibri.selenium.pageobjects.CallPage.visit() Visiting url https://meet.mogokdhamma.co.uk/hatton#config.iAmRecorder=true&config.externalConnectUrl=null&config.startWithAudioMuted=true&config.startWithVideoMuted=true&interfaceConfig.APP_NAME="Jibri"&config.analytics.disabled=true&config.p2p.enabled=false&config.prejoinPageEnabled=false&config.requireDisplayName=false 2020-08-27 00:27:25.711 FINE: [94] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:27:26.224 FINE: [94] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:27:26.734 FINE: [94] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:27:27.242 FINE: [94] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:27:27.752 FINE: [94] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:27:28.260 FINE: [94] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:27:28.768 FINE: [94] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined

2020-08-27 00:27:52.080 INFO: [1] org.jitsi.jibri.Main.main() Using port 2222 for HTTP API 2020-08-27 00:27:52.126 WARNING: [53] org.jitsi.xmpp.mucclient.MucClient.log() Disabling certificate verification! 2020-08-27 00:27:52.407 INFO: [53] org.jitsi.xmpp.mucclient.MucClient.log() Connected. 2020-08-27 00:27:52.407 INFO: [53] org.jitsi.xmpp.mucclient.MucClient.log() Logging in. 2020-08-27 00:27:52.587 INFO: [53] org.jitsi.xmpp.mucclient.MucClient.log() Joined MUC: jibribrewery@internal.auth.meet.mogokdhamma.co.uk 2020-08-27 00:28:51.099 FINE: [41] org.jitsi.jibri.webhooks.v1.WebhookClient.invokeSuspend() Updating 0 subscribers of status

browser.0.txt

"level": "SEVERE", "message": "https://meet.mogokdhamma.co.uk/libs/lib-jitsi-meet.min.js?v=4289 9:26473 \"2020-08-27T00:18:38.369Z\" \"[JitsiMeetJS.js]\" \"\u003CObject.getGlobalOnErrorHandler>: \" \"UnhandledError: null\" \"Script: null...", "source": "console-api", "timestamp": 1.598487518745e+12 }, { "level": "SEVERE", "message": "https://meet.mogokdhamma.co.uk/libs/lib-jitsi-meet.min.js?v=4289 9:26473 \"2020-08-27T00:18:38.370Z\" \"[modules/xmpp/strophe.util.js]\" \"\u003CObject.r.Strophe.log>: \" \"Strophe: BOSH-Connection failed...", "source": "console-api", "timestamp": 1.598487518745e+12 }, { "level": "SEVERE", "message": "https://meet.mogokdhamma.co.uk/libs/app.bundle.min.js?v=4289 71:36233 \"2020-08-27T00:18:38.377Z\" \"[connection.js]\" \"\u003Ca.o>: \" \"CONNECTION FAILED:\" \"connection.otherError\"", "source": "console-api", "timestamp": 1.598487518745e+12 }, "..." ]

bbaldino commented 4 years ago

Is that jibri log unedited? The sudden stop of logs regarding the call joining is odd (it looks like it was forcibly restarted maybe?)

henhito commented 4 years ago

here is the undedit logs

2020-08-27 00:33:18.199 INFO: [93] org.jitsi.jibri.api.xmpp.XmppApi.handleJibriIq() Received JibriIq from environment [MucClient id=meet.mogokdhamma.co.uk hostname=meet.mogokdhamma.co.uk] 2020-08-27 00:33:18.207 INFO: [93] org.jitsi.jibri.api.xmpp.XmppApi.handleStartJibriIq() Received start request, starting service 2020-08-27 00:33:18.210 INFO: [93] org.jitsi.jibri.api.xmpp.XmppApi.handleStartService() Parsed call url info: CallUrlInfo(baseUrl=https://meet.mogokdhamma.co.uk, callName=hatton, urlParams=[]) 2020-08-27 00:33:18.218 INFO: [93] org.jitsi.jibri.JibriManager.startStreaming() Starting a stream with params: ServiceParams(usageTimeoutMinutes=0, appData=null) StreamingParams(callParams=CallParams(callUrlInfo=CallUrlInfo(baseUrl=https://meet.mogokdhamma.co.uk, callName=hatton, urlParams=[])), sessionId=mwtkumzwqkijdkkw, callLoginParams=XmppCredentials(domain=recorder.xmpp.meet.mogokdhamma.co.uk, username=recorder, password=Rec0rderP@ssw0rd), youTubeStreamKey=7dhp-58x7-rr4m-peyr-a4f2, youTubeBroadcastId=null) 2020-08-27 00:33:18.247 FINE: [93] org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.() Detected os as OS: LINUX 2020-08-27 00:33:18.264 FINE: [93] org.jitsi.jibri.config.debug() ConfigSourceSupplier: Trying to retrieve key 'jibri.chrome.flags' from source 'config' as type kotlin.collections.List 2020-08-27 00:33:18.270 FINE: [93] org.jitsi.jibri.config.debug() ConfigSourceSupplier: Successfully retrieved key 'jibri.chrome.flags' from source 'config' as type kotlin.collections.List 2020-08-27 00:33:19.423 INFO: [93] org.openqa.selenium.remote.ProtocolHandshake.createSession() Detected dialect: OSS 2020-08-27 00:33:19.452 INFO: [93] org.jitsi.jibri.selenium.JibriSelenium.() Starting empty call check with a timeout of PT30S 2020-08-27 00:33:19.469 FINE: [93] org.jitsi.jibri.statsd.JibriStatsDClient.incrementCounter() Incrementing statsd counter: start:live_stream 2020-08-27 00:33:19.471 INFO: [93] org.jitsi.jibri.status.JibriStatusManager.log() Busy status has changed: IDLE -> BUSY 2020-08-27 00:33:19.472 FINE: [93] org.jitsi.jibri.webhooks.v1.WebhookClient.invokeSuspend() Updating 0 subscribers of status 2020-08-27 00:33:19.473 INFO: [93] org.jitsi.jibri.api.xmpp.XmppApi.updatePresence() Jibri reports its status is now JibriStatus(busyStatus=BUSY, health=OverallHealth(healthStatus=HEALTHY, details={})), publishing presence to connections 2020-08-27 00:33:19.493 INFO: [93] org.jitsi.jibri.api.xmpp.XmppApi.handleStartJibriIq() Sending 'pending' response to start IQ 2020-08-27 00:33:20.935 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.visit() Visiting url https://meet.mogokdhamma.co.uk/hatton#config.iAmRecorder=true&config.externalConnectUrl=null&config.startWithAudioMuted=true&config.startWithVideoMuted=true&interfaceConfig.APP_NAME="Jibri"&config.analytics.disabled=true&config.p2p.enabled=false&config.prejoinPageEnabled=false&config.requireDisplayName=false 2020-08-27 00:33:22.233 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:22.750 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:23.261 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:23.771 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:24.281 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:24.791 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:25.300 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:25.813 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:26.329 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:26.841 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:27.352 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:27.865 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:28.374 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:28.881 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:29.390 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:29.898 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:30.411 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:30.921 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:31.430 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:31.939 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:32.450 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:32.958 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:33.469 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:33.976 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:34.485 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:34.995 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:35.504 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:36.011 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:36.523 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:36.918 INFO: [104] org.jitsi.jibri.api.xmpp.XmppApi.handleJibriIq() Received JibriIq from environment [MucClient id=meet.mogokdhamma.co.uk hostname=meet.mogokdhamma.co.uk] 2020-08-27 00:33:36.920 FINE: [104] org.jitsi.jibri.statsd.JibriStatsDClient.incrementCounter() Incrementing statsd counter: stop:live_stream 2020-08-27 00:33:36.925 INFO: [104] org.jitsi.jibri.JibriManager.stopService() Stopping the current service 2020-08-27 00:33:36.926 INFO: [104] org.jitsi.jibri.service.impl.StreamingJibriService.stop() Stopping capturer 2020-08-27 00:33:36.927 INFO: [104] org.jitsi.jibri.util.JibriSubprocess.ffmpeg.stop() Stopping ffmpeg process 2020-08-27 00:33:36.928 INFO: [104] org.jitsi.jibri.util.JibriSubprocess.ffmpeg.stop() ffmpeg exited with value null 2020-08-27 00:33:36.931 INFO: [104] org.jitsi.jibri.service.impl.StreamingJibriService.stop() Stopped capturer 2020-08-27 00:33:36.931 INFO: [104] org.jitsi.jibri.service.impl.StreamingJibriService.stop() Quitting selenium 2020-08-27 00:33:36.932 INFO: [104] org.jitsi.jibri.selenium.JibriSelenium.leaveCallAndQuitBrowser() Leaving call and quitting browser 2020-08-27 00:33:36.932 INFO: [104] org.jitsi.jibri.selenium.JibriSelenium.leaveCallAndQuitBrowser() Recurring call status checks cancelled 2020-08-27 00:33:36.969 INFO: [104] org.jitsi.jibri.selenium.JibriSelenium.leaveCallAndQuitBrowser() Got 11 log entries for type browser 2020-08-27 00:33:37.029 FINE: [106] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined 2020-08-27 00:33:37.091 INFO: [104] org.jitsi.jibri.selenium.JibriSelenium.leaveCallAndQuitBrowser() Got 667 log entries for type driver 2020-08-27 00:33:37.288 INFO: [104] org.jitsi.jibri.selenium.JibriSelenium.leaveCallAndQuitBrowser() Got 0 log entries for type client 2020-08-27 00:33:37.289 INFO: [104] org.jitsi.jibri.selenium.JibriSelenium.leaveCallAndQuitBrowser() Leaving web call 2020-08-27 00:33:37.343 INFO: [104] org.jitsi.jibri.selenium.JibriSelenium.leaveCallAndQuitBrowser() Quitting chrome driver 2020-08-27 00:33:37.472 INFO: [104] org.jitsi.jibri.selenium.JibriSelenium.leaveCallAndQuitBrowser() Chrome driver quit 2020-08-27 00:33:37.473 INFO: [104] org.jitsi.jibri.service.impl.StreamingJibriService.stop() Quit selenium 2020-08-27 00:33:37.474 FINE: [104] org.jitsi.jibri.config.debug() FallbackSupplier: checking for value via suppliers: LambdaSupplier: 'JibriConfig::singleUseMode'

henhito commented 4 years ago

log.2.txt here is the whole log file

bbaldino commented 4 years ago

The Jibri in those logs was told to stop before it was able to join the call--though it's quite possible joining the call was going to fail. This could be an auth problem. Can you attach the entire browser log as well?

henhito commented 4 years ago

browser.4.txt

bbaldino commented 4 years ago

Ok, I think this might be your problem Error: Strophe: BOSH-Connection failed: host-unknown. But I'm not sure why that would affect Jibri and not other users. @damencho any ideas?

aaronkvanmeerten commented 4 years ago

Is the public address of the site different than the one that jibri is trying to connect to? We've seen this problem when jibri assume the xmpp domain name is the web accessible DNS domain as well.

henhito commented 4 years ago

// The xmpp domain we'll connect to on the XMPP server "xmpp_domain": "meet.mogokdhamma.co.uk",

henhito commented 4 years ago

is that the setting?

aaronkvanmeerten commented 4 years ago

So there's two pieces. The xmpp_domain is the string that will be used when talking to the XMPP server. But then when the jibri starts selenium/chrome, it will generate a URL based on the incoming room name requested to be used, and assumes the base web URL is https://${xmpp_domain}

henhito commented 4 years ago

thanks, where do I fix that?

aaronkvanmeerten commented 4 years ago

Configure your jitsi meet instance (the prosody part, but also config.js in jitsi-meet) to use the same xmpp domain to match your web-accessible URL.

henhito commented 4 years ago

here are my config files

henhito commented 4 years ago

config.json.txt prosody.cfg.lua.txt

henhito commented 4 years ago

meet.mogokdhamma.co.uk-config.js.txt

aaronkvanmeerten commented 4 years ago

This all looks correct to me. There's nothing immediately obvious to me about what is wrong with your configuration. I'll continue to review but maybe some of the other team can also help debug. It appears somehow when jibri joins it gets the wrong configuration as @bbaldino point out above.

henhito commented 4 years ago

i had a think, and i added the fqdn in the hosts file for 127.0.0.1 and i think its moved the issue along

henhito commented 4 years ago

browser.0.txt log.0.txt

henhito commented 4 years ago

here are the latest logs

henhito commented 4 years ago

my jibri.conf looks like this is that ok or needs editing and if so is there a working example.

cat jibri.conf.old jibri { }

henhito commented 4 years ago

any further ideas on how to fix my issues?

bbaldino commented 4 years ago

I see this in your browser logs:

"\u003CObject.getGlobalOnErrorHandler>: " "UnhandledError: null" "Script: null" "Line: null" "Column: null" "StackTrace: " Error: Strophe: BOSH-Connection failed: host-unknown
    at Object.r.Strophe.log (https://meet.mogokdhamma.co.uk/libs/lib-jitsi-meet.min.js?v=4289:17:15232)
    at Object.error (https://meet.mogokdhamma.co.uk/libs/lib-jitsi-meet.min.js?v=4289:1:18628)
    at P.Bosh._connect_cb (https://meet.mogokdhamma.co.uk/libs/lib-jitsi-meet.min.js?v=4289:1:46162)
    at I.Connection._connect_cb (https://meet.mogokdhamma.co.uk/libs/lib-jitsi-meet.min.js?v=4289:1:30883)
    at P.Bosh._onRequestStateChange (https://meet.mogokdhamma.co.uk/libs/lib-jitsi-meet.min.js?v=4289:1:50018)
henhito commented 4 years ago

what do i need to resolve that?