Forum Cross Platform with Xamarin
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Task execution hanging on android

TorinthTorinth USMember, University ✭✭
edited October 2014 in Cross Platform with Xamarin

I am not sure what to do and i apologize in advance for the vagueness of this question.

I have some code that makes several small service calls with everything being async. In the end HttpClient is used. When i run the same code on WinPhone and iOS they both work fine. When i run it on android at a very specific point in time the application just hangs until a TaskCancelled exception is thrown. It looks like that is being hit from the timeout because i increased the timeout on the httpclient and it waits longer now. I can reproduce this every single time.

Any thoughts on what this might be?

Also too this exact code was working fine before and it seemed it stopped working after an upgrade

Posts

Sign In or Register to comment.