Skip to content

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

@samuelhentrics

Description

@samuelhentrics

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-dotnet.NET BindingsD-chromeG-chromedriverRequires fixes in ChromeDriverI-defectSomething is not working as intendedI-regressionSomething was working but we "fixed" itJ-awaiting answerQuestion asked of user; a reply moves it to triage againOS-windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions