I have been working on a realtime multiplayer game in Corona SDK.
The user logs in, everything works fine, but then after 2-10 minutes it says connection error 9, which is supposed to mean that the connection is recoverable. So I call recoverConnection(), and it is a hit or miss; sometimes it works, other times it doesn't and gives a 9 or 1 error again. I have it set up so that everytime it gets a connection error it tries to connect over and over.
I set the recovery allowance to 100.
I don't know what is causing it to disconnect. I'm connected to wifi on my desk, so i'm not moving around. I don't get how it can't reconnect sometimes!
This is very frustrating!