Session not created: cannot connect to chrome at localhost:9222

It seems like your Chrome or Edge Chromium Webdriver is not up to date with your current browser. Please go to Tools > Update webdrivers to upgrade and try again

For trouble shooting, please visit: https://docs.katalon.com/katalon-studio/docs/troubleshooting.html

08-05-2024 05:05:26 PM Test Cases/

Elapsed time: 57.692s


Reason:
org.openqa.selenium.SessionNotCreatedException: session not created: cannot connect to chrome at localhost:9222
from session not created: This version of ChromeDriver only supports Chrome version 127
Current browser version is 125.0.6422.142
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'XYZ', ip: 'XYZ, os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '17.0.8.1'
Driver info: driver.version: unknown
remote stacktrace: 	GetHandleVerifier [0x00007FF6C7DD9632+30946]
	(No symbol) [0x00007FF6C7D8E3C9]
	(No symbol) [0x00007FF6C7C86FDA]
	(No symbol) [0x00007FF6C7CC7341]
	(No symbol) [0x00007FF6C7CC6598]
	(No symbol) [0x00007FF6C7CBBD0B]
	(No symbol) [0x00007FF6C7D078B9]
	(No symbol) [0x00007FF6C7D06F20]
	(No symbol) [0x00007FF6C7CFC813]
	(No symbol) [0x00007FF6C7CCA6E5]
	(No symbol) [0x00007FF6C7CCB021]
	GetHandleVerifier [0x00007FF6C7F0F83D+1301229]
	GetHandleVerifier [0x00007FF6C7F1BDB7+1351783]
	GetHandleVerifier [0x00007FF6C7F12A03+1313971]
	GetHandleVerifier [0x00007FF6C7E0DD06+245686]
	(No symbol) [0x00007FF6C7D9758F]
	(No symbol) [0x00007FF6C7D93804]
	(No symbol) [0x00007FF6C7D93992]
	(No symbol) [0x00007FF6C7D8A3EF]
	BaseThreadInitThunk [0x00007FFCD7297374+20]
	RtlUserThreadStart [0x00007FFCD789CC91+33]

Command duration or timeout: 793 milliseconds
	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 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.<init>(RemoteWebDriver.java:131)
	at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:144)
	at workmodel.driver.ChromeManager.createDriver(ChromeManager.groovy:26)
	at workmodel.driver.ChromeManager$createDriver.call(Unknown Source)
	at workmodel.pages.call.callPopup.switchToAddOrUpdateCallPopup(callPopup.groovy:48)
	at workmodel.base.WindowBase.invokeMethod(WindowBase.groovy)
	at com.kms.katalon.core.main.CustomKeywordDelegatingMetaClass.invokeStaticMethod(CustomKeywordDelegatingMetaClass.java:55)
	at TC_255114_Verify multiple incidnets created from addCall Popup.createCallFromGeo(TC_255114_Verify multiple incidnets created from addCall Popup:164)
	at TC_255114_Verify multiple incidnets created from addCall Popup.run(TC_255114_Verify multiple incidnets created from addCall Popup:30)
	at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
	at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
	at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:448)
	at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:439)
	at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:418)
	at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:410)
	at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:285)
	at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:144)
	at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:135)
	at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
	at TempTestCase1722857721911.run(TempTestCase1722857721911.groovy:25)
Caused by: org.openqa.selenium.SessionNotCreatedException: session not created: cannot connect to chrome at localhost:9222
from session not created: This version of ChromeDriver only supports Chrome version 127
Current browser version is 125.0.6422.142
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'G6T2L5G3E', ip: '192.168.0.100', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '17.0.8.1'
Driver info: driver.version: unknown
remote stacktrace: 	GetHandleVerifier [0x00007FF6C7DD9632+30946]
	(No symbol) [0x00007FF6C7D8E3C9]
	(No symbol) [0x00007FF6C7C86FDA]
	(No symbol) [0x00007FF6C7CC7341]
	(No symbol) [0x00007FF6C7CC6598]
	(No symbol) [0x00007FF6C7CBBD0B]
	(No symbol) [0x00007FF6C7D078B9]
	(No symbol) [0x00007FF6C7D06F20]
	(No symbol) [0x00007FF6C7CFC813]
	(No symbol) [0x00007FF6C7CCA6E5]
	(No symbol) [0x00007FF6C7CCB021]
	GetHandleVerifier [0x00007FF6C7F0F83D+1301229]
	GetHandleVerifier [0x00007FF6C7F1BDB7+1351783]
	GetHandleVerifier [0x00007FF6C7F12A03+1313971]
	GetHandleVerifier [0x00007FF6C7E0DD06+245686]
	(No symbol) [0x00007FF6C7D9758F]
	(No symbol) [0x00007FF6C7D93804]
	(No symbol) [0x00007FF6C7D93992]
	(No symbol) [0x00007FF6C7D8A3EF]
	BaseThreadInitThunk [0x00007FFCD7297374+20]
	RtlUserThreadStart [0x00007FFCD789CC91+33]

Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'G6T2L5G3E', ip: '192.168.0.100', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_282'
Driver info: driver.version: unknown
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
	at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0(W3CHandshakeResponse.java:62)
	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 org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)
	at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:74)
	at org.openqa.selenium.grid.session.remote.RemoteSession$Factory.performHandshake(RemoteSession.java:147)
	at org.openqa.selenium.grid.session.remote.ServicedSession$Factory.apply(ServicedSession.java:161)
	at org.openqa.selenium.remote.server.ActiveSessionFactory.lambda$apply$12(ActiveSessionFactory.java:180)
	at org.openqa.selenium.remote.server.ActiveSessionFactory.apply(ActiveSessionFactory.java:183)
	at org.openqa.selenium.remote.server.NewSessionPipeline.lambda$null$2(NewSessionPipeline.java:66)
	at org.openqa.selenium.remote.server.NewSessionPipeline.lambda$createNewSession$3(NewSessionPipeline.java:69)
	at org.openqa.selenium.remote.server.NewSessionPipeline.createNewSession(NewSessionPipeline.java:72)
	at org.openqa.selenium.remote.server.commandhandler.BeginSession.execute(BeginSession.java:65)
	at org.openqa.selenium.remote.server.WebDriverServlet.lambda$handle$0(WebDriverServlet.java:235)

Hi there,

Thank you very much for your topic. Please note that it may take a little while before a member of our community or from Katalon team responds to you.

Thanks!

Hi @vijay.b1,

Welcome to our community. Thank you for sharing your issue, can you please help provide more information for troubleshooting: KS version, ChromeDriver version, OS, steps to reproduce, …? Would you mind upgrading KS and Chrome to the latest version and rerun to see if it works? Thank you!

Kindly format your code snippet or error trace for easier readability Use Code Formatting feature in your posts

1 Like

kindly upgrade your chrome version to 127 and try to rerun the test case again

1 Like