[mono-android] HTTPs problems
Stuart Lodge
me at slodge.com
Tue Nov 15 23:12:58 EST 2011
Hi
I'm finding that I get an exception when I try to download content from any
HTTPs address.
Basic code I'm trying is:
var wc = new WebClient ();
var test1 = wc.DownloadString("http://www.google.com");
var test2 = wc.DownloadString("https://www.google.com")
http succeeds, https fails with: {System.Net.WebException: Error getting
response stream (Write: EndWrite failure): SendFailure --->
System.IO.IOException: EndWrite failure --->
System.Net.Sockets.SocketException: The socket has been shut down at
System.Net.Sockets.Socket.EndSend (IAsyncResult result) [0x0002d] in
/home/jon/Development/xamarin/mono/mcs/class/System/System.Net.Sockets/Socket_2_1.cs:1989
Details are also on
http://stackoverflow.com/questions/8124854/i-cant-download-from-https-on-monodroid-am-i-missing-something-obvious
Is there anything I can do to get this working (e.g. some compilation or
manifest setting)?
Thanks
Stuart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodroid/attachments/20111116/8eb91d52/attachment.html
More information about the Monodroid
mailing list