Bug 12386 - Receive KEEPALIVE exiting message if DNS to mac isn't configured properly.
Summary: Receive KEEPALIVE exiting message if DNS to mac isn't configured properly.
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 1.1.x
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Jose Miguel Torres
URL:
Depends on:
Blocks:
 
Reported: 2013-05-24 12:06 UTC by webmaster
Modified: 2015-01-05 11:19 UTC (History)
7 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 webmaster 2013-05-24 12:06:16 UTC
If my DNS isn't set right where the hostname of the mac plus the domain suffix resolves to the mac, the keepalives don't work and the visual studio ios stuff severs the connection every minute or so.  I can't even get a build completed.

Along with the issue of having to kill the mtbserver to reconnect, this is really annoying.

I discovered it being tied to DNS after using a wireshark trace to see a bunch of DNS names in UDP traffic.

I added my mac to my local DNS server and I don't have any problems anymore.  I don't think any additional network configuration should be necessary if the initial connection is established.
Comment 1 Marek Habersack 2013-05-27 03:10:38 UTC
Visual Studio uses Apple Bonjour to obtain the IP address of the build server - it does not use DNS. DNS queries are as it seems used by the mdns daemon on the Mac machine (part of OSX) to obtain that IP. I'm inclined to say that there's not much we can do about this since we cannot modify the DNS configuration or Mac hostname+suffix but I will let Jose weigh in on that, as I might be wrong.
Comment 2 Jose Miguel Torres 2013-05-27 04:30:22 UTC
As Marek is pointing out, there is not much we can do. However, I would suggest to set your Mac build host IP manually (you may reach it by clicking "Configure Host manually" button of the Connection Dialog (Tools --> options --> Xamarin --> iOS --> Configre). This is not the recommended mode but at least it's perfectly useful and valid one. Let us know,,, Thanks.
Comment 3 Jose Miguel Torres 2013-06-06 10:14:00 UTC
Marking it as resolved.