Bug 1396 - Error occurred when user run the Keychain application on iPhone/iPad simulator.
Summary: Error occurred when user run the Keychain application on iPhone/iPad simulator.
Status: VERIFIED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: 4.9.xx
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-10-10 11:46 UTC by Jatin
Modified: 2013-06-18 08:34 UTC (History)
4 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 or GitHub 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:
VERIFIED FIXED

Description Jatin 2011-10-10 11:46:23 UTC
Steps to Reproduce:

1. Download all applications from http://github.com/xamarin/monotouch-samples
location.
2. Launch the MonoDevelop.
3. Click on "Open an existing solution" link.
4. Select KeyChain Frames application.
5. Click on Open button.
6. Select Debug|iPhone Simulator.
7. Select Build>>Build<Project name>.
8. Select RUN>>iPhone/iPad Simulator.    

Actual result:
The error, i.e. "Socket error while connecting to 127.0.0.1 on port 10001: Connection refused wait_fences: failed to receive reply: 10004003" is apearing in the console panel.

Expected result:

Error should not appear.

Environments:

MonoDevelop 2.8
MonoTouch 4.9.8
OS: Snow Leopard 10.6
Comment 1 Sebastien Pouliot 2011-10-26 17:06:51 UTC
fixed in 0b8fa336372968362c4b7017f696078312fe0107

The first line is because the application could not connect back to MonoDevelop debugger. That's likely because the port was in use in your computer. I don't see it here.

My first line is:
2011-10-26 16:28:42.190 Keychain[87158:1907] Applications are expected to have a root view controller at the end of application launch

And the second line is:
wait_fences: failed to receive reply: 10004003
documented here:
http://stackoverflow.com/questions/1371346/wait-fences-failed-to-receive-reply-10004003

Both were related to fact that the sample is not a "real" app, it's just a popup to show the KeyChain API. I've added the minimal initialization required so that the errors would not show on MD application output.
Comment 2 Jatin 2011-12-22 02:30:44 UTC
This issue still exists, as when Run any MonoTouch application on iPhone/iPad Simulator, the following error appears: 

"Socket error while connecting to 127.0.0.1 on port 10001: Connection refused"

Hence, reopening this issue dated 22nd December, 2011.
Comment 3 Rolf Bjarne Kvinge [MSFT] 2011-12-22 04:13:38 UTC
Which exact version of MonoDevelop did you test with?
Comment 4 Jatin 2011-12-22 04:38:42 UTC
MonoDevelop 2.8.5
MonoTouch 5.0.4
Mono 2.10.7
Comment 5 Rolf Bjarne Kvinge [MSFT] 2011-12-22 17:36:26 UTC
Jatin, did you "Run" as opposed to "Debug"? Or does that message appear when debugging too (and does it prevent debugging)?
Comment 6 Rolf Bjarne Kvinge [MSFT] 2012-04-04 12:24:37 UTC
The socket error was fixed a long time ago.
Comment 7 Mohit Kheterpal 2013-06-18 08:34:59 UTC
Today we have checked this issue on following builds :

XS 4.0.7(build 3)
MT 6.3.6.76
Mono 3.0.11

Now we are able to build and run application on device and simulator successfully without any error.

Hence closing this issue. Changing its status to verified.