Bug 29073 - WebRequest with NTLM based Auth always times out on Mono
Summary: WebRequest with NTLM based Auth always times out on Mono
Status: CONFIRMED
Alias: None
Product: Class Libraries
Classification: Mono
Component: General (show other bugs)
Version: 3.12.0
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-04-14 08:45 UTC by John Miller [MSFT]
Modified: 2015-05-06 13:30 UTC (History)
8 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 for Bug 29073 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:
Status:
CONFIRMED

Description John Miller [MSFT] 2015-04-14 08:45:56 UTC
**Overview:**

   Trying to connect to a server with NTLM based AUTH always fails with Mono.

**Steps to Reproduce:**

   See private comment below. 

**Actual Results:**

   The request either never completes or times out when using Mono. 

**Expected Results:**

   Response should be valid. Using .NET, this works. 

**Build Date & Platform:**

   Mono 3.12

**Additional Information:**

   Run the test on Windows with .NET and the request/response will work as expected.
Comment 2 Dominic N [MSFT] 2015-04-14 12:06:32 UTC
I have been able to replicate the issue on my end. Marking as confirmed.
Comment 3 Martin Baulig 2015-04-21 07:15:08 UTC
Fascinating.
Comment 5 Miguel de Icaza [MSFT] 2015-04-21 15:25:19 UTC
We have some information to share.

The issue is not NTLM, as we do not even get a chance to speak NTLM to the server.   Instead the server immediately closes the connection after Mono tries to contact the remote server.

We have a bug in Mono: we hang instead of immediately reporting the error, we will address that.

In the meantime, it seems like the server would like us to support some cipher suite that we do not support, but we can not diagnose what that is.   That would need to have to be diagnosed on the server end.