Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
A customer using XS behind a proxy that uses NTLM is unable to activate.
**Steps to Reproduce:**
1. Need a proxy that uses NTLM authentication
2. Use XS and try to log into your account through the IDE
Unable to activate / use XS because it constantly prompts you for activation.
Successful login and activation. The customer is able to browse the web normally and other sites prompt for credentials when required, except xamarin.com seems to not work either.
**Build Date & Platform:**
Attached are the IDE logs and a PCAP network capture by the customer.
This is "McAfee Web Gateway" proxy.
It's possible that we are only expecting a response of 407, where some proxies return a 401.
Here's the error from the logs:
System.Net.WebException: Error getting response stream (ReadHeaders): ServerProtocolViolation ---> System.Exception: at System.Net.WebConnection.HandleError(WebExceptionStatus st, System.Exception e, System.String where)
at System.Net.WebConnection.ReadHeaders(System.IO.Stream stream, System.Byte ByRef retBuffer, Int32 ByRef status)
at System.Net.WebConnection.CreateTunnel(System.Net.HttpWebRequest request, System.Uri connectUri, System.IO.Stream stream, System.Byte ByRef buffer)
at System.Net.WebConnection.CreateStream(System.Net.HttpWebRequest request)
at System.Net.WebConnection.InitConnection(System.Object state)
at System.Net.WebConnection.<WebConnection>m__0(System.Object state)
at System.Net.WebConnection.HandleError (WebExceptionStatus st, System.Exception e, System.String where) [0x0003a] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System/System.Net/WebConnection.cs:493
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetRequestStream (IAsyncResult asyncResult) [0x00045] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System/System.Net/HttpWebRequest.cs:820
at System.Net.HttpWebRequest.GetRequestStream () [0x00057] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System/System.Net/HttpWebRequest.cs:836
at Xamarin.Components.Ide.SSO.Client+<DoRequest>c__AnonStorey0.<>m__1 (System.Net.HttpWebRequest req) [0x0002d] in /Users/builder/data/lanes/1980/b99cb19a/source/md-addins/Xamarin.Ide/Xamarin.Components.Ide/SSO/Client.cs:71
at MonoDevelop.Core.Web.RequestHelper.GetResponse (CancellationToken token) [0x0008c] in /Users/builder/data/lanes/1980/b99cb19a/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Web/RequestHelper.cs:93
Martin, can you take a look at this from a mono perspective please.
I believe I am the reporter of this ticket. In addition to installation failing, I also cannot login to Xamarin Online from XS with the same symptoms.
Our proxy is McAfee Web Gateway.
Do you still have this problem?
Closing. if this is still an issue, please reopen the bug. Also, it's likely that this will become a non, or at the least a different, issue now that we use Microsoft identity to log in and Xamarin activation is no longer going to be supported.