Network Failure On Android

I am seeing network failure when submitting a POST event on android but the same event works on Corona Simulator and iPhone.

Other GET and POST events work on this android phone. Any hints? I am pulling my hair out on this one. Also this is regardless of the link i POST to.

Android 4.3 tends to have more network failures than other OS’s.  I don’t know if they cut down the time before things timeout or not.  But regardless:

It’s your responsibility as programmer to harden your network calls.  It’s amazing that we (the internet) have as few problems that we have given the complexity of the networks and the number of boxes your packets have to pass through to get to their destination and back.   Timeouts, servers being down, mis-configured routes and such are still way too common place for you to not test for the error and manage it.   

Many people will re-try the event several times before giving up to cover temporary outages.  But that’s your responsibility to code up. 

Rob

I undertand but in this case, the failure is not intermittent but consistent. So, I was wondering if someone else has seen this before.

The engineers have looked into this.  Something in Android 4.3 changed and it’s subject to more frequent time outs.  Everyone who’s reported this had their problem solved when they retried the connection.   We’ve done things in the lab to try and reproduce this and track it down to something we can do.

Are you hitting the same URL or are you seeing constant failures from multiple websites?  It’s possible that its a hand-shake problem with your server and Android.

Android 4.3 tends to have more network failures than other OS’s.  I don’t know if they cut down the time before things timeout or not.  But regardless:

It’s your responsibility as programmer to harden your network calls.  It’s amazing that we (the internet) have as few problems that we have given the complexity of the networks and the number of boxes your packets have to pass through to get to their destination and back.   Timeouts, servers being down, mis-configured routes and such are still way too common place for you to not test for the error and manage it.   

Many people will re-try the event several times before giving up to cover temporary outages.  But that’s your responsibility to code up. 

Rob

I undertand but in this case, the failure is not intermittent but consistent. So, I was wondering if someone else has seen this before.

The engineers have looked into this.  Something in Android 4.3 changed and it’s subject to more frequent time outs.  Everyone who’s reported this had their problem solved when they retried the connection.   We’ve done things in the lab to try and reproduce this and track it down to something we can do.

Are you hitting the same URL or are you seeing constant failures from multiple websites?  It’s possible that its a hand-shake problem with your server and Android.