Bug 15900 - HTTPS/SSL streams can hang
Summary: HTTPS/SSL streams can hang
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: System ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Martin Baulig
Depends on:
Reported: 2013-11-04 08:28 UTC by Rolf Bjarne Kvinge [MSFT]
Modified: 2017-04-04 13:18 UTC (History)
4 users (show)

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

stack trace (10.63 KB, text/plain)
2013-11-04 08:28 UTC, Rolf Bjarne Kvinge [MSFT]

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 for Bug 15900 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description Rolf Bjarne Kvinge [MSFT] 2013-11-04 08:28:00 UTC
Created attachment 5323 [details]
stack trace

Sometimes HTTPS/SSL streams can hang forever.

This happens once in a while on MonkeyWrench for unknown reasons. Something special must happen on the server too (exactly what is unknown, but when it occurs it happens for all bots at the same time).

Yet the client should not hang no matter what the server does.

See attached stack trace to see exactly where it hangs in the client.
Comment 1 Rolf Bjarne Kvinge [MSFT] 2013-11-12 18:17:35 UTC
This looks suspicious: https://github.com/mono/mono/commit/7c06fc67
Comment 2 Rolf Bjarne Kvinge [MSFT] 2014-02-19 12:22:33 UTC
Another stack trace: https://gist.github.com/rolfbjarne/007b10431736950f0397

At this point apache had been restarted several times on the server.
Comment 3 Miguel de Icaza [MSFT] 2014-04-28 12:02:10 UTC
Have we compared what the semantics are with .NET in this case?

Perhaps what we do need is to implement the heart beat feature? ;-)