I am using self-hosted in Oracle Linux 8.4
My Jitsi-Meet, JVB, Jicofo, Coturn all running fine, and currently I am having issue on the Jibri and no idea how to further troubleshoot.
Jibri - taken master branch from github as at 2022-01-25.
Problem:
When I clicked on the Start recording
button, after some seconds, around 5 seconds and the Jitsi-Meet shows error in the browser on failed recording.
Investigation Taken:
I check at my Jibri log (see below for my Jibri log) and found that Selenium reported error on Chrome failed and crashed.
At first I thought may be is my problem on the version mismatch on Google Chrome and Chrome Driver.
I checked and both are same.
# google-chrome --version
Google Chrome 97.0.4692.99
# chromedriver --version
ChromeDriver 97.0.4692.71 (adefa7837d02a07a604c1e6eff0b3a09422ab88d-refs/branch-heads/4692@{#1247})
Then next I further investigate using python to trigger the chromedriver using Selenium and it works fine.
# cat test-selenium.py
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
CHROMEDRIVER_PATH = '/usr/bin/chromedriver'
WINDOW_SIZE = "1920,1080"
chrome_options = Options()
chrome_options.add_argument("--window-size=%s" % WINDOW_SIZE)
chrome_options.add_argument('--no-sandbox')
driver = webdriver.Chrome(executable_path=CHROMEDRIVER_PATH,
chrome_options=chrome_options
)
driver.get("https://www.google.com")
print(driver.title)
driver.close()
# python test-selenium.py
Google
Any suggestion for me to further check what probably my mistake for me to look into ?
My current Java version.
# java -version
openjdk version "11.0.9.1" 2020-11-04 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.9.1+1-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.9.1+1-LTS, mixed mode)
jibri01 2022-01-25 14:39:47.913 FINEST: [50] sun.net.www.http.HttpClient.logFinest: KeepAlive stream used: http://localhost:27466/status
jibri01 2022-01-25 14:39:47.918 FINE: [50] sun.net.www.protocol.http.HttpURLConnection.getInputStream0: sun.net.www.MessageHeader@34f9b0504 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 264}{Content-Type: application/json; charset=utf-8}{cache-control: no-cache}
jibri01 2022-01-25 14:39:51.604 SEVERE: [48] XmppApi.handleStartJibriIq#226: Error starting Jibri service
org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: crashed.
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
(Driver info: chromedriver=97.0.4692.71 (adefa7837d02a07a604c1e6eff0b3a09422ab88d-refs/branch-heads/4692@{#1247}),platform=Linux 5.4.17-2102.201.3.el8uek.x86_64 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 3.05 seconds
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'jitsi', ip: '192.168.83.228', os.name: 'Linux', os.arch: 'amd64', os.version: '5.4.17-2102.201.3.el8uek.x86_64', java.version: '11.0.9.1'
Driver info: driver.version: ChromeDriver
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)