Bug 54122 - Xamarin Mac Agent fails to connect .. not sure why
Summary: Xamarin Mac Agent fails to connect .. not sure why
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: XMA ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2017-03-28 14:02 UTC by Douglas Starnes
Modified: 2017-03-31 19:37 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Douglas Starnes 2017-03-28 14:02:32 UTC
On 3/23 everything was working with XS Stable, VS Mac Preview 5 and Xamarin VS 2017 Stable.  I went to a user group that night to demo VS 2017 and VS Mac during which I had change networks.  In fact ended up using a hotspot to get the Mac and PC to speak to each other.  Every since then, the Mac Agent not only refuses to connect, but won't even see the hostname of my Mac on the network.  I've removed VS Mac, cleared the caches, set UseDNS to No in sshd_config on the Mac and confirmed that I can SSH into the Mac with both hostname and IP address.  I've also checked with netstat on the Mac that SSH is indeed establishing a connection between the two.  Also, the system log on the Mac shows that sshd exits abnormally with code 255 every time I try to connect with the Mac Agent.  I'm filing a bug because I have seen no one else come up with this issue.  It may be an issue on the Mac as opposed to the Mac Agent.  Again I'm not sure.
Comment 1 Ben Beckley 2017-03-28 17:19:45 UTC
Hi Douglas,

I see that you've already done a good deal of troubleshooting yourself. Could you please share your Xamarin logs with us (Help>Xamarin>Zip Logs) so that we can check if anything is malfunctioning there?

Thank you.
Comment 2 Douglas Starnes 2017-03-30 15:44:48 UTC
I looked at that a few days ago and didn't seen any error messages.  Plus when I tried it again just now, the zip file is empty.
Comment 3 Douglas Starnes 2017-03-31 19:37:12 UTC
So I just installed the VS2017 update that came out yesterday.  No changes made to the Mac.  And now XMA connects just fine.  I have no idea why which is kind of scary but for now I'm going to mark this as resolved and not reproducible because there is no longer an issue to fix.