# NoSuchSessionException: invalid session id (while running from docker)

**URL:** <https://forum.katalon.com/t/nosuchsessionexception-invalid-session-id-while-running-from-docker/65034>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [May 13, 2022, 6:03am UTC](https://forum.katalon.com/t/nosuchsessionexception-invalid-session-id-while-running-from-docker/65034 "2022-05-13T06:03:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sudip.ray](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/sudip.ray/32/23869_2.png) [@sudip.ray](https://forum.katalon.com/u/sudip.ray)\
**Post date:** [May 13, 2022, 6:03am UTC](https://forum.katalon.com/t/nosuchsessionexception-invalid-session-id-while-running-from-docker/65034/1 "2022-05-13T06:03:25Z")

</div>

2022-05-13 04:32:25.349 WARN c.k.k.c.webui.common.WebUiCommonHelper - [SELF-HEALING] invalid session id  
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’  
System info: host: ‘4c91e9bbfce7’, ip: ‘172.17.0.2’, os.name: ‘Linux’, os.arch: ‘amd64’, os.version: ‘5.13.0-41-generic’, java.version: ‘1.8.0\_292’  
Driver info: com.kms.katalon.selenium.driver.CChromeDriver  
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 100.0.4896.88, chrome: {chromedriverVersion: 100.0.4896.60 (6a5d10861ce8…, userDataDir: /tmp/.com.google.Chrome.raN1vj}, goog:chromeOptions: {debuggerAddress: localhost:38403}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}  
Session ID: 0611303360d61233dd753bbbdcf09b0a  
\*\*\* Element info: {Using=xpath, value=//mat-checkbox[@id=‘mat-checkbox-65’]/label/span}  
2022-05-13 04:32:25.359 WARN c.k.k.c.webui.common.WebUiCommonHelper - [SELF-HEALING] invalid session id  
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’  
System info: host: ‘4c91e9bbfce7’, ip: ‘172.17.0.2’, os.name: ‘Linux’, os.arch: ‘amd64’, os.version: ‘5.13.0-41-generic’, java.version: ‘1.8.0\_292’  
Driver info: com.kms.katalon.selenium.driver.CChromeDriver  
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 100.0.4896.88, chrome: {chromedriverVersion: 100.0.4896.60 (6a5d10861ce8…, userDataDir: /tmp/.com.google.Chrome.raN1vj}, goog:chromeOptions: {debuggerAddress: localhost:38403}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}  
Session ID: 0611303360d61233dd753bbbdcf09b0a  
\*\*\* Element info: {Using=xpath, value=id(“mat-checkbox-65”)/label[@class=“mat-checkbox-layout”]/span[@class=“mat-checkbox-inner-container”]}  
2022-05-13 04:32:25.367 WARN c.k.k.c.webui.common.WebUiCommonHelper - [SELF-HEALING] invalid session id  
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’  
System info: host: ‘4c91e9bbfce7’, ip: ‘172.17.0.2’, os.name: ‘Linux’, os.arch: ‘amd64’, os.version: ‘5.13.0-41-generic’, java.version: ‘1.8.0\_292’  
Driver info: com.kms.katalon.selenium.driver.CChromeDriver  
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 100.0.4896.88, chrome: {chromedriverVersion: 100.0.4896.60 (6a5d10861ce8…, userDataDir: /tmp/.com.google.Chrome.raN1vj}, goog:chromeOptions: {debuggerAddress: localhost:38403}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}  
Session ID: 0611303360d61233dd753bbbdcf09b0a  
\*\*\* Element info: {Using=css selector, value=span.mat-checkbox-inner-container}  
2022-05-13 04:32:25.372 WARN c.k.k.c.w.h.s.WebUIScreenCaptor - Cannot take screenshot  
2022-05-13 04:32:25.374 ERROR c.k.k.core.keyword.internal.KeywordMain - ? Unable to click on object ‘Object Repository/5. Certification Page/Page\_IDHub Application/span\_Catalog items need to be certified (6)\_0986bb’ (Root cause: com.kms.katalon.core.exception.StepFailedException: Unable to click on object ‘Object Repository/5. Certification Page/Page\_IDHub Application/span\_Catalog items need to be certified (6)\_0986bb’  
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:64)  
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:26)  
at com.kms.katalon.core.webui.keyword.builtin.ClickKeyword.click(ClickKeyword.groovy:74)  
at com.kms.katalon.core.webui.keyword.builtin.ClickKeyword.execute(ClickKeyword.groovy:40)  
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:74)  
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.click(WebUiBuiltInKeywords.groovy:620)  
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$click$3.call(Unknown Source)  
at 03.Certficaition Trigger.run(03.Certficaition Trigger:186)  
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:445)  
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:436)  
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:415)  
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:407)  
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:284)  
at com.kms.katalon.core.common.CommonExecutor.accessTestCaseMainPhase(CommonExecutor.java:65)  
at com.kms.katalon.core.main.TestSuiteExecutor.accessTestSuiteMainPhase(TestSuiteExecutor.java:144)  
at com.kms.katalon.core.main.TestSuiteExecutor.execute(TestSuiteExecutor.java:106)  
at com.kms.katalon.core.main.TestCaseMain.startTestSuite(TestCaseMain.java:185)  
at com.kms.katalon.core.main.TestCaseMain$startTestSuite$0.call(Unknown Source)  
at TempTestSuite1652416150395.run(TempTestSuite1652416150395.groovy:36)  
Caused by: org.openqa.selenium.NoSuchSessionException: invalid session id

---

<div class="post-metadata">

**Author:** ![ashraf.madina](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/ashraf.madina/32/20464_2.png) [@ashraf.madina](https://forum.katalon.com/u/ashraf.madina)\
**Post date:** [December 19, 2024, 3:38pm UTC](https://forum.katalon.com/t/nosuchsessionexception-invalid-session-id-while-running-from-docker/65034/2 "2024-12-19T15:38:02Z")

</div>

Why is there no solution to this issue? there’s like 5+ posts on this and WE are facing the same exact issue in 2025 almost.

---

<div class="post-metadata">

**Author:** ![joost.degeyndt](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/joost.degeyndt/32/15366_2.png) [@joost.degeyndt](https://forum.katalon.com/u/joost.degeyndt)\
**Post date:** [December 20, 2024, 12:36pm UTC](https://forum.katalon.com/t/nosuchsessionexception-invalid-session-id-while-running-from-docker/65034/3 "2024-12-20T12:36:45Z")

</div>

Hi @ashraf.madina,

There might be various reasons for that error.

Browsers most probably is not properly opened and thus no screenshot can be taken (and obviously the click action on your “5. Certification Page” will not happen).

Is a profile selected for your run?  
Perhaps your browser needs update?  
Perhaps driver needs update?  
For that last one, you can always try :

- locally = “Update WebDrivers”  

- via pipeline: use proper parameter “–config -webui.autoUpdateDrivers=true”  
More info: [Command-line syntax in Katalon Runtime Engine | Katalon Docs](https://docs.katalon.com/katalon-studio/execute-tests/katalon-runtime-engine/command-line-syntax-in-katalon-runtime-engine)
