-
Notifications
You must be signed in to change notification settings - Fork 189
Intermittent: KeepAliveFailure when running android test #206
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
Comments
Let me know how I can better help this since it is a pretty big issue that we just started seeing after switching to new 1.72. |
Is anyone else seeing this or in the wrong place? |
Are you using the C# drivers to do this? if so, then this is the right
channel.
…On Thu, Jan 18, 2018 at 10:37 AM, Ren Bettendorf ***@***.***> wrote:
Is anyone else seeing this or in the wrong place?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#206 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEx1uNJ2O4vtSyClQ5XxpacFLnW1D-grks5tL497gaJpZM4RbTAA>
.
|
Yes this is using C#. I edited the test to avoid the issue, but still seeing it. |
Same happening to me. Not sure 100% if it is the same issue.. Using Appium.WebDriver 3.0.0.2, Appium 1.72, Real IOS device OpenQA.Selenium.WebDriverException occurred Inner Exception 1: Inner Exception 2: Inner Exception 3: |
Looks like this might be an issue with Selenium SeleniumHQ/selenium#5758 |
I am also facing same issue 03-May-18 14:16:39 PM : method name : Error : Choose Home screen - Exception: A exception with a null response was thrown sending an HTTP request to the remote WebDriver server for URL http://127.0.0.1:4723/wd/hub/session/2bf75e03-28e4-4c48-beab-6e8d96dec998/elements. The status of the exception was KeepAliveFailure, and the message was: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. - Stack Trace: at OpenQA.Selenium.Appium.Service.AppiumCommandExecutor.Execute(Command commandToExecute) |
Please use the latest release |
Description
While running an Android test on a Windows machine with Appium 1.72 command line we are now seeing an issue where the test will cut off due to KeepAliveFailure when attempting to get a response from Appium.
Environment
.NET client build version or git revision if you use some shapshot:
Appium server version or git revision if you use some shapshot:
1.72
Desktop OS/version used to run Appium if necessary:
Windows 10
Node.js version (unless using Appium.app|exe) or Appium CLI or Appium.app|exe:
Node.js: 8.9.3
Appium CLI
Mobile platform/version under test:
Android
Real device or emulator/simulator:
Emulator
Code To Reproduce Issue [ Good To Have ]
FindElement(string locator)
{
return FindElementById(locator);
}
// Basically we have a function that does a couple things like click around the screen and eventually gets to a portion where it will attempt to click a button twice and will not survive that.
FindElement(button).Click();
Thread.Sleep(TimeSpan.FromSeconds(10));
FindElement(button).Click();
Exception stacktraces
https://gist.github.com/renaldorini/24de85e6820e180bdff35097bf610090
Link to Appium logs
https://gist.github.com/renaldorini/b497423ebe2a014973df5fc619610622
The text was updated successfully, but these errors were encountered: