Bug 61105 - Mac Agent "Error: Couldn't connect to Macbook, please try again"
Summary: Mac Agent "Error: Couldn't connect to Macbook, please try again"
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: General ()
Version: 4.8.0 (15.5)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2017-12-15 09:30 UTC by greg2fs
Modified: 2018-01-08 10:00 UTC (History)
5 users (show)

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

Xamarin logs (10.01 KB, application/zip)
2017-12-15 09:42 UTC, greg2fs

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 greg2fs 2017-12-15 09:30:08 UTC
I'm using VS 2017 15.5.2 community with xamarin on windows 10, and connect to a macbook under macos high sierra 10.13.1 with xcode 9.2 and vs 7.3.2 (build 12). Everything is up to date.

I can connect from pc to mac through ssh without issue.
I was able to compile and run ios an ios app yesterday from windows 7, but after updated my iphone the compiled app wasn't launched when trying to debug so I decided to update xcode and also windows because I add other issue on my pc so I installed windows 10 (fresh install).

Now in windows when I start the mac agent and try to connect it seems to connect, ask for mac logins and when I validate after few seconds I receive the message "Error: Couldn't connect to Macbook de Gregory, please try again" and VS crashes after some seconds.

I tried connecting the mac agent with the ip, in my sshdconfig I put:
PasswordAuthentication yes
ChallengeResponseAuthentication yes
UseDNS no

with no change, I deactivated and reactivated Remote Loging on the mac with no effect.
Comment 1 greg2fs 2017-12-15 09:42:20 UTC
Created attachment 26013 [details]
Xamarin logs
Comment 2 Manuel de la Peña [MSFT] 2017-12-15 15:27:02 UTC
Changing the product to be the VS extensions which is the correct product. The team behind it will take care.
Comment 3 greg2fs 2017-12-16 10:15:32 UTC
It works now, I don't really know why, things I remember I did since last time:
-copied the project from windows to mac
-opened the project in vs mac and try to connect to my visualstudio git without success
-tried ssh connection from mc to visualstudio git, trusted host, but said access denied
-tried again in visualstudio, but fail
-on windows opened the project, didn't tried to connect mac agent, tried to launch debug on ios simulator (still from windows) and mac agent dialog appeared, I added the ip and the connection worked.

Now the mac agent connect itself...
Comment 4 Manuel de la Peña [MSFT] 2018-01-08 10:00:46 UTC
Will close the bug as "could not reproduce". Feel free to reopen the issue if it occurs again or if it can be reproduced.