SeleniumHQ / selenium-google-code-issue-archive

Archive, please see main selenium repo
https://github.com/seleniumhq/selenium
345 stars 195 forks source link

OpenQA.Selenium.WebDriverException: Failed to start up socket within 45000 ms #6274

Open lukeis opened 8 years ago

lukeis commented 8 years ago

Originally reported on Google Code with ID 6274


What steps will reproduce the problem?
1. Get any Log in error message on a Web UI
2. Verify for the existence of the Webelement and match the string text value.
3. Run more than 70 tests across parallel threads (6 firefox instances).
4. Tests are run via Gallio Icarus.

Expected output: Proper validation done.

Actual Output: OpenQA.Selenium.WebDriverException: Failed to start up socket within
45000 ms Exception.

Selenium version: 2.32 Standalone Server
OS: Win7 - 64 bit
Browser: Firefox
Browser version: 22

Additional Info:

Stack Trace: 
Failures
Execute
OpenQA.Selenium.WebDriverException: Failed to start up socket within 45000 ms
HResult: -2146233088
   at OpenQA.Selenium.Firefox.Internal.ExtensionConnection.ConnectToBrowser(TimeSpan
timeToWait) in c:\Projects\WebDriver\trunk\dotnet\src\WebDriver\Firefox\Internal\ExtensionConnection.cs:line
266
   at OpenQA.Selenium.Firefox.Internal.ExtensionConnection.Start() in c:\Projects\WebDriver\trunk\dotnet\src\WebDriver\Firefox\Internal\ExtensionConnection.cs:line
98
   at OpenQA.Selenium.Firefox.FirefoxDriver.StartClient() in c:\Projects\WebDriver\trunk\dotnet\src\WebDriver\Firefox\FirefoxDriver.cs:line
225
   at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor commandExecutor,
ICapabilities desiredCapabilities) in c:\Projects\WebDriver\trunk\dotnet\src\WebDriver\Remote\RemoteWebDriver.cs:line
88
   at OpenQA.Selenium.Firefox.FirefoxDriver..ctor(FirefoxBinary binary, FirefoxProfile
profile, TimeSpan commandTimeout) in c:\Projects\WebDriver\trunk\dotnet\src\WebDriver\Firefox\FirefoxDriver.cs:line
162
   at HP.Ssad.Test.WebUI.Core.Browser.GetLocalWebDriver(DesiredCapabilities capabilities)
in c:\HPSSA\Main\test\WebUI\Core\Browser.cs:line 264
   at HP.Ssad.Test.WebUI.Core.Browser.GetWebDriver(String browser, String browserVersion,
String platform) in c:\HPSSA\Main\test\WebUI\Core\Browser.cs:line 141
   at HP.Ssad.Test.WebUI.Core.Browser..ctor(String browserName, String browserVersion,
String platform) in c:\HPSSA\Main\test\WebUI\Core\Browser.cs:line 62
   at HP.Ssad.Test.WebUI.Tests.SignInPageTests.BlankPasswordConstraint(String browserName,
String browserVersion, String platform) in c:\HPSSA\Main\test\WebUI\Tests\SignInPageTests.cs:line
117

Reported by rupam08 on 2013-09-16 23:20:00

lukeis commented 8 years ago
Are you trying to start all the instances of the browser at once? Try to start them
one by one to see if this solves the issue.

Reported by barancev on 2013-09-17 09:42:01

lukeis commented 8 years ago
This problem happens only while i try to run bulk test cases. While firing 10 test cases
with 6 || firefox browsers goes fine.

Reported by rupam08 on 2013-09-17 16:41:44

lukeis commented 8 years ago

Reported by barancev on 2013-09-17 19:50:54

lukeis commented 8 years ago

Reported by luke.semerau on 2015-09-17 17:45:55