Open lukeis opened 8 years ago
Ooops, forgot to attach file
Reported by wareham.robbie
on 2015-01-30 12:40:37
Reported by barancev
on 2015-02-02 18:48:25
I have been changing the timeout value for the Ruby persistent client to 120 seconds
(default is 60), and see thsi problem occur a lot more AND the selenium Hub log shows
the Socket Timeout issue occur 3 times for each session rather than 2, and each 1 minute
apart.
I have noticed in the Ruby client code, requests can be made up to 3 times;
MAX_RETRIES = 3
retries = 0
begin
response = response_for(request)
rescue Errno::ECONNABORTED, Errno::ECONNRESET, Errno::EADDRINUSE
# a retry is sometimes needed on Windows XP where we may quickly
# run out of ephemeral ports
#
# A more robust solution is bumping the MaxUserPort setting
# as described here:
#
# http://msdn.microsoft.com/en-us/library/aa560610%28v=bts.20%29.aspx
raise if retries >= MAX_RETRIES
request = new_request_for(verb, url, headers, payload)
retries += 1
retry
Reported by wareham.robbie
on 2015-02-04 10:52:04
I have monkey patched the MAX_RETRIES to 0, and still see this issue but only 1 SO_TIMEOUT
logged.
The scenario is still the same; SO_TIMEOUT occurs while calling driver.quit (i.e DELETE),
some unreleated session then fails with either SO_TIMEOUT or CLIENT_STOPPED_SESSION
Reported by wareham.robbie
on 2015-02-17 16:59:06
This issue is still happening in version 2.46.
I am using C# NuGet package.
Parallel sessions spawned from the testfixture level will always result in seleniun
grid sessionids being lost resulting in errors like this:
[failed] Test
Execute
OpenQA.Selenium.WebDriverException: Unexpected error. ERROR Job is not in progress
HResult: -2146233088
at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute,
Dictionary`2 parameters)
at OpenQA.Selenium.Remote.RemoteWebDriver.FindElement(String mechanism, String value)
at OpenQA.Selenium.By.FindElement(ISearchContext context)
at OpenQA.Selenium.Support.PageObjects.DefaultElementLocator.LocateElement(IEnumerable`1
bys)
at OpenQA.Selenium.Support.PageObjects.WebElementProxy.Invoke(IMessage msg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData,
Int32 type)
at OpenQA.Selenium.IWebElement.Click()
and this:
Quitting Driver for LinkWorks!
[failed] Test Data: })/LinkWorks
Execute
OpenQA.Selenium.NoSuchElementException: Could not find element by: By.Id: //*[@id='i
am a link']
HResult: -2146233088
at OpenQA.Selenium.Support.PageObjects.DefaultElementLocator.LocateElement(IEnumerable`1
bys)
at OpenQA.Selenium.Support.PageObjects.WebElementProxy.Invoke(IMessage msg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData,
Int32 type)
at OpenQA.Selenium.IWebElement.Click()
This post also highlights this issue I think:
http://stackoverflow.com/a/10598692/359540
Reported by threesixtydegreesolutions
on 2015-06-29 21:36:54
Reported by luke.semerau
on 2015-09-17 17:47:30
Originally reported on Google Code with ID 8441
Reported by
wareham.robbie
on 2015-01-30 12:15:09