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.
Created attachment 9087 [details]
Downloading zipped content fails after second request.
See testcase in the attachment. Run the example.
When enabling AutomaticDecompression on the HttpWebRequest it is failing, but when you turn it off it works as expected.
Xamarin.Android 184.108.40.206 is working as expected
Xamarin.Android 220.127.116.11 not working
Sorry, I was too fast with the previous ticket.
The testcase is downloading 12 random images. You should see 12 images when it is ready (version 18.104.22.168), but in version 22.214.171.124 the download stops after 2/3 images.
I have checked this issue and I am able to reproduce this issue. I observed that when I enable the AutomaticDecompression on the HttpWebRequest I am getting an exception i.e.,
System.NullReferenceException: Object reference not set to an instance of an object
When I disable the AutomaticDecompression on the HttpWebRequest I observed that I am not getting any error/exception and application is working fine.
Application Output: https://gist.github.com/RamChBachkheti/aebff551bd9b9ff8713f
IDE logs: https://gist.github.com/RamChBachkheti/31590b80b1b343ac3fbf
Device logs: https://gist.github.com/RamChBachkheti/860eaf05e27e45d51269
Microsoft Visual Studio Professional 2013
Version 12.0.30723.00 Update 3
Microsoft .NET Framework
Installed Version: Professional
Xamarin 126.96.36.199 (10cfd178d55287f09c85f5a1e604dfe20889a40f)
Xamarin.Android 188.8.131.52 (ba9bbbdd44cfdc4bf485e8885bd2ad24fba525f7)
Xamarin.iOS 184.108.40.206 (840a925103a0bf4a856507f13d5eaee3c1579c2f)
Created attachment 9763 [details]
Testcase with webrequest
I added a better testcase to this issue.
I've created MyWebRequest and override some methods.
When you run this code on version 4.18 and later, it stops when you call on line 52
response = base.EndGetResponse(asyncResult);
and after the webrequest time out you trigger the catch in that function.
The provided sample works fine with the current master and cycle8 versions of XA (Cycle 8 is soon to be released)