Bug 42892 - Random disconnects when rebuilding project
Summary: Random disconnects when rebuilding project
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: XMA ()
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: 4.3.0 (C9)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-07-28 16:04 UTC by John Nolan
Modified: 2016-12-09 12:09 UTC (History)
5 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 John Nolan 2016-07-28 16:04:03 UTC
Here is the log: 

Xamarin.VisualStudio.IOS.Messaging.MacServerConnectionManager Error: 0 : [2016-07-28 15:52:38.8488] System.NullReferenceException: Object reference not set to an instance of an object.
   at Renci.SshNet.BaseClient.Disconnect()
   at Renci.SshNet.BaseClient.Dispose(Boolean disposing)
   at Xamarin.Messaging.Client.Ssh.SshMessagingConnection.Dispose(Boolean disposing)
   at Xamarin.Messaging.VisualStudio.MessagingService.Disconnect()
   at Xamarin.VisualStudio.IOS.Messaging.State.ConnectedState.<DisconnectAsync>b__1_0() in C:\Users\builder\data\lanes\3420\34a92cd0\source\xamarinvs\src\Core\VisualStudio.IOS\Messaging\State\ConnectedState.cs:line 21
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Xamarin.VisualStudio.IOS.Messaging.State.ConnectedState.<DisconnectAsync>d__1.MoveNext() in C:\Users\builder\data\lanes\3420\34a92cd0\source\xamarinvs\src\Core\VisualStudio.IOS\Messaging\State\ConnectedState.cs:line 19
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Xamarin.VisualStudio.IOS.MacServer.<DisconnectAsync>d__53.MoveNext() in C:\Users\builder\data\lanes\3420\34a92cd0\source\xamarinvs\src\Core\VisualStudio.IOS\Messaging\MacServer.cs:line 367
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Xamarin.VisualStudio.IOS.Messaging.MacServerConnectionManager.<<SaveConnectionStateAndCloseServerConnectionAsync>b__13_0>d.MoveNext() in C:\Users\builder\data\lanes\3420\34a92cd0\source\xamarinvs\src\Core\VisualStudio.IOS\Messaging\MacServerConnectionManager.cs:line 113
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Threading.JoinableTask.<JoinAsync>d__76.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Merq.AsyncManager.JoinableTaskAwaitable.TaskAwaiter.GetResult()
   at Xamarin.VisualStudio.IOS.Messaging.MacServerConnectionManager.<SaveConnectionStateAndCloseServerConnectionAsync>d__13.MoveNext() in C:\Users\builder\data\lanes\3420\34a92cd0\source\xamarinvs\src\Core\VisualStudio.IOS\Messaging\MacServerConnectionManager.cs:line 112
System.Net.Mqtt.TcpChannel Warning: 0 : [2016-07-28 15:52:39.1935] The TCP Network Stream has completed sending bytes. The observable sequence will be completed and the channel will be disposed
System.Net.Mqtt.Client.ClientPacketListener Warning: 0 : [2016-07-28 15:52:39.2100] Client build18440johnn - Packet Channel observable sequence has been completed
System.Net.Mqtt.Client.Client Warning: 0 : [2016-07-28 15:52:39.2180] Client - Packet observable sequence has been completed, hence closing the channel
Xamarin.Messaging.VisualStudio.MessagingService Warning: 0 : [2016-07-28 15:52:39.2951] The underlying client has been disconnected by the remote host
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2016-07-28 16:04:36.3484] MacServer State transition from DisconnectedState to SshConnectingState on ITSL-Administrators-MacBook-Pro.local (172.20.1.64)
Xamarin.VisualStudio.IOS.Messaging.State.DisconnectedState Error: 0 : [2016-07-28 16:04:37.3178] An unexpected error occurred while trying to log in. Please try again.
Xamarin.VisualStudio.IOS.Messaging.State.DisconnectedState Information: 0 : [2016-07-28 16:04:37.3308] MacServer State transition from SshConnectingState to DisconnectedState on ITSL-Administrators-MacBook-Pro.local (172.20.1.64)
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-07-28 16:04:37.3418] Disconnected from Mac ITSL-Administrators-MacBook-Pro.local (172.20.1.64)
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Error: 0 : [2016-07-28 16:04:37.3903] Cannot access a disposed object.
Object name: 'Xamarin.Messaging.Client.Ssh.MessagingSshClient'.
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Xamarin.Messaging.Client.Ssh.MessagingSshClient'.
   at Renci.SshNet.BaseClient.CheckDisposed()
   at Renci.SshNet.BaseClient.get_IsConnected()
   at Xamarin.Messaging.Client.Ssh.SshMessagingConnection.get_IsConnected()
   at Xamarin.Messaging.VisualStudio.MessagingService.get_IsConnected()
   at Xamarin.Messaging.VisualStudio.MessagingService.<ConnectAsync>d__73.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Xamarin.VisualStudio.IOS.Messaging.State.DisconnectedState.<ConnectAsync>d__8.MoveNext() in C:\Users\builder\data\lanes\3420\34a92cd0\source\xamarinvs\src\Core\VisualStudio.IOS\Messaging\State\DisconnectedState.cs:line 70
Xamarin.VisualStudio.UnhandledExceptionsManager Error: 0 : [2016-07-28 16:48:33.3865] Unhandled exception.
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Xamarin.Messaging.Client.Ssh.MessagingSshClient'.
   at Renci.SshNet.BaseClient.CheckDisposed()
   at Renci.SshNet.BaseClient.get_IsConnected()
   at Xamarin.Messaging.Client.Ssh.SshMessagingConnection.get_IsConnected()
   at Xamarin.Messaging.VisualStudio.MessagingService.GetAgentStatus(AgentInfo agentInfo)
   at Xamarin.VisualStudio.IOS.Designer.MonoTouchDesignerPane.<LoadInternalAsync>d__64.MoveNext() in C:\Users\builder\data\lanes\3420\34a92cd0\source\xamarinvs\src\Core\VisualStudio.IOS\Designer\MonoTouchDesignerPane.cs:line 737
Xamarin.VisualStudio.IOS.XamarinIOSPackage Error: 0 : [2016-07-28 16:48:33.3956] An unhandled error occurred while executing a Mac Agent operation. Details: Cannot access a disposed object.
Object name: 'Xamarin.Messaging.Client.Ssh.MessagingSshClient'.

System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Xamarin.Messaging.Client.Ssh.MessagingSshClient'.
   at Renci.SshNet.BaseClient.CheckDisposed()
   at Renci.SshNet.BaseClient.get_IsConnected()
   at Xamarin.Messaging.Client.Ssh.SshMessagingConnection.get_IsConnected()
   at Xamarin.Messaging.VisualStudio.MessagingService.GetAgentStatus(AgentInfo agentInfo)
   at Xamarin.VisualStudio.IOS.Designer.MonoTouchDesignerPane.<LoadInternalAsync>d__64.MoveNext() in C:\Users\builder\data\lanes\3420\34a92cd0\source\xamarinvs\src\Core\VisualStudio.IOS\Designer\MonoTouchDesignerPane.cs:line 737
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2016-07-28 16:48:58.4637] MacServer State transition from DisconnectedState to SshConnectingState on ITSL-Administrators-MacBook-Pro.local (172.20.1.64)
Xamarin.VisualStudio.IOS.Messaging.State.DisconnectedState Error: 0 : [2016-07-28 16:48:59.3054] An unexpected error occurred while trying to log in. Please try again.
Xamarin.VisualStudio.IOS.Messaging.State.DisconnectedState Information: 0 : [2016-07-28 16:48:59.3206] MacServer State transition from SshConnectingState to DisconnectedState on ITSL-Administrators-MacBook-Pro.local (172.20.1.64)
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-07-28 16:48:59.3336] Disconnected from Mac ITSL-Administrators-MacBook-Pro.local (172.20.1.64)
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Error: 0 : [2016-07-28 16:48:59.3426] Cannot access a disposed object.
Object name: 'Xamarin.Messaging.Client.Ssh.MessagingSshClient'.
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Xamarin.Messaging.Client.Ssh.MessagingSshClient'.
   at Renci.SshNet.BaseClient.CheckDisposed()
   at Renci.SshNet.BaseClient.get_IsConnected()
   at Xamarin.Messaging.Client.Ssh.SshMessagingConnection.get_IsConnected()
   at Xamarin.Messaging.VisualStudio.MessagingService.get_IsConnected()
   at Xamarin.Messaging.VisualStudio.MessagingService.<ConnectAsync>d__73.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Xamarin.VisualStudio.IOS.Messaging.State.DisconnectedState.<ConnectAsync>d__8.MoveNext() in C:\Users\builder\data\lanes\3420\34a92cd0\source\xamarinvs\src\Core\VisualStudio.IOS\Messaging\State\DisconnectedState.cs:line 70
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2016-07-28 16:49:09.0792] MacServer State transition from DisconnectedState to SshConnectingState on ITSL-Administrators-MacBook-Pro.local (172.20.1.64)
Xamarin.VisualStudio.IOS.Messaging.State.DisconnectedState Error: 0 : [2016-07-28 16:49:09.9110] An unexpected error occurred while trying to log in. Please try again.
Xamarin.VisualStudio.IOS.Messaging.State.DisconnectedState Information: 0 : [2016-07-28 16:49:09.9282] MacServer State transition from SshConnectingState to DisconnectedState on ITSL-Administrators-MacBook-Pro.local (172.20.1.64)
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-07-28 16:49:09.9402] Disconnected from Mac ITSL-Administrators-MacBook-Pro.local (172.20.1.64)
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Error: 0 : [2016-07-28 16:49:09.9472] Cannot access a disposed object.
Object name: 'Xamarin.Messaging.Client.Ssh.MessagingSshClient'.
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Xamarin.Messaging.Client.Ssh.MessagingSshClient'.
   at Renci.SshNet.BaseClient.CheckDisposed()
   at Renci.SshNet.BaseClient.get_IsConnected()
   at Xamarin.Messaging.Client.Ssh.SshMessagingConnection.get_IsConnected()
   at Xamarin.Messaging.VisualStudio.MessagingService.<ConfigureHostAsync>d__70.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Xamarin.VisualStudio.IOS.Messaging.State.DisconnectedState.<ConnectAsync>d__8.MoveNext() in C:\Users\builder\data\lanes\3420\34a92cd0\source\xamarinvs\src\Core\VisualStudio.IOS\Messaging\State\DisconnectedState.cs:line 64
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2016-07-28 16:49:25.1422] MacServer State transition from DisconnectedState to SshConnectingState on ITSL-Administrators-MacBook-Pro.local (172.20.1.64)
Xamarin.VisualStudio.IOS.Messaging.State.DisconnectedState Error: 0 : [2016-07-28 16:49:25.9656] An unexpected error occurred while trying to log in. Please try again.
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-07-28 16:49:25.9936] MacServer State transition from SshConnectingState to DisconnectedState on ITSL-Administrators-MacBook-Pro.local (172.20.1.64)
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-07-28 16:49:26.0086] Disconnected from Mac ITSL-Administrators-MacBook-Pro.local (172.20.1.64)
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Error: 0 : [2016-07-28 16:49:26.0146] Cannot access a disposed object.
Object name: 'Xamarin.Messaging.Client.Ssh.MessagingSshClient'.
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Xamarin.Messaging.Client.Ssh.MessagingSshClient'.
   at Renci.SshNet.BaseClient.CheckDisposed()
   at Renci.SshNet.BaseClient.get_IsConnected()
   at Xamarin.Messaging.Client.Ssh.SshMessagingConnection.get_IsConnected()
   at Xamarin.Messaging.VisualStudio.MessagingService.get_IsConnected()
   at Xamarin.Messaging.VisualStudio.MessagingService.<ConnectAsync>d__73.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Xamarin.VisualStudio.IOS.Messaging.State.DisconnectedState.<ConnectAsync>d__8.MoveNext() in C:\Users\builder\data\lanes\3420\34a92cd0\source\xamarinvs\src\Core\VisualStudio.IOS\Messaging\State\DisconnectedState.cs:line 70


Also my environment details:


Microsoft Visual Studio Professional 2015
Version 14.0.25421.03 Update 3
Microsoft .NET Framework
Version 4.6.01038

Installed Version: Professional

Visual Basic 2015   00322-50000-31647-AA417
Microsoft Visual Basic 2015

Visual C# 2015   00322-50000-31647-AA417
Microsoft Visual C# 2015

Visual C++ 2015   00322-50000-31647-AA417
Microsoft Visual C++ 2015

Windows Phone SDK 8.0 - ENU   00322-50000-31647-AA417
Windows Phone SDK 8.0 - ENU

Application Insights Tools for Visual Studio Package   7.1.00719.1
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2015.1 (Beta8)   14.1.11107.0
ASP.NET and Web Tools 2015.1 (Beta8)

ASP.NET Web Frameworks and Tools 2012.2   4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.2.40314.0
For additional information, visit http://www.asp.net/

Clang with Microsoft CodeGen   14.0.25317
Clang with Microsoft CodeGen

CodeMaid   10.1.93
CodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C++, F#, VB, PHP, PowerShell, R, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.

Common Azure Tools   1.8
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Devart SQL Complete   5.1.46
Devart dbForge SQL Complete for Visual Studio
Copyright (c) 2015 Devart. All rights reserved.
Web: http://www.devart.com/dbforge/sql/sqlcomplete 
Support: http://www.devart.com/dbforge/sql/sqlcomplete/support.html 
Ordering: http://www.devart.com/dbforge/sql/sqlcomplete/ordering.html 

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

KofePackagePackage Extension   1.0
KofePackagePackage Visual Studio Extension Detailed Info

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

Microsoft Azure Tools   2.7
Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.7.30728.1602

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

NuGet Package Manager   3.4.4
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   14.0.60519.0
Microsoft SQL Server Data Tools

TypeScript   1.8.34.0
TypeScript tools for Visual Studio

Visual C++ for Cross Platform Mobile Development (Android)   14.0.25401.00
Visual C++ for Cross Platform Mobile Development (Android)

Visual C++ for Cross Platform Mobile Development (iOS)   14.0.25401.00
Visual C++ for Cross Platform Mobile Development (iOS)

Visual Studio Tools for Apache Cordova   Update 10
Visual Studio Tools for Apache Cordova

Visual Studio Tools for Universal Windows Apps   14.0.25420.01
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

Xamarin   4.1.1.3 (34a92cd)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   6.1.1.1 (7db2aac)
Visual Studio extension to enable development for Xamarin.Android.

Xamarin.iOS   9.8.1.4 (3cf8aae)
Visual Studio extension to enable development for Xamarin.iOS.

Mac OS X El Capitan 10.11.5
XCode 7.3.1

=== Xamarin Studio Community ===

Version 6.0.1 (build 9)
Installation UUID: 91cd5bf4-ac04-454c-8ad1-c34cb53d1dc2
Runtime:
	Mono 4.4.1 (mono-4.4.0-branch-c7sr0/4747417) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 404010000

=== Xamarin.Profiler ===

Not Installed

=== Apple Developer Tools ===

Xcode 7.3.1 (10188.1)
Build 7D1014

=== Xamarin.iOS ===

Version: 9.8.1.4 (Xamarin Studio Community)
Hash: 3cf8aae
Branch: c7sr0
Build date: 2016-06-20 16:09:58-0400

=== Xamarin.Android ===

Version: 6.1.1.1 (Xamarin Studio Community)
Android SDK: /Users/itsladmin/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		4.0.3 (API level 15)
		4.4   (API level 19)
		6.0   (API level 23)

SDK Tools Version: 24.4.1
SDK Platform Tools Version: 23.0.1
SDK Build Tools Version: 23.0.1

Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Xamarin Android Player ===

Not Installed

=== Xamarin.Mac ===

Version: 2.8.1.4 (Xamarin Studio Community)

=== Build Information ===

Release ID: 600010009
Git revision: e879ce52093257c5c386ad7e390dfaa937fa7f90
Build date: 2016-06-24 11:53:43-04
Xamarin addins: a9252e6df4851fbbed1f9c6228e7b6dd1b475ac5
Build lane: monodevelop-lion-cycle7-sr0

=== Operating System ===

Mac OS X 10.11.5
Darwin itsladmatorsmbp.itsl.local 15.5.0 Darwin Kernel Version 15.5.0
    Tue Apr 19 18:36:36 PDT 2016
    root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64
Comment 1 mag@xamarin.com 2016-11-29 19:55:11 UTC
After many attempts to get the random disconnections when re building or even when working with iOS apps, I wasn't able to reproduce the reported behaviour.

However, while digging in the attached log I was able to identify the exceptions and also to detect that they were all fixed in previous commits and XVS versions.

The fixed exceptions are:

I)
Xamarin.VisualStudio.IOS.Messaging.MacServerConnectionManager Error: 0 : [2016-07-28 15:52:38.8488] System.NullReferenceException: Object reference not set to an instance of an object.
   at Renci.SshNet.BaseClient.Disconnect()
   at Renci.SshNet.BaseClient.Dispose(Boolean disposing)
   at Xamarin.Messaging.Client.Ssh.SshMessagingConnection.Dispose(Boolean disposing)
   at Xamarin.Messaging.VisualStudio.MessagingService.Disconnect()
   at Xamarin.VisualStudio.IOS.Messaging.State.ConnectedState.<DisconnectAsync>b__1_0() in C:\Users\builder\data\lanes\3420\34a92cd0\source\xamarinvs\src\Core\VisualStudio.IOS\Messaging\State\ConnectedState.cs:line

II)
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Error: 0 : [2016-07-28 16:04:37.3903] Cannot access a disposed object.
Object name: 'Xamarin.Messaging.Client.Ssh.MessagingSshClient'.
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Xamarin.Messaging.Client.Ssh.MessagingSshClient'.
   at Renci.SshNet.BaseClient.CheckDisposed()
   at Renci.SshNet.BaseClient.get_IsConnected()
   at Xamarin.Messaging.Client.Ssh.SshMessagingConnection.get_IsConnected()
   at Xamarin.Messaging.VisualStudio.MessagingService.get_IsConnected()
   at Xamarin.Messaging.VisualStudio.MessagingService.<ConnectAsync>d__73.MoveNext()


For this reason, I mark this Bug as Resolved and I recommend to try again with XamarinVS 4.3 (Alpha channel) which will contain the mentioned fixes among others.
Comment 2 Danish Akhtar 2016-12-09 12:09:39 UTC
I have tried to reproduce this issue with stable XVS but not able to it, when rebuilding the iOS app in VS.

Also, checked it with latest C9 XVS 4.3.0.468 and observed that its working fine, not getting any issue for connectivity while build/rebuild the project.

As of now I am closing this issue. Please feel free to reopen it, if you will get this issue again.

Thanks!