Skip to content

[🐛 Bug]: The HTTP request to the remote WebDriver server for URL http://localhost:62501/session timed out after 60 seconds. #15704

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
samuelhentrics opened this issue May 6, 2025 · 3 comments
Labels
C-dotnet .NET Bindings D-chrome G-chromedriver Requires fixes in ChromeDriver I-defect Something is not working as intended I-regression Something was working but we "fixed" it J-awaiting answer Question asked of user; a reply moves it to triage again OS-windows

Comments

@samuelhentrics
Copy link

samuelhentrics commented May 6, 2025

Description

Hello, this morning my PC update Chrome to 136.0.7103.49 and now Selenium don't work it fail (i've got the chromedriver 136.0.7103.49). I don't know why. The last version of chrome was 135.0.7049.114 were it work.
I try to add the parameter options.AddArgument("--remote-debugging-pipe"); but it don't work also...
Can you help me please
Thanks

Reproducible Code

ChromeOptions options = new ChromeOptions();
 options.AddArgument("--headless"); 
 options.AddArgument("--no-sandbox");
 options.AddArgument("--disable-dev-shm-usage");
 options.AddArgument("--remote-debugging-pipe");


 ChromeDriverService service = ChromeDriverService.CreateDefaultService();
 service.LogPath = @"C:\Logs\chromedriver.log";
 service.EnableVerboseLogging = true;

 IWebDriver driver = new ChromeDriver(service, options);

Debugging Logs

[1746537721.524][INFO]: Starting ChromeDriver 136.0.7103.49 (031848bc6ad02b97854f3d6154d3aefd0434756a-refs/branch-heads/7103@{#1423}) on port 51255
[1746537721.524][INFO]: Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
[1746537721.545][INFO]: ChromeDriver was started successfully on port 51255
[1746537721.887][INFO]: [91bfd4de620ab9d4f782bc04ae17bd2d] COMMAND InitSession {
   "capabilities": {
      "firstMatch": [ {
         "browserName": "chrome",
         "goog:chromeOptions": {
            "args": [ "--headless", "--no-sandbox", "--disable-dev-shm-usage", "--remote-debugging-pipe" ],
            "binary": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"
         }
      } ]
   }
}
[1746537721.890][INFO]: Populating Preferences file: {
   "alternate_error_pages": {
      "enabled": false
   },
   "autofill": {
      "enabled": false
   },
   "browser": {
      "check_default_browser": false
   },
   "distribution": {
      "import_bookmarks": false,
      "import_history": false,
      "import_search_engine": false,
      "make_chrome_default_for_user": false,
      "skip_first_run_ui": true
   },
   "dns_prefetching": {
      "enabled": false
   },
   "profile": {
      "content_settings": {
         "pattern_pairs": {
            "https://*,*/": {
               "media-stream": {
                  "audio": "Default",
                  "video": "Default"
               }
            }
         }
      },
      "default_content_setting_values": {
         "geolocation": 1
      },
      "default_content_settings": {
         "geolocation": 1,
         "mouselock": 1,
         "notifications": 1,
         "popups": 1,
         "ppapi-broker": 1
      },
      "password_manager_enabled": false
   },
   "safebrowsing": {
      "enabled": false
   },
   "search": {
      "suggest_enabled": false
   },
   "translate": {
      "enabled": false
   }
}
[1746537721.892][INFO]: Populating Local State file: {
   "background_mode": {
      "enabled": false
   },
   "ssl": {
      "rev_checking": {
         "enabled": false
      }
   }
}
[1746537721.901][INFO]: Cannot switch to US keyboard layout - some keys may be interpreted incorrectly
[1746537721.901][INFO]: Launching chrome: "C:\Program Files\Google\Chrome\Application\chrome.exe" --allow-pre-commit-input --disable-background-networking --disable-backgrounding-occluded-windows --disable-client-side-phishing-detection --disable-default-apps --disable-dev-shm-usage --disable-hang-monitor --disable-popup-blocking --disable-prompt-on-repost --disable-sync --enable-automation --enable-logging --headless --log-level=0 --no-first-run --no-sandbox --no-service-autorun --password-store=basic --remote-debugging-pipe --test-type=webdriver --use-mock-keychain --user-data-dir="C:\WINDOWS\TEMP\scoped_dir7560_1935256156" --remote-debugging-io-pipes=824,844 data:,
[1746537721.913][DEBUG]: DevTools WebSocket Command: Browser.getVersion (id=1) (session_id=) browser {
}
[1746537781.925][SEVERE]: Timed out receiving message from renderer: 60.000
[1746537781.949][DEBUG]: Failed to obtain browser info: timeout: Timed out receiving message from renderer: 60.000
[1746537781.949][INFO]: Failed to connect to Chrome. Attempting to kill it.
[1746537781.959][DEBUG]: Connection terminated while reading from pipe
[1746537782.319][INFO]: [91bfd4de620ab9d4f782bc04ae17bd2d] RESPONSE InitSession ERROR session not created
from timeout: Timed out receiving message from renderer: 60.000
[1746537782.319][DEBUG]: Log type 'driver' lost 1 entries on destruction
[1746537782.319][DEBUG]: Log type 'browser' lost 0 entries on destruction

ℹ️ Last known working version: 4.18.1

@samuelhentrics samuelhentrics added I-defect Something is not working as intended A-needs-triaging A Selenium member will evaluate this soon! labels May 6, 2025
@selenium-ci
Copy link
Member

@samuelhentrics, thank you for creating this issue. We will troubleshoot it as soon as we can.

Selenium Triage Team: remember to follow the Triage Guide

@github-actions github-actions bot added C-dotnet .NET Bindings D-chrome I-regression Something was working but we "fixed" it OS-windows labels May 6, 2025
Copy link

github-actions bot commented May 6, 2025

⚠️ You reported using Selenium version 4.18.1, but the latest release is 4.32.

Please verify that this issue still occurs with the latest version. If it no longer applies, you can close this issue or update your comment.

This issue will be marked "awaiting answer" and may be closed automatically if no response is received.

@github-actions github-actions bot added J-awaiting answer Question asked of user; a reply moves it to triage again and removed A-needs-triaging A Selenium member will evaluate this soon! labels May 6, 2025
@titusfortner titusfortner added the G-chromedriver Requires fixes in ChromeDriver label May 6, 2025
@selenium-ci
Copy link
Member

Hi, @samuelhentrics.
This issue has been determined to require fixes in ChromeDriver.

You can see if the feature is passing in the Web Platform Tests.

If it is something new, please create an issue with the ChromeDriver team.
Feel free to comment the issues that you raise back in this issue. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-dotnet .NET Bindings D-chrome G-chromedriver Requires fixes in ChromeDriver I-defect Something is not working as intended I-regression Something was working but we "fixed" it J-awaiting answer Question asked of user; a reply moves it to triage again OS-windows
Projects
None yet
Development

No branches or pull requests

3 participants