2016-10-28 6 views
0

Visual Studio를 실행하는 Windows PC에 MAC Mini에 연결하려고하지만 연결에 실패했습니다.Visual Studio를 MAC Mini에 연결할 수 없습니다 - Xamarin

나는 자 마린 문서가 HERE
우리는 성공적으로 네트워크에있는 다른 PC에 동일한 MAC 미니를 연결 한에서 언급 한 모든 것을 시도

하지만 다른 PC와 연결 얻이 수없는 것 (Note: We are not connecting both at the same time)

우리 SSH를 점검했는데 괜찮아 보입니다. PUTTY와 GIT Bash를 사용하여 연결할 수 있습니다.

또한 올바른 MAC 사용자 이름을 사용하고 있습니다. whoami 명령을 사용하여 검색했습니다.

아래 로그 파일 내용입니다. 여기에 업데이트 1

Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2016-10-28 15:58:04.7169] MacServer State transition from DisconnectedState to SshConnectingState on XT-14.local (192.168.0.214) 
Xamarin.Messaging.Client.Ssh.SshMessagingConnection Error: 0 : [2016-10-28 15:58:15.0329] An unexpected error occurred on with the current SSH Session 
Renci.SshNet.Common.SshException: Message type 80 is not valid. 
    at Renci.SshNet.Session.LoadMessage(Byte[] data) 
    at Renci.SshNet.Session.ReceiveMessage() 
    at Renci.SshNet.Session.MessageListener() 
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-10-28 15:58:18.9447] Starting Broker 4.1.1.3 in port 50843... 
System.Net.Mqtt.TcpChannel Warning: 0 : [2016-10-28 15:58:26.0069] The TCP Network Stream has completed sending bytes. The observable sequence will be completed and the channel will be disposed 
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2016-10-28 15:58:26.2103] MacServer State transition from SshConnectingState to DisconnectedState on XT-14.local (192.168.0.214) 
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Error: 0 : [2016-10-28 15:58:26.3702] An error occurred on the underlying client while executing an operation. Details: The client vs4940Lenov has been disconnected while trying to perform the connection 
System.Net.Mqtt.Client.ClientPacketListener Warning: 0 : [2016-10-28 15:58:26.5290] Client vs4940Lenov - Packet Channel observable sequence has been completed 
Xamarin.VisualStudio.IOS.Messaging.State.DisconnectedState Information: 0 : [2016-10-28 15:58:26.6871] Disconnected from Mac XT-14.local (192.168.0.214) 
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Error: 0 : [2016-10-28 15:58:26.8482] Couldn't connect to XT-14.local. Please try again. 
System.Net.Mqtt.Client.Client Error: 0 : [2016-10-28 15:58:27.0164] System.Net.Mqtt.Client.ClientException: The client vs4940Lenov has been disconnected while trying to perform the connection 
    at System.Net.Mqtt.Client.Client.<ConnectAsync>d__29.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.MessagingConnection.<ConnectAsync>d__18.MoveNext() 
Xamarin.VisualStudio.IOS.Messaging.State.DisconnectedState Error: 0 : [2016-10-28 15:58:27.2886] There was an error while trying to connect the client vs4940Lenov to the server. 
Xamarin.Messaging.Exceptions.MessagingException: There was an error while trying to connect the client vs4940Lenov to the server. ---> System.Net.Mqtt.Client.ClientException: The client vs4940Lenov has been disconnected while trying to perform the connection 
    at System.Net.Mqtt.Client.Client.<ConnectAsync>d__29.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.MessagingConnection.<ConnectAsync>d__18.MoveNext() 
    --- End of inner exception stack trace --- 
    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__37.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__73.MoveNext() 
System.Net.Mqtt.TcpChannel Error: 0 : [2016-10-28 15:58:27.7771] An error occurred while closing underlying channel. Error code: 10054 
System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host 
    at System.Net.Sockets.Socket.Shutdown(SocketShutdown how) 
    at System.Net.Mqtt.TcpChannel.Dispose(Boolean disposing) 

는 이미지 Git image

+0

문제 해결 가이드를 확인하셨습니까? SSH를 시도하는 Mac의 사용자 계정에 로그인되어 있습니까? https://developer.xamarin.com/guides/ios/getting_started/installation/windows/connecting-to-mac/troubleshooting/ –

+0

예, Mac에 로그인되어 있으며 문제 해결을 위해 해당 링크를 따라갔습니다. –

+0

거기에 SSH 연결을 테스트 한 결과는 무엇입니까? –

답변

1

자 마린 툴링이 두 시스템에 동기화에 있는지 확인하는 것이 중요합니다 맥 호스트에 비주얼 스튜디오를 연결하는 버전 번호가 일치하는지 확인하십시오.

이 경우 컴퓨터 중 하나가 Xamarin 도구의 구 버전을 실행하고있는 것 같습니다. 이것을 최신 안정 버전으로 업데이트하면 문제가 해결되었습니다.

자세한 정보는 Xamarin의 Connecting to the Mac 안내서에서 찾을 수 있으며, 문제가 지속되면 Troubleshooting 안내서를 참고하여 일반적인 문제/알려진 문제점/해결 방법을 간략하게 설명하는 것이 좋습니다.