Status: New
Owner: ----
Labels: Pri-3
New issue 444 by
qrc...@gmail.com: chromedriver sometimes hangs when
launching chrome (chrome fails to bind to debug port)
http://code.google.com/p/chromedriver/issues/detail?id=444
We recently started running our Selenium tests in Chrome. Several times a
day, a test will hang while trying to create a new remote webdriver. A new
Chrome window will appear on the display, and then Selenium appears to time
out while making a request to the chromedriver.
When this happens, the chrome_debug.log on the grid node always contains
this error:
[23138:23196:0806/200251:ERROR:tcp_listen_socket.cc(72)] Could not bind
socket to
127.0.0.1:42630
where the port number matches the --remote-debugging-port parameter passed
by chromedriver to Chrome.
What steps will reproduce the problem?
If I run the attached hang-chrome.rb script on an Ubuntu 12 machine, I will
usually encounter the issue within 30 minutes. We run into the issue 3 or 4
times per day on our Selenium grid, which consists of 30 Ubuntu vms (one
Chrome browser per vm).
What version of the product are you using? On what operating system?
ChromeDriver = 2.1
Chrome = 28.0.1500.71
OS = Ubuntu 12.04 amd64
It would be nice to be able to specify chrome's remote debugging port as a
parameter to chromedriver, to see if the issue is resolved by using a port
outside the ephemeral range. Let me know if there is a way to do this and
I'll try it.
Thank you very much!
Attachments:
chrome_debug.log 729 bytes
chromedriver.log 1.0 KB
hang-chrome.rb 125 bytes
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings