My Jibri suddenly got error on
org.openqa.selenium.WebDriverException: unknown error: DevToolsActivePort file doesn’t exist
(Driver info: chromedriver=98.0.4758.102 (273bf7ac8c909cde36982d27f66f3c70846a3718-refs/branch-heads/4758@{#1151}),platform=Linux 5.4.0-105-generic x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 60.11 seconds
Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’
System info: host: ‘localhost’, ip: ‘127.0.0.1’, os.name: ‘Linux’, os.arch: ‘amd64’, os.version: ‘5.4.0-105-generic’, java.version: ‘1.8.0_312’
Driver info: driver.version: ChromeDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
at org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$new$0(JsonWireProtocolResponse.java:53)
at org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$getResponseFunction$2(JsonWireProtocolResponse.java:91)
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:123)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:499)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:486)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:531)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:126)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:73)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:136)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:543)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:207)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:130)
at org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:181)
at org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:168)
at org.jitsi.jibri.selenium.JibriSelenium.(JibriSelenium.kt:198)
at org.jitsi.jibri.selenium.JibriSelenium.(JibriSelenium.kt:168)
at org.jitsi.jibri.service.impl.FileRecordingJibriService.(FileRecordingJibriService.kt:109)
at org.jitsi.jibri.service.impl.FileRecordingJibriService.(FileRecordingJibriService.kt:102)
at org.jitsi.jibri.JibriManager.startFileRecording(JibriManager.kt:139)
at org.jitsi.jibri.api.xmpp.XmppApi.handleStartService(XmppApi.kt:308)
at org.jitsi.jibri.api.xmpp.XmppApi.handleStartJibriIq(XmppApi.kt:206)
at org.jitsi.jibri.api.xmpp.XmppApi.handleJibriIq(XmppApi.kt:178)
at org.jitsi.jibri.api.xmpp.XmppApi.handleIq(XmppApi.kt:160)
at org.jitsi.xmpp.mucclient.MucClient.handleIq(MucClient.java:533)
at org.jitsi.xmpp.mucclient.MucClient.access$300(MucClient.java:51)
at org.jitsi.xmpp.mucclient.MucClient$3.handleIQRequest(MucClient.java:496)
at org.jivesoftware.smack.AbstractXMPPConnection$3.run(AbstractXMPPConnection.java:1568)
at org.jivesoftware.smack.AbstractXMPPConnection$10.run(AbstractXMPPConnection.java:2146)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
I tried reinstalled my chrome and chrome driver on same version (version 98)
I added
“–disable-dev-shm-usage”
“–no-sandbox”
“–disable-setuid-sandbox”
also same problem.
I tried upgrade my Java to 11 also same issue.
but after I added
“–headless”
I able to record, but output is without video.
I checked from jitsi community got people solved with reinstall virtual machine, I hope got other method to solve instead of reinstall virtual machine.
- BEFORE THIS MY JIBRI WELL WITH NO ISSUE.
Current Jibri status
Mar 23 04:49:34 localhost systemd[1]: Started Jibri Process.
Mar 23 04:49:36 localhost launch.sh[10341]: SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”.
Mar 23 04:49:36 localhost launch.sh[10341]: SLF4J: Defaulting to no-operation (NOP) logger implementation
Mar 23 04:49:36 localhost launch.sh[10341]: SLF4J: See SLF4J Error Codes for further details.
Mar 23 04:52:14 localhost launch.sh[10341]: Starting ChromeDriver 98.0.4758.102 (273bf7ac8c909cde36982d27f66f3c70846a3718-refs/branch-heads/4758@{#1151}>
Mar 23 04:52:14 localhost launch.sh[10341]: Only local connections are allowed.
Mar 23 04:52:14 localhost launch.sh[10341]: Please see ChromeDriver - WebDriver for Chrome - Security Considerations for suggestions on keeping ChromeDriver>
Mar 23 04:52:14 localhost launch.sh[10341]: ChromeDriver was started successfully.
Thank in advance