xamarin macエージェントを接続できない理由がわかりません。ここで xamarin macエージェントが接続できませんでした
は、私が実行しているものです: - OSX 10.11.4-
をWindowsに11.2.0に匹敵する10
- すべてのためのOSXでのVisual Studio Proの私が設定した2015
リモートログイン私のユーザ名を使用して接続しています。私はSSHを使ってWindowsからosxにアクセスできます。また、WindowsとMac側のxamarinの 'Stable'アップデートチャンネルにもあります。
私のxamarinログファイルに表示されています。ありがとうございます。
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2016-05-13 11:29:17.4157] MacServer State transition from DisconnectedState to SshConnectingState on myriadsupers-MacBook-Pro.local (10.211.55.2)
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-05-13 11:29:20.3975] Starting Broker 4.0.3.214 in port 53976...
Xamarin.VisualStudio.IOS.Messaging.State.DisconnectedState Error: 0 : [2016-05-13 11:29:21.3350] Couldn't connect to myriadsupers-MacBook-Pro.local. Please try again.
Xamarin.VisualStudio.IOS.Messaging.State.DisconnectedState Information: 0 : [2016-05-13 11:29:21.4725] MacServer State transition from SshConnectingState to DisconnectedState on myriadsupers-MacBook-Pro.local (10.211.55.2)
Xamarin.VisualStudio.IOS.Messaging.State.DisconnectedState Information: 0 : [2016-05-13 11:29:21.6061] Disconnected from Mac myriadsupers-MacBook-Pro.local (10.211.55.2)
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Error: 0 : [2016-05-13 11:29:21.7344] Method not found: 'System.Reactive.Subjects.AsyncSubject`1<!!0> System.Reactive.Linq.Observable.GetAwaiter(System.IObservable`1<!!0>)'.
System.MissingMethodException: Method not found: 'System.Reactive.Subjects.AsyncSubject`1<!!0> System.Reactive.Linq.Observable.GetAwaiter(System.IObservable`1<!!0>)'.
at System.Net.Mqtt.Client.Client.<ConnectAsync>d__3.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.<ConnectAsync>d__18.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.Client.Ssh.SshMessagingConnection.<ConnectAsync>d__26.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.VisualStudio.MessagingService.<ConnectAsync>d__70.MoveNext()
逆sshトンネルを防止しているOS-X側にファイアウォール(Little Snitch?)がありますか? – SushiHangover
いいえ、osxに組み込まれているファイアウォールはオフになっています。私はまた、ドメインネットワークとプライベートネットワークのWindowsファイアウォールを無効にしようとしましたが、それもうまくいきませんでした。 – Melvin
Visual Studioで別の接続を追加し、既定の接続「.local」アドレスを使用しないで、MacのIPアドレスを使用してください。そして、OS-X上で 'Console.app'を開き、内容をクリアし、WindowsのVMにフリップして接続してみてください。コンソールで、localhost:XXXXへの拒否されたssh接続(ポートはランダム化されます)などのエラーを監視します。 – SushiHangover