No Connection to Buildhost after 10.4 Update

Hi there

Today I updated Xamarin to version 10.4. Now I can't get a connection to the BuildHost. I tried a lot of the troubleshooting and at the end I reinstalled Xamarin completly. Nothing helped.

VisualStudio recognizes the MacBuildHost, but I just can't connect. I tried over DNS or IP.

I found something suspecious in the log, but no idea if thats the problem:

Xamarin.VisualStudio.Remote.State.DisconnectedState|Error|0|Method not found: 'System.Reactive.Subjects.AsyncSubject1<!!0> System.Reactive.Linq.Observable.GetAwaiter(System.IObservable1<!!0>)'.
System.MissingMethodException: Method not found: 'System.Reactive.Subjects.AsyncSubject1<!!0> System.Reactive.Linq.Observable.GetAwaiter(System.IObservable1<!!0>)'.

Any suggestions?

Here is the latest 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.ProjectFixerRunner|Information|0|solution loaded 'MyProject.Mobile.iOS'
Xamarin.VisualStudio.ProjectFixerRunner|Information|0|running fixup on project 'C:\code\Tfs\MyProject.Mobile\Development\MyProject.Mobile.iOS\MyProject.Mobile.iOS.csproj'
Xamarin.VisualStudio.IOS.Bonjour.BonjourDiscovery|Information|0|Bonjour service 'MacVM01' did not respond with its IP address.
Xamarin.VisualStudio.Remote.State.ServerStateContext|Information|0|Server State transition from DisconnectedState to SshConnectingState on MacVM01.local. (192.168.46.67)
Xamarin.Messaging.Ssh.MessagingService|Information|0|Starting connection to Mac MacVM01.local....
Xamarin.Messaging.Ssh.XmaCommands|Information|0|Server directory /Users/daniel/Library/Caches/Xamarin/XMA/Broker/4.3.0.784 doesn't exist, hence the checksum can't be verified
Xamarin.Messaging.Ssh.MessagingService|Information|0|Installing Broker 4.3.0.784...
Xamarin.Messaging.Ssh.MessagingFileManager+UploadFileLogger|Information|0|Uploading Broker 4.3.0.784 (160/1592 KB) 10%...
Xamarin.Messaging.Ssh.MessagingFileManager+UploadFileLogger|Information|0|Uploading Broker 4.3.0.784 (320/1592 KB) 20%...
Xamarin.Messaging.Ssh.MessagingFileManager+UploadFileLogger|Information|0|Uploading Broker 4.3.0.784 (480/1592 KB) 30%...
Xamarin.Messaging.Ssh.MessagingFileManager+UploadFileLogger|Information|0|Uploading Broker 4.3.0.784 (640/1592 KB) 40%...
Xamarin.Messaging.Ssh.MessagingFileManager+UploadFileLogger|Information|0|Uploading Broker 4.3.0.784 (800/1592 KB) 50%...
Xamarin.Messaging.Ssh.MessagingFileManager+UploadFileLogger|Information|0|Uploading Broker 4.3.0.784 (960/1592 KB) 60%...
Xamarin.Messaging.Ssh.MessagingFileManager+UploadFileLogger|Information|0|Uploading Broker 4.3.0.784 (1120/1592 KB) 70%...
Xamarin.Messaging.Ssh.MessagingFileManager+UploadFileLogger|Information|0|Uploading Broker 4.3.0.784 (1280/1592 KB) 80%...
Xamarin.Messaging.Ssh.MessagingFileManager+UploadFileLogger|Information|0|Uploading Broker 4.3.0.784 (1440/1592 KB) 90%...
Xamarin.Messaging.Ssh.MessagingFileManager+UploadFileLogger|Information|0|Uploaded Broker 4.3.0.784 100%
Xamarin.Messaging.Ssh.MessagingService|Information|0|Starting Broker 4.3.0.784 in port 59818...
Xamarin.VisualStudio.Remote.State.DisconnectedState|Error|0|Method not found: 'System.Reactive.Subjects.AsyncSubject1<!!0> System.Reactive.Linq.Observable.GetAwaiter(System.IObservable1<!!0>)'.
System.MissingMethodException: Method not found: '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 MacVM01.local.. Please try again.
Xamarin.VisualStudio.Remote.State.ServerStateContext|Information|0|Server State transition from SshConnectingState to DisconnectedState on MacVM01.local. (192.168.46.67)
Xamarin.VisualStudio.Remote.State.ServerStateContext|Information|0|Disconnected from the Mac MacVM01.local. (192.168.46.67)
Xamarin.VisualStudio.Remote.State.ServerStateContext|Information|0|Server State transition from DisconnectedState to SshConnectingState on 192.168.46.67 (192.168.46.67)
Xamarin.Messaging.Ssh.MessagingService|Information|0|Starting connection to Mac 192.168.46.67...
Xamarin.Messaging.Ssh.MessagingService|Information|0|Starting Broker 4.3.0.784 in port 52618...
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 192.168.46.67. Please try again.
Xamarin.VisualStudio.Remote.State.ServerStateContext|Information|0|Server State transition from SshConnectingState to DisconnectedState on 192.168.46.67 (192.168.46.67)
Xamarin.VisualStudio.Remote.State.ServerStateContext|Information|0|Disconnected from the Mac 192.168.46.67 (192.168.46.67)
Xamarin.Messaging.Ssh.SshMessagingConnection|Error|0|An unexpected error occurred with the current SSH Session
Renci.SshNet.Common.SshConnectionException: An established connection was aborted by the server.
at Renci.SshNet.Session.SocketRead(Int32 length, Byte[] buffer)
at Renci.SshNet.Session.ReceiveMessage()
at Renci.SshNet.Session.MessageListener()
Xamarin.Messaging.Ssh.SshMessagingConnection|Error|0|An unexpected error occurred with the current SSH Session
Renci.SshNet.Common.SshConnectionException: An established connection was aborted by the server.
at Renci.SshNet.Session.SocketRead(Int32 length, Byte[] buffer)
at Renci.SshNet.Session.ReceiveMessage()
at Renci.SshNet.Session.MessageListener()
Xamarin.Messaging.Ssh.SshMessagingConnection|Information|0|The SSH Session has been disconnected unexpectedely
Xamarin.Messaging.Ssh.SshMessagingConnection|Information|0|The SSH Session has been disconnected unexpectedely
Xamarin.VisualStudio.ProjectFixerRunner|Information|0|solution loaded 'MyProject.Mobile.iOS'
Xamarin.VisualStudio.ProjectFixerRunner|Information|0|running fixup on project 'C:\code\Tfs\MyProject.Mobile\Development\MyProject.Mobile.iOS\MyProject.Mobile.iOS.csproj'
Xamarin.VisualStudio.Remote.State.ServerStateContext|Information|0|Server State transition from DisconnectedState to SshConnectingState on 192.168.46.67 (192.168.46.67)
Xamarin.Messaging.Ssh.MessagingService|Information|0|Starting connection to Mac 192.168.46.67...
Xamarin.Messaging.Ssh.MessagingService|Information|0|Starting Broker 4.3.0.784 in port 50585...
Xamarin.VisualStudio.Remote.State.DisconnectedState|Error|0|Method not found: 'System.Reactive.Subjects.AsyncSubject1<!!0> System.Reactive.Linq.Observable.GetAwaiter(System.IObservable1<!!0>)'.
System.MissingMethodException: Method not found: '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 192.168.46.67. Please try again.
Xamarin.VisualStudio.Remote.State.ServerStateContext|Information|0|Server State transition from SshConnectingState to DisconnectedState on 192.168.46.67 (192.168.46.67)
Xamarin.VisualStudio.Remote.State.ServerStateContext|Information|0|Disconnected from the Mac 192.168.46.67 (192.168.46.67)_

Regards Daniel

Best Answer

Answers

  • DanielZDanielZ USMember

    @AshleyGazich said:
    Hi Daniel. If this is still an issue, 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?

    I reinstalled Xamarin today. And it's working fine now. Thx.

  • rarenivarrarenivar USMember ✭✭

    @DanielZ - Did you reinstall Xamarin on your PC, Mac or both?

Sign In or Register to comment.