dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.01k stars 1.72k forks source link

Can't connect from MS Visual Studio to MAC #20931

Closed borealoh closed 4 months ago

borealoh commented 6 months ago

Description

I am connecting to a MAC to deploy an iPhone App. I was able to connect without issues for the last week. Today it stopped working after the deployment hung during some sort of xcode operation to strip something related for Firebase.Analytics. This had been working before and I have Firebase.Analytics reporting to the Firebase.Console for Events and Parameters.

I have checked everything recommended in this article.

https://learn.microsoft.com/en-us/dotnet/maui/ios/pair-to-mac?view=net-maui-8.0

and this article

https://learn.microsoft.com/en-us/xamarin/ios/get-started/installation/windows/connecting-to-mac/troubleshooting

Here is the errors from the Xamarin Log:

(I don't see anything listening on the mentioned ports for the Messaging service.
Remote Login is turned on for All Users. The firewall is configured to accept incoming connections. The ssh keys are correctly setup. ping works and ssh works)

Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from DisconnectedState to ConfiguringState on Luz’s Mac mini (192.168.12.211): 02/29/2024 23:12:23Z DateTime=2024-02-29T23:12:23.6412644Z: 02/29/2024 23:12:23Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Checking host configuration for connecting to 'Luz’s Mac mini'...: 02/29/2024 23:12:23Z DateTime=2024-02-29T23:12:23.7661628Z: 02/29/2024 23:12:23Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Checking host configuration for connecting to 'Luz’s Mac mini'...: 02/29/2024 23:12:23Z DateTime=2024-02-29T23:12:23.7661628Z: 02/29/2024 23:12:23Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Checking SSH configuration...: 02/29/2024 23:12:23Z DateTime=2024-02-29T23:12:23.9332606Z: 02/29/2024 23:12:23Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Checking SSH configuration...: 02/29/2024 23:12:23Z DateTime=2024-02-29T23:12:23.9332606Z: 02/29/2024 23:12:23Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Initializing environment...: 02/29/2024 23:12:24Z DateTime=2024-02-29T23:12:24.3922564Z: 02/29/2024 23:12:24Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Initializing environment...: 02/29/2024 23:12:24Z DateTime=2024-02-29T23:12:24.3922564Z: 02/29/2024 23:12:24Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Checking available disk space...: 02/29/2024 23:12:24Z DateTime=2024-02-29T23:12:24.4202569Z: 02/29/2024 23:12:24Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Checking available disk space...: 02/29/2024 23:12:24Z DateTime=2024-02-29T23:12:24.4202569Z: 02/29/2024 23:12:24Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Checking if Rosetta is installed...: 02/29/2024 23:12:24Z DateTime=2024-02-29T23:12:24.4522651Z: 02/29/2024 23:12:24Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Checking if Rosetta is installed...: 02/29/2024 23:12:24Z DateTime=2024-02-29T23:12:24.4522651Z: 02/29/2024 23:12:24Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Checking Mono installation...: 02/29/2024 23:12:24Z DateTime=2024-02-29T23:12:24.5202566Z: 02/29/2024 23:12:24Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Checking Mono installation...: 02/29/2024 23:12:24Z DateTime=2024-02-29T23:12:24.5202566Z: 02/29/2024 23:12:24Z Xamarin.Messaging.Ssh.SshCommands Information: 0 : A valid Mono installation has been found at '/Library/Frameworks/Mono.framework/Versions/Current/bin/mono64': 02/29/2024 23:12:24Z DateTime=2024-02-29T23:12:24.6052640Z: 02/29/2024 23:12:24Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Checking host configuration for connecting to 'Luz’s Mac mini'...: 02/29/2024 23:12:25Z DateTime=2024-02-29T23:12:25.0742729Z: 02/29/2024 23:12:25Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Checking host configuration for connecting to 'Luz’s Mac mini'...: 02/29/2024 23:12:25Z DateTime=2024-02-29T23:12:25.0742729Z: 02/29/2024 23:12:25Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from ConfiguringState to ConfiguredState on Luz’s Mac mini (192.168.12.211): 02/29/2024 23:12:25Z DateTime=2024-02-29T23:12:25.1161619Z: 02/29/2024 23:12:25Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Host 'Luz’s Mac mini' is configured correctly: 02/29/2024 23:12:25Z DateTime=2024-02-29T23:12:25.2332557Z: 02/29/2024 23:12:25Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Host 'Luz’s Mac mini' is configured correctly: 02/29/2024 23:12:25Z DateTime=2024-02-29T23:12:25.2332557Z: 02/29/2024 23:12:25Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from ConfiguredState to ConnectingState on Luz’s Mac mini (192.168.12.211): 02/29/2024 23:12:25Z DateTime=2024-02-29T23:12:25.2661591Z: 02/29/2024 23:12:25Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Starting connection to 'Luz’s Mac mini'...: 02/29/2024 23:12:25Z DateTime=2024-02-29T23:12:25.5795588Z: 02/29/2024 23:12:25Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Starting connection to 'Luz’s Mac mini'...: 02/29/2024 23:12:25Z DateTime=2024-02-29T23:12:25.5795588Z: 02/29/2024 23:12:25Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation. Trying to reestablish the connection...: 02/29/2024 23:12:25Z DateTime=2024-02-29T23:12:25.9756123Z: 02/29/2024 23:12:25Z Xamarin.Messaging.Ssh.MessagingService Information: 0 : Closing the underlying Messaging connection...: 02/29/2024 23:12:25Z DateTime=2024-02-29T23:12:25.9766134Z: 02/29/2024 23:12:25Z Xamarin.Messaging.Ssh.MessagingService Information: 0 : The underlying Messaging connection has been closed: 02/29/2024 23:12:25Z DateTime=2024-02-29T23:12:25.9775063Z: 02/29/2024 23:12:25Z Xamarin.Messaging.Ssh.MessagingService Information: 0 : Disposing Messaging service references...: 02/29/2024 23:12:25Z DateTime=2024-02-29T23:12:25.9775063Z: 02/29/2024 23:12:25Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Starting connection to 'Luz’s Mac mini'...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.0116005Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Starting connection to 'Luz’s Mac mini'...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.0116005Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from ConnectingState to SshConnectedState on Luz’s Mac mini (192.168.12.211): 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.0125053Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingService Information: 0 : Disposing Messaging service references...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.0464999Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : SSH connection to 'Luz’s Mac mini' has been established...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.1226104Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !SSH connection to 'Luz’s Mac mini' has been established...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.1226104Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Integration.State.ServerStateContext Error: 0 : The connection to the Mac has been lost in the middle of the process. Please try to connect again: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.1556117Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Integration.State.ServerStateContext Error: 0 : !The connection to the Mac has been lost in the middle of the process. Please try to connect again: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.1556117Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from SshConnectedState to DisconnectedState on Luz’s Mac mini (192.168.12.211): 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.3146157Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation and the connection could not be reestablished: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.5059140Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation. Trying to reestablish the connection...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.5059140Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation and the connection could not be reestablished: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8430326Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation. Trying to reestablish the connection...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8430326Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation and the connection could not be reestablished: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8430326Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation. Trying to reestablish the connection...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8440423Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation and the connection could not be reestablished: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8440423Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation. Trying to reestablish the connection...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8440423Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation and the connection could not be reestablished: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8440423Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation. Trying to reestablish the connection...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8440423Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation and the connection could not be reestablished: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8440423Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation. Trying to reestablish the connection...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8440423Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation and the connection could not be reestablished: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8440423Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation. Trying to reestablish the connection...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8440423Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation and the connection could not be reestablished: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8440423Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation. Trying to reestablish the connection...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8449161Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation and the connection could not be reestablished: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8449161Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation. Trying to reestablish the connection...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8449161Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation and the connection could not be reestablished: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8449161Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation. Trying to reestablish the connection...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8449161Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation and the connection could not be reestablished: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8459165Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation. Trying to reestablish the connection...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8459165Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation and the connection could not be reestablished: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8459165Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation. Trying to reestablish the connection...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8459165Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation and the connection could not be reestablished: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8459165Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation. Trying to reestablish the connection...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8469160Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation and the connection could not be reestablished: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8469160Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation. Trying to reestablish the connection...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8469160Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation and the connection could not be reestablished: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8469160Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation. Trying to reestablish the connection...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8469160Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation and the connection could not be reestablished: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8469160Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation. Trying to reestablish the connection...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8479168Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation and the connection could not be reestablished: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8479168Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation. Trying to reestablish the connection...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8479168Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation and the connection could not be reestablished: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8479168Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation. Trying to reestablish the connection...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8479168Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation and the connection could not be reestablished: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8479168Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation. Trying to reestablish the connection...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8499137Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation and the connection could not be reestablished: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8499137Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation. Trying to reestablish the connection...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8499137Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation and the connection could not be reestablished: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8499137Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation. Trying to reestablish the connection...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8529135Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation and the connection could not be reestablished: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8529135Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation. Trying to reestablish the connection...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8529135Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation and the connection could not be reestablished: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8529135Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation. Trying to reestablish the connection...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8539137Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation and the connection could not be reestablished: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8539137Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation. Trying to reestablish the connection...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8539137Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation and the connection could not be reestablished: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8539137Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation. Trying to reestablish the connection...: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8549143Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation and the connection could not be reestablished: 02/29/2024 23:12:26Z DateTime=2024-02-29T23:12:26.8549143Z: 02/29/2024 23:12:26Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from DisconnectedState to ConfiguringState on Luz’s Mac mini (192.168.12.211): 02/29/2024 23:12:47Z DateTime=2024-02-29T23:12:47.5319690Z: 02/29/2024 23:12:47Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Checking host configuration for connecting to 'Luz’s Mac mini'...: 02/29/2024 23:12:47Z DateTime=2024-02-29T23:12:47.7529724Z: 02/29/2024 23:12:47Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Checking host configuration for connecting to 'Luz’s Mac mini'...: 02/29/2024 23:12:47Z DateTime=2024-02-29T23:12:47.7529724Z: 02/29/2024 23:12:47Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Checking SSH configuration...: 02/29/2024 23:12:48Z DateTime=2024-02-29T23:12:48.0349495Z: 02/29/2024 23:12:48Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Checking SSH configuration...: 02/29/2024 23:12:48Z DateTime=2024-02-29T23:12:48.0349495Z: 02/29/2024 23:12:48Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Initializing environment...: 02/29/2024 23:12:48Z DateTime=2024-02-29T23:12:48.5559849Z: 02/29/2024 23:12:48Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Initializing environment...: 02/29/2024 23:12:48Z DateTime=2024-02-29T23:12:48.5559849Z: 02/29/2024 23:12:48Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation. Trying to reestablish the connection...: 02/29/2024 23:12:48Z DateTime=2024-02-29T23:12:48.5828969Z: 02/29/2024 23:12:48Z Xamarin.Messaging.Ssh.MessagingClientPro Warning: 0 : An error occurred while executing the operation and the connection could not be reestablished: 02/29/2024 23:12:48Z DateTime=2024-02-29T23:12:48.5828969Z: 02/29/2024 23:12:48Z Xamarin.Messaging.Integration.State.ServerStateContext Warning: 0 : An error occurred while trying to initialize the environment to connect to the Mac: 02/29/2024 23:12:48Z DateTime=2024-02-29T23:12:48.5848787Z: 02/29/2024 23:12:48Z Xamarin.Messaging.Integration.State.ServerStateContext Warning: 0 : !An error occurred while trying to initialize the environment to connect to the Mac: 02/29/2024 23:12:48Z DateTime=2024-02-29T23:12:48.5848787Z: 02/29/2024 23:12:48Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Checking available disk space...: 02/29/2024 23:12:48Z DateTime=2024-02-29T23:12:48.6584377Z: 02/29/2024 23:12:48Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Checking available disk space...: 02/29/2024 23:12:48Z DateTime=2024-02-29T23:12:48.6584377Z: 02/29/2024 23:12:48Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Checking if Rosetta is installed...: 02/29/2024 23:12:48Z DateTime=2024-02-29T23:12:48.7484426Z: 02/29/2024 23:12:48Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Checking if Rosetta is installed...: 02/29/2024 23:12:48Z DateTime=2024-02-29T23:12:48.7484426Z: 02/29/2024 23:12:48Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Checking Mono installation...: 02/29/2024 23:12:48Z DateTime=2024-02-29T23:12:48.8623195Z: 02/29/2024 23:12:48Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Checking Mono installation...: 02/29/2024 23:12:48Z DateTime=2024-02-29T23:12:48.8623195Z: 02/29/2024 23:12:48Z Xamarin.Messaging.Ssh.SshCommands Information: 0 : A valid Mono installation has been found at '/Library/Frameworks/Mono.framework/Versions/Current/bin/mono64': 02/29/2024 23:12:48Z DateTime=2024-02-29T23:12:48.9424471Z: 02/29/2024 23:12:48Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Checking host configuration for connecting to 'Luz’s Mac mini'...: 02/29/2024 23:12:49Z DateTime=2024-02-29T23:12:49.5464292Z: 02/29/2024 23:12:49Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Checking host configuration for connecting to 'Luz’s Mac mini'...: 02/29/2024 23:12:49Z DateTime=2024-02-29T23:12:49.5464292Z: 02/29/2024 23:12:49Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from ConfiguringState to ConfiguredState on Luz’s Mac mini (192.168.12.211): 02/29/2024 23:12:49Z DateTime=2024-02-29T23:12:49.5964358Z: 02/29/2024 23:12:49Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Host 'Luz’s Mac mini' is configured correctly: 02/29/2024 23:12:49Z DateTime=2024-02-29T23:12:49.7977876Z: 02/29/2024 23:12:49Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Host 'Luz’s Mac mini' is configured correctly: 02/29/2024 23:12:49Z DateTime=2024-02-29T23:12:49.7977876Z: 02/29/2024 23:12:49Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from ConfiguredState to ConnectingState on Luz’s Mac mini (192.168.12.211): 02/29/2024 23:12:49Z DateTime=2024-02-29T23:12:49.8478849Z: 02/29/2024 23:12:49Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Starting connection to 'Luz’s Mac mini'...: 02/29/2024 23:12:50Z DateTime=2024-02-29T23:12:50.1868858Z: 02/29/2024 23:12:50Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Starting connection to 'Luz’s Mac mini'...: 02/29/2024 23:12:50Z DateTime=2024-02-29T23:12:50.1868858Z: 02/29/2024 23:12:50Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Starting connection to 'Luz’s Mac mini'...: 02/29/2024 23:12:50Z DateTime=2024-02-29T23:12:50.5478895Z: 02/29/2024 23:12:50Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Starting connection to 'Luz’s Mac mini'...: 02/29/2024 23:12:50Z DateTime=2024-02-29T23:12:50.5478895Z: 02/29/2024 23:12:50Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from ConnectingState to SshConnectedState on Luz’s Mac mini (192.168.12.211): 02/29/2024 23:12:50Z DateTime=2024-02-29T23:12:50.5488887Z: 02/29/2024 23:12:50Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : SSH connection to 'Luz’s Mac mini' has been established...: 02/29/2024 23:12:50Z DateTime=2024-02-29T23:12:50.7126249Z: 02/29/2024 23:12:50Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !SSH connection to 'Luz’s Mac mini' has been established...: 02/29/2024 23:12:50Z DateTime=2024-02-29T23:12:50.7136234Z: 02/29/2024 23:12:50Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from SshConnectedState to AgentsStartingState on Luz’s Mac mini (192.168.12.211): 02/29/2024 23:12:50Z DateTime=2024-02-29T23:12:50.7456111Z: 02/29/2024 23:12:50Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Starting registered Agents: IDB 17.9.0.138...: 02/29/2024 23:12:51Z DateTime=2024-02-29T23:12:51.0656158Z: 02/29/2024 23:12:51Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Starting registered Agents: IDB 17.9.0.138...: 02/29/2024 23:12:51Z DateTime=2024-02-29T23:12:51.0656158Z: 02/29/2024 23:12:51Z Xamarin.Messaging.Integration.State.ServerStateContext Error: 0 : An error occurred while registering a handler for remote exception messages, so the remote errors content will not be handled in this active connection System.NullReferenceException: Object reference not set to an instance of an object. at Xamarin.Messaging.Integration.RemoteServer.d__81.MoveNext() in D:\a_work\1\s\src\Xamarin.Messaging.Integration\RemoteServer.cs:line 540: 02/29/2024 23:12:51Z DateTime=2024-02-29T23:12:51.1466118Z: 02/29/2024 23:12:51Z Xamarin.Messaging.Integration.State.ServerStateContext Error: 0 : !An error occurred while registering a handler for remote exception messages, so the remote errors content will not be handled in this active connection: 02/29/2024 23:12:51Z DateTime=2024-02-29T23:12:51.1466118Z: 02/29/2024 23:12:51Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Starting IDB 17.9.0.138...: 02/29/2024 23:12:51Z DateTime=2024-02-29T23:12:51.3345979Z: 02/29/2024 23:12:51Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Starting IDB 17.9.0.138...: 02/29/2024 23:12:51Z DateTime=2024-02-29T23:12:51.3345979Z: 02/29/2024 23:12:51Z Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : Checking IDB 17.9.0.138 installation...: 02/29/2024 23:12:51Z DateTime=2024-02-29T23:12:51.4805286Z: 02/29/2024 23:12:51Z Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : !Checking IDB 17.9.0.138 installation...: 02/29/2024 23:12:51Z DateTime=2024-02-29T23:12:51.4805286Z: 02/29/2024 23:12:51Z Xamarin.Messaging.Ssh.MessagingService Information: 0 : Starting Agent IDB 17.9.0.138...: 02/29/2024 23:12:53Z DateTime=2024-02-29T23:12:53.9023133Z: 02/29/2024 23:12:53Z Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : Starting IDB 17.9.0.138 in port 58845...: 02/29/2024 23:12:53Z DateTime=2024-02-29T23:12:53.9023133Z: 02/29/2024 23:12:53Z Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : !Starting IDB 17.9.0.138 in port 58845...: 02/29/2024 23:12:53Z DateTime=2024-02-29T23:12:53.9023133Z: 02/29/2024 23:12:53Z Xamarin.Messaging.Ssh.SshCommands Information: 0 : A valid Mono installation has been found at '/Library/Frameworks/Mono.framework/Versions/Current/bin/mono64': 02/29/2024 23:12:53Z DateTime=2024-02-29T23:12:53.9833174Z: 02/29/2024 23:12:53Z Xamarin.Messaging.Ssh.MessagingService Error: 0 : An error occurred while trying to start the Agent IDB 17.9.0.138 Xamarin.Messaging.Ssh.Exceptions.AgentInitializationException: An error occurred while trying to start IDB 17.9.0.138 ---> Xamarin.Messaging.Exceptions.MessagingException: Xamarin.Messaging.Client.AgentConsoleRunner{Xamarin.Messaging.IDB.IDBAgent} Information: 0 : Starting IDB 17.9.0.138-d17-9+60c2b9b... Xamarin.Messaging.IDB.IDBAgent Information: 0 : Starting: IDB 17.9.0.138 ( PID = 3169 ) Xamarin.Messaging.IDB.IDBAgent Information: 0 : Connecting Agent to the Broker... System.Net.Mqtt.Sdk.Bindings.TcpChannelFactory Error: 0 : An error occurred while connecting via TCP to the endpoint address 127.0.0.1 and port 58845, to establish an MQTT connection System.Net.Sockets.SocketException (0x80004005): Connection refused at System.Net.Sockets.SocketAsyncResult.CheckIfThrowDelayedException () [0x0003b] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net.Sockets/SocketAsyncResult.cs:134 at System.Net.Sockets.Socket.EndConnect (System.IAsyncResult asyncResult) [0x0002c] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net.Sockets/Socket.cs:1214 at System.Net.Sockets.TcpClient.EndConnect (System.IAsyncResult asyncResult) [0x00006] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System/net/System/Net/Sockets/TCPClient.cs:393 at System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func2[T,TResult] endFunction, System.Action1[T] endAction, System.Threading.Tasks.Task1[TResult] promise, System.Boolean requiresSynchronization) [0x00019] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/FutureFactory.cs:538 --- End of stack trace from previous location where exception was thrown ---

at System.Net.Mqtt.Sdk.Bindings.TcpChannelFactory.CreateAsync () [0x000f1] in D:\a_work\1\s\src\Client\Sdk\Bindings\TcpChannelFactory.cs:37 System.Net.Mqtt.Sdk.MqttClientImpl Error: 0 : System.Net.Mqtt.MqttException: An error occurred while connecting via TCP to the endpoint address 127.0.0.1 and port 58845, to establish an MQTT connection ---> System.Net.Sockets.SocketException: Connection refused at System.Net.Sockets.SocketAsyncResult.CheckIfThrowDelayedException () [0x0003b] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net.Sockets/SocketAsyncResult.cs:134 at System.Net.Sockets.Socket.EndConnect (System.IAsyncResult asyncResult) [0x0002c] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net.Sockets/Socket.cs:1214 at System.Net.Sockets.TcpClient.EndConnect (System.IAsyncResult asyncResult) [0x00006] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System/net/System/Net/Sockets/TCPClient.cs:393 at System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func2[T,TResult] endFunction, System.Action1[T] endAction, System.Threading.Tasks.Task1[TResult] promise, System.Boolean requiresSynchronization) [0x00019] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/FutureFactory.cs:538 --- End of stack trace from previous location where exception was thrown ---

at System.Net.Mqtt.Sdk.Bindings.TcpChannelFactory.CreateAsync () [0x000f1] in D:\a_work\1\s\src\Client\Sdk\Bindings\TcpChannelFactory.cs:37 --- End of inner exception stack trace --- at System.Net.Mqtt.Sdk.Bindings.TcpChannelFactory.CreateAsync () [0x0015a] in D:\a_work\1\s\src\Client\Sdk\Bindings\TcpChannelFactory.cs:47 at System.Net.Mqtt.Sdk.PacketChannelFactory.CreateAsync () [0x00040] in D:\a_work\1\s\src\Client\Sdk\PacketChannelFactory.cs:36 at System.Net.Mqtt.Sdk.MqttClientImpl.InitializeChannelAsync () [0x0002c] in D:\a_work\1\s\src\Client\Sdk\MqttClientImpl.cs:387 at System.Net.Mqtt.Sdk.MqttClientImpl.ConnectAsync (System.Net.Mqtt.MqttClientCredentials credentials, System.Net.Mqtt.MqttLastWill will, System.Boolean cleanSession) [0x000ee] in D:\a_work\1\s\src\Client\Sdk\MqttClientImpl.cs:81 Xamarin.Messaging.IDB.ListenerProvider Information: 0 : Constructing Listener Provider Xamarin.Messaging.Client.MessagingConnection Error: 0 : There was an error while trying to connect the client IDB1790138 to the Server. System.Net.Mqtt.MqttClientException: An error occurred while trying to connect the client ---> System.Net.Mqtt.MqttException: An error occurred while connecting via TCP to the endpoint address 127.0.0.1 and port 58845, to establish an MQTT connection ---> System.Net.Sockets.SocketException: Connection refused at System.Net.Sockets.SocketAsyncResult.CheckIfThrowDelayedException () [0x0003b] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net.Sockets/SocketAsyncResult.cs:134 at System.Net.Sockets.Socket.EndConnect (System.IAsyncResult asyncResult) [0x0002c] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net.Sockets/Socket.cs:1214 at System.Net.Sockets.TcpClient.EndConnect (System.IAsyncResult asyncResult) [0x00006] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System/net/System/Net/Sockets/TCPClient.cs:393 at System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func2[T,TResult] endFunction, System.Action1[T] endAction, System.Threading.Tasks.Task1[TResult] promise, System.Boolean requiresSynchronization) [0x00019] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/FutureFactory.cs:538 --- End of stack trace from previous location where exception was thrown ---

at System.Net.Mqtt.Sdk.Bindings.TcpChannelFactory.CreateAsync () [0x000f1] in D:\a_work\1\s\src\Client\Sdk\Bindings\TcpChannelFactory.cs:37 --- End of inner exception stack trace --- at System.Net.Mqtt.Sdk.Bindings.TcpChannelFactory.CreateAsync () [0x0015a] in D:\a_work\1\s\src\Client\Sdk\Bindings\TcpChannelFactory.cs:47 at System.Net.Mqtt.Sdk.PacketChannelFactory.CreateAsync () [0x00040] in D:\a_work\1\s\src\Client\Sdk\PacketChannelFactory.cs:36 at System.Net.Mqtt.Sdk.MqttClientImpl.InitializeChannelAsync () [0x0002c] in D:\a_work\1\s\src\Client\Sdk\MqttClientImpl.cs:387 at System.Net.Mqtt.Sdk.MqttClientImpl.ConnectAsync (System.Net.Mqtt.MqttClientCredentials credentials, System.Net.Mqtt.MqttLastWill will, System.Boolean cleanSession) [0x000ee] in D:\a_work\1\s\src\Client\Sdk\MqttClientImpl.cs:81 --- End of inner exception stack trace --- at System.Net.Mqtt.Sdk.MqttClientImpl.ConnectAsync (System.Net.Mqtt.MqttClientCredentials credentials, System.Net.Mqtt.MqttLastWill will, System.Boolean cleanSession) [0x0058b] in D:\a_work\1\s\src\Client\Sdk\MqttClientImpl.cs:137 at Xamarin.Messaging.Client.MessagingConnection.ConnectAsync (System.Boolean cleanSession) [0x000f1] in :0 Xamarin.Messaging.Client.AgentConsoleRunner{Xamarin.Messaging.IDB.IDBAgent} Error: 0 : An unexpected error occurred and the agent 'IDB 17.9.0.138' will be terminated Xamarin.Messaging.Exceptions.MessagingException: There was an error while trying to connect the client IDB1790138 to the Server. ---> System.Net.Mqtt.MqttClientException: An error occurred while trying to connect the client ---> System.Net.Mqtt.MqttException: An error occurred while connecting via TCP to the endpoint address 127.0.0.1 and port 58845, to establish an MQTT connection ---> System.Net.Sockets.SocketException: Connection refused at System.Net.Sockets.SocketAsyncResult.CheckIfThrowDelayedException () [0x0003b] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net.Sockets/SocketAsyncResult.cs:134 at System.Net.Sockets.Socket.EndConnect (System.IAsyncResult asyncResult) [0x0002c] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net.Sockets/Socket.cs:1214 at System.Net.Sockets.TcpClient.EndConnect (System.IAsyncResult asyncResult) [0x00006] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System/net/System/Net/Sockets/TCPClient.cs:393 at System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func2[T,TResult] endFunction, System.Action1[T] endAction, System.Threading.Tasks.Task1[TResult] promise, System.Boolean requiresSynchronization) [0x00019] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/FutureFactory.cs:538 --- End of stack trace from previous location where exception was thrown ---

at System.Net.Mqtt.Sdk.Bindings.TcpChannelFactory.CreateAsync () [0x000f1] in D:\a_work\1\s\src\Client\Sdk\Bindings\TcpChannelFactory.cs:37 --- End of inner exception stack trace --- at System.Net.Mqtt.Sdk.Bindings.TcpChannelFactory.CreateAsync () [0x0015a] in D:\a_work\1\s\src\Client\Sdk\Bindings\TcpChannelFactory.cs:47 at System.Net.Mqtt.Sdk.PacketChannelFactory.CreateAsync () [0x00040] in D:\a_work\1\s\src\Client\Sdk\PacketChannelFactory.cs:36 at System.Net.Mqtt.Sdk.MqttClientImpl.InitializeChannelAsync () [0x0002c] in D:\a_work\1\s\src\Client\Sdk\MqttClientImpl.cs:387 at System.Net.Mqtt.Sdk.MqttClientImpl.ConnectAsync (System.Net.Mqtt.MqttClientCredentials credentials, System.Net.Mqtt.MqttLastWill will, System.Boolean cleanSession) [0x000ee] in D:\a_work\1\s\src\Client\Sdk\MqttClientImpl.cs:81 --- End of inner exception stack trace --- at System.Net.Mqtt.Sdk.MqttClientImpl.ConnectAsync (System.Net.Mqtt.MqttClientCredentials credentials, System.Net.Mqtt.MqttLastWill will, System.Boolean cleanSession) [0x0058b] in D:\a_work\1\s\src\Client\Sdk\MqttClientImpl.cs:137 at Xamarin.Messaging.Client.MessagingConnection.ConnectAsync (System.Boolean cleanSession) [0x000f1] in :0 --- End of inner exception stack trace --- at Xamarin.Messaging.Client.MessagingConnection.ConnectAsync (System.Boolean cleanSession) [0x002ed] in :0 at Xamarin.Messaging.Client.AgentBase.ConnectAsync (Xamarin.Messaging.AgentInfo agentInfo, Xamarin.Messaging.ITopicGenerator topicGenerator) [0x00186] in :0 at Xamarin.Messaging.Client.AgentBase.StartAsync () [0x00185] in :0 at Xamarin.Messaging.Client.AgentConsoleRunner1[T].RunAsync () [0x00168] in <c438207aecb344f582afd553fe76105c>:0 XMA-Failed-e64f0f70-There was an error while trying to connect the client IDB1790138 to the Server. Xamarin.Messaging.Client.AgentConsoleRunner{Xamarin.Messaging.IDB.IDBAgent} Error: 0 : XMA-Failed-e64f0f70-There was an error while trying to connect the client IDB1790138 to the Server. at Xamarin.Messaging.Ssh.MessagingCommands.CheckProcessInitialization(String output, String exeFile, String sessionId, Int32& processId) in D:\a\_work\1\s\src\Xamarin.Messaging.Ssh\MessagingCommands.cs:line 225 at Xamarin.Messaging.Ssh.MessagingRemoteCommands.<StartProcessAsync>d__3.MoveNext() in D:\a\_work\1\s\src\Xamarin.Messaging.Ssh\MessagingRemoteCommands.cs:line 50 --- End of inner exception stack trace --- at Xamarin.Messaging.Ssh.MessagingRemoteCommands.<StartProcessAsync>d__3.MoveNext() in D:\a\_work\1\s\src\Xamarin.Messaging.Ssh\MessagingRemoteCommands.cs:line 69 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.Messaging.Ssh.MessagingService.<StartAgentAsync>d__86.MoveNext() in D:\a\_work\1\s\src\Xamarin.Messaging.Ssh\MessagingService.cs:line 264: 02/29/2024 23:12:55Z DateTime=2024-02-29T23:12:55.6923081Z: 02/29/2024 23:12:55Z Xamarin.Messaging.Ssh.MessagingService Error: 0 : !An error occurred while trying to start the Agent IDB 17.9.0.138: 02/29/2024 23:12:55Z DateTime=2024-02-29T23:12:55.6923081Z: 02/29/2024 23:12:55Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Starting registered Agents: IDB 17.9.0.138...: 02/29/2024 23:12:55Z DateTime=2024-02-29T23:12:55.6952209Z: 02/29/2024 23:12:55Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Starting registered Agents: IDB 17.9.0.138...: 02/29/2024 23:12:55Z DateTime=2024-02-29T23:12:55.6952209Z: 02/29/2024 23:12:55Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Starting registered Agents: IDB 17.9.0.138...: 02/29/2024 23:12:55Z DateTime=2024-02-29T23:12:55.7683191Z: 02/29/2024 23:12:55Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Starting registered Agents: IDB 17.9.0.138...: 02/29/2024 23:12:55Z DateTime=2024-02-29T23:12:55.7683191Z: 02/29/2024 23:12:55Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from AgentsStartingState to DisconnectingState on Luz’s Mac mini (192.168.12.211): 02/29/2024 23:12:55Z DateTime=2024-02-29T23:12:55.7803237Z: 02/29/2024 23:12:55Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Starting disconnection from Luz’s Mac mini...: 02/29/2024 23:12:55Z DateTime=2024-02-29T23:12:55.8992113Z: 02/29/2024 23:12:55Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Starting disconnection from Luz’s Mac mini...: 02/29/2024 23:12:55Z DateTime=2024-02-29T23:12:55.8992113Z: 02/29/2024 23:12:55Z Xamarin.Messaging.Ssh.MessagingService Information: 0 : Closing the underlying Messaging connection...: 02/29/2024 23:12:56Z DateTime=2024-02-29T23:12:56.0983304Z: 02/29/2024 23:12:56Z Xamarin.Messaging.Ssh.MessagingService Information: 0 : The underlying Messaging connection has been closed: 02/29/2024 23:12:56Z DateTime=2024-02-29T23:12:56.0992224Z: 02/29/2024 23:12:56Z Xamarin.Messaging.Ssh.MessagingService Information: 0 : Disposing Messaging service references...: 02/29/2024 23:12:56Z DateTime=2024-02-29T23:12:56.0992224Z: 02/29/2024 23:12:56Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Starting disconnection from Luz’s Mac mini...: 02/29/2024 23:12:56Z DateTime=2024-02-29T23:12:56.3102024Z: 02/29/2024 23:12:56Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Starting disconnection from Luz’s Mac mini...: 02/29/2024 23:12:56Z DateTime=2024-02-29T23:12:56.3102024Z: 02/29/2024 23:12:56Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from DisconnectingState to DisconnectedState on Luz’s Mac mini (192.168.12.211): 02/29/2024 23:12:56Z DateTime=2024-02-29T23:12:56.3102024Z: 02/29/2024 23:12:56Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : The connection to 'Luz’s Mac mini' has been finished: 02/29/2024 23:12:56Z DateTime=2024-02-29T23:12:56.4503099Z: 02/29/2024 23:12:56Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !The connection to 'Luz’s Mac mini' has been finished: 02/29/2024 23:12:56Z DateTime=2024-02-29T23:12:56.4503099Z: 02/29/2024 23:12:56Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from DisconnectedState to DisconnectedState on Luz’s Mac mini (192.168.12.211): 02/29/2024 23:12:56Z DateTime=2024-02-29T23:12:56.6143498Z: 02/29/2024 23:12:56Z Xamarin.Messaging.Integration.State.ServerStateContext Error: 0 : One or more errors occurred while starting the following Agents: IDB 17.9.0.138 Xamarin.Messaging.Ssh.Exceptions.AgentInitializationException: An error occurred while trying to start IDB 17.9.0.138 ---> Xamarin.Messaging.Exceptions.MessagingException: Xamarin.Messaging.Client.AgentConsoleRunner{Xamarin.Messaging.IDB.IDBAgent} Information: 0 : Starting IDB 17.9.0.138-d17-9+60c2b9b... Xamarin.Messaging.IDB.IDBAgent Information: 0 : Starting: IDB 17.9.0.138 ( PID = 3169 ) Xamarin.Messaging.IDB.IDBAgent Information: 0 : Connecting Agent to the Broker... System.Net.Mqtt.Sdk.Bindings.TcpChannelFactory Error: 0 : An error occurred while connecting via TCP to the endpoint address 127.0.0.1 and port 58845, to establish an MQTT connection System.Net.Sockets.SocketException (0x80004005): Connection refused at System.Net.Sockets.SocketAsyncResult.CheckIfThrowDelayedException () [0x0003b] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net.Sockets/SocketAsyncResult.cs:134 at System.Net.Sockets.Socket.EndConnect (System.IAsyncResult asyncResult) [0x0002c] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net.Sockets/Socket.cs:1214 at System.Net.Sockets.TcpClient.EndConnect (System.IAsyncResult asyncResult) [0x00006] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System/net/System/Net/Sockets/TCPClient.cs:393 at System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func2[T,TResult] endFunction, System.Action1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x00019] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/FutureFactory.cs:538 --- End of stack trace from previous location where exception was thrown ---

at System.Net.Mqtt.Sdk.Bindings.TcpChannelFactory.CreateAsync () [0x000f1] in D:\a_work\1\s\src\Client\Sdk\Bindings\TcpChannelFactory.cs:37 System.Net.Mqtt.Sdk.MqttClientImpl Error: 0 : System.Net.Mqtt.MqttException: An error occurred while connecting via TCP to the endpoint address 127.0.0.1 and port 58845, to establish an MQTT connection ---> System.Net.Sockets.SocketException: Connection refused at System.Net.Sockets.SocketAsyncResult.CheckIfThrowDelayedException () [0x0003b] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net.Sockets/SocketAsyncResult.cs:134 at System.Net.Sockets.Socket.EndConnect (System.IAsyncResult asyncResult) [0x0002c] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net.Sockets/Socket.cs:1214 at System.Net.Sockets.TcpClient.EndConnect (System.IAsyncResult asyncResult) [0x00006] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System/net/System/Net/Sockets/TCPClient.cs:393 at System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func2[T,TResult] endFunction, System.Action1[T] endAction, System.Threading.Tasks.Task1[TResult] promise, System.Boolean requiresSynchronization) [0x00019] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/FutureFactory.cs:538 --- End of stack trace from previous location where exception was thrown ---

at System.Net.Mqtt.Sdk.Bindings.TcpChannelFactory.CreateAsync () [0x000f1] in D:\a_work\1\s\src\Client\Sdk\Bindings\TcpChannelFactory.cs:37 --- End of inner exception stack trace --- at System.Net.Mqtt.Sdk.Bindings.TcpChannelFactory.CreateAsync () [0x0015a] in D:\a_work\1\s\src\Client\Sdk\Bindings\TcpChannelFactory.cs:47 at System.Net.Mqtt.Sdk.PacketChannelFactory.CreateAsync () [0x00040] in D:\a_work\1\s\src\Client\Sdk\PacketChannelFactory.cs:36 at System.Net.Mqtt.Sdk.MqttClientImpl.InitializeChannelAsync () [0x0002c] in D:\a_work\1\s\src\Client\Sdk\MqttClientImpl.cs:387 at System.Net.Mqtt.Sdk.MqttClientImpl.ConnectAsync (System.Net.Mqtt.MqttClientCredentials credentials, System.Net.Mqtt.MqttLastWill will, System.Boolean cleanSession) [0x000ee] in D:\a_work\1\s\src\Client\Sdk\MqttClientImpl.cs:81 Xamarin.Messaging.IDB.ListenerProvider Information: 0 : Constructing Listener Provider Xamarin.Messaging.Client.MessagingConnection Error: 0 : There was an error while trying to connect the client IDB1790138 to the Server. System.Net.Mqtt.MqttClientException: An error occurred while trying to connect the client ---> System.Net.Mqtt.MqttException: An error occurred while connecting via TCP to the endpoint address 127.0.0.1 and port 58845, to establish an MQTT connection ---> System.Net.Sockets.SocketException: Connection refused at System.Net.Sockets.SocketAsyncResult.CheckIfThrowDelayedException () [0x0003b] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net.Sockets/SocketAsyncResult.cs:134 at System.Net.Sockets.Socket.EndConnect (System.IAsyncResult asyncResult) [0x0002c] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net.Sockets/Socket.cs:1214 at System.Net.Sockets.TcpClient.EndConnect (System.IAsyncResult asyncResult) [0x00006] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System/net/System/Net/Sockets/TCPClient.cs:393 at System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func2[T,TResult] endFunction, System.Action1[T] endAction, System.Threading.Tasks.Task1[TResult] promise, System.Boolean requiresSynchronization) [0x00019] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/FutureFactory.cs:538 --- End of stack trace from previous location where exception was thrown ---

at System.Net.Mqtt.Sdk.Bindings.TcpChannelFactory.CreateAsync () [0x000f1] in D:\a_work\1\s\src\Client\Sdk\Bindings\TcpChannelFactory.cs:37 --- End of inner exception stack trace --- at System.Net.Mqtt.Sdk.Bindings.TcpChannelFactory.CreateAsync () [0x0015a] in D:\a_work\1\s\src\Client\Sdk\Bindings\TcpChannelFactory.cs:47 at System.Net.Mqtt.Sdk.PacketChannelFactory.CreateAsync () [0x00040] in D:\a_work\1\s\src\Client\Sdk\PacketChannelFactory.cs:36 at System.Net.Mqtt.Sdk.MqttClientImpl.InitializeChannelAsync () [0x0002c] in D:\a_work\1\s\src\Client\Sdk\MqttClientImpl.cs:387 at System.Net.Mqtt.Sdk.MqttClientImpl.ConnectAsync (System.Net.Mqtt.MqttClientCredentials credentials, System.Net.Mqtt.MqttLastWill will, System.Boolean cleanSession) [0x000ee] in D:\a_work\1\s\src\Client\Sdk\MqttClientImpl.cs:81 --- End of inner exception stack trace --- at System.Net.Mqtt.Sdk.MqttClientImpl.ConnectAsync (System.Net.Mqtt.MqttClientCredentials credentials, System.Net.Mqtt.MqttLastWill will, System.Boolean cleanSession) [0x0058b] in D:\a_work\1\s\src\Client\Sdk\MqttClientImpl.cs:137 at Xamarin.Messaging.Client.MessagingConnection.ConnectAsync (System.Boolean cleanSession) [0x000f1] in :0 Xamarin.Messaging.Client.AgentConsoleRunner{Xamarin.Messaging.IDB.IDBAgent} Error: 0 : An unexpected error occurred and the agent 'IDB 17.9.0.138' will be terminated Xamarin.Messaging.Exceptions.MessagingException: There was an error while trying to connect the client IDB1790138 to the Server. ---> System.Net.Mqtt.MqttClientException: An error occurred while trying to connect the client ---> System.Net.Mqtt.MqttException: An error occurred while connecting via TCP to the endpoint address 127.0.0.1 and port 58845, to establish an MQTT connection ---> System.Net.Sockets.SocketException: Connection refused at System.Net.Sockets.SocketAsyncResult.CheckIfThrowDelayedException () [0x0003b] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net.Sockets/SocketAsyncResult.cs:134 at System.Net.Sockets.Socket.EndConnect (System.IAsyncResult asyncResult) [0x0002c] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net.Sockets/Socket.cs:1214 at System.Net.Sockets.TcpClient.EndConnect (System.IAsyncResult asyncResult) [0x00006] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System/net/System/Net/Sockets/TCPClient.cs:393 at System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func2[T,TResult] endFunction, System.Action1[T] endAction, System.Threading.Tasks.Task1[TResult] promise, System.Boolean requiresSynchronization) [0x00019] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/FutureFactory.cs:538 --- End of stack trace from previous location where exception was thrown ---

at System.Net.Mqtt.Sdk.Bindings.TcpChannelFactory.CreateAsync () [0x000f1] in D:\a_work\1\s\src\Client\Sdk\Bindings\TcpChannelFactory.cs:37 --- End of inner exception stack trace --- at System.Net.Mqtt.Sdk.Bindings.TcpChannelFactory.CreateAsync () [0x0015a] in D:\a_work\1\s\src\Client\Sdk\Bindings\TcpChannelFactory.cs:47 at System.Net.Mqtt.Sdk.PacketChannelFactory.CreateAsync () [0x00040] in D:\a_work\1\s\src\Client\Sdk\PacketChannelFactory.cs:36 at System.Net.Mqtt.Sdk.MqttClientImpl.InitializeChannelAsync () [0x0002c] in D:\a_work\1\s\src\Client\Sdk\MqttClientImpl.cs:387 at System.Net.Mqtt.Sdk.MqttClientImpl.ConnectAsync (System.Net.Mqtt.MqttClientCredentials credentials, System.Net.Mqtt.MqttLastWill will, System.Boolean cleanSession) [0x000ee] in D:\a_work\1\s\src\Client\Sdk\MqttClientImpl.cs:81 --- End of inner exception stack trace --- at System.Net.Mqtt.Sdk.MqttClientImpl.ConnectAsync (System.Net.Mqtt.MqttClientCredentials credentials, System.Net.Mqtt.MqttLastWill will, System.Boolean cleanSession) [0x0058b] in D:\a_work\1\s\src\Client\Sdk\MqttClientImpl.cs:137 at Xamarin.Messaging.Client.MessagingConnection.ConnectAsync (System.Boolean cleanSession) [0x000f1] in :0 --- End of inner exception stack trace --- at Xamarin.Messaging.Client.MessagingConnection.ConnectAsync (System.Boolean cleanSession) [0x002ed] in :0 at Xamarin.Messaging.Client.AgentBase.ConnectAsync (Xamarin.Messaging.AgentInfo agentInfo, Xamarin.Messaging.ITopicGenerator topicGenerator) [0x00186] in :0 at Xamarin.Messaging.Client.AgentBase.StartAsync () [0x00185] in :0 at Xamarin.Messaging.Client.AgentConsoleRunner`1[T].RunAsync () [0x00168] in :0 XMA-Failed-e64f0f70-There was an error while trying to connect the client IDB1790138 to the Server. Xamarin.Messaging.Client.AgentConsoleRunner{Xamarin.Messaging.IDB.IDBAgent} Error: 0 : XMA-Failed-e64f0f70-There was an error while trying to connect the client IDB1790138 to the Server. at Xamarin.Messaging.Ssh.MessagingCommands.CheckProcessInitialization(String output, String exeFile, String sessionId, Int32& processId) in D:\a_work\1\s\src\Xamarin.Messaging.Ssh\MessagingCommands.cs:line 225 at Xamarin.Messaging.Ssh.MessagingRemoteCommands.d3.MoveNext() in D:\a_work\1\s\src\Xamarin.Messaging.Ssh\MessagingRemoteCommands.cs:line 50 --- End of inner exception stack trace --- at Xamarin.Messaging.Ssh.MessagingRemoteCommands.d3.MoveNext() in D:\a_work\1\s\src\Xamarin.Messaging.Ssh\MessagingRemoteCommands.cs:line 69 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.Messaging.Ssh.MessagingService.d__86.MoveNext() in D:\a_work\1\s\src\Xamarin.Messaging.Ssh\MessagingService.cs:line 264: 02/29/2024 23:12:56Z DateTime=2024-02-29T23:12:56.9409964Z: 02/29/2024 23:12:56Z Xamarin.Messaging.Integration.State.ServerStateContext Error: 0 : !One or more errors occurred while starting the following Agents: IDB 17.9.0.138: 02/29/2024 23:12:56Z DateTime=2024-02-29T23:12:56.9409964Z: 02/29/2024 23:12:56Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from DisconnectedState to DisconnectedState on Luz’s Mac mini (192.168.12.211): 02/29/2024 23:12:57Z DateTime=2024-02-29T23:12:57.1128630Z: 02/29/2024 23:12:57Z

Versions Microsoft Visual Studio Community 2022 Version 17.9.1 VisualStudio.17.Release/17.9.1+34616.47 Microsoft .NET Framework Version 4.8.09032

XCODE Version 14.3.1

MacOS Ventura 13.6.4

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

8.0.3 GA

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

ghost commented 6 months ago

Thanks for the issue report @borealoh! This issue appears to be a problem with Visual Studio, so we ask that you use the VS feedback tool to report the issue. That way it will get to the routed to the team that owns this experience in VS.

If you encounter a problem with Visual Studio, we want to know about it so that we can diagnose and fix it. By using the Report a Problem tool, you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks.

  1. Go to the Visual Studio for Windows feedback tool or Visual Studio for Mac feedback tool to report the issue
  2. Close this bug, and consider adding a link to the VS Feedback issue so that others can follow its activity there.
drasticactions commented 6 months ago

This is tooling that belongs to Visual Studio and can't be addressed in this repo. If you file a bug with VSFeedback, the right team and look at it and help you out.

borealoh commented 6 months ago

Since this problem happened right after an iphone deployment hung I decided to clean everything under Caches in the mac that seemed related and everything under the local temp that had the name Xamarin.'

In the Windows machine:

everything user's 1) AppData/Local/Temp/Xamarin and 2) AppData/Local/Xamarin

In the Mac machine:

everything under user's 1) Library/Caches/Xamarin 2) Library/Caches/mbuseragent1 and 3) Library/Caches/com.apple.dt.Xcode

After that I had to re-add the Mac into Windows Visual Studio manually. The first time I tried it failed towards the end on a different place (it almost never works the first time you try to connect anyways). The second time it sailed all the way through and things are working.

Will let you know if the problem comes back...

MAUIoxo commented 6 months ago

In such a case, I always try with "Forget this Mac" and close/open of VS until I see it also deploys something to the Mac (probably workloads etc.). It also took me some rounds until I saw that more than just the IDB instance is trying to connect. In such a case also a marker for me is that I have to re-enter my username and password. At least something you could try if it works for you. You could also try to delete come caches on the Mac, e.g. with a cc... tool

jfversluis commented 4 months ago

It's been a while without activity here so hopefully its resolved. In either case, this is something for the VS Feedback tool as already indicated. Closing this here, thanks all!