Bug 60441 - Xamarin UITest : The underlying connection was closed: The connection was closed unexpectedly
Summary: Xamarin UITest : The underlying connection was closed: The connection was clo...
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2017-10-30 17:28 UTC by muzammil ahmed
Modified: 2017-11-03 16:11 UTC (History)
4 users (show)

Is this bug a regression?: ---
Last known good build:

APK file (6.79 MB, application/x-zip-compressed)
2017-10-30 17:28 UTC, muzammil ahmed

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description muzammil ahmed 2017-10-30 17:28:18 UTC
Created attachment 25507 [details]
APK file


I am still getting the same exception ( The underlying connection was closed: The connection was closed unexpectedly.) even after updating the UITest project to 2.1.4. I am running a UItest for a simple credit card validation project. Please help, i have attached the APK file

This is same issue as https://bugzilla.xamarin.com/show_bug.cgi?id=52934

Comment 1 muzammil ahmed 2017-11-01 21:50:34 UTC
I ported the same piece of code onto an azure box and the UItest runs just fine. I think the issue is my machine . Any pointers as to what in my environment may cause this? i do not see anything in event viewer
Comment 2 Pierce Boggan [MSFT] 2017-11-03 16:11:15 UTC
Even though you might only be hitting this issue locally, we research & triage Xamarin.UITest issues through the Test Cloud support channels because there's a lot of crossover between the testing platform and testing frameworks.

You can reach out to support by logging into testcloud.xamarin.com & clicking on "Support" in the menubar: http://content.screencast.com/users/Kent.Green/folders/Jing/media/572442e2-c82c-4a25-9a30-1f594f156dd7/00000323.png