Skip to content

[πŸ› Bug]: After a Timeout exception : Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. Host info: host: 'fv-az395-540', ip: '10.1.0.38'Β #14356

@HrishikeshRangdale-gep

Description

@HrishikeshRangdale-gep

What happened?

System info: os.name: 'Windows Server 2022', os.arch: 'amd64', os.version: '10.0', java.version: '17.0.12'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 127.0.6533.73, chrome: {chromedriverVersion: 127.0.6533.72 (9755e24ca85a..., userDataDir: C:\Windows\SystemTemp\scope...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:49178}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: windows, proxy: Proxy(), se:cdp: ws://localhost:49178/devtoo..., se:cdpVersion: 127.0.6533.73, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: db87a3f3bcb1d88a7ed9da8db9e8f8e3
at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:84) ~[selenium-support-4.23.0.jar:?]
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:228) ~[selenium-support-4.23.0.jar:?]
at com.gep.utils.selenium.RenderPageObjectView.waitForPresenceOf(RenderPageObjectView.java:214) ~[smarttest-seleniumcore-QC_LEO-SNAPSHOT.jar:QC_LEO-SNAPSHOT]
... 31 more
Element with By.xpath: //span[@id='nexx-btn-Accept']/a|//button[@id='buttonText']|//dm-button//span[@id='nexx-btn-Approve']|//div[@ROLE='listbox']/descendant::a[normalize-space(text())='Accept']|//span[@id='nexx-btn-btnAccept']/a|//span[@id='nexx-btn-reviewaccept']|//span[@id='nexx-btn-fixedassetaccept']|//li[normalize-space(text())='Accept']|//div[normalize-space(text())='Accept'] was not loaded in specified timeout of 120 seconds kindly refer attached screenshot for more clearification
Running test 9 : P2P\InvoiceCM\TC_E2ECreateCreditMemo.smarttest.xml
Aug 08, 2024 8:14:55 AM org.openqa.selenium.concurrent.ExecutorServices shutdownGracefully
WARNING: Failed to shutdown Driver Service Executor
java.lang.InterruptedException

How can we reproduce the issue?

after a script fails due to timeoutexception, the new sessions are not getting started and job gets stuck for long time

Aug 08, 2024 8:14:55 AM org.openqa.selenium.concurrent.ExecutorServices shutdownGracefully
WARNING: Failed to shutdown Driver Service Executor
java.lang.InterruptedException

Relevant log output

System info: os.name: 'Windows Server 2022', os.arch: 'amd64', os.version: '10.0', java.version: '17.0.12'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 127.0.6533.73, chrome: {chromedriverVersion: 127.0.6533.72 (9755e24ca85a..., userDataDir: C:\Windows\SystemTemp\scope...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:49178}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: windows, proxy: Proxy(), se:cdp: ws://localhost:49178/devtoo..., se:cdpVersion: 127.0.6533.73, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: db87a3f3bcb1d88a7ed9da8db9e8f8e3
	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:84) ~[selenium-support-4.23.0.jar:?]
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:228) ~[selenium-support-4.23.0.jar:?]
	at com.gep.utils.selenium.RenderPageObjectView.waitForPresenceOf(RenderPageObjectView.java:214) ~[smarttest-seleniumcore-QC_LEO-SNAPSHOT.jar:QC_LEO-SNAPSHOT]
	... 31 more
Element  with By.xpath: //span[@id='nexx-btn-Accept']/a|//button[@id='buttonText']|//dm-button//span[@id='nexx-btn-Approve']|//div[@role='listbox']/descendant::a[normalize-space(text())='Accept']|//span[@id='nexx-btn-btnAccept']/a|//span[@id='nexx-btn-reviewaccept']|//span[@id='nexx-btn-fixedassetaccept']|//li[normalize-space(text())='Accept']|//div[normalize-space(text())='Accept'] was not loaded in specified timeout of 120 seconds kindly refer attached screenshot for more clearification
Running test 9 : P2P\InvoiceCM\TC_E2ECreateCreditMemo.smarttest.xml
Aug 08, 2024 8:14:55 AM org.openqa.selenium.concurrent.ExecutorServices shutdownGracefully
WARNING: Failed to shutdown Driver Service Executor
java.lang.InterruptedException

Operating System

Windows Server 2022 (20240729) Image Update

Selenium version

4.23 and 4.22

What are the browser(s) and version(s) where you see this issue?

chrome 127.0.6533.73

What are the browser driver(s) and version(s) where you see this issue?

127.0.6533.72 and 127.0.6533.99

Are you using Selenium Grid?

no

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-defectSomething is not working as intendedJ-issue-templateApplied to issues not following the template, or missing information.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions