Bug 55886 - Can't reconnect to build host w/o restarting VS (with video link)
Summary: Can't reconnect to build host w/o restarting VS (with video link)
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: XMA ()
Version: 4.4.0 (15.1)
Hardware: PC Windows
: --- normal
Target Milestone: 15.4
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-05-02 14:33 UTC by Lyndon Hughey
Modified: 2017-07-27 12:05 UTC (History)
8 users (show)

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

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:
Status:
VERIFIED FIXED

Description Lyndon Hughey 2017-05-02 14:33:56 UTC
The build host often displays the "starting..." status when it attempts to reconenct to the build host even after several minutes.  I often click the build host icon and attempt to manually disconnect and connect, but the disconnect context menu action rarely works.  I have to restart visual studio in order to successfully reconnect to the build host.  I do this 5-6 times a day.

I've created an unlisted short video illustration of the scenario:
https://youtu.be/ckrYyWq8KBo

I would like one of two results as a fix:

Option 1.  The build host should successfully reconnect after unlocking the computer from taking a quick break or any other reason for disconnect. 

Option 2. Be able to manually disconnect from the build host, then manually reconnect.

Environment:
Microsoft Visual Studio Enterprise 2015
Version 14.0.25431.01 Update 3

Xamarin   4.4.0.34 (3f99c5a)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   7.2.0.7 (b16fb82)
Visual Studio extension to enable development for Xamarin.Android.

Xamarin.iOS   10.8.0.174 (7656cc6)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 1 Ben Beckley 2017-05-03 21:27:02 UTC
I tried to reproduce this using 4.4.0.34 (3f99c5a) and here are my findings:

XMA automatically reconnects after locking my machine and logging back in.
XMA does not automatically reconnect, and remains in a disconnected state after putting my machine to sleep and logging back in. I have to manually initiate the connection sequence, and then a successful connection is established.

Could you please attach the Xamarin logs to this bug after encountering the issue? You can get them from "Help>Xamarin>Zip Logs…"

env info from the above testing: https://gist.github.com/BenBeckley/e17e289405b77a1f240715de8647bd70
Comment 2 mag@xamarin.com 2017-06-15 20:53:13 UTC
Some issues regarding Agent and Broker reconnection has been identified and fixed properly, so you shouldn't see this behaviour again.
The fixes will be available from 15.4 version.
Comment 3 Lyndon Hughey 2017-06-15 21:26:57 UTC
I've not seen this issue in a while.  Sorry I missed your message Ben.