I recently encountered an issue while trying to access an application through the Android browser. The application uses DWR to maintain connections with connected clients.
Everything seems to be working fine, except for the fact that if there is a 2-minute gap without any data being sent to the client on an Android phone, the connection is lost and no further data is received. This issue does not occur when using Firefox, Opera, or Chrome. If the time between data transfers is less than 2 minutes, everything functions as expected.
My question now is: Is there a timeout setting in the Android browser that I am overlooking? Or is this issue caused by a built-in bug or feature that cannot be bypassed?
I understand that I could potentially solve this problem by implementing a heartbeat mechanism, but I am curious to know why it is happening in the first place.
Thank you in advance, Max
By the way, all the server and clients are running on my machine, and I am testing this on the Android emulator with Windows XP.
Android emulator version 1.10 (build_id CUPCAKE-150240)