Unable to create new service: ChromeDriverService

While running the jitsi torture test, im getting the error Driver info: driver.version: unknown Unable to create new service: ChromeDriverService. However i’ve added the chromedriver version 112.0.5615.49 and the google chrome is of also same version.

Attaching logs for reference:
Driver info: driver.version: unknown
Command duration or timeout: 106 milliseconds
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
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$errorHandler$0(JsonWireProtocolResponse.java:54)
at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:74)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:136)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:144)
at org.jitsi.meet.test.web.WebParticipantFactory.startWebDriver(WebParticipantFactory.java:346)
at org.jitsi.meet.test.web.WebParticipantFactory.doCreateParticipant(WebParticipantFactory.java:122)
at org.jitsi.meet.test.web.WebParticipantFactory.doCreateParticipant(WebParticipantFactory.java:38)
at org.jitsi.meet.test.base.ParticipantFactory.createParticipant(ParticipantFactory.java:35)
at org.jitsi.meet.test.base.ParticipantHelper.createParticipant(ParticipantHelper.java:162)
at org.jitsi.meet.test.base.ParticipantHelper.createParticipant(ParticipantHelper.java:113)
at org.jitsi.meet.test.MalleusJitsificus$MalleusTask.join(MalleusJitsificus.java:612)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
… 3 more
Caused by: org.openqa.selenium.SessionNotCreatedException: Unable to create new service: ChromeDriverService
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘vsf-jitsi-jitsitorture’, ip: ‘10.60.16.16’, os.name: ‘Linux’, os.arch: ‘amd64’, os.version: ‘5.4.0-1105-azure’, java
.version: ‘11.0.18’

Kindly, help asap as im setting this for production.

Have you tried an older Chrome version? I know we ran into some issues around 110-112 IIRC.

I tried to use 94 version for chromedriver. But version 94 for google chrome is not present to be downloaded and installed. i tried to do the same using ** ```
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

I again tried to use 112 version itself and now the error is changed. Can you please help me in this. 

Caused by: org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: exited abnormally.
  (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 cra
shed.)
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'vsf-jitsi-jitsitorture', ip: '10.60.16.16', os.name: 'Linux', os.arch: 'amd64', os.version: '5.4.0-1106-azure', java
.version: '11.0.18'
Driver info: driver.version: unknown


**ps -ef|grep chrome**
**root     10298  2841  0 10:20 pts/0    00:00:04 java -Dwebdriver.chrome.driver=/usr/bin/chromedriver -jar selenium-server-standalone-3.1**
**41.59.jar -role node -maxSession 1 -hub http://localhost:4444/grid/register/ -browser browserName=chrome,version=112,platform=Linux,maxI**
**nstances=1**
**root     11230  9335  0 10:33 pts/0    00:00:00 /usr/bin/chromedriver --port=26167**
**root     11447  9335  0 10:35 pts/0    00:00:00 /usr/bin/chromedriver --port=28877**
**root     11448  9335  0 10:35 pts/0    00:00:00 /usr/bin/chromedriver --port=15402**

What are the resources of the machine where you try to run chrome? How many cores and RAM is available for chrome? Recommended is 4cores and 4GB of RAM per instance.

Im using Standard D8lds v5 (8 vcpus, 16 GiB memory) vm single instance.

@damencho Can you please help me in resolving this, as im setting it up in my production environment.

How many chrome instance you try to load there?

only 2

Are you using the correct chromedriver?

@damencho
$chromedriver --version
ChromeDriver 112.0.5615.49 (bd2a7bcb881c11e8cfe3078709382934e3916914-refs/branch-heads/5615@{#936})
$google-chrome --version
Google Chrome 112.0.5615.121

however the config.json files created through docker (example path of one is given below) has the version as 94.0.4606.41, which is generated on its own. But i checked by changing the version there as well, its still the same error im getting.
/var/lib/docker/overlay2/4d690ffd8711530c4c2c801b956dafe0d62554ea75d4549eae7c04da06ec1a06/diff/opt/selenium/config.json

the config changes were required for the ip was not passed in selenium script, now working fine. Thanks @damencho