Hi!
Would love some help on this. My app is almost complete and I have been going through it thoroughly to test for bugs etc. Quite often I am experiencing the following timeout error:
: error: Timed out
Jun 22 17:24:29 iPhone xxx- v1.0[4469] <Warning>: errorCode: -1
Jun 22 17:24:29 iPhone xxx- v1.0[4469] <Warning>: ERROR!! — This is my own personal msg when an error occurs
The images that are meant to show up (being served my EC2) goes blank when this happens and my app kind of crashes (because no image is found and the app spits out an error).
As mentioned, I am using Amazon EC2, I am also using composer. I declare mc = require( “mod_coronium” ) only on main.lua.
This error was not due to lost internet (I have a way to detect for slow internet via ping requests, and then I show a “lost internet” message). But the above mentioned time-out error is a lost communication to the Amazon server, and I am not sure what is causing it.
How do I handle these time out errors? What can I do, that if a timeout error does occur, my app simply doesn’t crash, it just tries to reconnect?
Thanks!