Bug 32387 - TFS tries to connect to incorrect Mac build host
Summary: TFS tries to connect to incorrect Mac build host
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 3.11 (C5)
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Prashant Cholachagudda
URL:
Depends on:
Blocks:
 
Reported: 2015-07-24 03:30 UTC by Prashant Cholachagudda
Modified: 2016-12-22 22:43 UTC (History)
5 users (show)

Tags:
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:
Status:
RESOLVED FIXED

Description Prashant Cholachagudda 2015-07-24 03:30:36 UTC
When customer tries to build an iOS project from TFS it connects to incorrect build host, resulting build failure.

When they added some debugging in the Xamarin.iOS.Common.After.targets file to see the value of the $(ServerAddress), and the value of the MtouchTargetsEnabled after the SayHello task, and they got this in their log:


_SayHello:
DEBUG-ServerAddress=192.168.30.70
Opening control connection
Build server control connection failed
Attempt to connect to the build host 198.105.244.11:5000 timed out (5s)
DEBUG-MtouchTargetsEnabled=False

As you can see, they are asking to connect to server 192.168.30.70, but the SayHello task tried to connect to 198.105.244.11.

Changing the following register keys works for them as temporary workaround:
[HKEY_CURRENT_USER\Software\Xamarin\MonoTouchVS]
"MonoTouchBuildServerAddress"="sumacmini.local"
[HKEY_CURRENT_USER\Software\Xamarin\MonoTouchVS\KnownServers]
"sumacmini.local"="192.168.30.70"
Comment 2 mag@xamarin.com 2016-01-26 14:49:29 UTC
Please check if this scenario is currently working with XMA, since old Build Host is not supported anymore.
Comment 3 Jose Gallardo 2016-12-22 22:43:52 UTC
Hi,
As we've added several improvements to our build system and deploying/debugging mechanism since the bug was reported, I'm resolving it tentatively as Fixed.
That said, if you're still facing this issue with current bits, please feel free to reopen the bug.
Thanks