-
Notifications
You must be signed in to change notification settings - Fork 558
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
Appium-Python: find_element_by_id intermittently produces 'Connection aborted.' error #437
Comments
To me it looks like an internal networking issue. |
An internal networking issue using localhost? |
I have the same intermittent issue, when testing with multiple devices,
through USB.
This is a disconnect between the devices, and the host. I don't have my
details at hand, now. What I had to do, in order to make some of the
devices work together was to downgrade adb, and appium-client libraries to
a version release from mid April. The reason for that is because that's the
last time I was able to run all those devices, together, for 24hrs, without
issues.
Lots of things got introduced, such as new capabilities and I think some
stuff got taken out, which means there's no backwards compatibility.
At the time it was hard to pinpoint exactly what the root cause of it.
I hope this helps.
Thank you
…On Thu, 12 Sep 2019, 18:34 ShortCipher42, ***@***.***> wrote:
An internal networking issue using localhost?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#437?email_source=notifications&email_token=ABRBXCEEKOU35E5DTK5NQALQJJ4T5A5CNFSM4IWHKD2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6SVDKI#issuecomment-530928041>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABRBXCCD4WCXFENKLVGX4FLQJJ4T5ANCNFSM4IWHKD2A>
.
|
I'm not sure this issue is due to client side. @ShortCipher42 Environment
I found below log in server logs. (It might be related, but I'm not sure how for now.) https://gist.github.com/ShortCipher42/a46f5874c9534684fede1492507e2442
|
I believe we've found the issue. The issue appears to be the particular version of the app being fused with Antibot by Appdome and attempts to block debugging attempts. I am pursuing a solution internally. |
The problem
This problem began 48 hours ago. I have been running mobile application automated tests on these particular devices in order to induce a server load. After a number of days of running it continuously, the following error has begun happening on the devices. The error is highly intermittent and I have not found any way to mitigate the error.
Environment
Windows 10
Appium Python client
6 android mobile devices
Desired Capabilities for all devices:
Details
I have six python scripts running simultaneously. All devices are utilizing the same appium server and different android devices. All devices will randomly fail on find_element_by_id.
Link to Appium logs
The following gist is Appium logs for a particular session where all devices except the Pixel 2 failed by the above 'Connection Aborted' error.
Gist
Code To Reproduce Issue
This is a highly intermittent issue but seems to be kicked off by find_element_by_id every time.
I do not see any errors in Appium's logging.
The text was updated successfully, but these errors were encountered: