Bug 6013 - Stopping a debug session throws a System.Net.Sockets.SocketException
Summary: Stopping a debug session throws a System.Net.Sockets.SocketException
Status: RESOLVED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: Debugger ()
Version: 4.2.x
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-07-06 13:34 UTC by Stephen Shaw
Modified: 2016-09-02 21:02 UTC (History)
2 users (show)

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

Description Stephen Shaw 2012-07-06 13:34:44 UTC
When I hit stop on a debug session the application on the android tablet (samsung tab 10.1 1) doesn't stop running, but monodevelop stops debugging.  In the console I'm getting an exception.

Version (using a git version):
Build information:
	Release ID: 30100000
	Git revision: 6d41fd0d2891dbd5a3d96878f895fe3b9b4c3d68-dirty
	Build date: 2012-07-06 16:47:03+0000
	Xamarin addins: fa75402724aa9818f40d7180c6ae89f060d7e9cd
Operating System:
	Mac OS X 10.7.4
	Darwin sgshaw_mac 11.4.0 Darwin Kernel Version 11.4.0
	    Mon Apr  9 19:32:15 PDT 2012
	    root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64


System.Net.Sockets.SocketException: The descriptor is not a socket
  at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, Int32 offset, Int32 size, SocketFlags flags) [0x00000] in <filename unknown>:0 
  at Mono.Debugger.Soft.TcpConnection.TransportReceive (System.Byte[] buf, Int32 buf_offset, Int32 len) [0x00000] in <filename unknown>:0 
  at Mono.Debugger.Soft.Connection.Receive (System.Byte[] buf, Int32 buf_offset, Int32 len) [0x00000] in <filename unknown>:0 
  at Mono.Debugger.Soft.Connection.ReadPacket () [0x00000] in <filename unknown>:0 
  at Mono.Debugger.Soft.Connection.ReceivePacket () [0x00000] in <filename unknown>:0 
  at Mono.Debugger.Soft.Connection.receiver_thread_main () [0x00000] in <filename unknown>:0 
ERROR [2012-07-06 11:28:29Z]: Execution failed
System.OperationCanceledException: The operation was canceled.
  at System.Threading.CancellationToken.ThrowIfCancellationRequested () [0x00000] in <filename unknown>:0 
  at System.Threading.ManualResetEventSlim.Wait (Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0 
  at System.Threading.Tasks.Task.Wait (Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0 
  at System.Threading.Tasks.Task.Wait (CancellationToken cancellationToken) [0x00000] in <filename unknown>:0 
  at MonoDevelop.MonoDroid.TaskOperation.WaitForCompleted () [0x00000] in <filename unknown>:0 
  at MonoDevelop.MonoDroid.MonoDroidProject.OnExecute (IProgressMonitor monitor, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configSel) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.DefaultProjectServiceExtension.Execute (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.NUnit.NUnitProjectServiceExtension.Execute (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Autotools.MakefileProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem entry, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.CustomCommandExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem entry, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.SolutionItem.Execute (IProgressMonitor monitor, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.Solution.OnExecute (IProgressMonitor monitor, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.DefaultProjectServiceExtension.Execute (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.Solution solution, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.WorkspaceItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.NUnit.NUnitProjectServiceExtension.Execute (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.Solution solution, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.WorkspaceItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.Solution solution, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.WorkspaceItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.Solution solution, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.WorkspaceItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.Solution solution, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.WorkspaceItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.Solution solution, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.WorkspaceItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.Solution solution, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.WorkspaceItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.Solution solution, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.WorkspaceItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.Solution solution, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.WorkspaceItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.Solution solution, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, MonoDevelop.Projects.WorkspaceItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.ProjectServiceExtension.Execute (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.WorkspaceItem.Execute (IProgressMonitor monitor, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Ide.ProjectOperations.ExecuteSolutionItemAsync (IProgressMonitor monitor, IBuildTarget entry, MonoDevelop.Projects.ExecutionContext context) [0x00000] in <filename unknown>:0
Comment 1 Stephen Shaw 2012-11-28 14:47:32 UTC
I'm seeing this a lot now.  Maybe my company's network is blocking this traffic?
Comment 2 Miguel de Icaza [MSFT] 2013-05-22 15:38:18 UTC
Stephen, do you still get this error often?
Comment 3 Stephen Shaw 2013-05-31 14:06:54 UTC
Not sure if its related or if it even causes problems, but I still get these type messages.


ERROR [2013-05-30 16:32:12Z]: Failed to upload report to the server
System.Net.WebException: Error: ConnectFailure (Connection refused) ---> System.Net.Sockets.SocketException: Connection refused
  at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x000f1] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/System/System.Net.Sockets/Socket_2_1.cs:1286 
  at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x00180] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/System/System.Net/WebConnection.cs:199 
  --- End of inner exception stack trace ---
  at System.Net.HttpWebRequest.EndGetRequestStream (IAsyncResult asyncResult) [0x0004c] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/System/System.Net/HttpWebRequest.cs:758 
  at System.Net.HttpWebRequest.GetRequestStream () [0x00057] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/System/System.Net/HttpWebRequest.cs:773 
  at MonoDevelop.Core.LogReporting.LogReportingService.TryUploadReport (System.String filename, System.Byte[] data) [0x000cd] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.LogReporting/LogReportingService.cs:174 
ERROR [2013-05-30 16:32:12Z]: Failed to upload report to the server
System.Net.WebException: Error: ConnectFailure (Connection refused) ---> System.Net.Sockets.SocketException: Connection refused
  at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x000f1] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/System/System.Net.Sockets/Socket_2_1.cs:1286 
  at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x00180] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/System/System.Net/WebConnection.cs:199 
  --- End of inner exception stack trace ---
  at System.Net.HttpWebRequest.EndGetRequestStream (IAsyncResult asyncResult) [0x0004c] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/System/System.Net/HttpWebRequest.cs:758 
  at System.Net.HttpWebRequest.GetRequestStream () [0x00057] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/System/System.Net/HttpWebRequest.cs:773 
  at MonoDevelop.Core.LogReporting.LogReportingService.TryUploadReport (System.String filename, System.Byte[] data) [0x000cd] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.LogReporting/LogReportingService.cs:174 
ERROR [2013-05-30 16:32:12Z]: Failed to upload report to the server
System.Net.WebException: Error: ConnectFailure (Connection refused) ---> System.Net.Sockets.SocketException: Connection refused
  at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x000f1] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/System/System.Net.Sockets/Socket_2_1.cs:1286 
  at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x00180] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/System/System.Net/WebConnection.cs:199 
  --- End of inner exception stack trace ---
  at System.Net.HttpWebRequest.EndGetRequestStream (IAsyncResult asyncResult) [0x0004c] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/System/System.Net/HttpWebRequest.cs:758 
  at System.Net.HttpWebRequest.GetRequestStream () [0x00057] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/System/System.Net/HttpWebRequest.cs:773 
  at MonoDevelop.Core.LogReporting.LogReportingService.TryUploadReport (System.String filename, System.Byte[] data) [0x000cd] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.LogReporting/LogReportingService.cs:174 
ERROR [2013-05-30 16:32:12Z]: Failed to upload report to the server
System.Net.WebException: Error: ConnectFailure (Connection refused) ---> System.Net.Sockets.SocketException: Connection refused
  at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x000f1] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/System/System.Net.Sockets/Socket_2_1.cs:1286 
  at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x00180] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/System/System.Net/WebConnection.cs:199 
  --- End of inner exception stack trace ---
  at System.Net.HttpWebRequest.EndGetRequestStream (IAsyncResult asyncResult) [0x0004c] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/System/System.Net/HttpWebRequest.cs:758 
  at System.Net.HttpWebRequest.GetRequestStream () [0x00057] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/System/System.Net/HttpWebRequest.cs:773 
  at MonoDevelop.Core.LogReporting.LogReportingService.TryUploadReport (System.String filename, System.Byte[] data) [0x000cd] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.LogReporting/LogReportingService.cs:174
Comment 4 Stephen Shaw 2013-12-11 11:08:21 UTC
I'm not sure these messages are specific to debugging at all. I think I get them somewhat frequently though.

I'm wondering if this is causes by our network and its ability to block seemingly everything :(

However, that being said though... These messages clutter up the log and make it really annoying to look through and parse. ie, when I have to run kill -QUIT ${pid}. It takes me a bit to try and find the beginning of that. :/




System.Net.WebException: Error: ConnectFailure (Connection refused) ---> System.Net.Sockets.SocketException: Connection refused
  at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x000f1] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.5/mcs/class/System/System.Net.Sockets/Socket_2_1.cs:1253 
  at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x0019b] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.5/mcs/class/System/System.Net/WebConnection.cs:207 
  --- End of inner exception stack trace ---
  at System.Net.HttpWebRequest.EndGetRequestStream (IAsyncResult asyncResult) [0x00045] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.5/mcs/class/System/System.Net/HttpWebRequest.cs:838 
  at System.Net.HttpWebRequest.GetRequestStream () [0x00057] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.5/mcs/class/System/System.Net/HttpWebRequest.cs:854 
  at MonoDevelop.Core.LoggingService.TryUploadReport (System.String filename, System.Byte[] data) [0x000d0] in /Users/builder/data/lanes/monodevelop-lion-license-sync/c5f82958/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core/LoggingService.cs:282 
ERROR [2013-12-10 12:50:44Z]: Failed to upload report to the server
System.Net.WebException: Error: ConnectFailure (Connection refused) ---> System.Net.Sockets.SocketException: Connection refused
  at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x000f1] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.5/mcs/class/System/System.Net.Sockets/Socket_2_1.cs:1253 
  at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x0019b] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.5/mcs/class/System/System.Net/WebConnection.cs:207 
  --- End of inner exception stack trace ---
Comment 5 Marek Habersack 2016-09-02 21:02:20 UTC
No longer occurs with monodroid/master (ade94be41adf31a58b02e5feabd4b8bfaf522a4e)