Forum Visual Studio
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

[Cycle 9] Visual Studio Mac Agent not connecting

HI Sir

We have 3 NB, after cycle 9 updated have same problem.

Steps to reproduce

VS and Mac just update Cycle 9 (Stable).

Expected behavior

Find Xamarin Mac Agent is work.

Actual behavior

Find Xamarin Mac Agent always failure, can not connection.

Supplemental info (logs, images, videos)

Visual Studio Log:

Xamarin.VisualStudio.TastyPackage|Information|0|Hooked up SDB tracing adapter
Xamarin.VisualStudio.TastyPackage|Information|0|Initialization finished
Xamarin|Information|0|Xamarin - 4.3.0.784-cycle9+73f58d6
Xamarin.VisualStudio.Activation.AccountManager|Information|0|VS2015 Enterprise
Xamarin.VisualStudio.ActivationManager|Information|0|No license found for iOS
Xamarin.VisualStudio.ActivationManager|Information|0|Running license sync for iOS
Xamarin.VisualStudio.ActivationManager|Information|0|No license found for Android
Xamarin.VisualStudio.ActivationManager|Information|0|Running license sync for Android
Xamarin.VisualStudio.TastyPackage|Information|0|Hooked up SDB tracing adapter
Xamarin.VisualStudio.TastyPackage|Information|0|Initialization finished
Xamarin.VisualStudio.IOS.XamarinIOSPackage|Warning|0|Initializing Xamarin.VisualStudio.IOS.XamarinIOSPackage.
Xamarin.VisualStudio.IOS.XamarinIOSPackage|Information|0|MDAddinsHash: 1363a8d943bab7700c93a97474060b6734aa7f94

Xamarin.VisualStudio.ActivationManager|Information|0|Updated license: Android VSEnterprise
Xamarin.VisualStudio.ActivationManager|Information|0|Updated license: iOS VSEnterprise
Xamarin.VisualStudio.TastyPackage|Information|0|Hooked up SDB tracing adapter
Xamarin.VisualStudio.TastyPackage|Information|0|Initialization finished
Xamarin.VisualStudio.Android.XamarinAndroidPackage|Warning|0|Initializing Xamarin.VisualStudio.Android.XamarinAndroidPackage
Xamarin.VisualStudio.IOS.Bonjour.BonjourDiscovery|Information|0|Bonjour service 'MacBuilder' did not respond with its IP address.
Xamarin.VisualStudio.Remote.State.ServerStateContext|Information|0|Server State transition from DisconnectedState to SshConnectingState on MacBuilder.local. (192.168.174.130)
Xamarin.Messaging.Ssh.MessagingService|Information|0|Starting connection to Mac MacBuilder.local....
Xamarin.Messaging.Ssh.MessagingService|Information|0|Starting Broker 4.3.0.784 in port 57368...
Xamarin.VisualStudio.Remote.State.DisconnectedState|Error|0|找不到方法: 'System.Reactive.Subjects.AsyncSubject1<!!0> System.Reactive.Linq.Observable.GetAwaiter(System.IObservable1<!!0>)'。
System.MissingMethodException: 找不到方法: 'System.Reactive.Subjects.AsyncSubject1<!!0> System.Reactive.Linq.Observable.GetAwaiter(System.IObservable1<!!0>)'。
at System.Net.Mqtt.Client.Client.d__29.MoveNext()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
at System.Net.Mqtt.Client.Client.ConnectAsync(ClientCredentials credentials, Will will, Boolean cleanSession)
at Xamarin.Messaging.Client.MessagingConnection.d__21.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 Xamarin.Messaging.Ssh.SshMessagingConnection.d__39.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.Messaging.Ssh.MessagingService.d__67.MoveNext()
Xamarin.VisualStudio.Remote.State.DisconnectedState|Error|0|Couldn't connect to MacBuilder.local.. Please try again.
Xamarin.VisualStudio.Remote.State.ServerStateContext|Information|0|Server State transition from SshConnectingState to DisconnectedState on MacBuilder.local. (192.168.174.130)
Xamarin.VisualStudio.Remote.State.ServerStateContext|Information|0|Disconnected from the Mac MacBuilder.local. (192.168.174.130)
Xamarin.VisualStudio.Remote.State.ServerStateContext|Information|0|Server State transition from DisconnectedState to SshConnectingState on MacBuilder.local. (192.168.174.130)
Xamarin.Messaging.Ssh.MessagingService|Information|0|Starting connection to Mac MacBuilder.local....
Xamarin.Messaging.Ssh.MessagingService|Information|0|Starting Broker 4.3.0.784 in port 55367...
Xamarin.VisualStudio.Remote.State.DisconnectedState|Error|0|The Broker initialization exceeded the timeout of 60000 millisecs without receiving confirmation from the Broker.
System.TimeoutException: The Broker initialization exceeded the timeout of 60000 millisecs without receiving confirmation from the Broker.
at Xamarin.Messaging.Ssh.BrokerCommands.d__9.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 Xamarin.Messaging.Ssh.MessagingService.d__87.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.Messaging.Ssh.MessagingService.d__67.MoveNext()
Xamarin.VisualStudio.Remote.State.DisconnectedState|Error|0|Couldn't connect to MacBuilder.local.. Please try again.
Xamarin.VisualStudio.Remote.State.ServerStateContext|Information|0|Server State transition from SshConnectingState to DisconnectedState on MacBuilder.local. (192.168.174.130)
Xamarin.VisualStudio.Remote.State.ServerStateContext|Information|0|Disconnected from the Mac MacBuilder.local. (192.168.174.130)

Test environment (full version information)

  1. Windows 10, Visual Studio 2015 Update 3
  2. macOS Sierra 10.12.2, Xamarin Studio Community

Cycle 9 Stable up to date (3/7/2017)

Posts

  • AshleyGazichAshleyGazich USMember, Xamarin Team Xamurai

    By any chance, do you happen to be using an older version of OzCode in need of updating? Or, if ReSharper is installed, does removing that extension help?

Sign In or Register to comment.