08-05-2009 11:02 AM
I am working on a program with http call, we find sometimes the device lost data connection until reset the battery. This only happens once in serveral days, but it happens again and again. This only happens on 8830 and 8330, it never happened on 9530 or other newer devices. So It looks like there is an issue on the RIM OS.
My question is, do we have any solution to work around it. (someone told me we should avoid parallel http calls, is that true?)
I did a search on the forum, I found some thread also mentioned same issue:
Solved! Go to Solution.
08-05-2009 11:21 AM
08-05-2009 11:39 AM
Thanks a lot for the response.
It should not be a timeout. When it happened, even the web browser is not working for any url.
Yes, we close the connection after use them. But we do not wait for 2 mins for starting next http call due to the efficiency reason
08-05-2009 12:03 PM
It did happen a lot with me on 8830. I can reproduce the problem any time I want. If I issue multiple successive http requests using direct TCP connection the problem happens. I also noticed that it happens on 8830 with OS 4.2.x. It does not happen on 9530. My explanation to this that it could be a bug somewhere in the old OS version.
My work around is to use MDS all the time. That seemed to resolve the problem. But the connection still times out from time to time.( better than pulling the battery out).
08-05-2009 02:45 PM
So the problem is caused by multiple successive http requests.
Does that mean we have to buy Blackberry Enterprise Server to work around it?
I am not sure why there are not so many programmers with this issue? pulling the battery out is really a bad user experience.
08-06-2009 10:22 AM
Unfortunately that is the only solution we found to go around the problem. We search a lot and we wrote many tests, and finally adopted that solution.
One thing that I always wanted to try is to use BIS connection, but you need to be registered with RIM and have special keys ( Costly !!!)