[mono-android] HTTPs problems

Stuart Lodge me at slodge.com
Wed Nov 16 16:04:43 EST 2011


Thanks for confirming that its working for you.

Not entirely sure what version I'm on - I downloaded it as an eval last
week.

The version info I can see in MonoDevelop is: MonoDevelop.MonoDroid -
2.6.0.0 - and - runtime "Mono for Android: 1.2.24817.105690530 (Evaluation)"

So maybe I'm just on something really old... will look at whether there's
anything I can do about it:)

Any hints about where to look appreciated (I've ticked the beta box in
MonoDevelop but isn't reporting any updates)

Thanks again

Stuart


On 16 November 2011 13:07, Mike Child <mike at mikechild.net> wrote:
> What version of MonoDroid are you using? That same snippet of code works
> just fine on my phone. I'm using the beta version 1.9.2
> Mike Child
>
>
> On Tue, Nov 15, 2011 at 11:12 PM, Stuart Lodge <me at slodge.com> wrote:
>>
>> 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
>> _______________________________________________
>> Monodroid mailing list
>> Monodroid at lists.ximian.com
>>
>> UNSUBSCRIBE INFORMATION:
>> http://lists.ximian.com/mailman/listinfo/monodroid
>>
>
>
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodroid/attachments/20111116/cf898807/attachment.html 


More information about the Monodroid mailing list