v0.5.3127: Android HTTP dies silently

HTTP requests sporadically Android kills app used from Uno. Nothing is output to logcat, it just dies violently.

The server outputs this as this error:

System.IO.IOException: Unexpected end of MIME multipart stream. MIME multipart message is not complete. at System.Net.Http.Formatting.Parsers.MimeMultipartBodyPartParser.d__0.MoveNext() at System.Net.Http.HttpContentMultipartExtensions.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at

Only happens on Android, all other platforms work as expected.

UPDATE: It actually doesn’t really seem to die, it is still in the list of running apps on the OS. However, it disappears from the screen (as if it died completely) and the upload stops abruptly. It might be related to this: https://www.fusetools.com/developers/forums/bug_reports/v053127_android_app_startup_non-deterministic

I’m testing it with Test Fairy, and no crash report is uploaded.